1 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3 * configure.in (libc_cv_as_needed): Remove test.
4 * configure: Regenerated.
5 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6 conditional definition.
7 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9 * config.make.in (have-as-needed): Remove variable.
11 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12 Paul Pluzhnikov <ppluzhnikov@google.com>
14 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21 * sysdeps/sh/strlen.S: Likewise.
23 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25 * sysdeps/unix/fork.S: Remove file.
26 * sysdeps/unix/i386/fork.S: Likewise.
27 * sysdeps/unix/sparc/fork.S: Likewise.
29 * sysdeps/unix/system.c: Remove file.
30 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32 * sysdeps/unix/getegid.S: Remove file.
33 * sysdeps/unix/geteuid.S: Likewise.
35 2012-04-24 Roland McGrath <roland@hack.frob.com>
37 * scripts/check-localplt.awk: New file.
38 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40 * scripts/data/localplt-generic.data: Add a comment.
42 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43 NODE when __dir_mkfile failed.
44 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45 Reported by Ludovic Courtès <ludo@gnu.org>.
47 2012-04-24 Andreas Jaeger <aj@suse.de>
49 * Makerules (common-clean): Also remove gen-as-const-headers
52 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54 * Makerules (native-compile): Do not change working directory for
55 build. Use $(OUTPUT_OPTION) in command.
56 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63 * math/libm-test.inc (floor_test): Add more tests.
64 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66 2012-04-24 Joseph Myers <joseph@codesourcery.com>
68 * sysdeps/unix/getdents.c: Remove file.
69 * sysdeps/unix/sysv/getdents.c: Likewise.
70 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
72 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73 sysdeps/unix/mman/syscalls.list.
78 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79 * sysdeps/unix/mman/syscalls.list: Remove.
80 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84 * configure: Regenerated.
85 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
87 * config.make.in (libgcc_s_suffix): Remove variable.
89 2012-04-23 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/unix/sysv/gethostname.c: Move to ...
92 * sysdeps/posix/gethostname.c: ... here.
94 * sysdeps/unix/execve.S: Remove file.
96 * sysdeps/unix/_exit.S: Remove file.
98 2012-04-23 Andreas Jaeger <aj@suse.de>
101 * manual/Makefile: Remove make dist support, there's no
102 need for a stand-alone documentation tar ball.
103 (TEXI2DVI): Define always, it's not in Makeconfig.
107 (glibc-doc-$(edition).tar): Removed
111 (ETAGS): Remove, it's in Makeconfig.
112 (move-if-change): Remove, it's in Makeconfig.
114 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
117 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
118 (strtod, strtof, strtold, strtol, strtoul, strtoq)
119 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
120 (strtod_l, strtof_l, strtold_l): Remove __wur.
121 It is not necessarily an error to ignore strtol's return value.
122 One can reliably look at the stored endptr to decide whether
123 the number had valid syntax.
125 2012-04-21 Andreas Jaeger <aj@suse.de>
128 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
130 2012-04-21 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
133 * sysdeps/unix/sysv/Versions: Remove file.
135 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
140 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
146 2012-04-20 Joseph Myers <joseph@codesourcery.com>
148 * sysdeps/unix/common/lxstat.c: Remove file.
149 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
151 * sysdeps/unix/sysv/Makefile: Remove file.
153 * sysdeps/unix/sysv/direct.h: Remove file.
155 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
156 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
157 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
158 * sysdeps/unix/sysv/bits/signum.h: Likewise.
159 * sysdeps/unix/sysv/bits/stat.h: Likewise.
160 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
161 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
163 * sysdeps/unix/sysv/setrlimit.c: Remove file.
165 * sysdeps/unix/xmknod.c: Remove file.
166 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
168 * sysdeps/unix/sysv/settimeofday.c: Remove file.
170 * sysdeps/unix/sysv/i386/time.S: Remove file.
172 * sysdeps/unix/fxstat.c: Remove file.
173 * sysdeps/unix/xstat.c: Likewise.
174 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
176 * sysdeps/unix/sysv/sigaction.c: Remove file.
178 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
179 (sysdep_headers): Remove variable.
180 [termio.h not in sysdep_headers] (generated): Likewise.
181 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
182 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
183 * sysdeps/unix/sysv/tcdrain.c: Likewise.
184 * sysdeps/unix/sysv/tcflow.c: Likewise.
185 * sysdeps/unix/sysv/tcflush.c: Likewise.
186 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
187 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
188 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
189 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
190 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
192 * sysdeps/unix/siglist.c: Remove file.
194 * sysdeps/unix/getppid.S: Remove file.
196 * sysdeps/unix/mkdir.c: Remove file.
197 * sysdeps/unix/rmdir.c: Likewise.
199 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
201 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
203 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
204 errlist-compat value.
206 2012-04-18 David S. Miller <davem@davemloft.net>
208 * sysdeps/generic/memcopy.h (reg_char): Delete.
209 * debug/strcat_chk.c: Use char, not reg_char.
210 * debug/strcpy_chk.c: Likewise.
211 * debug/strncat_chk.c: Likewise.
212 * debug/strncpy_chk.c: Likewise.
213 * string/memchr.c: Likewise.
214 * string/memrchr.c: Likewise.
215 * string/rawmemchr.c: Likewise.
216 * string/strcat.c: Likewise.
217 * string/strchr.c: Likewise.
218 * string/strchrnul.c: Likewise.
219 * string/strcmp.c: Likewise.
220 * string/strcpy.c: Likewise.
221 * string/strncat.c: Likewise.
222 * string/strncmp.c: Likewise.
223 * string/strncpy.c: Likewise.
225 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
227 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
228 __builtin_memcopy is called when src and dest ranges are known to not
231 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
233 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
234 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
235 fwd_align_merge macro call.
236 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
237 bwd_align_merge macro call.
238 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
240 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
243 bwd_align_merge macros.
244 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
245 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
248 2012-04-18 David S. Miller <davem@davemloft.net>
250 * sysdeps/sparc/sparc64/memcopy.h: Delete.
252 2012-04-18 Andreas Jaeger <aj@suse.de>
255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
256 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
260 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
261 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
263 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
264 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
265 Adjust for changed ldbl-128 files.
267 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
268 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
269 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
271 2012-04-17 David S. Miller <davem@davemloft.net>
273 * sysdeps/sparc/sparc32/memcopy.h: Delete.
275 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
277 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
278 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
279 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
280 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
281 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
282 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
284 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
288 * math/libm-test.inc: Add ilogb errno and exception tests.
289 * math/w_ilogb.c: New file: ilogb wrapper.
290 * math/w_ilogbf.c: New file: ilogbf wrapper.
291 * math/w_ilogbl.c: New file: ilogbl wrapper.
292 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
293 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
294 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
295 exception being thrown with 0.0 as argument.
296 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
297 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
298 exception being thrown with 0.0 as argument.
299 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
300 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
301 exception being thrown with 0.0 as argument.
302 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
303 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
304 exception being thrown with 0.0 as argument.
305 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
306 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
307 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
308 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
309 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
310 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
311 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
312 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
313 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
315 2012-04-17 Petr Baudis <pasky@ucw.cz>
317 * include/sys/uio.h: Change __vector to __iovec to avoid clash
320 2012-04-16 Marek Polacek <polacek@redhat.com>
322 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
324 2012-04-16 Marek Polacek <polacek@redhat.com>
326 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
327 operands of fdivp instruction.
329 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
331 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
332 * elf/tst-auditmod3b.c: Likewise.
333 * elf/tst-auditmod4b.c: Likewise.
334 * elf/tst-auditmod5b.c: Likewise.
335 * elf/tst-auditmod6b.c: Likewise.
336 * elf/tst-auditmod6c.c: Likewise.
337 * elf/tst-auditmod7b.c: Likewise.
338 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
339 * sysdeps/x86_64/preconfigure.in: Likewise.
340 * sysdeps/x86_64/preconfigure: Regenerated.
342 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
344 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
347 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
350 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
352 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
355 * locale/iso-639.def: Fix gl language name. Spotted by
358 2012-04-12 Roland McGrath <roland@hack.frob.com>
361 * libio/libio.h (__io_write_fn): Update comment.
363 2012-04-12 Petr Baudis <pasky@ucw.cz>
366 * stdio.texi (Hook Functions): The user provided writer function
367 is not allowed to return -1.
369 2012-04-11 David S. Miller <davem@davemloft.net>
371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
373 2012-04-11 Mike Frysinger <vapier@gentoo.org>
375 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
376 Add a leading slash to rtkaio.
378 2012-04-11 Jim Meyering <meyering@redhat.com>
381 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
382 It is not necessarily an error to ignore fwrite's return
383 value. One can reliably use ferror to test for errors after
386 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
388 * bits/types.h (__snseconds_t): New type.
389 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
391 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
393 (__SNSECONDS_T_TYPE): Likewise.
394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
395 (__SNSECONDS_T_TYPE): Likewise.
396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
397 (__SNSECONDS_T_TYPE): Likewise.
399 2012-04-10 Andreas Jaeger <aj@suse.de>
402 * manual/time.texi (Processor Time): Return type of times is
403 elapsed real time since an arbitrary point in the past.
404 (CPU Time): Move CLK_TCK from here...
405 (Processor Time): ...to here. Correct description.
406 * manual/conf.texi (Constants for Sysconf): Correct description of
409 2012-04-10 David S. Miller <davem@davemloft.net>
412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
413 where the is a gap between DT_REL(A) and DT_JMPREL.
415 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
417 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
421 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
423 * elf/dl-support.c (_dl_inhibit_cache): New variable.
424 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
425 (dl_main): Handle --inhibit-cache.
426 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
428 * elf/dl-load.c (_dl_map_object): Use it.
429 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
431 2012-04-09 Joseph Myers <joseph@codesourcery.com>
434 * sysdeps/i386/fpu/e_powl.S (p78): New object.
435 (__ieee754_powl): Saturate large exponents rather than testing for
436 overflow of y*log2(x).
437 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
438 * math/libm-test.inc (pow_test): Do not permit spurious overflow
442 * math/s_ctan.c: Include <float.h>.
443 (__ctan): Avoid internal overflow or cancellation in calculating
445 * math/s_ctanf.c: Likewise.
446 * math/s_ctanl.c: Likewise.
447 * math/s_ctanh.c: Likewise.
448 * math/s_ctanhf.c: Likewise.
449 * math/s_ctanhl.c: Likewise.
450 * math/libm-test.inc (ctan_test): Add more tests.
451 (ctanh_test): Likewise.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455 2012-04-09 Andreas Jaeger <aj@suse.de>
458 * manual/filesys.texi (Directory Entries): Mention that d_namlen
459 is an optional BSD extension.
462 * manual/stdio.texi (Opening Streams): Document additional fopen
465 2012-04-09 Roland McGrath <roland@hack.frob.com>
467 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
468 %eax without telling the compiler.
470 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
473 * manual/install.texi: Use sourceware.org.
475 2012-04-09 Joseph Myers <joseph@codesourcery.com>
478 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
479 (__ieee754_pow): Generate overflow and underflow using huge*huge
480 and tiny*tiny rather than just returning constant infinity or zero
482 * math/libm-test.inc (pow_test): Require overflow exceptions for
483 applicable cases of large exponents.
486 * sysdeps/i386/fpu/e_pow.S (p10): New object.
487 (__ieee754_pow): Use iterative multiplication algorithm only for
488 integer exponents with absolute value below 1024. Check for odd
489 integer exponents when using algorithm for real exponents.
490 * math/libm-test.inc (pow_test): Add more tests.
491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
493 2012-04-08 Joseph Myers <joseph@codesourcery.com>
496 * math/libm-test.inc (exp_test): Do not allow overflow exception
499 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
502 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
503 instead of __kernel_standard_f.
505 2012-04-08 Mike Frysinger <vapier@gentoo.org>
507 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
508 * sysdeps/x86_64/memset_chk.S: Likewise.
510 2012-04-08 Andreas Jaeger <aj@suse.de>
513 * manual/startup.texi (Environment Access): Describe return value
514 for putenv and setenv.
517 * manual/filesys.texi (Directory Entries): Add description for
521 * manual/filesys.texi (Directory Entries): Clarify that it's file
522 system not operating system in the description of DT_UNKNOWN.
525 * manual/syslog.texi (closelog): Fix reference, it's openlog.
527 2012-04-08 Stephen Compall <s11@member.fsf.org>
530 * manual/llio.texi (Opening and Closing Files): Add cross
531 reference to explain mode argument.
533 2012-04-07 Mike Frysinger <vapier@gentoo.org>
535 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
536 * sysdeps/x86_64/memset_chk.S: Likewise.
538 2012-04-07 David S. Miller <davem@davemloft.net>
540 * elf/elf.h (R_SPARC_WDISP10): Define.
541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
544 R_SPARC_SIZE64 and R_SPARC_H34.
546 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
549 conditions and remove no longer applicable assertion.
551 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
553 * bits/byteswap.h: Include <features.h>.
554 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
555 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
557 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
559 * bits/byteswap.h (__bswap_16): Removed.
560 Include <bits/byteswap-16.h> to get __bswap_16.
561 * sysdeps/i386/bits/byteswap.h: Likewise.
562 * sysdeps/s390/bits/byteswap.h: Likewise.
563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
564 * bits/byteswap-16.h: New file.
565 * sysdeps/i386/bits/byteswap-16.h: Likewise.
566 * sysdeps/s390/bits/byteswap-16.h: Likewise.
567 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
568 * string/Makefile (headers): Add bits/byteswap-16.h.
570 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
573 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
575 * nss/Makefile (tests-static, tests): Add tst-nss-static.
576 * nss/tst-nss-static.c: New.
578 2012-04-06 Robert Millan <rmh@gnu.org>
581 * manual/llio.texi (File Position Primitive): lseek
582 refers to WHENCE when it really means OFFSET.
584 2012-04-06 Andreas Jaeger <aj@suse.de>
586 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
587 strncmp declarations.
589 * abilist/libc.abilist: Add __poll and __ppoll.
591 2012-04-05 David S. Miller <davem@davemloft.net>
593 * scripts/check-local-headers.sh: Accept a host triplet in the
594 path matched by the exclude regexp.
596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
598 * sysdeps/powerpc/powerpc32/dl-machine.h
599 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
600 * sysdeps/s390/s390-32/dl-machine.h
601 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
602 * sysdeps/sparc/sparc32/dl-machine.h
603 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
604 * sysdeps/sparc/sparc64/dl-machine.h
605 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
607 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
609 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
610 undefined symbol errors.
612 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
615 2012-04-05 Michael Matz <matz@suse.de>
618 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
620 2012-04-05 Andreas Jaeger <aj@suse.de>
623 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
626 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
628 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
629 which ROUND is no valid rounding mode.
631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
635 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
637 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
639 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
640 an exception using FPU order intentionally.
642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
644 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
645 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
646 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
647 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
649 2012-04-05 Simon Josefsson <simon@josefsson.org>
652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
653 EINVAL when BUFLEN is too smal.
655 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
658 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
659 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
661 2012-04-03 Andreas Jaeger <aj@suse.de>
664 * manual/setjmp.texi (System V contexts): Fix sentence.
667 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
668 New macro for this case.
669 [!__GNUC__] (__bswap_64): New inline function for this case.
670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
671 * bits/byteswap.h: Likewise.
672 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
673 ull, guard with __GLIBC_HAVE_LONG_LONG.
675 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
676 __GLIBC_HAVE_LONG_LONG.
678 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
679 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
681 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
684 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
685 inptr and inend, rather than using last_ch.
687 2012-04-02 David S. Miller <davem@davemloft.net>
689 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
690 * stdio-common/printf-parse.h (read_int): Change return type to
691 'int', return -1 on INT_MAX overflow.
692 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
693 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
694 overflows INT_MAX. Check for overflow of in-format-string precision
695 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
696 SIZE_MAX not INT_MAX for integer overflow test.
697 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
698 skip the construct in the format string but do not record anything.
699 * stdio-common/bug22.c: Adjust to test both width/prevision
700 INT_MAX overflow as well as total length INT_MAX overflow. Check
701 explicitly for proper errno values.
703 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
705 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
707 * string/test-strcmp.c [! WIDE]: Likewise.
708 * time/tst-mktime2.c: Likewise for INT_MAX.
709 * string/test-string.h: #include <sys/param.h> for MIN.
711 * csu/init-first.c (__libc_init_first): Call __ctype_init.
712 * sysdeps/i386/init-first.c (init): Likewise.
713 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
714 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
715 * sysdeps/sh/init-first.c (init): Likewise.
717 2012-04-01 Ulrich Drepper <drepper@gmail.com>
719 * po/ru.po: Update from translation team.
720 * po/vi.po: Likewise.
722 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
724 * resolv/nss_dns/dns-host.c: Merge copyright years.
726 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
728 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
729 Optimize memcpy with prefetch if
730 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
731 src, dst pointers have unequal 16 byte alignments.
733 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
736 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
737 from a CNAME entry and return the minimum ttl for the query.
738 (gaih_getanswer_slice): Likewise.
740 2012-03-30 Jeff Law <law@redhat.com>
742 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
744 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
745 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
747 * resolv/nss_dns/dns-host.c: Update copyright year.
749 2012-03-30 Ulrich Drepper <drepper@gmail.com>
751 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
752 requests to save a system call. Fix check that all bytes are sent.
754 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
755 comments for sendmmsg.
757 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
760 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
761 with only 1 character between 0x0041 and 0x01b0.
762 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
763 * wcsmbs/tst-mbsnrtowcs.c: New file.
765 2012-03-29 David S. Miller <davem@davemloft.net>
767 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
768 small copies by hand.
770 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
773 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
774 _nss_compat_initgroups_dyn): Fall back to malloc/free
775 for large group memberships.
777 2012-03-28 David S. Miller <davem@davemloft.net>
779 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
780 that branches into memcpy.
781 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
782 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
784 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
787 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
789 * sysdeps/sparc/mempcpy.S: New file.
791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
792 the IFUNC routine in the libc case.
793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
795 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
796 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
797 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
798 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
799 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
800 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
801 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
802 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
804 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
805 loop to 256 bytes instead of 64 bytes and fix test signedness.
807 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
808 * sysdeps/sparc/sparc32/Makefile: rather than here...
809 * sysdeps/sparc/sparc64/Makefile: and here.
811 2012-03-28 Ulrich Drepper <drepper@gmail.com>
813 * malloc/mallocbug.c: Avoid warnings about unused variables.
815 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
818 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
819 in the right place. Discard and retry query if response is
820 larger than input buffer size.
822 2012-03-28 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
828 x for large integer exponent.
829 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
830 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
831 sign of result as needed afterwards.
832 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
833 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
834 result for underflowing pow the same as for overflow.
835 (__kernel_standard_l): Handle powl overflow and underflow here
836 rather than calling __kernel_standard.
837 * math/libm-test.inc (pow_test): Add more tests.
852 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
853 * sysdeps/ieee754/k_standard.c: Include <float.h>.
854 (__kernel_standard_l): New function.
855 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
857 * math/w_acosl.c (__acosl): Likewise.
858 * math/w_asinl.c (__asinl): Likewise.
859 * math/w_atan2l.c (__atan2l): Likewise.
860 * math/w_atanhl.c (__atanhl): Likewise.
861 * math/w_coshl.c (__coshl): Likewise.
862 * math/w_exp10l.c (__exp10l): Likewise.
863 * math/w_exp2l.c (__exp2l): Likewise.
864 * math/w_fmodl.c (__fmodl): Likewise.
865 * math/w_hypotl.c (__hypotl): Likewise.
866 * math/w_j0l.c (__j0l, __y0l): Likewise.
867 * math/w_j1l.c (__j1l, __y1l): Likewise.
868 * math/w_jnl.c (__jnl, __ynl): Likewise.
869 * math/w_lgammal.c (__lgammal): Likewise.
870 * math/w_log10l.c (__log10l): Likewise.
871 * math/w_log2l.c (__log2l): Likewise.
872 * math/w_logl.c (__logl): Likewise.
873 * math/w_powl.c (__powl): Likewise.
874 * math/w_remainderl.c (__remainderl): Likewise.
875 * math/w_scalbl.c (sysv_scalbl): Likewise.
876 * math/w_sinhl.c (__sinhl): Likewise.
877 * math/w_sqrtl.c (__sqrtl): Likewise.
878 * math/w_tgammal.c (__tgammal): Likewise.
879 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
880 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
881 * math/libm-test.inc (acos_test): Add more tests.
882 (acosh_test): Likewise.
883 (asin_test): Likewise.
884 (atanh_test): Likewise.
885 (exp_test): Likewise.
886 (exp10_test): Likewise.
887 (exp2_test): Likewise.
888 (expm1_test): Likewise.
889 (lgamma_test): Likewise.
890 (log_test): Likewise.
891 (log10_test): Likewise.
892 (log1p_test): Likewise.
893 (log2_test): Likewise.
894 (pow_test): Do not allow some spurious overflow exceptions.
895 (sqrt_test): Add more tests.
896 (tgamma_test): Likewise.
901 2012-03-27 Anton Blanchard <anton@samba.org>
903 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
909 2012-03-27 David S. Miller <davem@davemloft.net>
911 * conform/Makefile: Run run-conformtest.sh using $(BASH).
913 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
916 2012-03-27 Andreas Jaeger <aj@suse.de>
918 * sysdeps/x86_64/elf/configure.in: Moved to ...
919 * sysdeps/x86_64/configure.in: ... here.
920 * sysdeps/x86_64/elf/start.S: Moved to ...
921 * sysdeps/x86_64/start.S: ... here.
922 * sysdeps/x86_64/elf/configure: Delete.
924 * sysdeps/x86_64/configure.in: Merge contents from
925 sysdeps/i386/configure.in (without i686 check).
927 * sysdeps/i386/elf/Versions: Merge into ...
928 * sysdeps/i386/Versions: ... this.
929 * sysdeps/i386/elf/Versions: Delete file.
930 * sysdeps/i386/elf/start.S: Moved to ...
931 * sysdeps/i386/start.S: ...here.
932 * sysdeps/i386/elf/configure.in: Merge into...
933 * sysdeps/i386/configure.in: ...here.
934 * sysdeps/i386/elf/configure.in: Delete file.
935 * sysdeps/i386/elf/configure: Delete file.
937 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
938 * debug/backtracesyms.c: ... here.
939 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
940 * debug/backtracesymsfd.c: ... here.
941 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
942 * sysdeps/generic/ifunc-sel.h: ... here.
944 * sysdeps/unix/i386/start.c: Delete file.
945 * sysdeps/unix/sparc/start.c: Delete file.
946 * sysdeps/unix/start.c: Delete file.
948 * sysdeps/sh/elf/configure.in: Moved to ...
949 * sysdeps/sh/configure.in: ... here.
950 * sysdeps/sh/elf/start.S: Moved to ...
951 * sysdeps/sh/start.S: ... here.
952 * sysdeps/sh/elf/configure: Delete file.
954 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
955 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
956 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
957 * sysdeps/powerpc/powerpc64/entry.h: ... here.
958 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
959 * sysdeps/powerpc/powerpc64/start.S: here.
960 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
961 * sysdeps/powerpc/powerpc64/Makefile: ... this.
962 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
963 * sysdeps/powerpc/powerpc64/configure.in: ... this.
964 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
966 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
967 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
968 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
969 * sysdeps/powerpc/powerpc32/start.S: ... here.
970 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
971 * sysdeps/powerpc/powerpc32/configure.in: ... this.
972 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
974 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
975 * sysdeps/powerpc/ifunc-sel.h: ... here.
976 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
977 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
979 * sysdeps/sparc/elf/configure.in: Moved to ...
980 * sysdeps/sparc/configure.in: ... here.
981 * sysdeps/sparc/elf/configure: Delete file.
982 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
983 * sysdeps/sparc/sparc32/start.S: ... here.
984 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
985 * sysdeps/sparc/sparc64/start.S: ... here.
986 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
987 * sysdeps/sparc/sparc32/Makefile: ... this.
988 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
989 * sysdeps/sparc/sparc64/Makefile: ... this.
991 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
992 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
993 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
994 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
995 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
996 * sysdeps/s390/s390-32/setjmp.S: ... here.
997 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
998 * sysdeps/s390/s390-32/configure.in: ... here.
999 * sysdeps/s390/s390-32/elf/configure: Delete file.
1000 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1001 * sysdeps/s390/s390-32/start.S: ... here.
1003 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1004 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1005 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1006 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1007 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1008 * sysdeps/s390/s390-64/setjmp.S: ... here.
1009 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1010 * sysdeps/s390/s390-64/configure.in: ... here
1011 * sysdeps/s390/s390-64/elf/configure: Delete file.
1012 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1013 * sysdeps/s390/s390-64/start.S: ... here.
1014 * sysdeps/s390/s390-64/elf/configure: Delete.
1016 * configure.in: Remove support for elf directories in sysdeps.
1018 * configure: Regenerated.
1019 * sysdeps/i386/configure: Regenerated.
1020 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1021 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1022 * sysdeps/s390/s390-32/configure: Regenerated.
1023 * sysdeps/s390/s390-64/configure: Regenerated.
1024 * sysdeps/sh/configure: Regenerated.
1025 * sysdeps/sparc/configure: Regenerated.
1026 * sysdeps/x86_64/configure: Regenerated.
1028 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1033 denormal result into account.
1035 2012-03-25 Roland McGrath <roland@hack.frob.com>
1037 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1038 Reported by Allan McRae <allan@archlinux.org>.
1040 2012-03-23 Jeff Law <law@redhat.com>
1042 * nss/getnssent.c (__nss_getent): Fix typo.
1044 2012-03-23 David S. Miller <davem@davemloft.net>
1046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1048 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1051 to pad to uint64_t for each field.
1052 (dl_tls_index): Replace unsigned long with uint64_t.
1054 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1055 Paul Pluzhnikov <ppluzhnikov@google.com>
1058 * grp/Makefile (otherlibs): Don't set it.
1059 * inet/Makefile (otherlibs): Likewise.
1060 * login/Makefile (otherlibs): Likewise.
1061 * nscd/Makefile (otherlibs): Likewise.
1062 * posix/Makefile (otherlibs): Likewise.
1063 * pwd/Makefile (otherlibs): Likewise.
1064 * rt/Makefile (otherlibs): Likewise.
1065 * sunrpc/Makefile (otherlibs): Likewise.
1066 * nss/Makefile (otherlibs): Likewise.
1067 Add libnss_files to routines and static-only-routines.
1068 ($(objpfx)getent): Remove rule.
1069 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1070 static-only-routines.
1072 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1075 * math/s_cexp.c: Include <float.h>.
1076 (__cexp): Handle exp result overflowing not necessarily
1077 overflowing both real and imaginary parts of result.
1078 * math/s_cexpf.c: Likewise.
1079 * math/s_cexpl.c: Likewise.
1080 * math/libm-test.inc (cexp_test): Add more tests.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update.
1082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1084 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1086 * include/link.h (ELFW): New macro.
1087 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1088 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1090 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1097 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1099 (struct La_x32_retval): Likewise.
1101 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1103 * sysdeps/x86_64/preconfigure.in: New file.
1104 * sysdeps/x86_64/preconfigure: New generated file.
1106 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1109 * math/e_exp2l.c: Include <float.h>.
1110 (__ieee754_exp2l): Handle overflow and underflow cases
1111 separately. Only pass fractional part of argument to
1113 * math/libm-test.inc (exp2_test): Add more tests.
1115 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1116 negating x to take absolute value.
1117 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1119 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1120 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1122 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1123 computing low part if x was negated.
1124 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1126 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1128 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1130 (pltexit): Cast int_retval to ptrdiff_t.
1131 * elf/tst-auditmod3b.c: Likewise.
1132 * elf/tst-auditmod4b.c: Likewise.
1133 * elf/tst-auditmod5b.c: Likewise.
1134 * elf/tst-auditmod6b.c: Likewise.
1135 * elf/tst-auditmod6c.c: Likewise.
1136 * elf/tst-auditmod7b.c: Likewise.
1138 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1139 and x32_gnu_pltexit.
1141 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1143 (La_x32_regs): New macro.
1144 (La_x32_retval): Likewise.
1145 (la_x32_gnu_pltenter): New function prototype.
1146 (la_x32_gnu_pltexit): Likewise.
1148 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1155 * configure.in (libc_cv_cc_nofma): Check for option to disable
1156 generation of FMA instructions.
1157 * configure: Regenerate.
1158 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1159 * sysdeps/ieee754/dbl-64/Makefile: New file.
1160 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1161 Remove brandred-fma4.
1162 (CFLAGS-brandred-fma4.c): Remove.
1163 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1164 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1166 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1169 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1171 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1172 LLONG_MAX != LONG_MAX.
1173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1174 (_fitoa_word): Likewise.
1175 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1176 LLONG_MAX != LONG_MAX.
1177 * stdio-common/_itowa.h: Include <_itoa.h>.
1178 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1179 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1180 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1181 only if not defined.
1182 (_ITOA_WORD_TYPE): Likewise.
1183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1184 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1186 2012-03-21 David S. Miller <davem@davemloft.net>
1188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1190 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1192 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1193 of x86_64 when setting libc_cv_slibdir, libdir and
1195 * sysdeps/unix/sysv/linux/configure: Regenerated.
1197 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1199 * manual/lang.texi (Old Varargs): Remove section.
1200 (How Variadic): Update menu.
1201 (va_start): Do not mention varargs.h.
1203 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1204 Joseph Myers <joseph@codesourcery.com>
1206 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1208 * configure: Regenerated.
1210 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1212 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1213 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1216 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1219 * Makefile (files-for-dist): Remove NOTES.
1220 (NOTES): Remove rule.
1221 * README: Don't refer to NOTES.
1222 * manual/creature.texi: Don't include macros.texi.
1223 * manual/intro.texi (creature.texi): Remove comment referring to
1226 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1227 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1228 * configure: Regenerated.
1229 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1231 (libc_cv_as_i686): Likewise.
1232 (libc_cv_cc_avx): Likewise.
1233 (libc_cv_cc_sse2avx): Likewise.
1234 (libc_cv_cc_fma4): Likewise.
1235 (libc_cv_cc_novzeroupper): Likewise.
1236 * sysdeps/i386/configure: Regenerated.
1239 * sysdeps/i386/fpu/s_cexp.S: Remove.
1240 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1241 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1242 * math/libm-test.inc (cexp_test): Add more tests.
1243 * sysdeps/i386/fpu/libm-test-ulps: Update.
1244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1246 2012-03-21 Allan McRae <allan@archlinux.org>
1248 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1250 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1253 * math/w_exp2.c: Do not include <float.h>.
1254 (o_threshold, u_threshold): Remove.
1255 (__exp2): Calculate result before checking finiteness and calling
1257 * math/w_exp2f.c: Likewise.
1258 * math/w_exp2l.c: Likewise.
1259 * math/libm-test.inc (exp2_test): Require overflow exception for
1263 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1264 range of signed 64-bit integers before using fistpll. Remove
1265 checks for whether integers fit in mantissa bits.
1266 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1267 the range of signed 32-bit integers before using fistpl. Remove
1268 checks for whether integers fit in mantissa bits.
1269 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1270 (__ieee754_powl): Test for y outside the range of signed 64-bit
1271 integers before using fistpll. Reduce 64-bit values to 63-bit
1273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1274 divide-by-zero is raised for zero to large negative powers.
1275 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1276 (__ieee754_powl): Test for y outside the range of signed 64-bit
1277 integers before using fistpll. Reduce 64-bit values to 63-bit
1279 * math/libm-test.inc (pow_test): Add more tests.
1281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1283 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1284 <stdio-common/_itoa.h>.
1285 * debug/segfault.c: Likewise.
1286 * elf/dl-cache.c: Likewise.
1287 * elf/dl-minimal.c: Likewise.
1288 * elf/dl-misc.c: Likewise.
1289 * elf/dl-sysdep.c: Likewise.
1290 * elf/dl-version.c: Likewise.
1291 * elf/rtld.c: Likewise.
1292 * hurd/hurdsock.c: Likewise.
1293 * hurd/lookup-retry.c: Likewise.
1294 * malloc/malloc.c: Likewise.
1295 * malloc/mtrace.c: Likewise.
1296 * nscd/nscd_getgr_r.c: Likewise.
1297 * nscd/nscd_getpw_r.c: Likewise.
1298 * nscd/nscd_getserv_r.c: Likewise.
1299 * posix/getopt_init.c: Likewise.
1300 * posix/wordexp.c: Likewise.
1301 * stdio-common/_itoa.c: Likewise.
1302 * stdio-common/printf_fphex.c: Likewise.
1303 * stdio-common/vfprintf.c: Likewise.
1304 * string/_strerror.c: Likewise.
1305 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1306 * sysdeps/i386/i686/hp-timing.h: Likewise.
1307 * sysdeps/mach/_strerror.c: Likewise.
1308 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1309 * sysdeps/mach/hurd/sethostid.c: Likewise.
1310 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1311 * sysdeps/mach/xpg-strerror.c: Likewise.
1312 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1313 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1314 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1315 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1316 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1317 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1318 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1319 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1320 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1321 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1323 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1324 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1326 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1327 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1328 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1330 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1331 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1334 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1336 * stdio-common/_itoa.h: Moved to ...
1337 * sysdeps/generic/_itoa.h: Here.
1339 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1341 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1342 instead of "_itoa.h" and "_itowa.h".
1343 * stdio-common/vfprintf.: Likewise.
1345 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1347 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1349 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1350 (__signbit): Likwise.
1354 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1356 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1359 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1361 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1362 OVERFLOW_EXCEPTION_OK.
1363 * math/libm-test.inc ("Philosophy"): Update comment about
1365 (OVERFLOW_EXCEPTION): Define.
1366 (OVERFLOW_EXCEPTION_OK): Likewise.
1367 (INVALID_EXCEPTION_OK): Renumber.
1368 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1369 (IGNORE_ZERO_INF_SIGN): Likewise.
1370 (test_exceptions): Handle FE_OVERFLOW.
1371 (exp10_test): Expect overflow exceptions.
1372 (exp2_test): Likewise.
1373 (expm1_test): Likewise.
1374 (nextafter_test): Likewise.
1375 (pow_test): Likewise.
1376 (scalbn_test): Likewise.
1377 (scalbln_test): Likewise.
1379 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1381 * sysdeps/x86_64/bits/atomic.h
1382 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1384 (atomic_exchange_acq): Likewise.
1385 (__arch_exchange_and_add_body): Likewise.
1386 (__arch_add_body): Likewise.
1387 (atomic_add_negative): Likewise.
1388 (atomic_add_zero): Likewise.
1390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1392 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1393 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1397 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1398 Check __x86_64__ instead of __WORDSIZE.
1400 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1402 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1404 2012-03-19 David S. Miller <davem@davemloft.net>
1406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1408 * sysdeps/sparc/fpu/fenv_private.h: New file.
1409 * sysdeps/sparc/fpu/math_private.h: Use it.
1410 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1412 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1413 (libc_feholdexcept_setroundl): Remove.
1414 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1416 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1417 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1421 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1422 int64_t instead of long int.
1423 (INSERT_WORDS64): Likwise.
1425 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1427 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1428 _Unwind_GetCFA return to _Unwind_Ptr first.
1430 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1433 * math/s_clog.c: Include <float.h>.
1434 (__clog): Scale large or subnormal inputs.
1435 * math/s_clogf.c: Likewise.
1436 * math/s_clogl.c: Likewise.
1437 * math/s_clog10.c: Include <float.h>.
1438 (M_LOG10_2): Define.
1439 (__clog10): Scale large or subnormal inputs.
1440 * math/s_clog10f.c: Likewise.
1441 * math/s_clog10l.c: Likewise.
1442 * math/libm-test.inc (clog_test): Add more tests.
1443 (clog10_test): Likewise.
1444 * sysdeps/i386/fpu/libm-test-ulps: Update.
1445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1448 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1450 * math/libm-test.inc (atan2_test): Add another test.
1452 * Makerules (common-objdir-compile): Remove.
1453 * sysdeps/unix/Makefile (config-generated): Do not add
1454 $(unix-generated) to variable.
1455 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1456 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1458 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1460 [generic bits/local_lim.h] (before-compile): Do not append to
1462 [generic bits/local_lim.h] (common-generated): Likewise.
1463 [generic sys/param.h] (before-compile): Do not append to variable.
1464 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1465 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1466 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1467 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1469 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1470 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1471 [generic sys/param.h] ($(addprefix
1472 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1473 [generic sys/param.h] (common-generated): Do not append to
1475 [generic sys/param.h] (sysdep_headers): Likewise.
1476 [generic bits/errno.h] (before-compile): Do not append to
1478 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1480 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1481 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1482 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1483 [generic bits/errno.h] (common-generated): Do not append to
1485 [generic bits/ioctls.h] (before-compile): Do not append to
1487 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1489 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1490 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1491 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1493 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1494 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1495 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1496 [generic bits/ioctls.h] (common-generated): Do not append to
1498 [generic sys/syscall.h] (syscall.h): Remove variable.
1499 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1501 [generic sys/syscall.h] (before-compile): Do not append to
1503 [generic sys/syscall.h] (common-generated): Likewise.
1504 * sysdeps/unix/errnos-tmpl.c: Remove file.
1505 * sysdeps/unix/errnos.awk: Likewise.
1506 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1507 * sysdeps/unix/ioctls.awk: Likewise.
1508 * sysdeps/unix/mk-local_lim.c: Likewise.
1509 * sysdeps/unix/snarf-ioctls: Likewise.
1511 2012-03-19 Richard Henderson <rth@twiddle.net>
1513 * sysdeps/i386/fpu/fenv_private.h: New file.
1514 * sysdeps/i386/fpu/math_private.h: Use it.
1515 (math_opt_barrier, math_force_eval): Remove.
1516 (libc_feholdexcept_setround_53bit): Remove.
1517 (libc_feupdateenv_53bit): Remove.
1518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1519 (math_opt_barrier, math_force_eval): Remove.
1520 (libc_feholdexcept): Remove.
1521 (libc_feholdexcept_setround): Remove.
1522 (libc_fetestexcept, libc_fesetenv): Remove.
1523 (libc_feupdateenv_test): Remove.
1524 (libc_feupdateenv, libc_feholdsetround): Remove.
1525 (libc_feresetround): Remove.
1527 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1528 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1530 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1531 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1532 (libc_feupdateenv_testl): New.
1533 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1534 (libc_feupdateenv_testf): New.
1535 (libc_feupdateenv): Use libc_feupdateenv_test.
1536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1539 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1540 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1541 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1542 (libc_feresetround_noex): New.
1543 (libc_feresetround_noexf): New.
1544 (libc_feresetround_noexl): New.
1545 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1546 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1547 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1548 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1553 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1554 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1555 SET_RESTORE_ROUND_NOEX.
1556 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1557 SET_RESTORE_ROUND_NOEXF.
1558 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1559 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1560 (libc_feholdsetroundf): New.
1561 (libc_feresetround, libc_feresetroundf): New.
1563 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1564 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1565 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1567 * sysdeps/generic/math_private.h: Include <fenv.h>.
1568 (default_libc_feholdexcept): New.
1569 (default_libc_feholdexcept_setround): New.
1570 (default_libc_fesetenv, default_libc_feupdateenv): New.
1571 (libc_feholdexcept): Only define if undefined.
1572 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1573 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1574 (libc_feholdexcept_setroundl): Likewise.
1575 (libc_feholdexcept_setround_53bit): Likewise.
1576 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1577 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1578 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1579 (libc_feupdateenv_53bit): Likewise.
1580 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1581 (libc_feholdexcept): Convert from macro to inline function.
1582 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1583 (libc_fesetenv, libc_feupdateenv): Likewise.
1585 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1586 not previously defined.
1587 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1588 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1589 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1590 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1591 * sysdeps/ieee754/flt-32/math_private.h: New file.
1592 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1593 math_private.h below SET_FLOAT_WORD.
1594 (__isnan, __isinf_ns, __finite): Remove.
1595 (__isnanf, __isinf_nsf, __finitef): Remove.
1597 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1601 2012-03-17 David S. Miller <davem@davemloft.net>
1604 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1607 2012-03-16 David S. Miller <davem@davemloft.net>
1609 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1613 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1615 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1616 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1617 sysdep_routines when subdir is sysvipc.
1618 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1621 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1625 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1628 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1630 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1631 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1632 (__lround): Renamed to ...
1633 (__llround): This. Replace long int with long long int.
1634 Define lround functions as aliases of llround functions.
1635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1639 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1640 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1641 adresses to uintptr_t. Replace "long int" and "unsigned long
1642 int" with "greg_t" on va_arg.
1644 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1646 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1647 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1649 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1650 Move e_machine check before EI_CLASS check. Handle x32
1651 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1652 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1653 SKIP_EM_IA_64 and include
1654 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1656 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1657 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1658 (add_system_dir): New macro.
1660 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1661 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1663 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1674 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1676 * math/w_j0f.c (j0f): Likewise.
1678 * math/w_j0l.c (__j0l): Likewise.
1680 * math/w_j1.c (j1): Likewise.
1682 * math/w_j1f.c (j1f): Likewise.
1684 * math/w_j1l.c (__j1l): Likewise.
1686 * math/w_jn.c (jn): Likewise.
1688 * math/w_jnf.c (jnf): Likewise.
1690 * math/w_jnl.c (__jnl): Likewise.
1692 * math/libm-test.inc (j0_test): Add more tests.
1693 (j1_test): Likewise.
1694 (jn_test): Likewise. Add trailing semicolon to existing test.
1695 (y0_test): Likewise.
1696 (y1_test): Likewise.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1703 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1704 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1705 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1706 (__tanl): Set errno for infinite argument.
1707 * sysdeps/i386/fpu/mptan.c: Remove.
1708 * sysdeps/i386/fpu/s_tan.S: Likewise.
1709 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1710 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1711 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1712 * math/libm-test.inc (tan_test): Add more tests and enable more
1713 tests for double and long double.
1714 * sysdeps/i386/fpu/libm-test-ulps: Update.
1715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1717 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1719 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1720 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1722 2012-03-16 Roland McGrath <roland@hack.frob.com>
1724 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1725 * configure.in: Use it for both main tree and add-ons.
1726 * configure: Regenerated.
1728 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1730 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1732 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1738 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1739 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1744 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1747 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1748 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1749 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1750 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1751 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1752 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1753 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1754 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1755 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1756 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1757 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1758 * math/libm-test.inc (cos_test): Add more tests and enable more
1759 tests for long double.
1760 (sin_test): Likewise.
1761 (sincos_test): Likewise.
1762 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1765 2012-03-16 David S. Miller <davem@davemloft.net>
1767 * sysdeps/sparc/fpu/math_private.h: New file.
1769 2012-03-15 David S. Miller <davem@davemloft.net>
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1785 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1786 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1788 * sysdeps/sparc/sparc-ifunc.h: New file.
1789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1831 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1834 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1836 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1840 2012-03-15 Andreas Jaeger <aj@suse.de>
1843 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1844 ieee754/flt-32 implementation for sin, cos and sincos.
1845 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1846 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1847 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1848 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1849 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1850 ieee754/flt-32 implementation for tan.
1852 * math/libm-test.inc (cos_test): Enable some large input tests for
1854 (sin_test): Likewise.
1855 (sincos_test): Likewise.
1856 (tan_test): Add tests for large input.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 2012-03-15 Andreas Jaeger <aj@suse.de>
1863 * math/libm-test.inc (cos_test): Add more test cases.
1864 (sin_test): Likewise.
1865 (sincos_test): Likewise.
1867 2012-03-15 Andreas Jaeger <aj@suse.de>
1870 * math/libm-test.inc (cos_test): Add a test case for large input
1872 (sin_test): Likewise.
1873 (sincos_test): Likewise.
1875 2012-03-15 Andreas Jaeger <aj@suse.de>,
1876 Joseph Myers <joseph@codesourcery.com>
1879 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1880 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1881 * sysdeps/i386/fpu/branred.c: Likewise.
1882 * sysdeps/i386/fpu/dosincos.c: Likewise.
1883 * sysdeps/i386/fpu/mpa.c: Likewise.
1884 * sysdeps/i386/fpu/s_cos.S: Likewise.
1885 * sysdeps/i386/fpu/s_sin.S: Likewise.
1886 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1887 * sysdeps/i386/fpu/sincos32.c: Likewise.
1889 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1891 (libc_feupdateenv_53bit): Define.
1892 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1894 (libc_feupdateenv_53bit): Define.
1896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1897 53 bit (without extend i386 double precision).
1899 * math/libm-test.inc (sincos_test): Add tests for large input.
1903 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1905 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1909 2012-03-15 David S. Miller <davem@davemloft.net>
1911 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1912 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1913 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1914 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1939 fmin/fmax sysdep routines.
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1942 2012-03-14 David S. Miller <davem@davemloft.net>
1944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1951 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1971 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2021 * sysdeps/sparc/configure.in: New file.
2022 * sysdeps/sparc/configure: Generate.
2023 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2024 * configure: Regenerate.
2025 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2026 * config.make.in (have-as-vis3): New.
2027 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2028 available use -Av9d instead of -Av9a.
2029 * sysdeps/sparc/sparc64/Makefile: Likewise.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2045 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2046 fzeros/fnegs to load 0x80000000 into a float register instead of
2048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2050 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2054 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2055 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2056 ($(inst_includedir)/bits/syscall.h): Remove rule.
2057 ($(objpfx)bits/syscall.d): Include instead of
2058 $(objpfx)syscall-list.d.
2059 (generated): Change syscall-list.h and syscall-list.d to
2060 bits/syscall.h and bits/syscall.d.
2062 2012-03-14 Roland McGrath <roland@hack.frob.com>
2065 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2067 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2070 * math/s_csqrt.c: Include <float.h>.
2071 (__csqrt): Scale large or subnormal inputs.
2072 * math/s_csqrtf.c: Likewise.
2073 * math/s_csqrtl.c: Likewise.
2074 * math/libm-test.inc (csqrt_test): Add more tests.
2075 * sysdeps/i386/fpu/libm-test-ulps: Update.
2076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079 * math/libm-test.inc (hypot_test): Add more tests.
2081 2012-03-13 David S. Miller <davem@davemloft.net>
2084 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2085 double-precision for the calculation instead of scaling.
2087 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2089 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2090 manipulate bits before adding and subtracting TWO52[sx].
2091 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2096 2012-03-13 David S. Miller <davem@davemloft.net>
2098 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2099 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2101 rtld-global-offsets.h
2102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2104 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2109 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2110 'err' in the ifdef scope in which it is actually used.
2112 * nss/nss_db/db-init.c: Include string.h
2114 2012-03-12 David S. Miller <davem@davemloft.net>
2116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2117 masking out of the most significant byte of random value used.
2118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2119 Fix coding style in previous change.
2121 * sysdeps/unix/sysv/linux/kernel-features.h
2122 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2123 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2125 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2128 2012-03-11 David S. Miller <davem@davemloft.net>
2130 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2131 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2133 for 'resultvar' otherwise things get truncated on 64-bit.
2135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2136 Fix masking out of the most significant byte of random value used.
2138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2140 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2144 2012-03-09 David S. Miller <davem@davemloft.net>
2146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2147 variables with appropriate CPP guards.
2148 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2149 frame pointer, not the stack pointer. Correct layout comments. Fix test
2150 on resulting framesize and the management of the outregs buffer for pltexit.
2151 Preserve floating point return values across _dl_call_pltexit call.
2152 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2153 framesize and the management of the outregs buffer for pltexit.
2154 Preserve floating point return values across _dl_call_pltexit
2156 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2157 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2158 (print_exit): Fix format string for return register value.
2160 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2162 * sunrpc/Makefile (others): Add rpcgen.
2163 ($(objpfx)rpcgen): Remove special build rule and dependency on
2165 * sunrpc/rpcgen.c: New file.
2167 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2170 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2171 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2172 * sysdeps/i386/crti.S: Likewise.
2173 * sysdeps/i386/crtn.S: Likewise.
2174 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2175 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2176 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2177 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2178 * sysdeps/sh/crti.S: Likewise.
2179 * sysdeps/sh/crtn.S: Likewise.
2180 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2183 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2185 * locale/programs/locfile-kw.gperf: Likewise.
2186 * locale/programs/charmap-kw.h: Regenerated.
2187 * locale/programs/locfile-kw.h: Likewise.
2190 * intl/plural.y: Replace FSF snail mail address with URL.
2191 * intl/plural.c: Regenerated.
2193 2012-03-09 Richard Henderson <rth@twiddle.net>
2195 * include/math_private.h: Remove file.
2196 * math/math_private.h: Move file ...
2197 * sysdeps/generic/math_private.h: ... here.
2199 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2200 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2201 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2203 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2204 and <math_private.h>.
2205 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2206 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2207 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2208 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2209 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2231 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2234 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2235 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2237 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2238 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2239 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2248 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2249 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2250 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2251 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2252 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2265 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2293 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2294 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2296 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2300 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2302 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2304 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2305 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2306 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2307 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2308 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2309 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2310 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2311 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2312 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2313 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2315 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2316 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2317 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2318 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2319 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2320 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2322 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2324 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2325 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2326 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2328 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2329 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2330 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2331 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2332 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2333 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2334 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2335 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2336 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2337 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2338 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2339 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2341 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2342 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2343 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2344 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2345 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2346 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2347 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2348 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2349 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2350 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2351 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2352 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2353 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2354 * sysdeps/ieee754/k_standard.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2474 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2477 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2482 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2487 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2494 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2503 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2504 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2505 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2515 * sysdeps/ieee754/s_lib_version.c: Likewise.
2516 * sysdeps/ieee754/s_matherr.c: Likewise.
2517 * sysdeps/ieee754/s_signgam.c: Likewise.
2518 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2521 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2522 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2523 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2524 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2525 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2526 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2527 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2528 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2529 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2533 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2534 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2535 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2540 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2542 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2543 * sunrpc/rpc_main.c: Likewise.
2544 * sunrpc/rpc_svcout.c: Likewise.
2546 2012-03-09 David S. Miller <davem@davemloft.net>
2548 * include/math_private.h: New file.
2550 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2552 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2553 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2554 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2555 from <bits/socket_type.h>.
2556 (enum __socket_type): Don't define here.
2557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2562 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2565 * Makerules ($(inst_includedir)/%.h): New rule.
2566 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2567 (install-others): Remove variable setting.
2568 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2570 2012-03-08 Richard Henderson <rth@twiddle.net>
2572 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2573 from macro to inline function; merge with the
2574 !__LIBC_INTERNAL_MATH_INLINES version.
2575 (__ieee754_sqrtf): Likewise.
2577 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2579 (__rintf, __floor, __floorf): Likewise.
2581 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2582 macro to inline function.
2583 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2585 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2586 not <math/math_private.h>.
2588 2012-03-08 David S. Miller <davem@davemloft.net>
2590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2592 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2594 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2596 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2598 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2599 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2601 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2603 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2604 be defined individually, they must be defined as a block. Define
2605 S for printing a string instead of hidint the different by using a
2606 macro for adding the 'l'.
2607 * stdio-common/tst-fphex-wide.c: Adjust.
2609 2012-03-07 Marek Polacek <polacek@redhat.com>
2611 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2613 2012-03-08 Marek Polacek <polacek@redhat.com>
2616 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2617 * stdio-common/tst-fphex.c: Define a few macros to make the
2618 test reusable. Use them.
2619 * stdio-common/tst-fphex-wide.c: New file.
2621 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2624 * manual/macros.texi (gnusystems): New macro.
2625 (nongnusystems): Likewise.
2626 (gnulinuxhurdsystems): Likewise.
2627 (gnuhurdsystems): Likewise..
2628 (gnulinuxsystems): Likewise.
2629 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2630 variants of the GNU system, not "GNU system".
2631 * manual/conf.texi: Likewise.
2632 * manual/errno.texi: Likewise. Update example of errno macro
2634 * manual/filesys.texi: Likewise.
2635 (getumask): Document as specific to GNU/Hurd.
2636 * manual/install.texi: Likewise. Reword some references to
2638 * manual/intro.texi: Likewise.
2639 * manual/io.texi: Likewise.
2640 (File Name Portability): Detail which constraints are inapplicable
2641 to all GNU systems and which are only inapplicable to GNU/Hurd.
2642 * manual/job.texi: Likewise.
2643 * manual/llio.texi: Likewise.
2644 (O_NOCTTY): Document as present on GNU/Linux.
2645 * manual/maint.texi: Likewise.
2646 * manual/memory.texi: Likewise.
2647 * manual/pattern.texi: Likewise.
2648 * manual/pipe.texi: Likewise.
2649 * manual/process.texi: Likewise.
2650 * manual/resource.texi: Likewise.
2651 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2653 * manual/setjmp.texi: Likewise.
2654 * manual/signal.texi: Likewise.
2655 * manual/startup.texi: Likewise.
2656 * manual/stdio.texi: Likewise.
2657 * manual/terminal.texi: Likewise.
2658 (ONLCR): Document as POSIX.
2659 (OXTABS): Document availability on GNU/Linux as XTABS.
2660 (ONOEOT): Document availability separately from other bits.
2661 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2662 * manual/time.texi: Likewise.
2663 * manual/users.texi: Likewise.
2664 * INSTALL: Regenerated.
2665 * sysdeps/gnu/errlist.c: Regenerated.
2667 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2668 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2669 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2671 * configure: Regenerated.
2673 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2675 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2676 default includes instead of AC_HEADER_CHECK.
2677 * sysdeps/i386/configure: Regenerated.
2680 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2681 * math/s_cacoshf.c (__cacoshf): Likewise.
2682 * math/s_cacoshl.c (__cacoshl): Likewise.
2683 * math/s_casinh.c (__casinh): Set signs of result from argument.
2684 * math/s_casinhf.c (__casinhf): Likewise.
2685 * math/s_casinhl.c (__casinhl): Likewise.
2686 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2687 (casinh_test): Add more tests.
2688 * sysdeps/i386/fpu/libm-test-ulps: Update.
2689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2691 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2693 * po/zh_TW.po: Update from translation team.
2695 * login/Makefile (distribute): Remove variable.
2696 * catgets/Makefile: Likewise.
2697 * mach/Makefile: Likewise.
2698 * malloc/Makefile: Likewise.
2699 * misc/Makefile: Likewise.
2700 * iconv/Makefile: Likewise.
2701 * nscd/Makefile: Likewise.
2702 * hurd/Makefile: Likewise.
2703 * manual/Makefile: Likewise.
2704 * locale/Makefile: Likewise.
2705 * intl/Makefile: Likewise.
2706 * conform/Makefile: Likewise.
2707 * nss/Makefile: Likewise.
2708 * time/Makefile: Likewise.
2709 * soft-fp/Makefile: Likewise.
2710 * dirent/Makefile: Likewise.
2711 * gmon/Makefile: Likewise.
2712 * po/Makefile: Likewise.
2713 * rt/Makefile: Likewise.
2714 * socket/Makefile: Likewise.
2715 * math/Makefile: Likewise.
2716 * signal/Makefile: Likewise.
2717 * debug/Makefile: Likewise.
2718 * elf/Makefile: Likewise.
2719 * timezone/Makefile: Likewise.
2720 * stdlib/Makefile: Likewise.
2721 * iconvdata/Makefile: Likewise.
2722 * sunrpc/Makefile: Likewise.
2723 * io/Makefile: Likewise.
2724 * argp/Makefile: Likewise.
2725 * inet/Makefile: Likewise.
2726 * hesiod/Makefile: Likewise.
2727 * grp/Makefile: Likewise.
2728 * csu/Makefile: Likewise.
2729 * wctype/Makefile: Likewise.
2730 * crypt/Makefile: Likewise.
2731 * libio/Makefile: Likewise.
2732 * string/Makefile: Likewise.
2733 * nis/Makefile: Likewise.
2734 * resolv/Makefile: Likewise.
2735 * stdio-common/Makefile: Likewise.
2736 * wcsmbs/Makefile: Likewise.
2737 * dlfcn/Makefile: Likewise.
2738 * posix/Makefile: Likewise.
2740 * timezone/Makefile: Don't install timezone files, just the programs
2743 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2745 * nss/databases.def: Add missing gshadow entry.
2747 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2749 2012-03-06 Marek Polacek <polacek@redhat.com>
2752 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2753 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2754 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2755 * stdio-common/tst-long-dbl-fphex.c: New file.
2757 2012-03-06 David S. Miller <davem@davemloft.net>
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2760 (set_obp_int): New function.
2761 (get_obp_int): New function.
2762 (__get_clockfreq_via_dev_openprom): Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2764 Avoid unused variable warnings on 'val' and use builtin_expect.
2765 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2767 (INLINE_CLONE_SYSCALL): Likewise.
2769 2012-03-05 David S. Miller <davem@davemloft.net>
2771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2773 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2781 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2784 Replace gettimeofday with __vdso_gettimeofday.
2786 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2787 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2788 __vdso_clock_gettime and __vdso_getcpu.
2790 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2791 time with __vdso_time.
2793 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2795 * manual/lang.texi (size_t): Note types to which size_t may be
2796 equivalent with the GNU C Library, but do not describe when
2797 differences between them are significant.
2799 2012-03-05 Andreas Jaeger <aj@suse.de>
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2807 (__ieee754_pow): Save and restore rounding mode and use
2808 round-to-nearest for main computations.
2809 * math/libm-test.inc (pow_test_tonearest): New function.
2810 (pow_test_towardzero): Likewise.
2811 (pow_test_downward): Likewise.
2812 (pow_test_upward): Likewise.
2813 (main): Call the new functions.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818 * math/libm-test.inc (cosh_test_tonearest): New function.
2819 (cosh_test_towardzero): Likewise.
2820 (cosh_test_downward): Likewise.
2821 (cosh_test_upward): Likewise.
2822 (sinh_test_tonearest): Likewise.
2823 (sinh_test_towardzero): Likewise.
2824 (sinh_test_downward): Likewise.
2825 (sinh_test_upward): Likewise.
2826 (main): Call the new functions.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 2012-03-05 Tom de Vries <tom@codesourcery.com>
2832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2833 default stack guard is set in last bytes.
2834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2836 2012-03-05 Kees Cook <keescook@chromium.org>
2838 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2841 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2842 possibly allocate from heap instead of stack.
2843 * stdio-common/bug-vfprintf-nargs.c: New file.
2844 * stdio-common/Makefile (tests): Add nargs overflow test.
2846 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2850 2012-03-03 Marek Polacek <polacek@redhat.com>
2852 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2853 * math/math_private.h: Likewise.
2854 * stdlib/tst-strtod.c: Likewise.
2855 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2856 * sysdeps/x86_64/bits/atomic.h: Likewise.
2858 2012-03-02 David S. Miller <davem@davemloft.net>
2860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2864 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2865 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2866 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2869 2012-03-02 Roland McGrath <roland@hack.frob.com>
2872 * manual/examples/README: New file, says the example source files
2873 can be used under GPL>=2.
2874 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2875 line containing just "*/".
2876 * manual/examples/add.c: Add copyright header (GPL>=2).
2877 * manual/examples/argp-ex1.c: Likewise.
2878 * manual/examples/argp-ex2.c: Likewise.
2879 * manual/examples/argp-ex3.c: Likewise.
2880 * manual/examples/argp-ex4.c: Likewise.
2881 * manual/examples/atexit.c: Likewise.
2882 * manual/examples/db.c: Likewise.
2883 * manual/examples/dir.c: Likewise.
2884 * manual/examples/dir2.c: Likewise.
2885 * manual/examples/execinfo.c: Likewise.
2886 * manual/examples/filecli.c: Likewise.
2887 * manual/examples/filesrv.c: Likewise.
2888 * manual/examples/fmtmsgexpl.c: Likewise.
2889 * manual/examples/genpass.c: Likewise.
2890 * manual/examples/inetcli.c: Likewise.
2891 * manual/examples/inetsrv.c: Likewise.
2892 * manual/examples/isockad.c: Likewise.
2893 * manual/examples/longopt.c: Likewise.
2894 * manual/examples/memopen.c: Likewise.
2895 * manual/examples/memstrm.c: Likewise.
2896 * manual/examples/mkfsock.c: Likewise.
2897 * manual/examples/mkisock.c: Likewise.
2898 * manual/examples/mygetpass.c: Likewise.
2899 * manual/examples/pipe.c: Likewise.
2900 * manual/examples/popen.c: Likewise.
2901 * manual/examples/rprintf.c: Likewise.
2902 * manual/examples/search.c: Likewise.
2903 * manual/examples/select.c: Likewise.
2904 * manual/examples/setjmp.c: Likewise.
2905 * manual/examples/sigh1.c: Likewise.
2906 * manual/examples/sigusr.c: Likewise.
2907 * manual/examples/stpcpy.c: Likewise.
2908 * manual/examples/strdupa.c: Likewise.
2909 * manual/examples/strftim.c: Likewise.
2910 * manual/examples/strncat.c: Likewise.
2911 * manual/examples/subopt.c: Likewise.
2912 * manual/examples/swapcontext.c: Likewise.
2913 * manual/examples/termios.c: Likewise.
2914 * manual/examples/testopt.c: Likewise.
2915 * manual/examples/testpass.c: Likewise.
2916 * manual/examples/timeval_subtract.c: Likewise.
2919 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2921 * manual/timeval_subtract.c.texi: ... here, new file.
2923 2012-03-02 David S. Miller <davem@davemloft.net>
2925 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2927 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2931 (__sin): Save and restore rounding mode and use round-to-nearest
2932 for all computations.
2933 (__cos): Save and restore rounding mode and use round-to-nearest
2934 for all computations.
2935 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2937 (tan): Save and restore rounding mode and use round-to-nearest for
2939 * math/libm-test.inc (cos_test_tonearest): New function.
2940 (cos_test_towardzero): Likewise.
2941 (cos_test_downward): Likewise.
2942 (cos_test_upward): Likewise.
2943 (sin_test_tonearest): Likewise.
2944 (sin_test_towardzero): Likewise.
2945 (sin_test_downward): Likewise.
2946 (sin_test_upward): Likewise.
2947 (tan_test_tonearest): Likewise.
2948 (tan_test_towardzero): Likewise.
2949 (tan_test_downward): Likewise.
2950 (tan_test_upward): Likewise.
2951 (main): Call the new functions.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2957 small n, then large n, before computing and testing k+n.
2958 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2963 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2964 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2965 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2966 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2970 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2971 * math/libm-test.inc (scalbn_test): Add more tests.
2972 (scalbln_test): Likewise.
2974 * manual/filesys.texi (mode_t): Describe constraints on size and
2975 signedness, not exact equivalence to a particular type.
2977 (ino64_t): Likewise.
2979 (nlink_t): Likewise.
2980 (blkcnt_t): Likewise.
2981 (blkcnt64_t): Likewise.
2982 * manual/llio.texi (off_t): Likewise.
2985 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2986 (__ieee754_exp): Save and restore rounding mode and use
2987 round-to-nearest for all computations.
2988 * math/libm-test.inc (exp_test_tonearest): New function.
2989 (exp_test_towardzero): Likewise.
2990 (exp_test_downward): Likewise.
2991 (exp_test_upward): Likewise.
2992 (main): Call the new functions.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2996 2012-03-01 Chris Demetriou <cgd@google.com>
2998 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2999 have predictable order.
3001 2012-03-01 David S. Miller <davem@davemloft.net>
3003 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3005 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3006 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3007 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3008 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3010 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3011 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3012 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3014 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3015 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3016 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3017 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3018 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3023 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3026 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3027 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3028 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3029 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3030 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3033 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3034 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3035 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3036 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3042 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3043 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3044 * sysdeps/sparc/elf/configure: Regenerated.
3046 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3048 * configure.in (AS, LD): Require binutils 2.20 or later.
3049 * configure: Regenerated.
3050 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3051 as required minimum version.
3052 * INSTALL: Regenerated.
3056 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3057 before squaring exponent.
3058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3059 bottom long double and 27 bits of top long double before squaring
3061 * math/libm-test.inc (erfc_test): Add more tests.
3062 * sysdeps/i386/fpu/libm-test-ulps: Update.
3063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066 2012-03-01 Kai Tietz <ktietz@redhat.com>
3068 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3069 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3070 containing bit-fields.
3071 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3072 * soft-fp/single.h (_FP_UNION_S): Likewise.
3073 * soft-fp/double.h (_FP_UNION_D): Likewise.
3075 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3079 not include ../strcmp.S.
3080 [USE_AS_STRNCASECMP_L]: Likewise.
3081 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3082 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3083 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3084 (__strncasecmp_l_ia32): Define as alias to
3085 __strncasecmp_l_nonascii.
3088 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3089 * sysdeps/i386/fpu/libm-test-ulps: Update.
3090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3092 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3095 2012-02-29 Jeff Law <law@redhat.com>
3097 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3100 2012-02-29 Marek Polacek <polacek@redhat.com>
3103 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3104 * elf/Makefile: Add rules to run tst-unused-dep.out.
3106 2012-02-28 David S. Miller <davem@davemloft.net>
3108 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3109 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3113 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3115 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3117 * math/libm-test.inc (llround_test): Move one test from
3118 lround_test. Use TEST_f_L in moved test.
3119 (lround_test): Move misplaced test to llround_test. Add testcase
3122 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3124 * sysdeps/x86_64/fpu/e_expf.S: New file.
3125 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3127 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3130 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3131 of remain_len that may cause incomplete multi-byte character and
3133 * posix/bug-regex33.c: New file.
3134 * posix/Makefile (tests): Add bug-regex33.
3136 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3138 * manual/macros.texi: New file.
3139 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3140 * manual/libc.texinfo: Include macros.texi.
3141 * manual/creatute.texi: Likewise.
3142 * manual/install.texi: Likewise.
3143 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3144 @glibcadj{} in references to the GNU C Library.
3145 * manual/charset.texi: Likewise.
3146 * manual/conf.texi: Likewise.
3147 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3148 when not using those macros.
3149 * manual/creature.texi: Likewise.
3150 * manual/crypt.texi: Likewise.
3151 * manual/errno.texi: Likewise.
3152 * manual/filesys.texi: Likewise.
3153 * manual/header.texi: Likewise.
3154 * manual/install.texi: Likewise.
3155 * manual/intro.texi: Likewise.
3156 * manual/io.texi: Likewise.
3157 * manual/job.texi: Likewise.
3158 * manual/lang.texi: Likewise.
3159 * manual/libc.texiinfo: Likewise.
3160 * manual/llio.texi: Likewise.
3161 * manual/locale.texi: Likewise.
3162 * manual/maint.texi: Likewise.
3163 * manual/math.texi: Likewise.
3164 * manual/memory.texi: Likewise.
3165 * manual/message.texi: Likewise.
3166 * manual/nss.texi: Likewise.
3167 * manual/pattern.texi: Likewise.
3168 * manual/process.texi: Likewise.
3169 * manual/resource.texi: Likewise.
3170 * manual/search.texi: Likewise.
3171 * manual/setjmp.texi: Likewise.
3172 * manual/signal.texi: Likewise.
3173 * manual/socket.texi: Likewise.
3174 * manual/startup.texi: Likewise.
3175 * manual/stdio.texi: Likewise.
3176 * manual/string.texi: Likewise.
3177 * manual/sysinfo.texi: Likewise.
3178 * manual/syslog.texi: Likewise.
3179 * manual/terminal.texi: Likewise.
3180 * manual/time.texi: Likewise.
3181 * manual/users.texi: Likewise.
3182 * INSTALL: Regenerated.
3183 * NOTES: Regenerated.
3184 * sysdeps/gnu/errlist.c: Regenerated.
3186 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3188 * include/dirent.h: Include <dirstream.h> before
3191 2012-02-28 David S. Miller <davem@davemloft.net>
3193 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3194 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3195 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3196 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3198 2012-02-27 David S. Miller <davem@davemloft.net>
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3202 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3203 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3206 frame pointer instead of stack pointer relative arg slot.
3207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3208 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3209 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3211 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3214 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3216 2012-02-27 David S. Miller <davem@davemloft.net>
3218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3222 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3223 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3224 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3225 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3227 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3229 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3230 later. Allow versions 5-9.
3231 * configure: Regenerated.
3232 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3233 required minimum version and 4.6 as recommended version. Do not
3234 mention bugs in GCC 2.7 and 2.8.
3235 * INSTALL: Regenerated.
3237 2012-02-27 David S. Miller <davem@davemloft.net>
3239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3245 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3249 manipulate bits before adding and subtracting TWO112[sx].
3250 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3252 2012-02-27 Roland McGrath <roland@hack.frob.com>
3255 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3256 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3257 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3258 being in POSIX, because they are in 1003.1-2008.
3260 * rt/tst-aio.c: Include <fcntl.h>.
3261 * rt/tst-aio7.c: Likewise.
3262 * rt/tst-aio64.c: Likewise.
3264 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3266 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3268 * manual/install.texi (--with-headers): Describe headers as
3269 interface headers, not private headers.
3270 (Specific advice for GNU/Linux systems): Describe use of headers
3271 from "make headers_install", not private headers from older
3273 * INSTALL: Regenerated.
3274 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3276 * sysdeps/unix/sysv/linux/configure: Regenerated.
3278 * manual/llio.texi (fclean): Remove documentation.
3280 * manual/Makefile (libc-texi-generated): New variable. Include
3282 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3283 $(libc-texi-generated), not duplicated list of files.
3284 (version.texi, stamp-version): New rules.
3285 (realclean): Remove $(libc-texi-generated), not individual files
3286 from that list. Do not remove dir-add.texinfo.
3287 * manual/libc.texinfo: Comment out uses of edition numbers and
3288 references to printed manual. Remove last-updated dates.
3289 (EDITION): Comment out.
3291 (VERSION, UPDATED): Remove.
3292 (version.texi): Include.
3294 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3296 * sysdeps/posix/spawni.c: Include <signal.h>.
3297 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3298 * sysdeps/pthread/aio_fsync.c: Likewise.
3300 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3302 * conform/Makefile (tests): Run only when not cross-compiling and
3303 when fast-check is not defined.
3305 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3306 * conform/data/limits.h-data: Fixes for POSIX2008.
3307 * conform/run-conformtest.sh: Run all tests.
3308 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3310 * include/bits/dlfcn.h: Likewise.
3311 * include/langinfo.h: Likewise.
3312 * include/monetary.h: Likewise.
3313 * include/sys/poll.h: Likewise.
3315 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3317 * posix/spawn.h: Define __need_sigset_t.
3318 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3319 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3320 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3321 to get sigevent_t only.
3322 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3325 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3326 process_vm_writev only for __USE_GNU.
3327 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3329 * conform/Makefile: For now ignore errors from run-conformtest.
3330 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3331 POSIX to avoid namespace pollution. Don't prepend headers.
3332 * conform/data/aio.h-data: Fixes for POSIX testing.
3333 * conform/data/fcntl.h-data: Likewise.
3334 * conform/data/glob.h-data: Likewise.
3335 * conform/data/grp.h-data: Likewise.
3336 * conform/data/pthread.h-data: Likewise.
3337 * conform/data/pwd.h-data: Likewise.
3338 * conform/data/signal.h-data: Likewise.
3339 * conform/data/spawn.h-data: Likewise.
3340 * conform/data/stdio.h-data: Likewise.
3341 * conform/data/stdlib.h-data: Likewise.
3342 * conform/data/stropts.h-data: Likewise.
3343 * conform/data/sys/mman.h-data: Likewise.
3344 * conform/data/sys/stat.h-data: Likewise.
3345 * conform/data/sys/types.h-data: Likewise.
3346 * conform/data/sys/wait.h-data: Likewise.
3347 * conform/data/time.h-data: Likewise.
3348 * conform/data/unistd.h-data: Likewise.
3349 * conform/data/utime.h-data: Likewise.
3351 * io/sys/stat.h: fchmod was always in POSIX.
3352 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3353 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3354 * rt/aio.h: Define __need_timespec before including <time.h>.
3355 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3356 struct. Add forward declaration of pthread_attr_t and use it in
3358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3360 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3361 always remove CLK_TCK definition.
3363 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3365 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3367 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3369 * conform/run-conformtest.sh: New file.
3370 * conform/Makefile: Run run-conformtest for tests.
3371 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3374 * conform/data/uchar.h-data: New file.
3375 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3376 * conform/data/arpa/inet.h-data: Likewise.
3377 * conform/data/assert.h-data: Likewise.
3378 * conform/data/complex.h-data: Likewise.
3379 * conform/data/cpio.h-data: Likewise.
3380 * conform/data/ctype.h-data: Likewise.
3381 * conform/data/dirent.h-data: Likewise.
3382 * conform/data/dlfcn.h-data: Likewise.
3383 * conform/data/errno.h-data: Likewise.
3384 * conform/data/fcntl.h-data: Likewise.
3385 * conform/data/float.h-data: Likewise.
3386 * conform/data/fmtmsg.h-data: Likewise.
3387 * conform/data/fnmatch.h-data: Likewise.
3388 * conform/data/ftw.h-data: Likewise.
3389 * conform/data/glob.h-data: Likewise.
3390 * conform/data/grp.h-data: Likewise.
3391 * conform/data/iconv.h-data: Likewise.
3392 * conform/data/inttypes.h-data: Likewise.
3393 * conform/data/langinfo.h-data: Likewise.
3394 * conform/data/libgen.h-data: Likewise.
3395 * conform/data/limits.h-data: Likewise.
3396 * conform/data/locale.h-data: Likewise.
3397 * conform/data/math.h-data: Likewise.
3398 * conform/data/monetary.h-data: Likewise.
3399 * conform/data/mqueue.h-data: Likewise.
3400 * conform/data/ndbm.h-data: Likewise.
3401 * conform/data/net/if.h-data: Likewise.
3402 * conform/data/netdb.h-data: Likewise.
3403 * conform/data/netinet/in.h-data: Likewise.
3404 * conform/data/nl_types.h-data: Likewise.
3405 * conform/data/poll.h-data: Likewise.
3406 * conform/data/pthread.h-data: Likewise.
3407 * conform/data/pwd.h-data: Likewise.
3408 * conform/data/regex.h-data: Likewise.
3409 * conform/data/sched.h-data: Likewise.
3410 * conform/data/search.h-data: Likewise.
3411 * conform/data/semaphore.h-data: Likewise.
3412 * conform/data/setjmp.h-data: Likewise.
3413 * conform/data/signal.h-data: Likewise.
3414 * conform/data/spawn.h-data: Likewise.
3415 * conform/data/stdarg.h-data: Likewise.
3416 * conform/data/stdio.h-data: Likewise.
3417 * conform/data/stdlib.h-data: Likewise.
3418 * conform/data/string.h-data: Likewise.
3419 * conform/data/strings.h-data: Likewise.
3420 * conform/data/stropts.h-data: Likewise.
3421 * conform/data/sys/ipc.h-data: Likewise.
3422 * conform/data/sys/mman.h-data: Likewise.
3423 * conform/data/sys/msg.h-data: Likewise.
3424 * conform/data/sys/resource.h-data: Likewise.
3425 * conform/data/sys/select.h-data: Likewise.
3426 * conform/data/sys/sem.h-data: Likewise.
3427 * conform/data/sys/shm.h-data: Likewise.
3428 * conform/data/sys/socket.h-data: Likewise.
3429 * conform/data/sys/stat.h-data: Likewise.
3430 * conform/data/sys/statvfs.h-data: Likewise.
3431 * conform/data/sys/time.h-data: Likewise.
3432 * conform/data/sys/timeb.h-data: Likewise.
3433 * conform/data/sys/times.h-data: Likewise.
3434 * conform/data/sys/types.h-data: Likewise.
3435 * conform/data/sys/uio.h-data: Likewise.
3436 * conform/data/sys/un.h-data: Likewise.
3437 * conform/data/sys/utsname.h-data: Likewise.
3438 * conform/data/sys/wait.h-data: Likewise.
3439 * conform/data/syslog.h-data: Likewise.
3440 * conform/data/tar.h-data: Likewise.
3441 * conform/data/termios.h-data: Likewise.
3442 * conform/data/utime.h-data: Likewise.
3443 * conform/data/utmpx.h-data: Likewise.
3444 * conform/data/varargs.h-data: Likewise.
3445 * conform/data/wchar.h-data: Likewise.
3446 * conform/data/wctype.h-data: Likewise.
3447 * conform/data/wordexp.h-data: Likewise.
3449 * include/stropts.h: New file.
3450 * include/uchar.h: New file.
3451 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3452 * include/assert.h: Likewise.
3453 * include/ctype.h: Likewise.
3454 * include/dirent.h: Likewise.
3455 * include/dlfcn.h: Likewise.
3456 * include/fcntl.h: Likewise.
3457 * include/fnmatch.h: Likewise.
3458 * include/glob.h: Likewise.
3459 * include/grp.h: Likewise.
3460 * include/libio.h: Likewise.
3461 * include/locale.h: Likewise.
3462 * include/math.h: Likewise.
3463 * include/net/if.h: Likewise.
3464 * include/netdb.h: Likewise.
3465 * include/netinet/in.h: Likewise.
3466 * include/pthread.h: Likewise.
3467 * include/pwd.h: Likewise.
3468 * include/regex.h: Likewise.
3469 * include/sched.h: Likewise.
3470 * include/search.h: Likewise.
3471 * include/setjmp.h: Likewise.
3472 * include/signal.h: Likewise.
3473 * include/stdio.h: Likewise.
3474 * include/stdlib.h: Likewise.
3475 * include/string.h: Likewise.
3476 * include/sys/cdefs.h: Likewise.
3477 * include/sys/mman.h: Likewise.
3478 * include/sys/msg.h: Likewise.
3479 * include/sys/resource.h: Likewise.
3480 * include/sys/select.h: Likewise.
3481 * include/sys/socket.h: Likewise.
3482 * include/sys/stat.h: Likewise.
3483 * include/sys/statvfs.h: Likewise.
3484 * include/sys/time.h: Likewise.
3485 * include/sys/times.h: Likewise.
3486 * include/sys/uio.h: Likewise.
3487 * include/sys/utsname.h: Likewise.
3488 * include/sys/wait.h: Likewise.
3489 * include/termios.h: Likewise.
3490 * include/time.h: Likewise.
3491 * include/ulimit.h: Likewise.
3492 * include/unistd.h: Likewise.
3493 * include/utime.h: Likewise.
3494 * include/wchar.h: Likewise.
3495 * include/wctype.h: Likewise.
3496 * include/wordexp.h: Likewise.
3498 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3500 * time/time.h: TIME_UTC must be a macro.
3501 Make timespec_get available for ISO C11 only as well.
3503 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3505 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3506 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3508 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3510 * configure.in: Use -o not -a in test for unsupported multi-arch.
3512 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3514 * manual/texinfo.tex: Update to version 2012-01-19.16.
3516 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3518 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3520 2012-02-24 Roland McGrath <roland@hack.frob.com>
3523 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3524 * manual/fdl-1.3.texi: New file.
3525 * manual/fdl-1.1.texi: File removed.
3528 * manual/libc.texinfo (FDL_VERSION): New @set.
3529 Use it for mention of FDL in cover text.
3530 (Documentation License): Use it in @include file name.
3532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3533 Roland McGrath <roland@hack.frob.com>
3536 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3537 not LONG_LONG_MAX and LONG_LONG_MIN.
3538 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3539 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3541 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3543 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3547 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3548 manipulate bits before adding and subtracting TWO23[sx].
3549 * math/libm-test.inc (nearbyint_test): Add more tests.
3551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3554 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3555 bits before adding and subtracting TWO23[sx].
3556 * math/libm-test.inc (rint_test): Add more tests.
3557 (rint_test_tonearest): Likewise.
3558 (rint_test_towardzero): Likewise.
3559 (rint_test_downward): Likewise.
3560 (rint_test_upward: Likewise.
3562 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3565 * include/stdc-predef.h: New file. Extracted from features.h.
3566 * include/features.h: Include stdc-predef.h.
3567 * Makefile (headers): Add stdc-predef.h.
3568 * CONFORMANCE (Compiler limitations): Update.
3570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3572 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3574 2012-02-21 David S. Miller <davem@davemloft.net>
3576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3579 2012-02-20 David S. Miller <davem@davemloft.net>
3581 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3582 using a normal save/restore sequence, rather than allocating a
3583 dummy stack frame just to store a frame pointer and restore.
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3586 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3588 * manual/install.texi: Fix stray word in line-wrapped comment.
3590 2012-02-20 David S. Miller <davem@davemloft.net>
3592 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3593 both binutils and gcc support GOTDATA.
3595 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3596 "rd %pc" in the PIC register setup sequences.
3598 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3599 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3601 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3602 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3607 (SYSCALL_ERROR_HANDLER): Likewise.
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3609 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3611 (SYSCALL_ERROR_HANDLER): Likewise.
3613 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3614 (HAVE_GCC_GOTDATA): New.
3615 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3616 relocation support in both binutils and gcc.
3617 * sysdeps/sparc/elf/configure: Regenerate.
3619 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3620 * sysdeps/sparc/sparc32/elf/configure: Delete.
3621 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3622 * sysdeps/sparc/sparc64/elf/configure: Delete.
3623 * sysdeps/sparc/elf/configure.in: New file.
3624 * sysdeps/sparc/elf/configure: Generate.
3626 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3627 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3628 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3629 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3630 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3632 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3634 * manual/install.texi: Do not mention specific glibc version
3636 * manual/libc.texinfo (VERSION, UPDATED): Update.
3637 (@copying): Use @copyright{} and range of years.
3639 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3642 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3643 [crti.S not in sysdirs] (generated): Do not append.
3644 [crti.S not in sysdirs] (omit-deps): Likewise.
3645 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3646 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3647 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3648 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3649 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3651 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3652 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3653 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3654 * csu/defs.awk: Remove file.
3655 * sysdeps/generic/initfini.c: Likewise.
3656 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3658 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3661 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3664 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3665 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3667 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3668 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3670 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3671 (__EPOLL_PACKED): Define to empty if not defined by
3673 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3679 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3680 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3684 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3688 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3690 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3693 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3697 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3702 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3704 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3705 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3707 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3709 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3712 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3714 * math/w_acos.c: Use non-signaling floating-point comparisons.
3715 * math/w_acosf.c: Likewise.
3716 * math/w_acosh.c: Likewise.
3717 * math/w_acoshf.c: Likewise.
3718 * math/w_acoshl.c: Likewise.
3719 * math/w_acosl.c: Likewise.
3720 * math/w_asin.c: Likewise.
3721 * math/w_asinf.c: Likewise.
3722 * math/w_asinl.c: Likewise.
3723 * math/w_atanh.c: Likewise.
3724 * math/w_atanhf.c: Likewise.
3725 * math/w_atanhl.c: Likewise.
3726 * math/w_exp2.c: Likewise.
3727 * math/w_exp2f.c: Likewise.
3728 * math/w_exp2l.c: Likewise.
3729 * math/w_j0.c: Likewise.
3730 * math/w_j0f.c: Likewise.
3731 * math/w_j0l.c: Likewise.
3732 * math/w_j1.c: Likewise.
3733 * math/w_j1f.c: Likewise.
3734 * math/w_j1l.c: Likewise.
3735 * math/w_jn.c: Likewise.
3736 * math/w_jnf.c: Likewise.
3737 * math/w_log.c: Likewise.
3738 * math/w_log10.c: Likewise.
3739 * math/w_log10f.c: Likewise.
3740 * math/w_log10l.c: Likewise.
3741 * math/w_log2.c: Likewise.
3742 * math/w_log2f.c: Likewise.
3743 * math/w_log2l.c: Likewise.
3744 * math/w_logf.c: Likewise.
3745 * math/w_logl.c: Likewise.
3746 * math/w_sqrt.c: Likewise.
3747 * math/w_sqrtf.c: Likewise.
3748 * math/w_sqrtl.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3752 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3755 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3758 * manual/string.texi (strnlen): Use correct parameter name in
3759 equivalent expression.
3761 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3764 * manual/users.texi (seteuid): Consistently use neweuid for
3767 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3770 * manual/nss.texi (Services in the NSS configuration): Correct
3771 list of services in example configuration file.
3773 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3776 * manual/arith.texi: Remove statements about negative zero
3777 behaving identically to zero.
3779 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3782 * manual/install.texi: Do not document upgrading from libc5.
3784 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3787 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3789 2012-02-18 David S. Miller <davem@davemloft.net>
3791 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3792 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3793 %o7 across the call.
3794 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3799 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3800 * sysdeps/sparc/crtn.S: Likewise.
3802 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3804 * aout/Makefile: Remove.
3806 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3809 * manual/examples/argp-ex1.c (main): Format definition in GNU
3811 * manual/examples/argp-ex2.c (main): Likewise.
3812 * manual/examples/argp-ex3.c (main): Likewise.
3813 * manual/examples/argp-ex4.c (main): Likewise.
3814 * manual/examples/longopt.c (main): Use new-style prototype
3816 * manual/examples/strncat.c (main): Specify return type and use
3817 (void) for arguments.
3818 * manual/examples/subopt.c (main): Use char **argv argument.
3820 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3823 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3826 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3829 * manual/string.texi (strchr): Change when strchrnul is
3832 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3835 * manual/locale.texi (setlocale): Document LOCPATH.
3837 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3840 * manual/process.texi (execle): Move @dots{} before last argument.
3842 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3845 * manual/charset.texi (Generic Charset Conversion): Fix typo
3846 (LC_TYPE -> LC_CTYPE).
3848 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3851 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3852 (scalbnf): Likewise.
3853 (scalbnl): Likewise.
3854 (scalbln): Likewise.
3855 (scalblnf): Likewise.
3856 (scalblnl): Likewise.
3857 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3861 * manual/filesys.texi (telldir): Use braces around return type.
3862 * manual/llio.texi (mmap): Add space after comma.
3864 * manual/math.texi (jn): Use @var{} on parameter names.
3870 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3872 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3874 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3875 (sched_get_priority_max): Likewise.
3876 * manual/signal.texi (sigvec): Add space after comma.
3877 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3879 (if_indextoname): Likewise.
3880 (if_freenameindex): Likewise.
3881 (sendto): Use ',' instead of '.' in prototype.
3882 * manual/startup.texi (syscall): Use @dots{} instead of literal
3884 * manual/stdio.texi (__fpending): Separate initial words of
3885 paragraph from @deftypefun line.
3886 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3888 (vsyslog): Use @var{} on parameter names.
3889 * manual/terminal.texi (stty): Use @var{} on parameter names.
3890 * manual/users.texi (getutmp): Use @var{} on parameter names.
3891 (getutmpx): Likewise.
3893 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3896 * manual/stdio.texi (fopen): Fix typos in description of
3899 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3902 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3903 get clock_id definition.
3905 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3908 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3909 (madvise): Cast every argument to void on its own.
3911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3914 * manual/startup.texi (Exit Status): Fix typo.
3916 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3919 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3920 * manual/examples/argp-ex2.c: Likewise.
3921 * manual/examples/argp-ex3.c: Likewise.
3923 2012-02-16 Richard Henderson <rth@redhat.com>
3925 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3926 * sysdeps/s390/s390-32/initfini.c: Remove.
3927 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3928 * sysdeps/s390/s390-64/initfini.c: Remove.
3930 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3932 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3933 compiler output for sysdeps/generic/initfini.c.
3934 * sysdeps/sh/elf/initfini.c: Remove file.
3936 2012-02-16 David S. Miller <davem@davemloft.net>
3939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3941 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3942 * sysdeps/sparc/crti.S: New file.
3943 * sysdeps/sparc/crtn.S: New file.
3944 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3945 * sysdeps/sparc/sparc64/Makefile: Likewise.
3947 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3950 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3952 2012-02-15 Roland McGrath <roland@hack.frob.com>
3955 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3957 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3958 (write, read, close): Likewise.
3959 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3961 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3963 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3964 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3965 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3966 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3968 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3972 2012-02-14 Marek Polacek <polacek@redhat.com>
3974 * sysdeps/x86_64/crti.S: New file.
3975 * sysdeps/x86_64/crtn.S: New file.
3976 * sysdeps/x86_64/elf/initfini.c: Remove file.
3978 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3981 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3982 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3983 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3985 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3989 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3991 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3992 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3993 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3994 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3996 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4000 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4002 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4003 __feraiseexcept instead of feraiseexcept.
4005 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4006 nanosleep invocations.
4007 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4008 strings, and add error checking for a nanosleep invocations.
4010 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4012 Replace FSF snail mail address with URLs, as per GNU coding standards.
4013 Most of the snail mail addresses were wrong anyway, and omitting
4014 them makes the source code easier to maintain. Almost all of the
4015 changes are to license notices and to locale LC_IDENTIFICATION
4016 addresses, except for this one:
4017 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4018 not its snail mail address.
4020 2012-02-09 Richard Henderson <rth@twiddle.net>
4022 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4023 of kernel-features.h.
4025 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4027 2012-02-08 Marek Polacek <polacek@redhat.com>
4029 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4030 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4031 * sysdeps/gnu/_G_config.h: Likewise.
4032 * sysdeps/generic/_G_config.h: Likewise.
4034 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4036 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040 * sysdeps/powerpc/powerpc32/crti.S: New file.
4041 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4042 * sysdeps/powerpc/powerpc64/crti.S: New file.
4043 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4045 * Makeconfig (have-initfini): Don't set.
4046 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4047 * configure.in (nopic_initfini): Don't substitute.
4048 * config.h.in (HAVE_INITFINI): Don't #undef.
4049 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4050 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4052 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4054 Support crti.S and crtn.S provided directly by architectures.
4055 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4056 [crti.S in sysdirs] (omit-deps): Likewise.
4057 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4058 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4059 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4060 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4061 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4062 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4063 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4064 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4065 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4066 compiler output for sysdeps/generic/initfini.c.
4067 * sysdeps/i386/elf/Makefile: Remove file.
4068 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4070 2012-02-07 Marek Polacek <polacek@redhat.com>
4072 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4073 * sysdeps/gnu/_G_config.h: Likewise.
4074 * sysdeps/mach/hurd/_G_config.h: Likewise.
4076 2012-02-07 Marek Polacek <polacek@redhat.com>
4078 * math/Makefile (tests): Add tst-CMPLX2.
4079 * math/tst-CMPLX2.c: New file.
4081 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4085 * math/libm-test.inc (jn_test): Add missing L suffix.
4087 2012-02-06 Marek Polacek <polacek@redhat.com>
4089 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4090 * sysdeps/i386/fpu/e_powf.S: Likewise.
4091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4092 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4093 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4094 * sysdeps/i386/fpu/e_pow.S: Likewise.
4095 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4097 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4098 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4099 * sysdeps/i386/fpu/e_log2.S: Likewise.
4100 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4101 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4102 * sysdeps/i386/fpu/e_powl.S: Likewise.
4103 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4104 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4105 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4106 * sysdeps/i386/fpu/e_logl.S: Likewise.
4107 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4108 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4109 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4110 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4113 * sysdeps/i386/fpu/e_log.S: Likewise.
4114 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4116 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4117 * sysdeps/i386/fpu/e_logf.S: Likewise.
4118 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4120 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4123 * sysdeps/i386/fpu/e_log10.S: Likewise.
4124 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4125 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4126 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4127 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4128 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4130 * sysdeps/i386/asm-syntax.h: Likewise.
4131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4134 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4135 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4137 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4138 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4140 * sysdeps/powerpc/sysdep.h: Likewise.
4141 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4144 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4147 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4149 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4151 * sysdeps/i386/sysdep.h: Include <features.h>.
4152 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4155 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4157 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4159 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4162 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4165 (SETUP_PIC_REG): Use GET_PC_THUNK.
4166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4169 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4171 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4172 for non-PIC compilation.
4173 (SETUP_PIC_REG): Add .p2align directive.
4174 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4175 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4176 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4177 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4179 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4180 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4182 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4189 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4192 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4193 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4196 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4197 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4202 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4203 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4204 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4205 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4206 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4209 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4210 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4211 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4212 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4213 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4214 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4216 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4218 * math/tst-CMPLX.c: Include <stdio.h>.
4220 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4222 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4224 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4225 * sysdeps/sparc/bits/mathdef.h: Likewise.
4227 2012-01-31 Marek Polacek <polacek@redhat.com>
4229 * libio/libio.h: Don't define _PARAMS.
4230 * locale/programs/config.h: Don't define PARAMS.
4231 * stdlib/strtol_l.c: Likewise.
4232 (__strtol_l): Remove PARAMS from the prototype.
4234 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4236 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4237 names. Just use the correct names. Remove unnecessary wrapper
4239 * malloc/arena.c: Likewise.
4240 * malloc/hooks.c: Likewise.
4242 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4243 ARENA_TEST says not to. Simplify test for creation of a new arena.
4244 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4246 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4248 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4250 (update_get_addr): New function.
4251 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4252 GET_ADDR_MODULE parameter.
4254 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4256 * crypt/cert.c: Remove __STDC__ conditionals.
4257 * crypt/crypt-entry.c: Likewise.
4258 * crypt/crypt_util.c: Likewise.
4259 * libio/filedoalloc.c: Likewise.
4260 * libio/fileops.c: Likewise.
4261 * libio/genops.c: Likewise.
4262 * libio/iofclose.c: Likewise.
4263 * libio/iofdopen.c: Likewise.
4264 * libio/iofopen.c: Likewise.
4265 * libio/iofopen64.c: Likewise.
4266 * libio/iogetdelim.c: Likewise.
4267 * libio/iopopen.c: Likewise.
4268 * libio/obprintf.c: Likewise.
4269 * libio/oldfileops.c: Likewise.
4270 * libio/oldiofclose.c: Likewise.
4271 * libio/oldiofdopen.c: Likewise.
4272 * libio/oldiofopen.c: Likewise.
4273 * libio/oldiopopen.c: Likewise.
4274 * libio/wfiledoalloc.c: Likewise.
4275 * libio/wgenops.c: Likewise.
4276 * locale/programs/xmalloc.c: Likewise.
4277 * misc/syslog.c: Likewise.
4278 * stdio-common/xbug.c: Likewise.
4279 * string/memchr.c: Likewise.
4280 * string/memcmp.c: Likewise.
4281 * string/memrchr.c: Likewise.
4282 * string/rawmemchr.c: Likewise.
4283 * sysdeps/posix/getcwd.c: Likewise.
4284 * time/strftime_l.c: Likewise.
4286 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4288 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4289 * config.make.in (config-cflags-sse2avx): Define.
4290 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4293 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4295 * scripts/config.guess: Update from upstream config git repository.
4296 * scripts/config.sub: Likewise.
4298 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4300 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4302 (R_TILEPRO_*, R_TILEGX_*): New macros.
4304 * scripts/firstversions.awk: Fix bug in version range handling.
4306 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4308 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4310 * include/sys/epoll.h: New file.
4311 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4314 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4316 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4317 Avoid unnecessary __WORDSIZE == 64 test.
4318 (fmaxf): Use VEX format if possible.
4323 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4324 * math/math_private.h: Remove libc_fegetround* and
4326 * sysdeps/i386/configure.in: Check for -msse2avx.
4327 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4328 also if SSE2AVX is defined.
4329 Remove libc_fegetround* and libc_fesetround*.
4330 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4331 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4340 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4342 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4346 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4348 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4351 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4353 * Makeconfig (libm): Define.
4354 * elf/Makefile: Add rules to build and run tst-relsort1.
4355 * elf/tst-relsort1.c: New file.
4356 * elf/tst-relsort1mod1.c: New file.
4357 * elf/tst-relsort1mod2.c: New file.
4359 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4361 * math/s_ldexp.c: Remove __STDC__ conditionals.
4362 * math/s_ldexpf.c: Likewise.
4363 * math/s_ldexpl.c: Likewise.
4364 * math/s_nextafter.c: Likewise.
4365 * math/s_nexttowardf.c: Likewise.
4366 * math/s_significand.c: Likewise.
4367 * math/s_significandf.c: Likewise.
4368 * math/s_significandl.c: Likewise.
4369 * math/w_jnl.c: Likewise.
4370 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4371 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4372 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4373 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4374 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4379 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4382 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4397 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4398 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4399 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4400 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4401 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4404 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4405 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4406 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4407 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4408 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4409 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4410 * sysdeps/ieee754/k_standard.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4490 * sysdeps/ieee754/s_matherr.c: Likewise.
4491 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4492 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4496 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4498 * crypt/md5.h: Remove __STDC__ conditionals.
4499 * libio/libioP.h: Likewise.
4500 * locale/programs/config.h: Likewise.
4501 * sysdeps/generic/sysdep.h: Likewise.
4502 * sysdeps/i386/asm-syntax.h: Likewise.
4503 * sysdeps/s390/asm-syntax.h: Likewise.
4504 * sysdeps/unix/sysdep.h: Likewise.
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4508 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4510 * libio/libio.h: Remove __STDC__ conditionals.
4511 * malloc/obstack.h: Likewise.
4512 * math/complex.h: Likewise.
4513 * math/math.h: Likewise.
4514 * sysdeps/generic/_G_config.h: Likewise.
4515 * sysdeps/gnu/_G_config.h: Likewise.
4516 * sysdeps/mach/hurd/_G_config.h: Likewise.
4517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4518 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4519 * sysdeps/sparc/bits/mathdef.h: Likewise.
4521 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4524 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4525 Clean up HAS_* macros.
4526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4527 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4532 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4537 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4539 * elf/tst-unique3.cc (gets): Remove declaration.
4540 * elf/tst-unique3lib.cc (gets): Likewise.
4541 * elf/tst-unique3lib2.cc (gets): Likewise.
4542 * elf/tst-unique4.cc (gets): Likewise.
4544 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4546 * include/stdio.h: Add C++ protection. Add gets declarations and
4548 * debug/tst-chk1.c: Don't declare gets here.
4549 * stdio-common/tst-gets.c: Likewise.
4551 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4553 * posix/glob: Remove directory.
4555 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4557 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4559 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4561 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4562 of the non-standard EPFNOSUPPORT.
4564 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4566 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4567 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4568 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4570 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4572 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4574 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4576 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4578 * nscd/grpcache.c (cache_addgr): Likewise.
4579 * nscd/hstcache.c (cache_addhst): Likewise.
4580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4581 * nscd/pwdcache.c (cache_addpw): Likewise.
4582 * nscd/servicescache.c (cache_addserv): Likewise.
4584 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4586 * malloc/malloc.c: Various cleanups.
4587 * malloc/hooks.c: Likewise.
4589 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4590 * stdlib/bug-fmtmsg1.c: New file.
4592 * stdlib/fmtmsg.c (init): Add missing unlock.
4593 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4595 2012-01-12 Marek Polacek <polacek@redhat.com>
4597 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4600 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4602 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4604 macro to ensure uniqueness of label name.
4605 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4606 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4608 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4612 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4613 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4617 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4621 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4622 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4623 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4625 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4627 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4632 * math/bits/math-finite.h: Add ldexp support.
4634 2012-01-10 Marek Polacek <polacek@redhat.com>
4636 * locale/programs/localedef.h (show_archive_content): Add noreturn
4639 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4641 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4645 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4647 * io/Makefile (headers): Add bits/poll2.h.
4649 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4652 typo #include statement.
4654 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4656 * include/sys/cdefs.h: Define __attribute_alloc_size.
4657 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4658 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4659 * elf/pldd.c: Likewise.
4660 * iconv/iconv_charmap.c: Likewise.
4661 * iconv/iconvconfig.c: Likewise.
4662 * iconv/strtab.c: Likewise.
4663 * locale/programs/locale.c: Likewise.
4664 * locale/programs/localedef.h: Likewise.
4665 * locale/programs/simple-hash.c: Likewise.
4666 * nscd/nscd.h: Likewise.
4667 * nss/makedb.c: Likewise.
4668 * sysdeps/generic/ldconfig.h: Likewise.
4669 * locale/programs/localedef.c: Remove xmalloc prototype.
4670 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4672 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4677 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4679 * math/Makefile (tests): Add tst-CMPLX.
4680 * math/tst-CMPLX.c: New file.
4682 * math/complex.h (CMPLXL): Fix typo.
4684 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4685 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4687 * debug/tst-chk1.c: Add poll and ppoll tests.
4688 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4689 * include/sys/poll.h: Add hidden proto for ppoll.
4690 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4691 * sysdeps/mach/hurd/ppoll.c: Likewise.
4692 * io/ppoll.c: Likewise.
4693 * debug/poll_chk.c: New file.
4694 * debug/ppoll_chk.c: New file.
4695 * include/bits/poll2.h: New file.
4696 * io/bits/poll2.h: New file.
4699 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4701 * configure.in: static is always set to yes. Remove.
4702 * config.make.in: Don't set build-static.
4703 * Makeconfig: Remove use of build-static.
4704 * dlfcn/Makefile: Likewise.
4705 * elf/Makefile: Likewise.
4706 * math/Makefile: Likewise.
4707 * misc/Makefile: Likewise.
4708 * nptl/Makefile: Likewise.
4709 * sysdeps/mach/hurd/Makefile: Likewise.
4711 * configure.in: PWD_P is not used anymore.
4712 * config.make.in: Remove PWD_P entry.
4714 * configure.in: Remove last remnants of RANLIB.
4715 No need to check for signed size_t anymore.
4716 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4718 Remove __builtin_expect test because we require at least gcc 3.4.
4719 * aclocal.m4: Likewise.
4721 * wcsmbs/mbrtoc16.c: Implement using towc function.
4722 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4723 * wcsmbs/wcsmbsload.c: Likewise.
4724 * iconv/gconv_simple.c: Likewise.
4725 * iconv/gconv_int.h: Likewise.
4726 * iconv/gconv_builtin.h: Likewise.
4727 * iconv/iconv_prog.c: Remove CHAR16 handling.
4729 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4731 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4733 * configure.in: Remove --with-elf and --enable-bounded options.
4734 Dont set base_machine for ia64. More non-ELF conditions removed.
4735 Remove testing and setting of leading underscore information.
4736 * config.make.in (build-bounded): Set to no.
4737 * config.h.in: Remove NO_UNDERSCORES entry.
4738 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4740 * csu/start.c: Remove !NO_UNDERSCORE code.
4741 * locale/localeinfo.h: Likewise.
4742 * sysdeps/generic/machine-gmon.h: Likewise.
4743 * sysdeps/generic/sysdep.h: Likewise.
4744 * sysdeps/i386/sysdep.h: Likewise.
4745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4746 * sysdeps/mach/sysdep.h: Likewise.
4747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4749 * sysdeps/sh/sysdep.h: Likewise.
4750 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4751 * sysdeps/unix/i386/sysdep.S: Likewise.
4752 * sysdeps/unix/sparc/start.c: Likewise.
4753 * sysdeps/unix/sparc/sysdep.S: Likewise.
4754 * sysdeps/unix/sparc/sysdep.h: Likewise.
4755 * sysdeps/unix/start.c: Likewise.
4756 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4757 * sysdeps/x86_64/sysdep.h: Likewise.
4759 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4762 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4764 * argp/argp-fmtstream.h: Use const instead __const.
4765 * argp/argp.h: Likewise.
4766 * assert/assert.h: Likewise.
4767 * bits/fenv.h: Likewise.
4768 * bits/sched.h: Likewise.
4769 * bits/sigset.h: Likewise.
4770 * bits/sigthread.h: Likewise.
4771 * catgets/nl_types.h: Likewise.
4772 * conform/data/pthread.h-data: Likewise.
4773 * crypt/crypt-private.h: Likewise.
4774 * crypt/crypt.h: Likewise.
4775 * crypt/crypt_util.c: Likewise.
4776 * ctype/ctype.h: Likewise.
4777 * debug/execinfo.h: Likewise.
4778 * debug/mbsnrtowcs_chk.c: Likewise.
4779 * debug/mbsrtowcs_chk.c: Likewise.
4780 * debug/wcsnrtombs_chk.c: Likewise.
4781 * debug/wcsrtombs_chk.c: Likewise.
4782 * debug/wcstombs_chk.c: Likewise.
4783 * dirent/dirent.h: Likewise.
4784 * dlfcn/dlfcn.h: Likewise.
4785 * elf/neededtest4.c: Likewise.
4786 * grp/grp.h: Likewise.
4787 * gshadow/gshadow.h: Likewise.
4788 * iconv/gconv.h: Likewise.
4789 * iconv/gconv_int.h: Likewise.
4790 * iconv/gconv_simple.c: Likewise.
4791 * iconv/iconv.h: Likewise.
4792 * iconv/loop.c: Likewise.
4793 * iconv/skeleton.c: Likewise.
4794 * include/aio.h: Likewise.
4795 * include/aliases.h: Likewise.
4796 * include/argz.h: Likewise.
4797 * include/arpa/inet.h: Likewise.
4798 * include/assert.h: Likewise.
4799 * include/dirent.h: Likewise.
4800 * include/dlfcn.h: Likewise.
4801 * include/execinfo.h: Likewise.
4802 * include/fcntl.h: Likewise.
4803 * include/fenv.h: Likewise.
4804 * include/glob.h: Likewise.
4805 * include/grp.h: Likewise.
4806 * include/libintl.h: Likewise.
4807 * include/mntent.h: Likewise.
4808 * include/netdb.h: Likewise.
4809 * include/pwd.h: Likewise.
4810 * include/rpc/netdb.h: Likewise.
4811 * include/sched.h: Likewise.
4812 * include/search.h: Likewise.
4813 * include/shadow.h: Likewise.
4814 * include/signal.h: Likewise.
4815 * include/stdio.h: Likewise.
4816 * include/stdlib.h: Likewise.
4817 * include/string.h: Likewise.
4818 * include/sys/socket.h: Likewise.
4819 * include/sys/stat.h: Likewise.
4820 * include/sys/statfs.h: Likewise.
4821 * include/sys/statvfs.h: Likewise.
4822 * include/sys/syslog.h: Likewise.
4823 * include/sys/time.h: Likewise.
4824 * include/sys/uio.h: Likewise.
4825 * include/time.h: Likewise.
4826 * include/unistd.h: Likewise.
4827 * include/utmp.h: Likewise.
4828 * include/wchar.h: Likewise.
4829 * include/wctype.h: Likewise.
4830 * inet/aliases.h: Likewise.
4831 * inet/arpa/inet.h: Likewise.
4832 * inet/netinet/ether.h: Likewise.
4833 * inet/netinet/in.h: Likewise.
4834 * intl/libintl.h: Likewise.
4835 * io/bits/fcntl2.h: Likewise.
4836 * io/fcntl.h: Likewise.
4837 * io/ftw.h: Likewise.
4838 * io/sys/poll.h: Likewise.
4839 * io/sys/stat.h: Likewise.
4840 * io/sys/statfs.h: Likewise.
4841 * io/sys/statvfs.h: Likewise.
4842 * io/utime.h: Likewise.
4843 * libio/bits/stdio.h: Likewise.
4844 * libio/bits/stdio2.h: Likewise.
4845 * libio/libio.h: Likewise.
4846 * libio/libioP.h: Likewise.
4847 * libio/stdio.h: Likewise.
4848 * locale/lc-ctype.c: Likewise.
4849 * locale/locale.h: Likewise.
4850 * login/utmp.h: Likewise.
4851 * malloc/arena.c: Likewise.
4852 * malloc/malloc.c: Likewise.
4853 * malloc/malloc.h: Likewise.
4854 * malloc/mcheck.c: Likewise.
4855 * malloc/mtrace.c: Likewise.
4856 * math/bits/mathcalls.h: Likewise.
4857 * math/fenv.h: Likewise.
4858 * math/math_private.h: Likewise.
4859 * misc/bits/error.h: Likewise.
4860 * misc/bits/syslog.h: Likewise.
4861 * misc/err.h: Likewise.
4862 * misc/error.h: Likewise.
4863 * misc/fstab.h: Likewise.
4864 * misc/mntent.h: Likewise.
4865 * misc/regexp.h: Likewise.
4866 * misc/search.h: Likewise.
4867 * misc/sgtty.h: Likewise.
4868 * misc/sys/mman.h: Likewise.
4869 * misc/sys/syslog.h: Likewise.
4870 * misc/sys/uio.h: Likewise.
4871 * misc/sys/xattr.h: Likewise.
4872 * misc/ttyent.h: Likewise.
4873 * nis/rpcsvc/ypclnt.h: Likewise.
4874 * nss/nss.h: Likewise.
4875 * posix/bits/unistd.h: Likewise.
4876 * posix/fnmatch.h: Likewise.
4877 * posix/glob.h: Likewise.
4878 * posix/sched.h: Likewise.
4879 * posix/spawn.h: Likewise.
4880 * posix/sys/wait.h: Likewise.
4881 * posix/unistd.h: Likewise.
4882 * posix/wordexp.h: Likewise.
4883 * pwd/pwd.h: Likewise.
4884 * resolv/netdb.h: Likewise.
4885 * resource/sys/resource.h: Likewise.
4886 * rt/aio.h: Likewise.
4887 * rt/bits/mqueue2.h: Likewise.
4888 * rt/mqueue.h: Likewise.
4889 * shadow/shadow.h: Likewise.
4890 * signal/signal.h: Likewise.
4891 * socket/send.c: Likewise.
4892 * socket/sendto.c: Likewise.
4893 * socket/sys/socket.h: Likewise.
4894 * stdio-common/printf.h: Likewise.
4895 * stdlib/bits/stdlib.h: Likewise.
4896 * stdlib/fmtmsg.h: Likewise.
4897 * stdlib/monetary.h: Likewise.
4898 * stdlib/stdlib.h: Likewise.
4899 * stdlib/ucontext.h: Likewise.
4900 * streams/stropts.h: Likewise.
4901 * string/argz.h: Likewise.
4902 * string/bits/string2.h: Likewise.
4903 * string/string.h: Likewise.
4904 * string/strings.h: Likewise.
4905 * sunrpc/rpc/auth.h: Likewise.
4906 * sunrpc/rpc/auth_des.h: Likewise.
4907 * sunrpc/rpc/clnt.h: Likewise.
4908 * sunrpc/rpc/netdb.h: Likewise.
4909 * sunrpc/rpc/pmap_clnt.h: Likewise.
4910 * sunrpc/rpc/xdr.h: Likewise.
4911 * sysdeps/generic/inttypes.h: Likewise.
4912 * sysdeps/generic/net/if.h: Likewise.
4913 * sysdeps/generic/sys/swap.h: Likewise.
4914 * sysdeps/gnu/net/if.h: Likewise.
4915 * sysdeps/gnu/utmpx.h: Likewise.
4916 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4917 * sysdeps/i386/i486/bits/string.h: Likewise.
4918 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4919 * sysdeps/s390/bits/string.h: Likewise.
4920 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4921 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4922 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4923 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4925 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4926 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4927 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4928 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4929 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4932 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4934 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4942 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4943 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4944 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4945 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4948 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4950 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4951 * sysvipc/sys/ipc.h: Likewise.
4952 * sysvipc/sys/msg.h: Likewise.
4953 * sysvipc/sys/sem.h: Likewise.
4954 * sysvipc/sys/shm.h: Likewise.
4955 * termios/termios.h: Likewise.
4956 * time/sys/time.h: Likewise.
4957 * time/time.h: Likewise.
4958 * wcsmbs/bits/wchar2.h: Likewise.
4959 * wcsmbs/uchar.h: Likewise.
4960 * wcsmbs/wchar.h: Likewise.
4961 * wctype/wctype.h: Likewise.
4964 * Makeconfig: Remove all but ELF support including AIX support.
4965 * Makerules: Likewise.
4966 * config.h.in: Likewise.
4967 * config.make.in: Likewise.
4968 * configure: Likewise.
4969 * configure.in: Likewise.
4970 * csu/Makefile: Likewise.
4971 * csu/version.c: Likewise.
4972 * debug/Makefile: Likewise.
4973 * dlfcn/Makefile: Likewise.
4974 * elf/Makefile: Likewise.
4975 * extra-lib.mk: Likewise.
4976 * iconv/Makefile: Likewise.
4977 * include/libc-symbols.h: Likewise.
4978 * include/shlib-compat.h: Likewise.
4979 * resolv/Makefile: Likewise.
4980 * resolv/res_libc.c: Likewise.
4981 * rt/Makefile: Likewise.
4982 * sysdeps/i386/asm-syntax.h: Likewise.
4983 * sysdeps/i386/sysdep.h: Likewise.
4984 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4985 * sysdeps/mach/sysdep.h: Likewise.
4986 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4987 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4988 * sysdeps/s390/asm-syntax.h: Likewise.
4989 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4991 * sysdeps/sh/sysdep.h: Likewise.
4992 * sysdeps/unix/sparc/sysdep.h: Likewise.
4993 * sysdeps/wordsize-32/divdi3.c: Likewise.
4994 * sysdeps/x86_64/sysdep.h: Likewise.
4996 * argp/Versions: Remove _argp_unlock_xxx.
4999 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5000 * abilist/libBrokenLocale.abilist: Likewise.
5001 * abilist/libanl.abilist: Likewise.
5002 * abilist/libc.abilist: Likewise.
5003 * abilist/libcrypt.abilist: Likewise.
5004 * abilist/libdl.abilist: Likewise.
5005 * abilist/libm.abilist: Likewise.
5006 * abilist/libnsl.abilist: Likewise.
5007 * abilist/libpthread.abilist: Likewise.
5008 * abilist/libresolv.abilist: Likewise.
5009 * abilist/librt.abilist: Likewise.
5010 * abilist/libthread_db.abilist: Likewise.
5011 * abilist/libutil.abilist: Likewise.
5012 * abilist/libnss_db.abilist: New file.
5014 * scripts/abilist.awk: Add support for indirect functions.
5016 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5018 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5020 * shlib-versions: Remove entries for ports architectures.
5022 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5024 * elf/stackguard-macros.h: Remove support for IA-64.
5025 * elf/tst-auditmod1.c: Likewise.
5026 * sysdeps/generic/ldsodefs.h: Likewise.
5028 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5029 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5033 * configure.in: Remove --enable-omitfp support.
5035 * config.make.in: Likewise.
5036 * Makeconfig: Likewise.
5037 * manual/install.texi: Likewise.
5039 In case anyone cares, the IA-64 architecture could move to ports.
5040 * sysdeps/ia64/*: Removed.
5041 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5042 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5045 * configure.in: Remove entries for unsupported architectures.
5048 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5049 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5051 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5052 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5053 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5054 fall back to using wcrtomb.
5055 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5056 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5058 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5059 * wcsmbs/tst-c16c32-1.c: New file.
5061 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5064 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5066 * elf/tst-unique3.cc: Add explicit declaration of gets.
5067 * elf/tst-unique3lib.cc: Likewise.
5068 * elf/tst-unique3lib2.cc: Likewise.
5069 * elf/tst-unique4.cc: Likewise.
5071 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5073 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5076 * assert/assert.h (static_assert): Don't define for C++.
5077 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5078 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5080 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5082 * iconv/loop.c (single loop): Fix assertion in storing of
5085 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5087 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5089 * posix/getconf.c: Update copyright year.
5090 * nss/getent.c: Likewise.
5091 * nss/makedb.c: Likewise.
5092 * iconv/iconvconfig.c: Likewise.
5093 * iconv/iconv_prog.c: Likewise.
5094 * elf/ldconfig.c: Likewise.
5095 * elf/pldd.c: Likewise.
5096 * elf/sotruss.ksh: Likewise.
5097 * catgets/gencat.c: Likewise.
5098 * csu/version.c: Likewise.
5099 * elf/ldd.bash.in: Likewise.
5100 * elf/sprof.c (print_version): Likewise.
5101 * locale/programs/locale.c: Likewise.
5102 * locale/programs/localedef.c: Likewise.
5103 * login/programs/pt_chown.c: Likewise.
5104 * nscd/nscd.c (print_version): Likewise.
5105 * debug/xtrace.sh: Likewise.
5106 * malloc/memusage.sh: Likewise.
5107 * malloc/mtrace.pl: Likewise.
5108 * debug/catchsegv.sh: Likewise.
5110 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5112 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5115 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5118 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5119 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5121 * iconv/gconv_int.h: Likewise.
5122 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5123 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5124 from libc for GLIBC_2.16.
5125 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5126 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5127 * wcsmbs/uchar.h: Really define mbstate_t.
5128 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5129 * wcsmbs/c16rtomb.c: New file.
5130 * wcsmbs/mbrtoc16.c: New file.
5131 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5133 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5134 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5136 * wcsmbs/wchar.h: Add missing __restrict.
5138 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5141 * time/Makefile (routines): Add timespec_get.
5142 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5143 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5144 timespec for ISO C11.
5145 * time/timespec_get.c: New file.
5146 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5147 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5150 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5151 * stdlib/stdlib.h: Declare aligned_alloc.
5152 * Versions.def: Add GLIBC_2.16 for libc.
5153 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5156 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5159 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5163 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5166 * assert/assert.h (static_assert): Define.
5168 * version.h: Update for 2.16 development version.
5171 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5174 * version.h (RELEASE): Bump for 2.15 release.
5175 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5177 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5178 Patch by Marek Polacek <mpolacek@redhat.com>.
5180 * bits/byteswap.h: Protect long long constants with __extension__.
5181 * sysdeps/i386/bits/byteswap.h: Likewise.
5182 * sysdeps/ia64/bits/byteswap.h: Likewise.
5183 * sysdeps/s390/bits/byteswap.h: Likewise.
5184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5186 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5191 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5193 2011-12-23 Marek Polacek <polacek@redhat.com>
5195 * elf/dl-addr.c (determine_info): Add inline keyword.
5196 * elf/tst-auditmod4b.c (check_avx): Likewise.
5197 * elf/tst-auditmod6b.c (check_avx): Likewise.
5198 * elf/tst-auditmod6c.c (check_avx): Likewise.
5199 * elf/tst-auditmod7b.c (check_avx): Likewise.
5201 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5206 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5209 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5210 processing for last bytes.
5212 2011-08-06 Bruno Haible <bruno@clisp.org>
5215 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5216 U+0385, not to U+1FEE.
5219 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5220 entry for U+00A5 U+0301.
5222 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5225 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5226 buffer for the output is too small.
5228 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5232 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5233 SSE flags if possible.
5235 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5239 processing for last bytes.
5241 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5244 (syscall-list-default-options, syscall-list-default-condition)
5245 (syscall-list-includes): Define.
5246 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5247 list of ABIs and options and #if conditions for each ABI. Do not
5248 handle common syscalls between ABIs specially.
5249 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5251 (syscall-list-variants, syscall-list-32bit-options)
5252 (syscall-list-32bit-condition, syscall-list-64bit-options)
5253 (syscall-list-64bit-condition): Define.
5254 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5255 (syscall-list-variants, syscall-list-32bit-options)
5256 (syscall-list-32bit-condition, syscall-list-64bit-options)
5257 (syscall-list-64bit-condition): Define.
5258 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5260 (syscall-list-variants, syscall-list-32bit-options)
5261 (syscall-list-32bit-condition, syscall-list-64bit-options)
5262 (syscall-list-64bit-condition): Define.
5263 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5265 (syscall-list-variants, syscall-list-32bit-options)
5266 (syscall-list-32bit-condition, syscall-list-64bit-options)
5267 (syscall-list-64bit-condition): Define.
5269 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5271 * locale/iso-639.def: Add brx entry.
5274 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5275 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5277 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5278 __feraiseexcept_renamed.
5280 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5283 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5284 EPOLLET with unsigned values.
5285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5288 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5289 to large cancellation.
5290 * math/s_cacoshf.c: Likewise.
5291 * math/s_cacoshl.c: Likewise.
5293 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5297 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5298 * math/s_cacoshf.c: Likewise.
5299 * math/s_cacoshl.c: Likewise.
5301 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5304 * iconv/gconv.h: Define __GCONV_SWAP.
5305 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5306 * iconvdata/utf-16.c: Likewise.
5307 * iconvdata/utf-32.c: Likewise.
5309 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5313 numerator after shifting it by one limb.
5315 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5318 under [__USE_EXTERN_INLINES].
5320 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5323 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5325 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5328 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5330 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5331 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5332 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5333 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5334 for strncasecmp/strncasecmp_l compilation.
5335 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5336 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5338 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5341 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5344 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5347 * time/tzfile.c (__tzfile_read): Check values from file header.
5349 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5351 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5352 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5353 * powerpc/powerpc32/dl-start.S: Likewise.
5354 * powerpc/powerpc32/elf/start.S: Likewise.
5355 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5356 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5357 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5358 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5359 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5360 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5361 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5362 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5363 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5364 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5365 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5366 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5367 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5368 * powerpc/powerpc32/memset.S: Likewise.
5369 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5370 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5371 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5372 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5373 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5374 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5375 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5376 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5377 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5378 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5379 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5380 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5381 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5383 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385 * math/libm-test.inc: Added more nearbyint tests.
5386 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5391 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5393 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5396 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5398 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5399 Add wcscpy-ssse3 wcscpy-c.
5400 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5401 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5402 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5403 * sysdeps/x86_64/wcschr.S: New file.
5404 * sysdeps/x86_64/wcsrchr.S: New file.
5405 * string/test-strcmp.c: Remove checking of wcscmp function for
5407 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5408 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5409 wcsrchr-sse2 wcsrchr-c.
5410 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5411 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5412 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5413 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5414 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5415 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5416 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5417 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5418 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5419 * wcsmbc/wcschr.c (WCSCHR): New macro.
5421 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5423 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5424 * wcsmbs/test-wcsrchr.c: New file.
5425 * string/test-strrchr.c: Add wcsrchr support.
5427 * wcsmbs/test-wcscpy.c: New file.
5428 * string/test-strcpy.c: Add wcscpy support.
5431 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5436 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5439 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5441 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5443 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5444 Minor optimizations.
5446 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5447 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5448 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5450 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5452 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5453 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5454 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5455 for gcc to avoid warnings.
5456 * inet/Makefile (tests): Add tst-checks.
5457 * inet/tst-checks.c: New file.
5459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5462 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5465 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5466 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5468 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5470 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5472 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5475 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5477 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5479 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5480 conditional on GCC version.
5481 (__arch_compare_and_exchange_val_8_acq)
5482 (__arch_compare_and_exchange_val_16_acq)
5483 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5484 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5485 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5487 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5489 * sysdeps/sh/backtrace.c: New file.
5491 2011-12-02 Andreas Schwab <schwab@redhat.com>
5493 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5496 2011-12-01 Andreas Schwab <schwab@redhat.com>
5498 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5499 falling back to utime.
5501 2011-11-30 Andreas Schwab <schwab@redhat.com>
5503 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5504 expectations for float.
5506 2011-11-29 Andreas Schwab <schwab@redhat.com>
5508 * locale/weight.h (findidx): Add parameter len.
5509 * locale/weightwc.h (findidx): Likewise.
5510 * posix/fnmatch_loop.c (FCT): Adjust caller.
5511 * posix/regcomp.c (build_equiv_class): Likewise.
5512 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5513 * posix/regexec.c (check_node_accept_bytes): Likewise.
5514 * string/strcoll_l.c (STRCOLL): Likewise.
5515 * string/strxfrm_l.c (STRXFRM): Likewise.
5517 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5519 * Makefile.in: Remove CVSOPT handling.
5520 * configure.in: Remove use of AC_REVISION.
5521 * iconvdata/Makefile (distribute): No need to filter out CVS.
5522 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5525 2011-11-16 Andreas Schwab <schwab@redhat.com>
5527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5528 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5529 [USE_AS_STRNCASECMP_L]: Likewise.
5530 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5531 NO_TLS_DIRECT_SEG_REFS.
5532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5533 Fix argument offsets for non-PIC.
5534 [USE_AS_STRNCASECMP_L]: Likewise.
5535 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5536 NO_TLS_DIRECT_SEG_REFS.
5538 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5540 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5542 * locale/loadlocale.c (_nl_load_locale): Likewise.
5544 2011-11-15 Andreas Schwab <schwab@redhat.com>
5546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5547 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5548 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5549 (SYSCALL_GETTIME): Set errno on error.
5551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5552 count references to noai6ai_cached.
5554 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5556 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5558 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5559 FD_CLOEXEC for /proc/self/maps.
5561 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5562 FD_CLOEXEC for /proc/meminfo.
5564 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5567 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5568 FD_CLOEXEC for given file.
5570 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5572 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5573 FD_CLOEXEC for /etc/hosts.
5574 (_gethtent): Likewise.
5576 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5578 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5579 cancellation and set FD_CLOEXEC for /etc/netgroup.
5581 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5582 reading /etc/publickey.
5584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5585 allow cancellation when reading /etc/group.
5587 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5589 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5591 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5592 when using data file.
5594 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5596 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5597 (write_nis_obj): Use "c" and "e" in fopen.
5599 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5601 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5603 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5605 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5607 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5610 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5612 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5614 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5616 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5617 file parsing and set FD_CLOEXEC.
5619 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5621 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5623 2011-11-14 Andreas Schwab <schwab@redhat.com>
5625 * malloc/arena.c (arena_get2): Don't call reused_arena when
5626 _int_new_arena failed.
5628 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5630 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5631 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5634 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5635 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5636 to compile strcasecmp and strncasecmp.
5637 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5638 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5642 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5644 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5645 locale-defines.sym to gen-as-const-headers.
5646 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5647 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5649 to compile strcasecmp and strncasecmp.
5650 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5651 strcasecmp_l and strncasecmp_l.
5652 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5653 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5654 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5655 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5656 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5657 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5658 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5659 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5660 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5661 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5662 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5664 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5666 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5667 result of SYSDEP_GETTIME_CPU to retval.
5668 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5669 parameter list to macro. Remove trailing semicolon. Adjust users.
5671 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5674 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5676 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5678 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5679 from unused variable.
5681 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5683 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5686 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5689 * sunrpc/rpc_prot.c (rejected): Fix case value.
5691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5692 unsigned long long int to avoid warnings in shift.
5694 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5696 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5699 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5700 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5701 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5703 * nis/nis_table.c (nis_list): Use variable of correct type for
5704 result of __follow_path call.
5706 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5709 of math functions ceil, trunc, floor, round, and sqrt, when
5710 avaliable on the platform.
5711 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5717 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5719 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5720 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5722 2011-11-11 Roland McGrath <roland@hack.frob.com>
5724 * include/unistd.h: Fix __readlink return type.
5725 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5727 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5729 * stdlib/ucontext.h: Undo last change for makecontext.
5731 2011-11-11 Andreas Schwab <schwab@redhat.com>
5733 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5735 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5736 * setjmp/setjmp.h: Mark functions as non-leaf.
5737 * setjmp/bits/setjmp2.h: Likewise.
5738 * stdlib/ucontext.h: Likewise.
5740 2011-11-10 Andreas Schwab <schwab@redhat.com>
5742 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5743 (reused_arena): Don't check arena limit.
5744 (arena_get2): Atomically check arena limit.
5746 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5748 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5749 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5754 2011-11-07 Andreas Schwab <schwab@redhat.com>
5756 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5757 handler when locking.
5759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5760 Fix size of allocated buffer.
5762 2011-11-04 Andreas Schwab <schwab@redhat.com>
5765 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5766 declarations for long double functions.
5767 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5769 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5771 2011-11-03 Andreas Schwab <schwab@redhat.com>
5773 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5776 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5779 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5781 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5783 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5785 * include/alloca.h (stackinfo_alloca_round): Define.
5786 (extend_alloca): Use it.
5787 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5788 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5791 * scripts/check-local-headers.sh: Ignore libaudit.h.
5793 * nscd/Makefile (extra-objs): Make recursively expanded.
5795 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5797 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5800 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5801 * posix/tst-rfc3484-2.c: Likewise.
5802 * posix/tst-rfc3484-3.c: Likewise.
5804 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5806 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5808 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5809 process_vm_writev from libc using GLIBC_2.15 version.
5811 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5813 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5815 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5818 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5821 * nss/getent.c (initgroups_keys): Show error message in case no group
5824 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5825 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5826 __bump_nl_timestamp.
5827 * nscd/connections (nscd_init): When host database is served open
5828 netlink socket and request notification about configuration changes.
5829 (main_loop_poll): Track netlink file descriptor and bump timestamp
5830 in case data becomes available.
5831 (main_loop_epoll): Likewise.
5832 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5833 (database_pers_head): Add extra_data fileds.
5834 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5835 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5836 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5839 in6ai data, call __free_in6ai.
5840 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5842 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5843 interface information. Reuse previous data if netlink timestamp
5845 (__bump_nl_timestamp): New function.
5846 (__free_in6ai): New function.
5848 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5851 close_not_cancel_no_status here.
5852 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5854 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5857 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5860 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5861 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5862 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5864 2011-07-03 Andreas Jaeger <aj@suse.de>
5867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5868 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5869 * math/libm-test.inc (sin_test): Add test case.
5871 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5874 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5875 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5877 * elf/chroot_canon.c (chroot_canon): Cleanups.
5879 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5882 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5883 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5885 * string/test-strchr.c: Make usable for strchrnul testing.
5886 * string/test-strchrnul.c: New file.
5887 * string/Makefile (strop-tests): Add strchrnul.
5889 * po/it.po: Update from translation team.
5890 * po/es.po: Likewise.
5892 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5894 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5895 the three constants needed as parameters. Drop the others.
5896 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5897 __m128i_strloadu_tolower.
5898 Create and initialize variable zero and use it in all the places
5899 where _mm_setzero_si128 was used.
5901 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5902 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5903 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5904 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5906 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5909 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5910 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5911 __mpranred, __mptan.
5912 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5913 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5914 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5915 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5916 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5917 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5920 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5922 2011-10-28 Andreas Schwab <schwab@redhat.com>
5924 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5926 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5929 wide char related routines to wcsmbs subdir.
5931 2011-10-27 Andreas Schwab <schwab@redhat.com>
5934 * misc/sys/cdefs.h (__THROWNL): Define.
5935 * posix/unistd.h: Use __THREADNL instead of __THREAD
5936 for memory synchronization functions.
5938 2011-10-26 Roland McGrath <roland@hack.frob.com>
5941 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5943 * manual/stdio.texi (Obstack Streams): Node removed.
5945 2011-10-26 Andreas Schwab <schwab@redhat.com>
5947 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5951 * math/math_private.h (math_force_eval): Allow non-addressable
5953 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5955 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5960 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5961 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5963 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5964 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5967 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5969 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5970 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5972 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5974 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5978 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5979 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5980 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5982 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5983 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5984 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5985 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5986 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5987 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5989 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5990 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5993 place. Use VEX encoding when compiling for AVX.
5995 2011-10-25 Andreas Schwab <schwab@redhat.com>
5997 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5998 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6000 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6002 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6004 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6005 useless if() expression.
6006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6017 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6018 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6020 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6024 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6026 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6028 2011-10-25 Andreas Schwab <schwab@redhat.com>
6030 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6032 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6034 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6036 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6037 .text section. Avoid duplicate constants.
6038 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6048 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6050 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6053 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6062 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6063 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6064 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6067 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6068 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6069 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6071 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6072 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6073 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6074 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6076 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6077 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6078 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6080 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6081 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6082 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6084 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6086 * sysdeps/x86_64/dla.h: Move to ...
6087 * sysdeps/x86_64/fpu/dla.h: ...here.
6088 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6089 situations. Use __builtin_fma only for gcc 4.6 and up.
6091 * config.make.in: Add have-mfma4 entry.
6092 * configure.in: Substitute libc_cv_cc_fma4.
6093 * math/Makefile (dbl-only-routines): Add sincostab.
6094 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6095 Use __sincostab not sincos.
6096 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6103 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6104 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6105 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6106 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6108 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6109 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6111 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6112 define aliases when function name is a macro.
6113 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6114 sysdeps/ieee754/dbl-64/sincos.tbl.
6115 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6116 fma4-enabled routines.
6117 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6118 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6119 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6120 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6122 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6126 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6127 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6128 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6129 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6130 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6132 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6133 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6134 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6135 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6136 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6137 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6138 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6142 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6144 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6145 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6146 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6148 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6159 2011-10-24 Andreas Schwab <schwab@redhat.com>
6161 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6163 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6165 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6167 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6171 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6172 Remove unused variable magic_bits.
6173 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6175 * string/strnlen.c: Define and use STRNLEN macro.
6176 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6177 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6179 * wcsmbs/wcslen.c: Define and use WCSLEN.
6180 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6181 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6182 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6183 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6184 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6185 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6186 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6188 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6191 strnlen-sse2-no-bsf.
6192 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6194 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6195 Add strnlen support.
6196 (USE_AS_STRNLEN): New macro.
6197 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6198 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6199 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6200 * sysdeps/x86_64/wcslen.S: New file.
6202 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6205 XMM-moves are used for copying on small sizes.
6207 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6209 * wcsmbs/Makefile (strop-tests): Add wcschr.
6210 * wcsmbs/test-wcschr.c: New file.
6211 * string/test-strchr.c: Update.
6215 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6217 * wcsmbs/Makefile (strop-tests): Add wcslen.
6218 * wcsmbs/test-wcslen.c: New file.
6219 * string/test-strlen.c: Update.
6223 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6225 * po/it.po: Update from translation team.
6227 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6229 * sysdeps/x86_64/wcscmp.S: Update.
6230 Fix wrong comparison semantics.
6231 wcscmp shall use signed comparison not unsigned.
6232 Don't use substraction to avoid overflow bug.
6233 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6234 * wcsmbc/wcscmp.c: Likewise.
6235 * string/test-strcmp.c: Likewise.
6236 Add new tests to check cases with negative values.
6238 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6240 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6241 * sysdeps/x86_64/dla.h: ...here. New file.
6242 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6252 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6255 __ynl_finite aliases.
6257 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6261 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6263 [DLA_FMA] (EMULV): Use DLA_FMA.
6264 [DLA_FMA] (MUL12): Use EMULV.
6265 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6266 that are not needed.
6267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6275 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6277 * math/s_nan.c: Undef __nan.
6278 * math/s_nanf.c: Undef __nanf.
6279 * math/s_nanl.c: Undef __nanl.
6280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6283 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6285 * math/s_catan.c: Add branch predictions.
6286 * math/s_catanf.c: Likewise.
6287 * math/s_catanh.c: Likewise.
6288 * math/s_catanhf.c: Likewise.
6289 * math/s_catanhl.c: Likewise.
6290 * math/s_catanl.c: Likewise.
6291 * math/s_cexp.c: Likewise.
6292 * math/s_cexpf.c: Likewise.
6293 * math/s_cexpl.c: Likewise.
6294 * math/s_clog.c: Likewise.
6295 * math/s_clog10.c: Likewise.
6296 * math/s_clog10f.c: Likewise.
6297 * math/s_clog10l.c: Likewise.
6298 * math/s_clogf.c: Likewise.
6299 * math/s_clogl.c: Likewise.
6300 * math/s_csqrt.c: Likewise.
6301 * math/s_csqrtf.c: Likewise.
6302 * math/s_csqrtl.c: Likewise.
6303 * math/s_ctanf.c: Likewise.
6304 * math/s_ctanh.c: Likewise.
6305 * math/s_ctanhf.c: Likewise.
6306 * math/s_ctanhl.c: Likewise.
6307 * math/s_ctanl.c: Likewise.
6309 * math/math_private.h: Define __nan, __nanf, __nanl.
6310 * math/s_cacosh.c: Include <math_private.h>.
6311 * math/s_cacoshl.c: Likewise.
6312 * math/s_casinh.c: Likewise.
6313 * math/s_casinhf.c: Likewise.
6314 * math/s_casinhl.c: Likewise.
6315 * math/s_ccos.c: Rely entire on ccosh.
6316 * math/s_ccosf.c: Rely entire on ccoshf.
6317 * math/s_ccosl.c: Rely entirely on ccoshl.
6318 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6319 Remove tests for FE_INVALID.
6320 * math/s_ccoshf.c: Likewise.
6321 * math/s_ccoshl.c: Likewise.
6322 * math/s_csin.c: Likewise.
6323 * math/s_csinf.c: Likewise.
6324 * math/s_csinh.c Likewise.
6325 * math/s_csinhf.c: Likewise.
6326 * math/s_csinhl.c: Likewise.
6327 * math/s_csinl.c: Likewise.
6328 * math/s_ctan.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6330 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6333 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6336 compilation problems.
6338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6341 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6343 * sysdeps/i386/configure.in: Test for -mfma4 option.
6344 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6345 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6346 COMMON_CPUID_INDEX_80000001.
6347 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6348 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6349 use it if FMA3 is not supported.
6350 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6352 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6353 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6355 2011-10-20 Andreas Schwab <schwab@redhat.com>
6358 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6359 it would create a cycle with a link time dependency.
6361 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6363 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6365 * string/Makefile (strop-tests): Add rawmemchr.
6366 * string/test-rawmemchr.c: New file.
6368 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6370 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6371 when compiling str{,n}casecmp and when AVX is available. Hook up
6372 new optimized code in initializers.
6374 2011-10-19 Andreas Schwab <schwab@redhat.com>
6376 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6377 __feraiseexcept instead of feraiseexcept.
6379 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6381 * math/math_private.h: Define defaults for libc_fetestexcept and
6383 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6384 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6385 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6388 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6389 libc_fetestexcept and libc_feupdateenv.
6391 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6392 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6393 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6394 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6395 libc_feholdexcept_setround.
6397 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6398 Add s_nearbyint-c and s_nearbyintf-c.
6399 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6401 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6402 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6403 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6404 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6406 * math/math_private.h: Define defaults for libc_fegetround,
6407 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6408 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6409 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6410 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6411 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6413 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6414 Remove comments and hacks for old compiler versions.
6415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6416 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6419 2011-10-18 Andreas Schwab <schwab@redhat.com>
6421 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6422 (__feraiseexcept_renamed): Add __NTH.
6423 (feraiseexcept): Add __NTH. Rename local variables to fix
6424 namespace violations.
6426 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6428 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6432 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6433 recently added interfaces.
6434 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6436 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6437 about macro parameter expansion.
6439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6440 __NO_MATH_INLINES is defined. Cleanups.
6442 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6443 and __floorf is target has SSE4.1.
6444 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6445 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6446 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6449 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6453 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6455 2011-10-17 Andreas Schwab <schwab@redhat.com>
6457 * misc/sys/cdefs.h: Fix last change.
6459 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6462 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6464 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6466 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6472 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6475 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6476 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6477 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6478 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6479 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6480 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6481 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6482 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6483 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6485 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6487 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6489 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6490 ceil, ceilf, floor, floorf.
6492 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6493 Perform IRELATIVE relocations last.
6495 * elf/do-rel.h: Add another parameter nrelative, replacing the
6496 local variable with the same name. Change name of the function
6497 to end in Rel or Rela (uppercase).
6498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6499 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6500 elf_dynamic_do_##reloc function.
6502 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6504 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6505 is sufficient, at least on modern CPUs.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6509 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6510 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6512 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6514 * math/bits/math-finite.h: Add entries for exp.
6515 * math/e_expl.c: Add __*_finite alias.
6516 * sysdeps/i386/fpu/e_exp.S: Likewise.
6517 * sysdeps/i386/fpu/e_expf.S: Likewise.
6518 * sysdeps/i386/fpu/e_expl.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6520 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6527 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6528 is sufficient, at least on modern CPUs.
6530 * ctype/ctype-info.c (__ctype_init): Define.
6531 * include/ctype.h (__ctype_init): Declare.
6532 (__ctype_b_loc): The variable is always initialized.
6533 (__ctype_toupper_loc): Likewise.
6534 (__ctype_tolower_loc): Likewise.
6535 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6536 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6538 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6540 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6542 * configure.in: Also look in $cxxmachine/include for C++ system
6545 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6547 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6548 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6549 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6550 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6552 (USE_AS_WMEMCMP): New macro.
6554 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6555 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6556 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6557 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6559 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6560 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6561 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6562 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6563 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6564 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6565 (USE_AS_WMEMCMP): New macro.
6566 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6567 * sysdeps/string/test-memcmp.c: Update.
6570 * wcsmbs/wmemcmp.c: Update.
6571 (WMEMCMP): New macro.
6574 2011-10-12 Andreas Jaeger <aj@suse.de>
6577 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6579 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6581 * libio/iofwide.c (do_length): Avoid warning.
6583 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6585 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6587 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6589 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6590 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6591 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6592 * sysdeps/i386/i686/fpu/e_log.S: New file.
6593 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6594 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6596 * ctype/ctype.h: Add support for inlined isXXX functions when
6599 2011-10-14 Andreas Schwab <schwab@redhat.com>
6601 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6605 2011-10-13 Roland McGrath <roland@hack.frob.com>
6608 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6610 2011-10-13 Andreas Schwab <schwab@redhat.com>
6612 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6613 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6616 * sysdeps/x86_64/memrchr.S: Check for zero size.
6618 * string/stratcliff.c: Add memrchr tests.
6620 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6623 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6624 rawmemchr-sse2 rawmemchr-sse2-bsf.
6625 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6626 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6627 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6628 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6629 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6630 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6631 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6632 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6633 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6634 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6635 * string/memrchr.c (MEMRCHR): New macro.
6637 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6639 Add integration with gcc's -ffinite-math-only and optimize wrapper
6641 * Versions.def: Define GLIBC_2.15 version for libm.
6642 * math/Makefile (headers): Add bits/math-finite.h.
6643 * math/bits/math-finite.h: New file.
6644 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6645 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6646 * math/e_acoshl.c: Add __*_finite alias.
6647 * math/e_acosl.c: Likewise.
6648 * math/e_asinl.c: Likewise.
6649 * math/e_atan2l.c: Likewise.
6650 * math/e_atanhl.c: Likewise.
6651 * math/e_coshl.c: Likewise.
6652 * math/e_exp10.c: Likewise.
6653 * math/e_exp10f.c: Likewise.
6654 * math/e_exp10l.c: Likewise.
6655 * math/e_exp2l.c: Likewise.
6656 * math/e_fmodl.c: Likewise.
6657 * math/e_gammal_r.c: Likewise.
6658 * math/e_hypotl.c: Likewise.
6659 * math/e_j0l.c: Likewise.
6660 * math/e_j1l.c: Likewise.
6661 * math/e_jnl.c: Likewise.
6662 * math/e_lgammal_r.c: Likewise.
6663 * math/e_log10l.c: Likewise.
6664 * math/e_log2l.c: Likewise.
6665 * math/e_logl.c: Likewise.
6666 * math/e_powl.c: Likewise.
6667 * math/e_sinhl.c: Likewise.
6668 * math/e_sqrtl.c: Likewise.
6669 * math/e_scalb.c: Completely rewritten and optimized.
6670 * math/e_scalbf.c: Likewise.
6671 * math/e_scalbl.c: Likewise.
6672 * math/w_acos.c: Likewise.
6673 * math/w_acosf.c: Likewise.
6674 * math/w_acosl.c: Likewise.
6675 * math/w_acosh.c: Likewise.
6676 * math/w_acoshf.c: Likewise.
6677 * math/w_acoshl.c: Likewise.
6678 * math/w_asin.c: Likewise.
6679 * math/w_asinf.c: Likewise.
6680 * math/w_asinl.c: Likewise.
6681 * math/w_atan2.c: Likewise.
6682 * math/w_atan2f.c: Likewise.
6683 * math/w_atan2l.c: Likewise.
6684 * math/w_atanh.c: Likewise.
6685 * math/w_atanhf.c: Likewise.
6686 * math/w_atanhl.c: Likewise.
6687 * math/w_exp10.c: Likewise.
6688 * math/w_exp10f.c: Likewise.
6689 * math/w_exp10l.c: Likewise.
6690 * math/w_fmod.c: Likewise.
6691 * math/w_fmodf.c: Likewise.
6692 * math/w_fmodl.c: Likewise.
6693 * math/w_j0.c: Likewise.
6694 * math/w_j0f.c: Likewise.
6695 * math/w_j0l.c: Likewise.
6696 * math/w_j1.c: Likewise.
6697 * math/w_j1f.c: Likewise.
6698 * math/w_j1l.c: Likewise.
6699 * math/w_jn.c: Likewise.
6700 * math/w_jnf.c: Likewise.
6701 * math/w_log.c: Likewise.
6702 * math/w_logf.c: Likewise.
6703 * math/w_logl.c: Likewise.
6704 * math/w_log10.c: Likewise.
6705 * math/w_log10f.c: Likewise.
6706 * math/w_log10l.c: Likewise.
6707 * math/w_log2.c: Likewise.
6708 * math/w_log2f.c: Likewise.
6709 * math/w_log2l.c: Likewise.
6710 * math/w_pow.c: Likewise.
6711 * math/w_powf.c: Likewise.
6712 * math/w_powl.c: Likewise.
6713 * math/w_remainder.c: Likewise.
6714 * math/w_remainderf.c: Likewise.
6715 * math/w_remainderl.c: Likewise.
6716 * math/w_scalb.c: Likewise.
6717 * math/w_scalbf.c: Likewise.
6718 * math/w_scalbl.c: Likewise.
6719 * math/w_sqrt.c: Likewise.
6720 * math/w_sqrtf.c: Likewise.
6721 * math/w_sqrtl.c: Likewise.
6722 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6723 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6725 * math/math_private.h: Declare __kernel_standard_f.
6726 * math/w_cosh.c: Remove cruft and optimize a bit.
6727 * math/w_coshf.c: Likewise.
6728 * math/w_coshl.c: Likewise.
6729 * math/w_exp2.c: Likewise.
6730 * math/w_exp2f.c: Likewise.
6731 * math/w_exp2l.c: Likewise.
6732 * math/w_hypot.c: Likewise.
6733 * math/w_hypotf.c: Likewise.
6734 * math/w_hypotl.c: Likewise.
6735 * math/w_lgamma.c: Likewise.
6736 * math/w_lgamma_r.c: Likewise.
6737 * math/w_lgammaf.c: Likewise.
6738 * math/w_lgammaf_r.c: Likewise.
6739 * math/w_lgammal.c: Likewise.
6740 * math/w_lgammal_r.c: Likewise.
6741 * math/w_sinh.c: Likewise.
6742 * math/w_sinhf.c: Likewise.
6743 * math/w_sinhl.c: Likewise.
6744 * math/w_tgamma.c: Likewise.
6745 * math/w_tgammaf.c: Likewise.
6746 * math/w_tgammal.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6749 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6750 Minor optimizations. Pretty printing. Remove cruft.
6751 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6752 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6753 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6754 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6755 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6756 * sysdeps/i386/fpu/e_asin.S: Likewise.
6757 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6758 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6759 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6760 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6761 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6763 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6764 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6765 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6766 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6767 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6768 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6769 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6770 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6771 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6772 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6773 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6774 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6775 * sysdeps/i386/fpu/e_log.S: Likewise.
6776 * sysdeps/i386/fpu/e_log10.S: Likewise.
6777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6779 * sysdeps/i386/fpu/e_log2.S: Likewise.
6780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6782 * sysdeps/i386/fpu/e_logf.S: Likewise.
6783 * sysdeps/i386/fpu/e_logl.S: Likewise.
6784 * sysdeps/i386/fpu/e_pow.S: Likewise.
6785 * sysdeps/i386/fpu/e_powf.S: Likewise.
6786 * sysdeps/i386/fpu/e_powl.S: Likewise.
6787 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6788 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6789 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6791 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6793 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6794 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6795 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6817 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6819 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6820 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6821 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6823 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6825 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6827 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6828 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6830 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6831 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6832 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6833 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6834 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6836 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6887 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6888 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6889 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6890 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6891 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6892 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6893 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6894 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6895 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6896 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6897 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6898 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6899 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6904 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6906 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6907 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6908 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6909 (__isnanf): Likewise.
6910 (__isinf_ns): Likewise.
6911 (__isinf_nsf): Likewise.
6912 (__finite): Likewise.
6913 (__finitef): Likewise.
6914 (__ieee754_sqrt): Define as macro.
6915 (__ieee754_sqrtf): Define as macro.
6916 (__ieee754_sqrtl): Define as macro.
6917 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6919 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6920 __FINITE_MATH_ONLY__ consistent.
6921 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6923 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6925 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6928 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6930 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6932 * po/ja.po: Update from translation team.
6934 2011-10-08 Roland McGrath <roland@hack.frob.com>
6936 * locale/programs/locarchive.c (prepare_address_space): New function.
6937 (create_archive, enlarge_archive, open_archive): Use it.
6939 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6940 inside [SHARED], where it is used.
6942 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6944 * nss/getent.c (netgroup_keys): Remove unused variable.
6945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6947 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6949 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6950 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6954 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6955 * math/Makefile (libm-calls): Add s_isinf_ns.
6956 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6957 * math/multc3.c: Likewise.
6958 * math/s_casin.c: Likewise.
6959 * math/s_casinf.c: Likewise.
6960 * math/s_casinl.c: Likewise.
6961 * math/s_ccos.c: Likewise.
6962 * math/s_ccosf.c: Likewise.
6963 * math/s_ccosl.c: Likewise.
6964 * math/s_ctan.c: Likewise.
6965 * math/s_ctanf.c: Likewise.
6966 * math/s_ctanh.c: Likewise.
6967 * math/s_ctanhf.c: Likewise.
6968 * math/s_ctanhl.c: Likewise.
6969 * math/s_ctanl.c: Likewise.
6970 * math/w_fmod.c: Likewise.
6971 * math/w_fmodf.c: Likewise.
6972 * math/w_fmodl.c: Likewise.
6973 * math/w_remainder.c: Likewise.
6974 * math/w_remainderf.c: Likewise.
6975 * math/w_remainderl.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6977 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6980 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6981 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6982 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6983 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6985 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6987 * stdio-common/printf_fphex.c: Likewise.
6988 * stdio-common/printf_size.c: Likewise.
6990 * math/e_exp10.c: Include math_private.h using <...> not "...".
6991 * math/e_exp10f.c: Likewise.
6992 * math/e_exp10l.c: Likewise.
6993 * math/e_exp2l.c: Likewise.
6994 * math/e_j0l.c: Likewise.
6995 * math/e_j1l.c: Likewise.
6996 * math/e_jnl.c: Likewise.
6997 * math/e_lgammal_r.c: Likewise.
6998 * math/e_rem_pio2l.c: Likewise.
6999 * math/e_scalb.c: Likewise.
7000 * math/e_scalbf.c: Likewise.
7001 * math/e_scalbl.c: Likewise.
7002 * math/k_cosl.c: Likewise.
7003 * math/k_sinl.c: Likewise.
7004 * math/k_tanl.c: Likewise.
7005 * math/s_cacoshf.c: Likewise.
7006 * math/s_catan.c: Likewise.
7007 * math/s_catanf.c: Likewise.
7008 * math/s_catanh.c: Likewise.
7009 * math/s_catanhf.c: Likewise.
7010 * math/s_catanhl.c: Likewise.
7011 * math/s_catanl.c: Likewise.
7012 * math/s_ccosh.c: Likewise.
7013 * math/s_ccoshf.c: Likewise.
7014 * math/s_ccoshl.c: Likewise.
7015 * math/s_cexp.c: Likewise.
7016 * math/s_cexpf.c: Likewise.
7017 * math/s_cexpl.c: Likewise.
7018 * math/s_clog.c: Likewise.
7019 * math/s_clog10.c: Likewise.
7020 * math/s_clog10f.c: Likewise.
7021 * math/s_clog10l.c: Likewise.
7022 * math/s_clogf.c: Likewise.
7023 * math/s_clogl.c: Likewise.
7024 * math/s_csin.c: Likewise.
7025 * math/s_csinf.c: Likewise.
7026 * math/s_csinh.c: Likewise.
7027 * math/s_csinhf.c: Likewise.
7028 * math/s_csinhl.c: Likewise.
7029 * math/s_csinl.c: Likewise.
7030 * math/s_csqrt.c: Likewise.
7031 * math/s_csqrtf.c: Likewise.
7032 * math/s_csqrtl.c: Likewise.
7033 * math/s_ctan.c: Likewise.
7034 * math/s_ctanf.c: Likewise.
7035 * math/s_ctanh.c: Likewise.
7036 * math/s_ctanhf.c: Likewise.
7037 * math/s_ctanhl.c: Likewise.
7038 * math/s_ctanl.c: Likewise.
7039 * math/s_ldexp.c: Likewise.
7040 * math/s_ldexpf.c: Likewise.
7041 * math/s_ldexpl.c: Likewise.
7042 * math/s_significand.c: Likewise.
7043 * math/s_significandf.c: Likewise.
7044 * math/s_significandl.c: Likewise.
7045 * math/w_acos.c: Likewise.
7046 * math/w_acosf.c: Likewise.
7047 * math/w_acosh.c: Likewise.
7048 * math/w_acoshf.c: Likewise.
7049 * math/w_acoshl.c: Likewise.
7050 * math/w_acosl.c: Likewise.
7051 * math/w_asin.c: Likewise.
7052 * math/w_asinf.c: Likewise.
7053 * math/w_asinl.c: Likewise.
7054 * math/w_atan2.c: Likewise.
7055 * math/w_atan2f.c: Likewise.
7056 * math/w_atan2l.c: Likewise.
7057 * math/w_atanh.c: Likewise.
7058 * math/w_atanhf.c: Likewise.
7059 * math/w_atanhl.c: Likewise.
7060 * math/w_cosh.c: Likewise.
7061 * math/w_coshf.c: Likewise.
7062 * math/w_coshl.c: Likewise.
7063 * math/w_dremf.c: Likewise.
7064 * math/w_exp10.c: Likewise.
7065 * math/w_exp10f.c: Likewise.
7066 * math/w_exp10l.c: Likewise.
7067 * math/w_exp2.c: Likewise.
7068 * math/w_exp2f.c: Likewise.
7069 * math/w_fmod.c: Likewise.
7070 * math/w_fmodf.c: Likewise.
7071 * math/w_fmodl.c: Likewise.
7072 * math/w_hypot.c: Likewise.
7073 * math/w_hypotf.c: Likewise.
7074 * math/w_hypotl.c: Likewise.
7075 * math/w_j0.c: Likewise.
7076 * math/w_j0f.c: Likewise.
7077 * math/w_j0l.c: Likewise.
7078 * math/w_j1.c: Likewise.
7079 * math/w_j1f.c: Likewise.
7080 * math/w_j1l.c: Likewise.
7081 * math/w_jn.c: Likewise.
7082 * math/w_jnf.c: Likewise.
7083 * math/w_jnl.c: Likewise.
7084 * math/w_lgamma.c: Likewise.
7085 * math/w_lgamma_r.c: Likewise.
7086 * math/w_lgammaf.c: Likewise.
7087 * math/w_lgammaf_r.c: Likewise.
7088 * math/w_lgammal.c: Likewise.
7089 * math/w_lgammal_r.c: Likewise.
7090 * math/w_log.c: Likewise.
7091 * math/w_log10.c: Likewise.
7092 * math/w_log10f.c: Likewise.
7093 * math/w_log10l.c: Likewise.
7094 * math/w_log2.c: Likewise.
7095 * math/w_log2f.c: Likewise.
7096 * math/w_log2l.c: Likewise.
7097 * math/w_logf.c: Likewise.
7098 * math/w_logl.c: Likewise.
7099 * math/w_pow.c: Likewise.
7100 * math/w_powf.c: Likewise.
7101 * math/w_powl.c: Likewise.
7102 * math/w_remainder.c: Likewise.
7103 * math/w_remainderf.c: Likewise.
7104 * math/w_remainderl.c: Likewise.
7105 * math/w_scalb.c: Likewise.
7106 * math/w_scalbf.c: Likewise.
7107 * math/w_scalbl.c: Likewise.
7108 * math/w_sinh.c: Likewise.
7109 * math/w_sinhf.c: Likewise.
7110 * math/w_sinhl.c: Likewise.
7111 * math/w_sqrt.c: Likewise.
7112 * math/w_sqrtf.c: Likewise.
7113 * math/w_sqrtl.c: Likewise.
7114 * math/w_tgamma.c: Likewise.
7115 * math/w_tgammaf.c: Likewise.
7116 * math/w_tgammal.c: Likewise.
7118 * po/ja.po: Update from translation team.
7120 2011-09-29 Andreas Jaeger <aj@suse.de>
7123 * sunrpc/netname.c (netname2host): Fix logic.
7127 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7129 * math/w_remainder.c (__remainder): Likewise.
7130 * math/w_remainderf.c (__remainderf): Likewise.
7131 * math/libm-test.inc (remainder_test): Add test cases.
7133 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7135 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7138 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7140 * string/test-memcmp.c: Avoid unncessary #defines.
7141 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7143 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7145 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7146 Use new sse2 version for core i3 - i7 as it's faster
7148 (bit_Prefer_PMINUB_for_stringop): New.
7149 * sysdeps/x86_64/rawmemchr.S: Update.
7150 Replace with faster SSE2 version.
7151 * sysdeps/x86_64/memrchr.S: New file.
7152 * sysdeps/x86_64/memchr.S: Update.
7153 Replace with faster SSE2 version.
7155 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7157 * elf/dl-load.c (lose): Add cast to avoid warning.
7159 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7161 * po/ca.po: Update from translation team.
7163 * inet/getnetgrent_r.c: Hook up nscd.
7164 * nscd/Makefile (routines): Add nscd_netgroup.
7165 (nscd-modules): Add netgroupcache.
7166 (CFLAGS-netgroupcache.c): Define.
7167 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7168 (cache_search): Add const to second parameter.
7169 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7171 (dbs): Add netgrdb entry.
7172 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7173 (verify_persistent_db): Handle netgrdb.
7174 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7175 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7177 (netgroup_response_header): Define.
7178 (innetgroup_response_header): Define.
7179 (datahead): Add netgroup_response_header and innetgroup_response_header
7181 * nscd/nscd.conf: Add entries for netgroup cache.
7182 * nscd/nscd.h (dbtype): Add netgrdb.
7183 (_PATH_NSCD_NETGROUP_DB): Define.
7184 (netgroup_iov_disabled): Declare.
7185 (xmalloc, xcalloc, xrealloc): Move declarations here.
7186 (cache_search): Adjust prototype.
7187 Add netgroup-related prototypes.
7188 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7189 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7190 (__nscd_innetgr): Declare.
7191 * nscd/selinux.c (perms): Use access_vector_t as element type and
7192 add netgroup-related initializers.
7193 * nscd/netgroupcache.c: New file.
7194 * nscd/nscd_netgroup.c: New file.
7195 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7196 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7197 For four parameters use innetgr.
7198 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7199 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7200 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7201 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7203 * nscd/connections.c (register_traced_file): Don't register file
7204 for disabled databases.
7206 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7208 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7210 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7211 from tree and freeing node.
7213 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7215 * nss/nsswitch.c (__nss_database_lookup): Handle
7216 nss_parse_service_list out of memory case.
7218 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7220 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7223 2011-10-04 Andreas Schwab <schwab@redhat.com>
7225 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7226 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7228 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7229 elf_machine_rela, elf_machine_lazy_rel.
7230 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7231 (ELF_DYNAMIC_DO_REL): Likewise.
7232 (ELF_DYNAMIC_DO_RELA): Likewise.
7233 (ELF_DYNAMIC_RELOCATE): Likewise.
7234 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7235 to ELF_DYNAMIC_DO_REL.
7236 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7237 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7238 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7241 skip_ifunc, don't call ifunc function if non-zero.
7242 (elf_machine_rela): Likewise.
7243 (elf_machine_lazy_rel): Likewise.
7244 (elf_machine_lazy_rela): Likewise.
7245 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7246 (elf_machine_lazy_rel): Likewise.
7247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7249 (elf_machine_lazy_rel): Likewise.
7250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7252 (elf_machine_lazy_rel): Likewise.
7253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7254 (elf_machine_lazy_rel): Likewise.
7255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7256 (elf_machine_lazy_rel): Likewise.
7257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7258 (elf_machine_lazy_rel): Likewise.
7259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7260 (elf_machine_lazy_rel): Likewise.
7261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7262 (elf_machine_lazy_rel): Likewise.
7263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7264 (elf_machine_lazy_rel): Likewise.
7266 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7268 * nss/nss_files/files-init.c (_nss_files_init): Use static
7269 initialization for all the *_traced_file variables.
7271 2011-09-28 Andreas Schwab <schwab@redhat.com>
7273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7275 2011-09-27 Roland McGrath <roland@hack.frob.com>
7278 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7280 2011-09-27 Andreas Schwab <schwab@redhat.com>
7282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7283 Reread the line before reparsing it.
7285 2011-09-26 Andreas Schwab <schwab@redhat.com>
7287 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7289 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7290 Maxim Kuvyrkov <maxim@codesourcery.com>
7291 Joseph Myers <joseph@codesourcery.com>
7293 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7294 if needed for __stack_chk_guard.
7296 2011-09-19 Roland McGrath <roland@hack.frob.com>
7298 * sysdeps/posix/spawni.c (script_execute): Always define it.
7299 It will be optimized away if unused.
7300 (maybe_script_execute): New function.
7301 (__spawni): Call it.
7303 * Makerules: Don't include tls.make.
7304 (config-tls): Always set to thread.
7305 * tls.make.c: File removed.
7307 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7309 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7310 * config.make.in (CPPFLAGS-config): New substituted variable.
7312 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7317 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7318 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7320 2011-09-15 Roland McGrath <roland@hack.frob.com>
7322 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7323 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7325 (CALL_FAIL): Likewise.
7326 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7327 (CALL_FAIL): Macro removed.
7328 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7330 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7332 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7333 for __FINITE_MATH_ONLY__ == 1.
7335 2011-09-15 Andreas Schwab <schwab@redhat.com>
7337 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7338 __ieee754_sqrt instead of sqrt.
7339 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7340 __ieee754_sqrtf instead of sqrtf.
7341 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7342 __floorf instead of floorf.
7343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7344 __floorf, __truncf instead of floorf, truncf.
7346 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7348 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7350 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7351 __extern_always_inline.
7352 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7355 2011-09-14 Andreas Schwab <schwab@redhat.com>
7357 * elf/rtld.c (dl_main): Also relocate in dependency order when
7358 doing symbol dependency testing.
7360 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7363 Always define `refsym'.
7365 2011-09-13 Andreas Schwab <schwab@redhat.com>
7367 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7368 (__FD_ELT): Renamed from __FDELT.
7369 * misc/bits/select2.h (__FD_ELT): Likewise.
7370 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7371 __FD_MASK instead of __FDELT, __FDMASK.
7372 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7374 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7377 * elf/Makefile (gen-ldd): Fix pattern.
7379 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7380 (init_tls): Likewise.
7382 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7386 2011-09-12 Andreas Schwab <schwab@redhat.com>
7388 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7389 `struct cmsghdr *' instead of `void *'.
7390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7393 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7395 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7397 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7400 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7402 * configure.in: Remove --with-tls option.
7403 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7404 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7405 out in case it is missing.
7406 * sysdeps/ia64/elf/configure.in: Likewise.
7407 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7408 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7409 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7410 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7411 * sysdeps/sh/elf/configure.in: Likewise.
7412 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7413 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7414 * sysdeps/x86_64/elf/configure.in: Likewise.
7415 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7416 * sysdeps/mach/hurd/tls.h: Likewise.
7419 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7422 * configure.in: Fix use of AC_INIT.
7424 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7426 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7428 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7430 * malloc/hooks.c: Likewise.
7433 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7434 variables statically.
7435 (narenas): Initialize.
7436 (list_lock): Initialize.
7437 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7438 initializtion of main_arena and list_lock. Small cleanups.
7439 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7440 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7441 Add initializers to main_arena and mp_.
7442 (malloc_state): Remove pagesize member. Change all users to use
7445 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7446 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7447 is always initialized.
7449 * malloc/malloc.c: Removed unused configurations and dead code.
7450 * malloc/arena.c: Likewise.
7451 * malloc/hooks.c: Likewise.
7452 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7454 * include/tls.h: Removed. USE___THREAD must always be defined.
7455 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7456 * elf/dl-libc.c: Likewise.
7457 * elf/dl-tsd.c: Likewise.
7458 * include/errno.h: Likewise.
7459 * include/netdb.h: Likewise.
7460 * include/resolv.h: Likewise.
7461 * inet/herrno-loc.c: Likewise.
7462 * inet/herrno.c: Likewise.
7463 * malloc/arena.c: Likewise.
7464 * malloc/hooks.c: Likewise.
7465 * malloc/malloc.c: Likewise.
7466 * resolv/res-state.c: Likewise.
7467 * resolv/res_libc.c: Likewise.
7468 * sysdeps/i386/dl-machine.h: Likewise.
7469 * sysdeps/ia64/dl-machine.h: Likewise.
7470 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7471 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7472 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7473 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7474 * sysdeps/sh/dl-machine.h: Likewise.
7475 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7476 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7477 * sysdeps/unix/i386/sysdep.S: Likewise.
7478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7479 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7484 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7489 * sysdeps/x86_64/dl-machine.h: Likewise.
7490 * tls.make.c: Likewise.
7492 * configure.in: Remove --with-__thread option. Make tests for
7493 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7494 tls_model attribute fail if no support is available. Remove
7496 * Makeconfig: Adjust for dropped configure option. All features are
7498 * Makerules: Likewise.
7499 * Versions.def: Likewise.
7500 * argp/argp-fmtstream.c: Likewise.
7501 * argp/argp-fmtstream.h: Likewise.
7502 * argp/argp-help.c: Likewise.
7503 * assert/assert.c: Likewise.
7504 * config.h.in: Likewise.
7505 * config.make.in: Likewise.
7506 * configure: Likewise.
7507 * configure.in: Likewise.
7508 * csu/Versions: Likewise.
7509 * csu/init.c: Likewise.
7510 * elf/tst-audit2.c: Likewise.
7511 * elf/tst-tls10.c: Likewise.
7512 * elf/tst-tls10.h: Likewise.
7513 * elf/tst-tls11.c: Likewise.
7514 * elf/tst-tls12.c: Likewise.
7515 * elf/tst-tls14.c: Likewise.
7516 * elf/tst-tlsmod11.c: Likewise.
7517 * elf/tst-tlsmod12.c: Likewise.
7518 * elf/tst-tlsmod13.c: Likewise.
7519 * elf/tst-tlsmod13a.c: Likewise.
7520 * elf/tst-tlsmod14a.c: Likewise.
7521 * elf/tst-tlsmod15b.c: Likewise.
7522 * elf/tst-tlsmod16a.c: Likewise.
7523 * elf/tst-tlsmod16b.c: Likewise.
7524 * elf/tst-tlsmod7.c: Likewise.
7525 * elf/tst-tlsmod8.c: Likewise.
7526 * elf/tst-tlsmod9.c: Likewise.
7527 * gmon/gmon.c: Likewise.
7528 * grp/fgetgrent_r.c: Likewise.
7529 * grp/putgrent.c: Likewise.
7530 * hurd/fopenport.c: Likewise.
7531 * include/libc-symbols.h: Likewise.
7532 * include/tls.h: Likewise.
7533 * intl/gettextP.h: Likewise.
7534 * intl/loadinfo.h: Likewise.
7535 * locale/global-locale.c: Likewise.
7536 * locale/localeinfo.h: Likewise.
7537 * mach/devstream.c: Likewise.
7538 * malloc/arena.c: Likewise.
7539 * malloc/set-freeres.c: Likewise.
7540 * misc/err.c: Likewise.
7541 * misc/getttyent.c: Likewise.
7542 * misc/mntent_r.c: Likewise.
7543 * posix/getopt.c: Likewise.
7544 * posix/wordexp.c: Likewise.
7545 * pwd/fgetpwent_r.c: Likewise.
7546 * resolv/Versions: Likewise.
7547 * resolv/res_hconf.c: Likewise.
7548 * shadow/fgetspent_r.c: Likewise.
7549 * shadow/putspent.c: Likewise.
7550 * stdio-common/printf_fphex.c: Likewise.
7551 * stdio-common/tmpfile.c: Likewise.
7552 * stdlib/abort.c: Likewise.
7553 * stdlib/fmtmsg.c: Likewise.
7554 * sunrpc/auth_unix.c: Likewise.
7555 * sunrpc/clnt_perr.c: Likewise.
7556 * sunrpc/clnt_tcp.c: Likewise.
7557 * sunrpc/clnt_udp.c: Likewise.
7558 * sunrpc/clnt_unix.c: Likewise.
7559 * sunrpc/openchild.c: Likewise.
7560 * sunrpc/svc_simple.c: Likewise.
7561 * sunrpc/svc_tcp.c: Likewise.
7562 * sunrpc/svc_udp.c: Likewise.
7563 * sunrpc/svc_unix.c: Likewise.
7564 * sunrpc/xdr.c: Likewise.
7565 * sunrpc/xdr_array.c: Likewise.
7566 * sunrpc/xdr_rec.c: Likewise.
7567 * sunrpc/xdr_ref.c: Likewise.
7568 * sunrpc/xdr_stdio.c: Likewise.
7570 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7572 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7574 2011-07-03 Andreas Jaeger <aj@suse.de>
7576 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7577 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7578 regenerate with gen-libm-tests.pl.
7580 2010-05-12 Petr Baudis <pasky@suse.cz>
7583 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7584 around j0() zero points by switching to j1().
7585 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7590 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7592 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7594 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7597 Patch in part by Pavel Roskin <proski@gnu.org>.
7600 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7602 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7603 Free memory block if necessary.
7606 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7607 be NULL. Don't lock in this case.
7609 2011-09-09 Roland McGrath <roland@hack.frob.com>
7611 * elf/elf.h (ELFOSABI_GNU): New macro.
7612 (ELFOSABI_LINUX): Define to that.
7614 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7616 * string/strncat.c (strncat): Undef the symbol in case it has been
7617 defined in bits/string.h.
7619 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7621 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7623 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7626 2011-08-17 Andreas Jaeger <aj@suse.de>
7628 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7630 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7631 Ian Lance Taylor <iant@google.com>
7633 * math/libm-test.inc (lround_test): New testcase.
7634 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7636 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7638 * Makefile: Remove support for automatic cvs check-ins.
7639 * Makerules: Likewise.
7640 * config.make.in: Likewise.
7641 * configure.in: Likewise.
7642 * intl/Makefile: Likewise.
7643 * locale/Makefile: Likewise.
7644 * po/Makefile: Likewise.
7645 * posix/Makefile: Likewise.
7646 * sysdeps/gnu/Makefile: Likewise.
7647 * sysdeps/mach/hurd/Makefile: Likewise.
7648 * sysdeps/sparc/sparc32/Makefile: Likewise.
7651 * posix/Makefile (bug-regex32-ENV): Define.
7652 Patch by John Stanley <jpsinthemix@verizon.net>.
7654 * misc/Makefile (headers): Add bits/select2.h.
7655 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7656 * misc/bits/select2.h: New file.
7657 * include/bits/select2.h: New file.
7658 * debug/Makefile (routines): Add fdelt_chk.
7659 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7660 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7662 * debug/fdelt_chk.c: New file.
7664 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7665 * wcsmbs/test-wmemcmp.c: Likewise.
7666 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7667 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7669 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7671 * string/Makefile (strop-tests): Add memcmp.
7672 * string/test-wmemcmp.c: New file.
7673 * string/test-memcmp.c: Add wmemcmp support.
7675 2011-09-08 Roland McGrath <roland@hack.frob.com>
7678 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7681 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7682 garbage value in a __mach_port_mod_refs call in the cases of the
7683 task-self and thread-self ports.
7685 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7687 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7689 2011-09-08 Andreas Schwab <schwab@redhat.com>
7691 * elf/dl-load.c (lose): Check for non-null L.
7693 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7695 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7697 * elf/dl-libc.c (dlerror_run): Pass back error code from
7701 * elf/dl-load.c (lose): Free l_origin if it is valid.
7703 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7707 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7709 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7710 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7712 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7714 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7715 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7716 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7717 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7718 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7719 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7720 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7721 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7722 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7723 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7725 2011-08-15 Alan Modra <amodra@gmail.com>
7728 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7729 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7730 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7731 ppc_mcount to static-only-routines.
7732 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7734 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7735 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7737 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7740 for finite and infinity parameters.
7742 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7745 and add nop instructions for throughput optimization.
7746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7748 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7751 aligned copy for power7 with vector-scalar instructions.
7752 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7754 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7759 2011-09-07 Andreas Schwab <schwab@redhat.com>
7762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7765 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7767 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7768 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7769 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7773 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7776 Forgot to demangle the pointer.
7778 * sysdeps/i386/sysdep.h: Define atom_text_section.
7779 * sysdeps/x86_64/sysdep.h: Likewise.
7780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7781 section with atom_text_section.
7782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7783 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7784 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7786 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7788 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7790 already be defined. Change to take two parameters and don't assign
7791 result to variable. Adjust all users.
7792 Define INTERNAL_GETTIME if not already defined.
7793 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7796 HAVE_CLOCK_GETTIME_VSYSCALL.
7797 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7800 gettimeofday vsyscall, just use time.
7802 2011-09-06 Andreas Schwab <schwab@redhat.com>
7804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7807 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7809 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7813 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7814 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7815 syscall if possible.
7817 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7819 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7820 e_ident. Don't pass to find_mapsXX.
7821 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7823 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7826 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7827 * sysdeps/x86_64/multiarch/strchr.S: Update.
7828 Check bit_slow_BSF bit.
7829 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7830 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7833 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7836 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7839 (__spawni): Change last parameter to be flag. Test
7840 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7841 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7842 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7843 * posix/spawni.c: Likewise.
7844 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7845 * posix/spawnp.c: Likewise. Change normal version to use
7846 SPAWN_XFLAGS_USE_PATH.
7847 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7848 SPAWN_XFLAGS_TRY_SHELL.
7851 * posix/glob.h: Remove gcc 1.x support.
7854 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7856 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7859 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7861 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7862 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7865 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7868 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7870 * sysdeps/x86_64/wcscmp.S: New file.
7872 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7873 wcscmp-c wcscmp-sse2
7874 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7875 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7877 * wcsmbs/wcscmp.c: Allow renaming.
7879 2011-09-05 David S. Miller <davem@davemloft.net>
7881 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7882 stack slot, rather than the struct return pointer slot.
7883 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7884 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7888 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7890 * po/ja.po: Update from translation team.
7893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7894 kernel in 64-bit binaries.
7896 2011-09-01 David S. Miller <davem@davemloft.net>
7898 * elf/elf.h (HWCAP_SPARC_*): Move to..
7899 * sysdeps/sparc/sysdep.h: this new file and add new values.
7900 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7901 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7902 _DL_HWCAP_COUNT to 24.
7903 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7905 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7906 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7907 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7909 instead of magic constants.
7910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7912 2011-08-31 David S. Miller <davem@davemloft.net>
7914 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7916 Reimplement to do errno handling inline.
7917 (SYSCALL_ERROR_HANDLER): New macro.
7918 (__SYSCALL_STRING): Do not do errno handling in asm.
7919 (__CLONE_SYSCALL_STRING): Delete.
7920 (__INTERNAL_SYSCALL_STRING): Delete.
7921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7922 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7923 (PSEUDO): Reimplement to do errno handling inline.
7924 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7925 (SYSCALL_ERROR_HANDLER): New macro.
7926 (__SYSCALL_STRING): Do not do errno handling in asm.
7927 (__CLONE_SYSCALL_STRING): Delete.
7928 (__INTERNAL_SYSCALL_STRING): Delete.
7929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7930 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7932 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7933 (inline_syscall*): Add 'err' argument.
7934 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7935 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7936 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7937 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7939 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7942 2011-08-30 Andreas Schwab <schwab@redhat.com>
7944 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7946 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7948 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7951 2011-08-24 David S. Miller <davem@davemloft.net>
7953 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7955 2011-08-24 Andreas Schwab <schwab@redhat.com>
7957 * elf/Makefile: Add rules to build and run unload8 test.
7958 * elf/unload8.c: New file.
7959 * elf/unload8mod1.c: New file.
7960 * elf/unload8mod1x.c: New file.
7961 * elf/unload8mod2.c: New file.
7962 * elf/unload8mod3.c: New file.
7964 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7967 2011-08-23 David S. Miller <davem@davemloft.net>
7969 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7970 subtract stack bias.
7971 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7972 %sp not %fp in calculations.
7973 (_JMPBUF_UNWINDS_ADJ): Likewise.
7975 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7976 (aio_suspend): Call it to force an exception region around the
7977 AIO_MISC_WAIT() invocation.
7979 2011-08-23 Andreas Schwab <schwab@redhat.com>
7981 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7984 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7986 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7988 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7990 (Elf64_FuncDesc): Remove.
7992 2011-08-22 David S. Miller <davem@davemloft.net>
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7995 sigaltstack check, add missing cfi directives.
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7997 missing cfi directives, and sigaltstack handling.
7999 2011-08-16 Andreas Schwab <schwab@redhat.com>
8002 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8003 object is seen twice.
8004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8006 * elf/Makefile (distribute): Add tst-initorder2.c.
8007 (tests): Add tst-initorder2.
8008 (modules-names): Add tst-initorder2a tst-initorder2b
8009 tst-initorder2c tst-initorder2d. Add rules to build them.
8010 ($(objpfx)tst-initorder2.out): New rule.
8011 * elf/tst-initorder2.c: New file.
8012 * elf/tst-initorder2.exp: New file.
8014 2011-08-22 Andreas Schwab <schwab@redhat.com>
8016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8018 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8019 dependencies back to end of function.
8021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8024 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8027 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8029 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8030 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8031 of __vdso_gettimeofday.
8032 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8033 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8035 (_libc_vdso_platform_setup): Remove initialization of
8036 __vdso_gettimeofday and __vdso_time.
8038 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8040 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8042 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8045 * elf/dl-open.c (add_to_global): Report additions to the global scope
8046 for LD_DEBUG=scopes.
8047 (dl_open_worker): Also print scope of newly loaded dependencies.
8048 (_dl_show_scope): Indicate if there is no scope.
8051 * stdio-common/Makefile (tests): Add bug24.
8052 * stdio-common/bug24.c: New file.
8054 2011-08-19 Andreas Jaeger <aj@suse.de>
8057 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8058 non-existant file when using close-on-exec mode.
8060 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8063 the very first instruction.
8065 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8066 the CFI state in the end.
8067 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8068 inclusion of dl-trampoline.h.
8069 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8071 2011-08-19 Andreas Schwab <schwab@redhat.com>
8073 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8074 expectations for long double.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8077 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8079 2011-08-14 David S. Miller <davem@davemloft.net>
8081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8082 artificual limit depends upon the system page size.
8084 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8086 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8087 * resolv/Makefile: Define CFLAGS-libresolv.
8089 2011-08-17 Andreas Schwab <schwab@redhat.com>
8091 * nss/makedb.c (compute_tables): Make variables used in nested
8094 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8096 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8097 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8098 if buffer was too small.
8100 * elf/pldd.c (main): Attach to all threads in the process.
8101 Rewrite /proc handling to use *at functions.
8103 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8105 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8106 specifies first scope to show.
8107 (dl_open_worker): Update callers. Move printing scope of new
8108 object to before the relocation.
8109 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8110 * sysdeps/generic/ldsodefs.h: Update declaration.
8112 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8113 string for the scope number.
8115 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8117 * nscd/servicescache.c (cache_addserv): Make sure written is always
8120 2011-08-14 Roland McGrath <roland@hack.frob.com>
8122 * sysdeps/i386/i486/bits/atomic.h
8123 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8124 statement expression, so as to suppress "set but not used" warning.
8125 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8127 * string/strncat.c (STRNCAT): Use prototype definition.
8129 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8130 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8132 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8133 (localedef-modules): Add localedef.
8134 (locale-modules): Add locale.
8136 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8137 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8140 2011-08-14 David S. Miller <davem@davemloft.net>
8142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8143 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8145 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8147 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8148 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8149 * elf/rtld.c (dl_main): Set l_name of vDSO.
8150 Call _dl_show_scope when DL_DEBUG_SCOPES.
8151 (process_dl_debug): Recognize scopes flag and also set it for all.
8152 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8153 Declare _dl_show_scope.
8155 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8156 (do_dlopen): Pass caller_dlopen to dl_open.
8157 (__libc_dlopen_mode): Initialize caller_dlopen.
8159 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8160 of libc. Make tolower call locale-independent. Optimize a bit by
8161 using isdigit instead of isalnum.
8162 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8164 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8166 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8167 was a dependency or dynamically loaded.
8169 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8171 * intl/l10nflist.c: Allow architecture-specific pop function.
8172 * sysdeps/x86_64/l10nflist.c: New file.
8174 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8177 2011-08-10 Andreas Schwab <schwab@redhat.com>
8179 * include/dirent.h: Add libc_hidden_proto for scandirat and
8180 scandirat64. Don't declare __scandirat64.
8181 * dirent/scandirat.c: Add libc_hidden_def.
8182 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8183 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8185 2011-08-10 David S. Miller <davem@davemloft.net>
8187 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8193 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8195 * Versions.def [libc]: Add GLIBC_2.15.
8196 * dirent/Makefile (routines): Add scandirat and scandirat64.
8197 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8199 * dirent/dirent.h: Declare scandirat and scandirat64.
8200 * dirent/scandirat.c: New file.
8201 * dirent/scandirat64.c: New file.
8202 * sysdeps/wordsize-64/scandirat.c: New file.
8203 * sysdeps/wordsize-64/scandirat64.c: New file.
8204 * dirent/opendir.c: Define opendirat.
8205 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8207 * dirent/scandir64.c: Adjust for scandir.c change.
8208 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8209 __scandirat64, and __scandir_cancel_handler.
8210 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8211 additional parameter and use openat instead of open (outside of ld.so).
8212 Add new __opendir as wrapper around __opendirat.
8213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8214 here without requiring old scandirat implementation.
8216 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8218 * dirent/scandir.c (cancel_handler): Renamed to
8219 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8220 defined. Adjust users.
8221 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8222 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8224 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8226 * string/test-string.h (IMPL): Use __STRING to expand name and then
8229 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8232 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8234 * string/Makefile: Update.
8235 (strop-tests): Append strncat.
8236 * string/test-wcscmp.c: New file.
8237 New comprehensive test for wcscmp.
8238 * string/test-strcmp.c: Update.
8241 2011-07-22 Andreas Schwab <schwab@redhat.com>
8243 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8246 2011-07-26 Andreas Schwab <schwab@redhat.com>
8248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8249 encoding to ACE if AI_IDN.
8251 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8254 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8256 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8259 Fix overflow bug in strncat.
8260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8262 * string/test-strncat.c: Update.
8263 Add new tests for checking overflow bugs.
8265 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8268 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8269 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8270 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8271 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8272 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8273 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8274 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8275 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8278 (USE_AS_STRCAT): Define.
8279 Add strcat and strncat support.
8280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8282 2011-07-25 Andreas Schwab <schwab@redhat.com>
8284 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8285 __n bigger than INT_MAX+1.
8286 (__strncmp_g): Likewise.
8288 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8290 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8291 * libio/stido.h: Likewise.
8293 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8298 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8305 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8310 (_dl_x86_64_save_sse): Likewise.
8312 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8316 (_dl_x86_64_save_sse): Likewise.
8318 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8320 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8322 2011-07-21 Andreas Schwab <schwab@redhat.com>
8324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8326 (_dl_x86_64_save_sse): Use correct AVX check.
8328 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8331 bug in strncpy/strncat.
8332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8334 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8336 * string/tester.c (test_strcat): Add tests for different alignments
8337 of source and destination.
8338 (test_strncat): Likewise.
8340 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8343 * posix/glob.c (glob): Check passed in values before using them in
8344 expressions to avoid some overflows.
8345 (glob_in_dir): Likewise.
8348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8349 check for AVX enablement so that we don't crash with old kernels and
8351 * elf/tst-audit4.c: Add same checks here.
8352 * elf/tst-audit6.c: Likewise.
8354 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8356 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8358 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8360 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8362 * po/cs.po: Update from translation team.
8363 * po/bg.po: Likewise.
8365 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8367 * misc/sys/cdefs.h: Add support for const attribute.
8368 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8369 to gnu_dev_{major,minor,makedev} functions.
8371 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8373 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8375 2011-07-20 Andreas Schwab <schwab@redhat.com>
8377 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8380 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8383 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8384 register in order to avoid conflicts with the soft frame pointer
8385 being held in r11 when necessary.
8386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8387 (INTERNAL_VSYSCALL_NCS): Likewise.
8389 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8391 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8392 * elf/dl-fini.c (_dl_fini): Adjust caller.
8393 * elf/dl-close.c (_dl_close_worker): Likewise.
8394 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8396 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8398 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8399 "aux_cache->nlibs < 0".
8401 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8402 in the reload-count case.
8404 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8407 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8408 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8409 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8410 * sysdeps/x86_64/multiarch/strcat.S: New file.
8411 * sysdeps/x86_64/multiarch/strncat.S: New file.
8412 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8413 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8414 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8415 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8417 (USE_AS_STRCAT): Define.
8418 Add strcat and strncat support.
8419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8421 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8422 * string/strncat.c: Update.
8423 (USE_AS_STRNCAT): Define.
8424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8425 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8427 * sysdeps/x86_64/multiarch/init-arch.h
8428 (bit_Prefer_PMINUB_for_stringop): New.
8429 (index_Prefer_PMINUB_for_stringop): Likewise.
8430 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8431 bit_Prefer_PMINUB_for_stringop.
8433 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8435 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8437 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8438 of casting of buffer.
8439 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8440 buffer32 and buffer64.
8441 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8442 writes instead of casting of buffer.
8443 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8445 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8448 2011-07-19 Andreas Schwab <schwab@redhat.com>
8450 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8452 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8454 * nscd/nscd.c (termination_handler): Don't do anything for a database
8455 if it has not yet been initialized.
8457 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8459 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8461 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8463 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8465 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8467 * po/nl.po: Update from translation team.
8468 * po/sv.po: Likewise.
8470 2011-07-16 Roland McGrath <roland@hack.frob.com>
8472 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8473 now disallowed by GCC.
8475 * configure.in (use-default-link): Default to yes if a test -shared
8476 link meets our qualifications.
8477 * configure: Regenerated.
8479 * config.make.in (output-format): New variable.
8480 * configure.in: Check for ld --print-output-format support.
8481 * configure: Regenerated.
8482 * Makerules ($(common-objpfx)format.lds)
8483 [$(output-format) != unknown]: Just use $(output-format),
8484 instead of the linker-script munging.
8486 2011-07-14 Roland McGrath <roland@hack.frob.com>
8488 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8489 of $(common-objpfx)shlib.lds.
8490 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8492 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8493 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8495 * configure.in (-z relro check): Adjust test code to add a large
8496 writable data section after it.
8497 * configure: Regenerated.
8499 2011-07-11 Roland McGrath <roland@hack.frob.com>
8501 * configure.in (-z relro check): Fix test code to make the variable
8503 * configure: Regenerated.
8505 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8507 * nscd/nscd.h (struct traced_file): Define.
8508 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8509 elements. Add traced_files.
8510 (inotify_fd): Declare.
8511 (register_traced_file): Declare.
8512 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8513 (inotify_fd): Export.
8514 (resolv_conf_descr): Remove.
8515 (nscd_init): Move inotify descriptor creation to main.
8516 Don't register files for notification here.
8517 (register_traced_file): New function.
8518 (invalidate_cache): Don't use reset_res to determine whether to call
8519 res_init, go through the list of registered files.
8520 (main_loop_poll): The inotify descriptors are now stored in the
8521 structures for the traced files.
8522 (main_loop_epoll): Likewise
8523 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8524 to __nss_disable_nscd.
8525 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8526 for a database anymore. Check the records for all the registered
8528 * nss/Makefile (libnss_files-routines): Add files-init.
8529 (libnss_db-routines): Add db-init.
8530 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8531 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8532 * nss/nss_db/db-init.c: New file.
8533 * nss/nss_files/files-init.c: New file.
8534 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8535 __nss_lookup_function.
8536 (__nss_lookup_function): Call nss_load_library.
8537 (nss_load_all_libraries): New function.
8538 (__nss_disable_nscd): Take parameter with callback function for files
8539 to register. Set is_nscd. Load all the DSOs for the NSS modules
8540 used for the cached services.
8541 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8542 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8543 options for features to all the files in nscd.
8545 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8547 2011-07-10 Roland McGrath <roland@hack.frob.com>
8549 * csu/elf-init.c (__libc_csu_init): Comment typo.
8551 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8553 * po/pl.po: Update from translation team.
8554 * po/ja.po: Likewise.
8555 * po/ru.po: Likewise.
8556 * po/ko.po: Likewise.
8557 * po/fr.po: Likewise.
8559 2011-07-09 Roland McGrath <roland@hack.frob.com>
8561 * configure.in (.ctors/.dtors header and trailer check):
8562 Use an empirical test on a built program.
8563 * configure: Regenerated.
8565 * configure.in (-z relro check): Use an empirical test on a built DSO.
8566 Detect, but do not require, on ia64.
8567 * configure: Regenerated.
8569 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8570 Update tests that use readelf to use $READELF instead.
8571 * configure: Regenerated.
8573 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8575 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8576 if the result is not used.
8578 2011-07-05 Andreas Jaeger <aj@suse.de>
8581 * stdlib/tst-strtod.c: Add testcase.
8583 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8585 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8586 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8587 The latter has a higher limit. Take additional parameter to pass to
8589 (__pathconf): Pass file to __statfs_link_max.
8590 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8592 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8596 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8600 (__statfs_filesize_max): Likewise.
8601 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8603 2011-07-05 Andreas Jaeger <aj@suse.de>
8605 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8607 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8609 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8611 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8614 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8616 * Makefile (strop-tests): Add strncat.
8617 * string/test-strncat.c: New file.
8619 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8621 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8623 2011-06-21 Andreas Jaeger <aj@suse.de>
8625 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8626 Copy rule from iconvdata/Makefile.
8628 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8631 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8632 but no long options are defined, just return 'W'.
8634 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8637 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8639 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8641 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8643 (innetgr): Likewise.
8645 2011-07-05 Roland McGrath <roland@hack.frob.com>
8647 * config.make.in (install_root): Default to $(DESTDIR).
8649 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8651 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8653 2011-07-02 Roland McGrath <roland@hack.frob.com>
8655 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8657 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8658 containing directory rather than embedding absolute directory names.
8660 * scripts/check-local-headers.sh: Rewritten using awk.
8661 Match by word, not by line. Print error messages for matches.
8662 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8664 * Makerules [shlib-lds-flags empty]:
8665 ($(common-objpfx)libc_pic.opts): New target.
8666 ($(common-objpfx)libc_pic.os.clean): New target.
8667 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8669 * config.make.in (OBJCOPY): New variable.
8670 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8671 * configure: Regenerated.
8673 * config.make.in (use-default-link): New variable.
8674 * configure.in (use_default_link): Grok --with-default-link to set it.
8675 * configure: Regenerated.
8676 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8677 (shlib-lds, shlib-lds-flags): Define to empty.
8679 * Makerules (shlib-lds): New variable.
8680 (shlib-lds-flags): New variable.
8681 (build-shlib, build-moduile, build-module-asneeded): Use it.
8682 ($(common-objpfx)libc.so): Use $(shlib-lds).
8683 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8684 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8686 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8687 DT_FLAGS/DT_FLAGS_1 with zero flags.
8689 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8690 linker script munging.
8692 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8694 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8696 * crypt/sha512.c (sha512_process_block): Perform total addition using
8697 128-bit if possible.
8698 (__sha512_finish_ctx): Likewise.
8699 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8701 * crypt/sha256.c (SWAP64): Define.
8702 (sha256_process_block): Perform total addition using 64-bit if
8704 (__sha256_finish_ctx): Likewise.
8706 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8708 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8710 * nscd/hstcache.c (cache_addhst): Likewise.
8711 * nscd/grpcache.c (cache_addgr): Likewise.
8712 * nscd/aicache.c (addhstaiX): Likewise
8713 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8715 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8717 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8719 * nscd/hstcache.c (cache_addhst): Likewise.
8720 * nscd/grpcache.c (cache_addgr): Likewise.
8721 * nscd/aicache.c (addhstaiX): Likewise
8723 2011-07-01 Andreas Schwab <schwab@redhat.com>
8725 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8726 domain only when needed.
8728 2011-06-30 Andreas Schwab <schwab@redhat.com>
8730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8733 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8735 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8736 are re-adding the entry.
8737 * nscd/servicescache.c (cache_addserv): Likewise.
8739 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8741 * sysdeps/generic/dl-irel.h: fix protection against multiple
8743 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8745 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8748 * malloc/memusage.sh: Fix quoting in message.
8749 * debug/xtrace.sh: Likewise.
8751 * configure.in: Remove support for --experimental-malloc option, make
8753 * config.make.in: Likewise.
8754 * malloc/Makefile: Likewise.
8756 2011-06-27 Andreas Schwab <schwab@redhat.com>
8758 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8759 two-byte characters.
8761 2011-06-27 Roland McGrath <roland@hack.frob.com>
8763 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8764 AC_CACHE_CHECK invocation.
8765 * configure: Regenerated.
8767 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8769 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8772 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8773 bit from old_res_options.
8775 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8777 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8778 value type for setfct.
8780 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8783 __gettimeofday instead of gettimeofday.
8785 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8787 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8789 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8796 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8799 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8800 strcpy-sse2-unaligned strncpy-sse2-unaligned
8801 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8802 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8803 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8804 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8805 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8808 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8809 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8810 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8811 (STRCPY): Support SSE2 and SSSE3 versions.
8813 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8816 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8817 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8818 kernels which artificially limit size of requests.
8820 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8823 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8824 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8825 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8826 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8827 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8828 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8829 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8832 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8833 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8834 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8835 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8836 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8838 Enable unaligned load optimization for Intel Core i3, i5 and i7
8840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8842 (index_Fast_Unaligned_Load): Define.
8843 (HAS_FAST_UNALIGNED_LOAD): Define.
8845 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8847 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8849 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8853 until it is clear that the information is realy needed.
8854 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8856 2011-06-22 Andreas Schwab <schwab@redhat.com>
8858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8860 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8863 /sys/devices/system/cpu/online if it is usable.
8865 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8866 reading the information from the /proc filesystem to once a second.
8868 2011-06-21 Andreas Jaeger <aj@suse.de>
8870 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8871 NULL after inclusion of kernel headers.
8873 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8875 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8876 calls to internal_setent.
8879 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8880 addresses using gethostbyname4_r ignore IPv4 addresses.
8882 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8883 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8885 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8887 2011-06-20 David S. Miller <davem@davemloft.net>
8889 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8891 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8893 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8895 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8896 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8897 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8898 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8899 * sysdeps/x86_64/dl-irel.h: Likewise.
8901 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8902 * elf/dl-sym.c: Likewise.
8904 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8906 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8907 need to dereference resplen2.
8909 2011-06-14 Andreas Schwab <schwab@redhat.com>
8911 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8913 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8915 * Makeconfig: Define vardbdir and inst_vardbdir.
8916 * nss/Makefile: Add rules to install db-Makefile.
8918 * nss/nss_db/db-XXX.c: Cleanup.
8920 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8921 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8923 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8924 * nss/makedb.c: Implement -g option to specify that value strings
8925 are generated and should not be added to table iterated over for
8927 * nss/nss_db/db-initgroups.c: New file.
8929 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8932 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8933 (internal_getgrouplist): Adjust to name change.
8934 Update use_initgroups_entry if this is not the first call.
8935 * nss/databases.def: Add initgroups entry.
8937 * nss/makedb.c (compute_tables): Check result of multiple hash table
8938 sizes to minimize maximum chain length.
8940 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8942 * Versions.def: Add entry for libnss_db.
8943 * shlib-versions: Likewise.
8944 * nss/Makefile: Add rules to build libnss_db.
8945 * nss/Versions: Add libnss_db information. Organize libnss_files
8947 * nss/db-Makefile: Add gshadow support. Change rules for the new
8948 makedb progra. Some minor improvements to generate smaller files.
8949 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8951 * nss/makedb.c: ...here.
8952 Improve database format to be smaller and require less memory at
8954 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8956 * nss/nss_db/db-netgrp.c: Likewise.
8957 * nss/nss_db/db-open.c: Likewise.
8958 * nss/nss_files/flies-XXX.x: Adjust comments.
8959 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8960 * nss/nss_files/files-grp.c: Likewise.
8961 * nss/nss_files/files-hosts.c: Likewise.
8962 * nss/nss_files/files-network.c: Likewise.
8963 * nss/nss_files/files-proto.c: Likewise.
8964 * nss/nss_files/files-pwd.c: Likewise.
8965 * nss/nss_files/files-rpc.c: Likewise.
8966 * nss/nss_files/files-service.c: Likewise.
8967 * nss/nss_files/files-sgrp.c: Likewise.
8968 * nss/nss_files/files-spwd.c: Likewise.
8969 * nss/nss_db/db-alias.c: Removed.
8970 * nss/nss_db/dummy-db.h: Removed.
8972 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8974 * nss/makedb.c: Rewritten to not use database library.
8975 * nss/Makefile: Update to build new makedb program.
8977 2011-06-14 Andreas Jaeger <aj@suse.de>
8979 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8982 2011-06-10 Andreas Schwab <schwab@redhat.com>
8984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8987 2011-06-10 Roland McGrath <roland@hack.frob.com>
8989 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8990 * elf/Makefile ($(objpfx)ld.so): Likewise.
8992 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8993 Don't list ld.so twice in dependencies.
8995 * posix/bug-regex31.c: Include <stdlib.h>.
8997 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8999 * nis/nss_compat/compat-spwd.c
9000 (getspent_next_nss_netgr): Remove unused variable.
9001 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9003 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9004 nonmembers" output to use the right array.
9006 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9008 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9010 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9011 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9012 * catgets/gencat.c (read_input_file): Likewise.
9013 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9015 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9016 variable definition inside #if's controlling its use.
9018 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9020 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9022 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9024 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9027 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9029 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9030 * configure: Regenerated.
9032 * Makerules: Revert last change.
9033 * elf/Makefile: Likewise.
9035 2011-06-09 Roland McGrath <roland@hack.frob.com>
9037 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9038 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9039 (reloc-link): Likewise.
9041 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9043 * elf/Makefile: Add rules to build pldd.
9044 * elf/pldd.c: New file.
9045 * elf/pldd-xx.c: New file.
9047 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9049 * version.h: Update for 2.15 development version.
9051 2011-06-07 David S. Miller <davem@davemloft.net>
9053 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9056 elf_machine_lazy_rel): Likewise.
9057 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9059 elf_machine_lazy_rel): Likewise.
9060 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9061 dl_hwcap via passed in argument.
9062 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9065 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9067 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9069 2011-06-06 Roland McGrath <roland@hack.frob.com>
9072 * manual/fdl-1.1.texi: New file, verbatim from:
9073 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9074 * manual/lgpl-2.1.texi: New file, verbatim from:
9075 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9076 * manual/Makefile (licenses): New variable, list those new file names.
9078 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9080 * manual/fdl.texi: File removed.
9081 * manual/lesser.texi: File removed.
9082 * manual/libc.texinfo (Copying, Documentation License):
9083 Use new @include file names, put @appendix directive before @include.
9085 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9088 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9089 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9090 (mq_open): Add __NTH.
9092 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9095 Assume Intel Core i3/i5/i7 processor if AVX is available.
9097 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9102 2011-05-31 Andreas Schwab <schwab@redhat.com>
9104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9105 memory. Use alloca_account. Fix memory leak when retrying.
9107 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9109 * version.h (RELEASE): Bump for 2.14 release.
9110 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9112 * config.make.in (RANLIB): Remove entry.
9114 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9116 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9117 (libc.pot): Work around missing support for .ksh extension in xgettext.
9120 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9121 if both request failed.
9122 (send_dg): In case of server errors clear resplen or *resplen2.
9125 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9126 when there are multiple maps.
9127 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9128 (_dl_fini): Remove test here.
9130 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9132 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9135 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9136 bit from old_res_options.
9137 (gaih_inet): Likewise.
9140 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9143 * resolv/res_init.c (res_setoptions): Make the code more compact.
9146 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9150 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9152 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9155 * malloc/malloc.h: Declare malloc hook variables as volatile.
9157 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9161 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9162 raise in the comment.
9163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9165 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9167 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9170 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9171 grow the buffers more if it already has to be sufficient.
9172 (build_wcs_upper_buffer): Likewise.
9173 * posix/regexec.c (check_matching): Likewise.
9174 (clean_state_log_if_needed): Likewise.
9175 (extend_buffers): Don't enlarge buffers beyond size of the input
9177 Patches mostly by Emil Wojak <emil@wojak.eu>.
9178 * posix/bug-regex32.c: New file.
9179 * posix/Makefile (tests): Add bug-regex32.
9181 * locale/findlocale.c (_nl_find_locale): Return right away if
9182 _nl_explode_name failed.
9183 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9185 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9187 * debug/xtrace.sh: Unify messages.
9188 * malloc/memusage.sh: Likewise.
9191 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9192 time symbol from vDSO. Substitute with vsyscall if not available.
9193 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9196 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9197 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9198 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9199 Add sendmmsg and internal_sendmmsg.
9200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9201 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9202 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9204 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9205 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9208 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9211 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9212 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9218 * iconvdata/Makefile (tests): Add bug-iconv9.
9219 * iconvdata/bug-iconv9.c: New file.
9221 2011-05-27 Andreas Schwab <schwab@redhat.com>
9224 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9226 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9229 (struct user_regs_struct): Change intcs field back to cs.
9231 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9233 * po/ja.po: Update from translation team.
9235 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9238 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9239 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9241 2011-05-20 Andreas Schwab <schwab@redhat.com>
9243 * stdlib/longlong.h: Update from GCC.
9245 2011-05-23 Andreas Schwab <schwab@redhat.com>
9247 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9249 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9251 (__sysconf): Pass it down.
9253 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9256 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9258 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9259 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9260 add in in __libc_use_alloca calls. Adjust callers.
9261 (glob): Use malloc in some situations.
9263 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9264 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9267 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9269 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9270 and CLOCK_BOOTTIME_ALARM.
9273 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9276 * string/_strerror.c (__strerror_r): Print negative errors as signed
9280 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9281 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9282 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9284 * configure.in: Fix typo in redirection and correct removal of test
9288 * locale/setlocale.c (new_composite_name): Fix test to check for
9289 identical name of all categories.
9292 * libio/filedoalloc.c (local_isatty): New function.
9293 (_IO_file_doallocate): Use local_isatty.
9294 * stdio-common/perror.c (perror): In case a new stream is used
9295 forward the stream error.
9296 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9299 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9304 * include/alloca.h (extend_alloca_account): Define.
9307 * posix/regex.h: Fix comments with documentation of user-accessible
9308 fields after compilation and describe correct free'ing of pattern
9309 after re_compile_pattern.
9310 Patch by Reuben Thomas <rrt@sc3d.org>.
9312 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9314 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9315 and -mno-altivec to prevent the compiler from using Altivec and/or
9316 VSX instructions when the corresponding registers are not available.
9318 2011-05-19 Andreas Schwab <schwab@redhat.com>
9320 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9322 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9324 * libio/freopen.c (freopen): Use __dup2, not dup2.
9325 * libio/freopen64.c (freopen64): Likewise.
9327 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9330 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9331 * math/Makefile (tests): Add test-powl.
9332 (CFLAGS-test-powl.c): Define.
9333 * math/test-powl.c: New file.
9335 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9337 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9339 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9342 * iconvdata/gb18030.c: Update to GB18020-2005.
9344 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9346 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9347 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9348 Patch by Aharon Robbins <arnold@skeeve.com>.
9351 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9355 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9359 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9360 point to strings before performing equality test for error_one_per_line
9364 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9368 (struct user_fpregs_struct): Avoid __uint*_t types.
9371 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9372 symbol info. Use it instead of calling _dl_addr locally.
9373 (lock_and_info): New function.
9374 (tr_freehook): Call lock_and_info and pass symbol info as additional
9375 parameter to tr_where.
9376 (tr_mallochook): Likewise.
9377 (tr_reallochook): Likewise.
9378 (tr_memalignhook): Likewise.
9380 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9381 used and couldn't be at all thread-safe.
9383 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9385 * libio/freopen.c (freopen): Don't close old file descriptor
9386 before the new one is opened. Instead dup the new file descriptor
9387 to the old one after the new stream is created.
9388 * libio/freopen64.c (freopen64): Likewise.
9389 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9390 * libio/fileops.c (_IO_new_file_close_it): Handle new
9391 _IO_FLAGS2_NOCLOSE flag.
9392 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9393 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9394 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9395 _IO_FLAGS2_NOCLOSE flag.
9396 * include/unistd.h: Add hidden_proto for dup3.
9398 * io/dup3.c: Define hidden symbol.
9399 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9402 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9403 when an incomplete long option is used.
9404 * posix/tst-getopt_long1.c: New file.
9405 * posix/Makefile (tests): Add tst-getopt_long1.
9408 * scripts/config.guess: Update from autoconf-2.68.
9409 * scripts/config.sub: Likewise.
9412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9414 (has_cpuclock): ...this. New function.
9415 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9416 macro here based on has_cpuclock code.
9419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9420 First byte (not low byte) is now always NUL.
9421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9424 Use non-cancelable interfaces.
9427 * locale/iso-639.def: Add entry for Sorani.
9430 * include/stdlib.h: Move include protection to the right place.
9431 Define abort_msg_s. Declare __abort_msg with it.
9432 * stdlib/abort.c (__abort_msg): Adjust type.
9433 * assert/assert.c (__assert_fail_base): New function. Majority
9434 of code from __assert_fail. Allocate memory for __abort_msg with
9436 (__assert_fail): Now call __assert_fail_base.
9437 * assert/assert-perr.c: Remove bulk of implementation. Use
9439 * include/assert.hL Declare __assert_fail_base.
9440 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9442 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9444 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9448 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9449 until all modules are registered in the DTV.
9450 * elf/Makefile: Add rules to build and run tst-tls19.
9451 * elf/tst-tls19.c: New file.
9452 * elf/tst-tls19mod1.c: New file.
9453 * elf/tst-tls19mod2.c: New file.
9454 * elf/tst-tls19mod3.c: New file.
9455 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9458 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9462 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9463 two-byte sequence errors.
9464 * iconvdata/Makefile (tests): Add bug-iconv8.
9465 * iconvdata/bug-iconv8.c: New file.
9468 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9471 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9474 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9475 (dummy_getcfa): New function.
9476 (init): Get _Unwind_GetCFA address, use dummy if not found.
9477 (backtrace_helper): In recursion check, also check whether CFA changes.
9478 (__backtrace): Completely initialize arg.
9480 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9481 storing incomplete byte sequence in state object. Avoid testing for
9482 guaranteed too small input if we know there is enough data available.
9484 2011-05-11 Andreas Schwab <schwab@redhat.com>
9486 * Makeconfig (+link-pie): Indent.
9487 * Rules (binaries-pie): Define if $(have-fpie) and
9489 (binaries-shared): Also filter out $(binaries-pie).
9490 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9491 * nscd/Makefile (others-pie): Add nscd.
9492 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9493 ($(objpfx)nscd): Remove command override.
9494 * login/Makefile (others-pie): Add pt_chown.
9495 ($(objpfx)pt_chown): Remove command override.
9496 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9497 remove command overrides.
9499 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9501 * libio/tst_putwc.c: Fix error messages.
9504 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9505 currently writing and seek to current position when not.
9506 * libio/Makefile (tests): Add bug-fclose1.
9507 * libio/bug-fclose1.c: New file.
9509 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9512 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9513 don't set DF_1_NODELETE here.
9514 (do_lookup_x): When entering new entry test for copy relocation
9515 and if necessary set DF_1_NODELETE flag.
9516 * elf/tst-unique4.cc: New file.
9517 * elf/tst-unique4.h: New file.
9518 * elf/tst-unique4lib.cc: New file.
9519 * elf/Makefile: Add rules to build and run tst-unique4.
9520 Patch by Piotr Bury <pbury@goahead.com>.
9522 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9525 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9528 * misc/mntent_r.c (addmntent): Flush the stream after the output
9531 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9532 (is_trusted_path_normalize): Skip initial colon. Append slash
9533 to empty buffer. Duplicate is_trusted_path code but allow
9534 constructed patch to be prefix.
9535 (is_dst): Allow $ORIGIN followed by /.
9536 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9537 Correct testing of result of is_trusted_path_normalize
9538 (decompose_rpath): Fix warning.
9540 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9543 * grp/initgroups.c (internal_getgrouplist): When we found the service
9544 list through the initgroups entry in nsswitch.conf do not always
9545 continue on a successful lookup. Don't always use the
9546 __nss_group_database value if it is set.
9547 * nss/nsswitch.conf (initgroups): Change action for successful db
9548 lookup to continue for compatibility.
9550 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9553 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9555 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9557 * iconvdata/tst-tables.sh: Likewise.
9558 * iconvdata/cp770.c: New file.
9559 * iconvdata/cp771.c: New file.
9560 * iconvdata/cp772.c: New file.
9561 * iconvdata/cp773.c: New file.
9562 * iconvdata/cp774.c: New file.
9563 * iconvdata/testdata/CP770: New file.
9564 * iconvdata/testdata/CP770..UTF8: New file.
9565 * iconvdata/testdata/CP771: New file.
9566 * iconvdata/testdata/CP771..UTF8: New file.
9567 * iconvdata/testdata/CP772: New file.
9568 * iconvdata/testdata/CP772..UTF8: New file.
9569 * iconvdata/testdata/CP773: New file.
9570 * iconvdata/testdata/CP773..UTF8: New file.
9571 * iconvdata/testdata/CP774: New file.
9572 * iconvdata/testdata/CP774..UTF8: New file.
9574 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9576 * iconvdata/gen-8bit-gap.sh: Likewise.
9577 * iconvdata/gen-8bit.sh: Likewise.
9579 * locale/iso-639.def: Add ary entry.
9582 * locale/C-translit.h.in: Add U20A1 transliteration.
9585 * locale/iso-639.def: Add wae entry.
9586 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9589 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9593 * locale/C-translit.h.in: Add entry for U20B9.
9594 Patch by pravin.d.s@gmail.com.
9596 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9599 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9600 ENAMETOOLONG use generic getcwd.
9601 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9602 in rtld. Use *stat64.
9603 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9604 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9605 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9606 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9607 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9608 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9609 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9611 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9612 * dirent/rewinddir.c: Add libc_hidden_def.
9613 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9614 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9616 * include/dirent.h (__alloc_dir): Add flags parameter.
9617 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9618 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9620 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9621 from fdopendir if O_CLOEXEC is already set.
9623 2011-03-15 Alan Modra <amodra@gmail.com>
9625 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9626 l_tls_firstbyte_offset non-zero. Save padding offset in
9627 l_tls_firstbyte_offset for later use.
9628 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9629 freeing static tls block.
9631 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9633 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9634 where #ifdef was intended. The intent is to prevent ARG_MAX from
9635 being defined by the kernel headers.
9637 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9640 * resolv/resolv.h: Define RES_NOTLDQUERY.
9641 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9642 no-tld-query and set RES_NOTLDQUERY.
9643 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9644 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9645 modern BIND to search name as TLD unless forbidden.
9647 2011-05-07 Petr Baudis <pasky@suse.cz>
9648 Ulrich Drepper <drepper@gmail.com>
9651 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9652 (is_trusted_path): ...to here.
9653 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9654 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9655 using is_trusted_path_normalize() in setuid scripts.
9657 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9659 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9660 __BEGIN/__END_DECLS.
9662 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9665 NSS_STATUS_NOTFOUND if no record was found.
9667 2011-05-05 Andreas Schwab <schwab@redhat.com>
9669 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9670 (headers-not-in-tirpc): Remove rpc/netdb.h
9671 * resolv/netdb.h: Revert last change.
9673 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9675 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9676 circular dependency between libgcc.a and libc.a.
9678 2011-05-05 Andreas Schwab <schwab@redhat.com>
9680 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9681 * nis/Makefile: Don't install rpcsvc/*.
9682 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9683 instead of <rpc/types.h>.
9684 (MAXHOSTNAMELEN): Define.
9686 2011-05-03 Andreas Schwab <schwab@redhat.com>
9688 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9690 2011-04-28 Maciej Babinski <mbabinski@google.com>
9693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9694 gethostbyname4_r when IPv6 results are possible.
9696 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9700 _PC_PIPE_BUF handling.
9702 2011-04-30 Bruno Haible <bruno@clisp.org>
9705 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9706 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9708 * inet/getnameinfo.c (getnameinfo): Likewise.
9710 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9712 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9713 to groups setting in database lookup.
9714 * nss/nsswitch.conf: Add initgroups entry.
9716 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9719 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9721 Patch by Eric Blake <eblake@redhat.com>.
9723 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9725 * sunrpc/Makefile (need-export-routines): Add svc_run.
9726 (routines): Remove svc_run.
9727 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9728 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9729 * sunrpc/svc_run.c (svc_run): Likewise.
9730 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9732 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9735 problem in reallocation in last patch.
9737 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9739 * sunrpc/Makefile: Move inclusion of Rules.
9741 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9743 * nss/nss_files/files-initgroups.c: New file.
9744 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9745 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9746 _nss_files_initgroups_dyn.
9748 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9750 * elf/elf.h (R_ARM_IRELATIVE): Define.
9752 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9754 * po/ru.po: Update from translation team.
9756 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9758 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9761 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9765 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9770 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9778 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9783 * stdlib/bug-getcontext.c: New file.
9784 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9786 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9788 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9789 instructions into .machine "z9-109".
9790 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9791 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9793 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9795 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9796 between environment variables and auxiliary vector.
9798 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9800 * Makefile: Add rules to build linkobj/libc.so.
9801 * include/libc-symbols.h: Define libc_hidden_nolink.
9802 * include/rpc/auth.h: Mark functions which are to be hidden.
9803 * include/rpc/auth_des.h: Likewise.
9804 * include/rpc/auth_unix.h: Likewise.
9805 * include/rpc/clnt.h: Likewise.
9806 * include/rpc/des_crypt.h: Likewise.
9807 * include/rpc/key_prot.h: Likewise.
9808 * include/rpc/pmap_clnt.h: Likewise.
9809 * include/rpc/pmap_prot.h: Likewise.
9810 * include/rpc/pmap_rmt.h: Likewise.
9811 * include/rpc/rpc_msg.h: Likewise.
9812 * include/rpc/svc.h: Likewise.
9813 * include/rpc/svc_auth.h: Likewise.
9814 * include/rpc/xdr.h: Likewise.
9815 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9816 * nss/Makefile: Likewise.
9817 * sunrpc/Makefile: Don't install headers. Build library with normal
9818 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9819 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9820 for the compat linking library. Remove use of INTDEF/INTUSE.
9821 * sunrpc/auth_none.c: Likewise.
9822 * sunrpc/auth_unix.c: Likewise.
9823 * sunrpc/authdes_prot.c: Likewise.
9824 * sunrpc/authuxprot.c: Likewise.
9825 * sunrpc/clnt_gen.c: Likewise.
9826 * sunrpc/clnt_perr.c: Likewise.
9827 * sunrpc/clnt_raw.c: Likewise.
9828 * sunrpc/clnt_simp.c: Likewise.
9829 * sunrpc/clnt_tcp.c: Likewise.
9830 * sunrpc/clnt_udp.c: Likewise.
9831 * sunrpc/clnt_unix.c: Likewise.
9832 * sunrpc/des_crypt.c: Likewise.
9833 * sunrpc/des_soft.c: Likewise.
9834 * sunrpc/get_myaddr.c: Likewise.
9835 * sunrpc/key_call.c: Likewise.
9836 * sunrpc/key_prot.c: Likewise.
9837 * sunrpc/netname.c: Likewise.
9838 * sunrpc/pm_getmaps.c: Likewise.
9839 * sunrpc/pm_getport.c: Likewise.
9840 * sunrpc/pmap_clnt.c: Likewise.
9841 * sunrpc/pmap_prot.c: Likewise.
9842 * sunrpc/pmap_prot2.c: Likewise.
9843 * sunrpc/pmap_rmt.c: Likewise.
9844 * sunrpc/publickey.c: Likewise.
9845 * sunrpc/rpc_cmsg.c: Likewise.
9846 * sunrpc/rpc_common.c: Likewise.
9847 * sunrpc/rpc_dtable.c: Likewise.
9848 * sunrpc/rpc_prot.c: Likewise.
9849 * sunrpc/rpc_thread.c: Likewise.
9850 * sunrpc/rtime.c: Likewise.
9851 * sunrpc/svc.c: Likewise.
9852 * sunrpc/svc_auth.c: Likewise.
9853 * sunrpc/svc_authux.c: Likewise.
9854 * sunrpc/svc_raw.c: Likewise.
9855 * sunrpc/svc_run.c: Likewise.
9856 * sunrpc/svc_simple.c: Likewise.
9857 * sunrpc/svc_tcp.c: Likewise.
9858 * sunrpc/svc_udp.c: Likewise.
9859 * sunrpc/svc_unix.c: Likewise.
9860 * sunrpc/svcauth_des.c: Likewise.
9861 * sunrpc/xcrypt.c: Likewise.
9862 * sunrpc/xdr.c: Likewise.
9863 * sunrpc/xdr_array.c: Likewise.
9864 * sunrpc/xdr_float.c: Likewise.
9865 * sunrpc/xdr_intXX_t.c: Likewise.
9866 * sunrpc/xdr_mem.c: Likewise.
9867 * sunrpc/xdr_rec.c: Likewise.
9868 * sunrpc/xdr_ref.c: Likewise.
9869 * sunrpc/xdr_sizeof.c: Likewise.
9870 * sunrpc/xdr_stdio.c: Likewise.
9872 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9875 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9876 * sysdeps/ia64/dl-tls.h: Likewise.
9877 * sysdeps/powerpc/dl-tls.h: Likewise.
9878 * sysdeps/s390/dl-tls.h: Likewise.
9879 * sysdeps/sh/dl-tls.h: Likewise.
9880 * sysdeps/sparc/dl-tls.h: Likewise.
9881 * sysdeps/x86_64/dl-tls.h: Likewise.
9882 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9884 2011-03-14 Andreas Schwab <schwab@redhat.com>
9886 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9887 rpath element also skip the following colon.
9888 (expand_dynamic_string_token): Add is_path parameter and pass
9889 down to DL_DST_REQUIRED and _dl_dst_substitute.
9890 (decompose_rpath): Call expand_dynamic_string_token with
9891 non-zero is_path. Ignore empty rpaths.
9892 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9895 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9900 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9903 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9904 Patch by Filipe David Manana <fdmanana@apache.org>.
9906 2011-04-07 Andreas Schwab <schwab@redhat.com>
9908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9909 Maintain aligned stack.
9910 (CHECK_RSP): Remove unused macro.
9912 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9914 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9915 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9917 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9919 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9921 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9923 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9926 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9927 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9928 * sysdeps/x86_64/memmove.c: New file.
9929 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9930 (memcpy): Renamed to ...
9931 (__new_memcpy): This.
9932 (memcpy): Provide GLIBC_2_14 memcpy.
9933 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9934 (memcpy): Provide GLIBC_2_2_5 memcpy.
9936 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9939 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9941 2011-03-30 Andreas Schwab <schwab@redhat.com>
9943 * misc/syncfs.c: New file.
9944 * misc/Makefile (routines): Add syncfs.
9945 * posix/unistd.h: Declare syncfs.
9946 * sysdeps/unix/syscalls.list: Add syncfs.
9948 2011-04-01 Andreas Schwab <schwab@redhat.com>
9950 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9957 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9960 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9964 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9970 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9971 sync_file_range.c with -fexceptions.
9972 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9973 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9974 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9975 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9976 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9979 sync_file_range as cancellation point
9980 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9981 now a wrapper around __call_sync_file_range with cancellation handling.
9982 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9983 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9984 function name to __call_sync_file_range.
9985 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9986 Add call_sync_file_range.
9988 2011-04-01 Andreas Schwab <schwab@redhat.com>
9990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9993 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9995 * iconv/iconv.h: Fix typo in comment.
9996 * io/fcntl.h: Likewise.
9997 * libio/stdio.h: Likewise.
9998 * posix/spawn.h: Likewise.
9999 * posix/unistd.h: Likewise.
10000 * stdlib/stdlib.h: Likewise.
10001 * time/time.h: Likewise.
10002 * wcsmbs/wchar.h: Likewise.
10004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10005 open_by_handle): Add.
10006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10007 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10008 Augment a few comments.
10009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10014 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10017 * io/fcntl.h (AT_EMPTY_PATH): Define.
10019 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10021 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10022 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10023 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10025 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10026 * Versions.def: Add GLIBC_2.14.
10027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10030 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10032 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10034 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10036 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10039 * string/test-strncmp.c (do_page_test): New function.
10040 (check2): Likewise.
10041 (test_main): Call check2.
10042 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10044 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10048 Handle cache information in CPU leaf 4.
10049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10051 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10054 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10055 character representation.
10056 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10058 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10060 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10061 END(__isnan) to END(__isnanf) to match function entry point/label
10062 EALIGN(__isnanf,...).
10064 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10066 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10068 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10071 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10072 copy from the symbol referenced in the relocation to initialize the
10074 Patch by Piotr Bury <pbury@goahead.com>.
10075 * elf/Makefile: Add rules to build and tst-unique3.
10076 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10077 * elf/tst-unique3.cc: New file.
10078 * elf/tst-unique3.h: New file.
10079 * elf/tst-unique3lib.cc: New file.
10080 * elf/tst-unique3lib2.cc: New file.
10082 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10084 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10086 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10087 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10090 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10092 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10093 to-be-loaded object along a path to loader is ld.so.
10095 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10096 Ulrich Drepper <drepper@gmail.com>
10098 * sysdeps/x86_64/memset.S: After aligning destination, code
10099 branches to different locations depending on the value of
10100 misalignment, when multiarch is enabled. Fix this.
10102 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10104 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10105 Set _x86_64_preferred_memory_instruction for AMD processsors.
10106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10107 Set bit_Prefer_SSE_for_memop for AMD processors.
10109 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10111 * libio/fmemopen.c (fmemopen): Optimize a bit.
10113 2011-03-03 Andreas Schwab <schwab@redhat.com>
10115 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10117 2011-03-03 Roland McGrath <roland@redhat.com>
10119 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10121 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10123 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10124 __bzero_ultra1 instead of __memset_ultra1.
10126 2011-02-23 Andreas Schwab <schwab@redhat.com>
10127 Ulrich Drepper <drepper@gmail.com>
10130 * include/link.h (struct link_map): Add l_orig_initfini.
10131 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10132 returning unsuccessfully.
10133 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10134 close of a file loaded at startup, restore the original l_initfini
10136 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10137 list, store the pointer.
10138 * elf/Makefile ($(objpfx)noload-mem): New rule.
10139 (noload-ENV): Define.
10140 (tests): Add $(objpfx)noload-mem.
10141 * elf/noload.c: Include <memcheck.h>.
10142 (main): Call mtrace. Close all opened handles.
10144 2011-02-17 Andreas Schwab <schwab@redhat.com>
10147 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10148 dependencies are missing.
10150 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10152 Fix __if_freereq crash: Unlike the generic version which uses free,
10154 * sysdeps/mach/hurd/ifreq.h: New file.
10156 2011-01-27 Petr Baudis <pasky@suse.cz>
10157 Ulrich Drepper <drepper@gmail.com>
10160 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10161 to extend_alloca().
10162 * stdio-common/bug23.c: New file.
10163 * stdio-common/Makefile (tests): Add bug23.
10165 2010-09-28 Andreas Schwab <schwab@redhat.com>
10166 Ulrich Drepper <drepper@gmail.com>
10169 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10170 before performing relro protection. At old place add assertion
10171 to make sure nothing changed.
10173 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10174 Glauber de Oliveira Costa <glommer@gmail.com>
10176 * elf/elf.h: Add new ARM TLS relocs.
10178 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10181 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10183 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10185 * sysdeps/wordsize-64/tst-writev.c: New file.
10187 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10189 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10190 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10191 insns in _dl_start to prevent a TOC reference before relocs are
10194 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10197 * Makeconfig: Remove RANLIB definition.
10198 * Makerules: Don't use RANLIB.
10199 * aclocal.m4: Remove ranlib test.
10200 * configure.in: No need to check for ranlib.
10201 * elf/rtld-Rules: Don't use RANLIB.
10203 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10205 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10207 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10208 inclusion protection macro.
10210 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10211 SIGRTMIN and SIGRTMAX and print information in that case only when
10212 SIGRTMIN is defined.
10214 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10216 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10217 arginfo fn returning -1.
10219 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10220 and thousands string is zero terminated.
10222 2011-02-03 Andreas Schwab <schwab@redhat.com>
10224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10225 sysdeps/unix/sysv/linux/bits/socket.h.
10227 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10229 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10230 (__CPU_COUNT): Remove old macros.
10231 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10232 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10233 (__CPU_ALLOC, __CPU_FREE): Add macros.
10234 (__sched_cpualloc, __sched_cpufree): Add declarations.
10236 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10238 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10239 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10240 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10241 (readdhstai): Return value of addhstaiX call.
10242 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10243 (addgrbyX): Return value returned by cache_addgr.
10244 (readdgrbyname): Return value returned by addgrbyX.
10245 (readdgrbygid): Likewise.
10246 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10247 (addpwbyX): Return value returned by cache_addpw.
10248 (readdpwbyname): Return value returned by addhstbyX.
10249 (readdpwbyuid): Likewise.
10250 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10251 (addservbyX): Return value returned by cache_addserv.
10252 (readdservbyname): Return value returned by addservbyX:
10253 (readdservbyport): Likewise.
10254 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10255 (addhstbyX): Return value returned by cache_addhst.
10256 (readdhstbyname): Return value returned by addhstbyX.
10257 (readdhstbyaddr): Likewise.
10258 (readdhstbynamev6): Likewise.
10259 (readdhstbyaddrv6): Likewise.
10260 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10261 (readdinitgroups): Return value returned by addinitgroupsX.
10262 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10263 (prune_cache): Keep track of timeout value of re-added entries.
10264 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10265 * nscd/nscd.h: Adjust prototypes of readd* functions.
10267 2011-02-04 Roland McGrath <roland@redhat.com>
10269 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10270 (nis_stats): Likewise.
10271 * nis/nis_modify.c (nis_modify): Likewise.
10272 * nis/nis_remove.c (nis_remove): Likewise.
10273 * nis/nis_add.c (nis_add): Likewise.
10275 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10277 * posix/fnmatch_loop.c: Add some consts.
10279 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10281 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10284 * config.make.in (config-cflags-novzeroupper): Define.
10285 * configure.in: Substitute libc_cv_cc_novzeroupper.
10286 * elf/Makefile (AVX-CFLAGS): Define.
10287 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10288 (CFLAGS-tst-auditmod4a.c): Likewise.
10289 (CFLAGS-tst-auditmod4b.c): Likewise.
10290 (CFLAGS-tst-auditmod6b.c): Likewise.
10291 (CFLAGS-tst-auditmod6c.c): Likewise.
10292 (CFLAGS-tst-auditmod7b.c): Likewise.
10293 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10295 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10297 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10298 function to the callback.
10299 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10301 2011-02-02 Andreas Schwab <schwab@redhat.com>
10303 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10306 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10309 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10311 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10313 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10316 * elf/Makefile: Add rules to build and run new test.
10317 * elf/tst-initorder.c: New file.
10318 * elf/tst-initorder.exp: New file.
10319 * elf/tst-initordera1.c: New file.
10320 * elf/tst-initordera2.c: New file.
10321 * elf/tst-initordera3.c: New file.
10322 * elf/tst-initordera4.c: New file.
10323 * elf/tst-initorderb1.c: New file.
10324 * elf/tst-initorderb2.c: New file.
10325 * elf/tst-order-a1.c: New file.
10326 * elf/tst-order-a2.c: New file.
10327 * elf/tst-order-a3.c: New file.
10328 * elf/tst-order-a4.c: New file.
10329 * elf/tst-order-b1.c: New file.
10330 * elf/tst-order-b2.c: New file.
10331 * elf/tst-order-main.c: New file.
10332 New test case by George Gensure <werkt0@gmail.com>.
10334 2010-10-01 Andreas Schwab <schwab@redhat.com>
10336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10337 decoding ACE if AI_CANONIDN.
10339 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10341 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10343 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10345 * version.h (RELEASE): Bump for 2.13 release.
10346 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10348 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10352 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10353 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10354 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10355 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10357 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10359 * posix/getconf.c: Update copyright year.
10360 * catgets/gencat.c: Likewise.
10361 * csu/version.c: Likewise.
10362 * debug/catchsegv.sh: Likewise.
10363 * debug/xtrace.sh: Likewise.
10364 * elf/ldconfig.c: Likewise.
10365 * elf/ldd.bash.in: Likewise.
10366 * elf/sprof.c (print_version): Likewise.
10367 * iconv/iconv_prog.c: Likewise.
10368 * iconv/iconvconfig.c: Likewise.
10369 * locale/programs/locale.c: Likewise.
10370 * locale/programs/localedef.c: Likewise.
10371 * malloc/memusage.sh: Likewise.
10372 * malloc/mtrace.pl: Likewise.
10373 * nscd/nscd.c (print_version): Likewise.
10374 * nss/getent.c: Likewise.
10376 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10377 PF_CAIF, and PF_ALG.
10378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10380 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10382 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10383 (modules-names): Use them.
10384 (ifunc-test-modules, ifunc-pie-tests): Define.
10385 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10386 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10387 (test-extras): Likewise.
10388 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10389 $(compile-command.c).
10390 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10391 (all-built-dso): Define.
10392 (check-textrel.out, check-execstack.out): Depend on it.
10394 * configure.in: Don't override --enable-multi-arch.
10396 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10399 * nscd/hstcache.c (tryagain): Define.
10400 (cache_addhst): Return tryagain not notfound for temporary errors.
10401 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10404 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10408 to make the syscall.
10409 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10412 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10413 and fall back to matching as normal character if the string ends before
10414 the matching ']' is found. This is what POSIX requires.
10415 * posix/testfnm.c: Adjust test result.
10416 * posix/globtest.sh: Adjust test result. Add new test.
10417 * posix/tst-fnmatch.input: Likewise.
10418 * posix/tst-fnmatch2.c: Add new test.
10420 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10422 * elf/Makefile (check-execstack): Revert last change. Depend on
10424 (check-execstack.h): New target.
10425 (generated): Add check-execstack.h.
10426 * elf/check-execstack.c: Include "check-execstack.h".
10427 (main): Revert last change.
10428 (handle_file): Return zero if GNU_STACK is absent and
10429 DEFAULT_STACK_PERMS doesn't include PF_X.
10431 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10433 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10434 in child fails because the descriptor is already closed.
10435 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10436 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10437 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10440 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10444 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10445 temporary buffer used to handle multi lookups locally.
10446 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10448 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10450 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10453 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10455 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10456 alignment for SSE2.
10458 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10461 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10462 characters. When rounding increased number of integer digits recompute
10464 * stdio-common/tst-grouping.c: New file.
10465 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10467 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10469 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10470 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10472 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10474 * bits/select.h: Likewise.
10476 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10478 * po/ja.po: Update from translation team.
10480 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10484 implementation just like for lxstat, fxstatat, et al.
10486 2010-12-27 Jim Meyering <meyering@redhat.com>
10489 * posix/regexec.c (build_trtable): Return failure indication upon
10490 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10492 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10495 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10496 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10497 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10501 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10504 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10505 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10507 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10509 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10510 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10511 script has SORT_BY_INIT_PRIORITY.
10512 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10513 NO_CTORS_DTORS_SECTIONS is defined.
10514 * elf/soinit.c: Likewise.
10515 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10516 NO_CTORS_DTORS_SECTIONS is defined.
10517 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10518 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10519 * sysdeps/sh/init-first.c: Likewise.
10520 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10522 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10524 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10525 always use the slow path.
10527 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10529 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10530 similar rule which adds the sysdep directories to the header search in
10531 order to pick up the correct platform stackinfo.h.
10532 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10533 perform test if it is, otherwise return successfully without testing.
10534 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10535 DEFAULT_STACK_PERMS define in stackinfo.h.
10536 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10537 defined in stackinfo.h.
10538 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10539 DEFAULT_STACK_PERMS defined in stackinfo.h.
10540 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10541 * sysdeps/ia64/stackinfo.h: Likewise.
10542 * sysdeps/s390/stackinfo.h: Likewise.
10543 * sysdeps/sh/stackinfo.h: Likewise.
10544 * sysdeps/sparc/stackinfo.h: Likewise.
10545 * sysdeps/x86_64/stackinfo.h: Likewise.
10546 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10547 PF_X for powerpc64. Retain PF_X for powerpc32.
10549 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10551 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10553 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10554 GETDENTS_64BIT_ALIGNED.
10556 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10558 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10560 2010-12-10 Andreas Schwab <schwab@redhat.com>
10562 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10565 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10566 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10568 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10569 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10571 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10574 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10577 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10579 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10581 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10583 * po/it.po: Update from translation team.
10585 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10590 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10592 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10594 2010-11-24 Andreas Schwab <schwab@redhat.com>
10596 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10598 (gaih_getanswer_slice): Likewise.
10600 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10604 2010-05-31 Petr Baudis <pasky@suse.cz>
10607 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10608 silently even in the chroot mode.
10610 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10613 last patch a bit. Pretty printing
10615 2010-05-31 Petr Baudis <pasky@suse.cz>
10618 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10619 initialization of skip_initgroups_dyn.
10621 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10623 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10624 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10626 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10628 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10630 2010-11-11 Andreas Schwab <schwab@redhat.com>
10632 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10633 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10634 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10635 ($(objpfx)tst-fnmatch-mem): New rule.
10636 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10637 * posix/tst-fnmatch.c (main): Call mtrace.
10639 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10642 Support Intel processor model 6 and model 0x2c.
10644 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10649 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10652 * string/test-strncasecmp.c (check_result): New function.
10653 (do_one_test): Use it.
10654 (check1): New function.
10655 (test_main): Use it.
10656 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10657 Support strcasecmp and strncasecmp.
10659 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10662 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10665 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10667 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10671 * sysdeps/x86_64/multiarch/bzero.S: New file.
10672 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10673 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10674 * sysdeps/x86_64/multiarch/memset.S: New file.
10675 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10677 Set bit_Prefer_SSE_for_memop for Intel processors.
10678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10680 (index_Prefer_SSE_for_memop): Define.
10681 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10683 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10685 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10686 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10688 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10691 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10692 (__x86_64_raw_data_cache_size_half): Likewise.
10693 (__x86_64_raw_shared_cache_size): Likewise.
10694 (__x86_64_raw_shared_cache_size_half): Likewise.
10696 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10697 (__x86_64_raw_data_cache_size_half): Likewise.
10698 (__x86_64_raw_shared_cache_size): Likewise.
10699 (__x86_64_raw_shared_cache_size_half): Likewise.
10700 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10701 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10702 and __x86_64_raw_shared_cache_size_half. Round
10703 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10704 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10705 to multiple of 256 bytes.
10707 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10711 of inacessible symlinks. Verify result of symlink before returning it.
10712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10713 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10715 2010-10-28 Erich Ritz <erichritz@gmail.com>
10717 * math/math.h (isinf): Fix typo in comment.
10719 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10721 * po/da.po: Update from translation team.
10723 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10725 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10726 is added to the list.
10728 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10729 Ulrich Drepper <drepper@gmail.com>
10731 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10732 the global list here. Move code to...
10733 (_dl_add_to_namespace_list): ...here. New function.
10734 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10735 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10736 * elf/dl-load.c (lose): Don't remove the element from the list.
10737 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10738 (_dl_map_object): Likewise.
10740 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10743 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10744 into all bytes of SSE register.
10745 Patch by Richard Li <richardpku@gmail.com>.
10747 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10750 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10753 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10755 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10756 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10763 2010-10-22 Andreas Schwab <schwab@redhat.com>
10765 * include/dlfcn.h (__RTLD_SECURE): Define.
10766 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10767 mode & __RTLD_SECURE instead.
10768 (open_path): Rename preloaded parameter to secure.
10769 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10770 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10771 * elf/dl-deps.c (openaux): Likewise.
10772 * elf/rtld.c (struct map_args): Remove is_preloaded.
10773 (map_doit): Don't use it.
10774 (dl_main): Likewise.
10775 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10776 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10778 2010-09-09 Andreas Schwab <schwab@redhat.com>
10780 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10781 (sysd-rules-targets): Remove duplicates.
10782 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10783 rtld-%.$o dependency.
10785 2010-10-18 Andreas Schwab <schwab@redhat.com>
10787 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10788 _dl_map_object do it.
10790 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10792 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10793 fast fma builtins, define the macros in the C99 standard.
10794 (FP_FAST_FMAF): Likewise.
10795 (FP_FAST_FMAL): Likewise.
10796 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10798 * bits/mathdef.h: Update copyright year.
10799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10801 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10803 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10804 builtins, define the macros in the C99 standard.
10805 (FP_FAST_FMAF): Likewise.
10806 (FP_FAST_FMAL): Likewise.
10807 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10809 (FP_FAST_FMAF): Likewise.
10811 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10814 * math/libm-test.inc (fma_test): Some new testcases.
10815 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10817 y and infinite z. Do multiplication by C already in long double.
10818 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10820 y and infinite z. Do bitwise or of inexact bit into u.d.
10821 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10822 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10823 * sysdeps/i386/fpu/s_fma.S: Removed.
10824 * sysdeps/i386/fpu/s_fmal.S: Removed.
10826 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10829 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10831 computation is not scheduled after fetestexcept. Fix value
10832 of minimum denormal long double.
10834 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10837 * math/libm-test.inc (fma_test): Add some more tests.
10838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10841 2010-10-15 Andreas Schwab <schwab@redhat.com>
10843 * scripts/data/localplt-s390-linux-gnu.data: New file.
10844 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10846 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10849 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10850 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10852 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10854 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10856 if one of x and y is very large and the other is subnormal.
10857 * sysdeps/s390/fpu/s_fmaf.c: New file.
10858 * sysdeps/s390/fpu/s_fma.c: New file.
10859 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10860 * sysdeps/powerpc/fpu/s_fma.S: New file.
10861 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10862 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10863 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10865 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10868 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10871 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10872 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10873 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10874 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10875 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10878 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10881 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10882 * posix/bug-regex31.input: Add test case.
10884 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10886 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10887 * posix/bug-regex31.input: New file.
10890 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10891 (parse_sub_exp): Fix last change, use postorder.
10893 * posix/bug-regex31.c: New file.
10894 * posix/Makefile: Add rules to build and run bug-regex31.
10896 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10899 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10902 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10903 to have entries in sys_siglist.
10906 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10909 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10912 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10913 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10914 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10915 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10916 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10917 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10918 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10919 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10920 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10921 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10922 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10923 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10925 * math/ftestexcept.c (fetestexcept): Likewise.
10926 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10927 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10928 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10929 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10930 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10931 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10932 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10934 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10937 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10940 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10942 * string/bug-strstr1.c: New file.
10943 * string/Makefile: Add rules to build and run bug-strstr1.
10945 2010-10-05 Eric Blake <eblake@redhat.com>
10948 * string/str-two-way.h (two_way_long_needle): Always clear memory
10949 when skipping input due to the shift table.
10951 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10954 * malloc/mcheck.c: Handle large requests.
10957 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10958 for strncmp and strncasecmp.
10959 * string/stratcliff.c: Add tests for strcmp and strncmp.
10960 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10962 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10964 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10967 2010-09-30 Andreas Jaeger <aj@suse.de>
10969 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10970 (CGROUP_SUPER_MAGIC): Define.
10971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10972 Handle btrfs and cgroup file systems.
10973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10976 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10978 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10979 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10981 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10984 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10985 trying to locate the ELF header.
10987 2010-09-27 Andreas Schwab <schwab@redhat.com>
10990 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10991 Mask out sign-bit copies when constructing f_fsid.
10993 2010-09-24 Petr Baudis <pasky@suse.cz>
10995 * debug/stack_chk_fail_local.c: Add missing licence exception.
10996 * debug/warning-nop.c: Likewise.
10998 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11001 implementing getdents64 using getdents syscall, set d_type if
11002 __ASSUME_GETDENTS32_D_TYPE.
11004 2010-09-16 Andreas Schwab <schwab@redhat.com>
11006 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11007 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11009 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11012 * posix/unistd.h: Undo change of feature selection for ftruncate from
11015 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11017 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11020 2010-09-20 Andreas Schwab <schwab@redhat.com>
11022 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11026 2010-09-14 Andreas Schwab <schwab@redhat.com>
11028 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11029 variables after CHECK_SP call.
11030 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11032 2010-09-13 Andreas Schwab <schwab@redhat.com>
11033 Ulrich Drepper <drepper@redhat.com>
11035 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11036 re-relocationg ld.so.
11037 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11038 _dl_init_paths call.
11039 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11042 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11044 * resolv/res_init.c (__res_vinit): Count the default server we added.
11046 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11047 Ulrich Drepper <drepper@redhat.com>
11050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11051 (____longjmp_chk): Use %ebx for saving value across system call.
11054 2010-09-06 Andreas Schwab <schwab@redhat.com>
11056 * manual/Makefile: Don't mix pattern rules with normal rules.
11058 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11060 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11062 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11063 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11064 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11065 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11069 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11072 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11073 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11075 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11077 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11078 * sysdeps/x86_64/addmul_1.S: Likewise.
11079 * sysdeps/x86_64/lshift.S: Likewise.
11080 * sysdeps/x86_64/mul_1.S: Likewise.
11081 * sysdeps/x86_64/rshift.S: Likewise.
11082 * sysdeps/x86_64/sub_n.S: Likewise.
11083 * sysdeps/x86_64/submul_1.S: Likewise.
11085 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11087 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11088 Define __sched_param instead of SCHED_* and sched_param when
11089 <bits/sched.h> is included with __need_schedparam defined.
11090 * bits/sched.h [__need_schedparam]
11091 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11092 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11093 (__defined_schedparam): Define to 1.
11094 (__sched_param): New structure, identical to sched_param.
11095 (__need_schedparam): Undefine.
11097 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11100 (epoll_create1): Declare.
11102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11104 2010-08-31 Andreas Schwab <schwab@redhat.com>
11107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11108 shifting retval into place.
11110 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11112 * nis/rpcsvc/nis.h: Update copyright notice.
11113 * nis/rpcsvc/nis.x: Likewise.
11114 * nis/rpcsvc/nis_callback.h: Likewise.
11115 * nis/rpcsvc/nis_callback.x: Likewise.
11116 * nis/rpcsvc/nis_object.x: Likewise.
11117 * nis/rpcsvc/nis_tags.h: Likewise.
11118 * nis/rpcsvc/yp.h: Likewise.
11119 * nis/rpcsvc/yp.x: Likewise.
11120 * nis/rpcsvc/ypupd.h: Likewise.
11121 * nis/yp_xdr.c: Likewise.
11122 * nis/ypupdate_xdr.c: Likewise.
11124 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11125 mainly the body of pmap_getport. Add parameters to specify timeouts.
11126 (pmap_getport): Use __libc_rpc_getport.
11127 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11128 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11129 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11131 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11136 2010-08-27 Roland McGrath <roland@redhat.com>
11138 * sysdeps/i386/i686/multiarch/Makefile
11139 (CFLAGS-varshift.c): New variable.
11141 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11143 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11144 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11148 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11150 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11152 * sysdeps/x86_64/strlen.S: Unroll the loop.
11153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11154 strlen-sse2 strlen-sse2-bsf.
11155 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11156 __strlen_no_bsf if bit_Slow_BSF is set.
11157 (__strlen_sse42): Removed.
11158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11159 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11161 2010-08-25 Roland McGrath <roland@redhat.com>
11163 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11164 * sysdeps/x86_64/multiarch/varshift.c: New file.
11165 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11166 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11167 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11168 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11170 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11173 strlen-sse2 strlen-sse2-bsf.
11174 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11175 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11176 (__strlen_sse2): Removed.
11177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11180 bit_Slow_BSF for Atom.
11181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11182 (index_Slow_BSF): Define.
11183 (HAS_SLOW_BSF): Define.
11185 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11188 * resolv/res_init.c (__res_vinit): When no server address at all
11189 is given default to loopback.
11191 2010-08-24 Roland McGrath <roland@redhat.com>
11193 * configure.in: Remove config-name.h generation.
11194 * configure: Regenerated.
11195 * config-name.in: File removed.
11196 * scripts/config-uname.sh: New file.
11197 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11198 ($(objdir)config-name.h): New target.
11200 * sunrpc/rpc_parse.h: Avoid nested comment.
11202 2010-08-24 Richard Henderson <rth@redhat.com>
11203 Ulrich Drepper <drepper@redhat.com>
11204 H.J. Lu <hongjiu.lu@intel.com>
11206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11208 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11209 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11210 _mm_alignr_epi8 with _mm_loadu_si128.
11211 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11212 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11213 (__m128i_shift_right): Removed.
11214 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11215 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11216 * sysdeps/x86_64/multiarch/varshift.h: New file.
11217 * sysdeps/x86_64/multiarch/varshift.S: New file.
11219 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11221 * configure.in: Move assembler checks to before sysdep dir checking.
11223 2010-08-20 Petr Baudis <pasky@suse.cz>
11225 * LICENSES: Sync the sunrpc license.
11227 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11229 * sunrpc/auth_des.c: Update copyright notice once again.
11230 * sunrpc/auth_none.c: Likewise.
11231 * sunrpc/auth_unix.c: Likewise.
11232 * sunrpc/authdes_prot.c: Likewise.
11233 * sunrpc/authuxprot.c: Likewise.
11234 * sunrpc/bindrsvprt.c: Likewise.
11235 * sunrpc/clnt_gen.c: Likewise.
11236 * sunrpc/clnt_perr.c: Likewise.
11237 * sunrpc/clnt_raw.c: Likewise.
11238 * sunrpc/clnt_simp.c: Likewise.
11239 * sunrpc/clnt_tcp.c: Likewise.
11240 * sunrpc/clnt_udp.c: Likewise.
11241 * sunrpc/clnt_unix.c: Likewise.
11242 * sunrpc/des_crypt.c: Likewise.
11243 * sunrpc/des_soft.c: Likewise.
11244 * sunrpc/get_myaddr.c: Likewise.
11245 * sunrpc/getrpcport.c: Likewise.
11246 * sunrpc/key_call.c: Likewise.
11247 * sunrpc/key_prot.c: Likewise.
11248 * sunrpc/openchild.c: Likewise.
11249 * sunrpc/pm_getmaps.c: Likewise.
11250 * sunrpc/pm_getport.c: Likewise.
11251 * sunrpc/pmap_clnt.c: Likewise.
11252 * sunrpc/pmap_prot.c: Likewise.
11253 * sunrpc/pmap_prot2.c: Likewise.
11254 * sunrpc/pmap_rmt.c: Likewise.
11255 * sunrpc/rpc/auth.h: Likewise.
11256 * sunrpc/rpc/auth_unix.h: Likewise.
11257 * sunrpc/rpc/clnt.h: Likewise.
11258 * sunrpc/rpc/des_crypt.h: Likewise.
11259 * sunrpc/rpc/key_prot.h: Likewise.
11260 * sunrpc/rpc/netdb.h: Likewise.
11261 * sunrpc/rpc/pmap_clnt.h: Likewise.
11262 * sunrpc/rpc/pmap_prot.h: Likewise.
11263 * sunrpc/rpc/pmap_rmt.h: Likewise.
11264 * sunrpc/rpc/rpc.h: Likewise.
11265 * sunrpc/rpc/rpc_des.h: Likewise.
11266 * sunrpc/rpc/rpc_msg.h: Likewise.
11267 * sunrpc/rpc/svc.h: Likewise.
11268 * sunrpc/rpc/svc_auth.h: Likewise.
11269 * sunrpc/rpc/types.h: Likewise.
11270 * sunrpc/rpc/xdr.h: Likewise.
11271 * sunrpc/rpc_clntout.c: Likewise.
11272 * sunrpc/rpc_cmsg.c: Likewise.
11273 * sunrpc/rpc_common.c: Likewise.
11274 * sunrpc/rpc_cout.c: Likewise.
11275 * sunrpc/rpc_dtable.c: Likewise.
11276 * sunrpc/rpc_hout.c: Likewise.
11277 * sunrpc/rpc_main.c: Likewise.
11278 * sunrpc/rpc_parse.c: Likewise.
11279 * sunrpc/rpc_parse.h: Likewise.
11280 * sunrpc/rpc_prot.c: Likewise.
11281 * sunrpc/rpc_sample.c: Likewise.
11282 * sunrpc/rpc_scan.c: Likewise.
11283 * sunrpc/rpc_scan.h: Likewise.
11284 * sunrpc/rpc_svcout.c: Likewise.
11285 * sunrpc/rpc_tblout.c: Likewise.
11286 * sunrpc/rpc_util.c: Likewise.
11287 * sunrpc/rpc_util.h: Likewise.
11288 * sunrpc/rpcinfo.c: Likewise.
11289 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11290 * sunrpc/rpcsvc/key_prot.x: Likewise.
11291 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11292 * sunrpc/rpcsvc/mount.x: Likewise.
11293 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11294 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11295 * sunrpc/rpcsvc/rex.x: Likewise.
11296 * sunrpc/rpcsvc/rstat.x: Likewise.
11297 * sunrpc/rpcsvc/rusers.x: Likewise.
11298 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11299 * sunrpc/rpcsvc/spray.x: Likewise.
11300 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11301 * sunrpc/rtime.c: Likewise.
11302 * sunrpc/svc.c: Likewise.
11303 * sunrpc/svc_auth.c: Likewise.
11304 * sunrpc/svc_authux.c: Likewise.
11305 * sunrpc/svc_raw.c: Likewise.
11306 * sunrpc/svc_run.c: Likewise.
11307 * sunrpc/svc_simple.c: Likewise.
11308 * sunrpc/svc_tcp.c: Likewise.
11309 * sunrpc/svc_udp.c: Likewise.
11310 * sunrpc/svc_unix.c: Likewise.
11311 * sunrpc/svcauth_des.c: Likewise.
11312 * sunrpc/xcrypt.c: Likewise.
11313 * sunrpc/xdr.c: Likewise.
11314 * sunrpc/xdr_array.c: Likewise.
11315 * sunrpc/xdr_float.c: Likewise.
11316 * sunrpc/xdr_mem.c: Likewise.
11317 * sunrpc/xdr_rec.c: Likewise.
11318 * sunrpc/xdr_ref.c: Likewise.
11319 * sunrpc/xdr_sizeof.c: Likewise.
11320 * sunrpc/xdr_stdio.c: Likewise.
11322 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11325 2010-08-19 Andreas Schwab <schwab@redhat.com>
11327 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11329 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11331 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11333 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11334 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11335 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11336 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11337 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11338 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11340 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11341 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11342 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11343 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11344 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11346 2010-07-26 Anton Blanchard <anton@samba.org>
11348 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11349 * malloc/arena.c (heap_trim): Likewise.
11351 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11353 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11356 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11358 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11360 * sysdeps/i386/elf/Makefile: New file.
11362 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11364 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11365 from fanotify_init.
11366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11369 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11371 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11373 * sysdeps/multiarch/strcmp.S: Likewise.
11375 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11377 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11378 strncase_l-nonascii.
11379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11380 Add strncase_l-ssse3.
11381 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11382 * sysdeps/x86_64/strcmp.S: Likewise.
11383 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11384 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11385 * sysdeps/x86_64/strncase.S: New file.
11386 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11387 * sysdeps/x86_64/strncase_l.S: New file.
11388 * string/Makefile (strop-tests): Add strncasecmp.
11389 * string/test-strncasecmp.c: New file.
11391 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11394 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11395 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11397 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11399 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11401 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11403 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11407 2010-05-01 Alan Modra <amodra@gmail.com>
11409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11410 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11411 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11412 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11413 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11414 tidying. Don't tail-call __sigjmp_save for static lib.
11415 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11417 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11418 (CALL_MCOUNT): Add eh info, and nop after bl.
11419 (TAIL_CALL_SYSCALL_ERROR): New macro.
11420 (PSEUDO_RET): Use it.
11421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11422 Correct save location of integer regs and cr.
11423 (_dl_profile_resolve): Correct cr save location. Delete nops
11424 after bl when SHARED. Reduce cfi size a little by better
11425 placement of cfi directives.
11426 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11427 make a stack frame. Instead use parm save area as a temp.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11429 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11431 Don't make a stack frame for parent, use parm save area.
11432 Increase child stack frame to 112 bytes. Don't save unused reg,
11433 and adjust reg usage. Set up cfi on error recovery and
11434 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11436 (__makecontext): Add dummy nop after jump to exit.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11438 Use correct parm save area and cr save, reduce stack frame.
11439 Correct cfi for possible PSEUDO_RET frame setup.
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11441 Branch to local label emitted by PSEUDO_RET rather than
11444 2010-08-12 Andreas Schwab <schwab@redhat.com>
11447 * locale/programs/locale.c (print_assignment): New function.
11448 (show_locale_vars): Use it.
11450 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11452 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11454 (struct statfs64): Likewise.
11455 (_STATFS_F_FLAGS): Define.
11456 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11457 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11458 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11459 (ST_VALID): Define locally.
11460 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11461 __statvfs_getflags, use the provided value.
11462 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11463 __ASSUME_STATFS_F_FLAGS.
11465 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11468 Add sys/fanotify.h.
11469 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11470 fanotify_mask for GLIBC_2.13.
11471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11472 fanotify_init and fanotify_mark.
11473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11474 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11476 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11478 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11479 prlimit64 for GLIBC_2.13.
11480 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11487 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11490 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11493 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11494 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11496 * nss/Makefile: Add rules to build and run tst-nss-test1.
11497 * shlib-versions: Add entry for libnss_test1.
11498 * nss/nss_test1.c: New file.
11499 * nss/tst-nss-test1.c: New file.
11501 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11502 (__nss_configure_lookup): Set appropriate entry in
11503 __nss_configure_lookup to true.
11504 * nss/nsswitch.h: Define enum with indeces of databases in
11505 databases and __nss_database_custom arrays. Declare
11506 __nss_database_custom.
11507 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11508 to avoid using nscd when custom rules are installed.
11509 * nss/getXXbyYY_r.c: Likewise.
11510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11512 * nss/nss_files/files-parse.c: Whitespace fixes.
11514 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11517 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11518 * posix/fnmatch_loop.c: Likewise.
11520 2010-07-17 Andi Kleen <ak@linux.intel.com>
11522 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11523 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11524 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11525 * Versions.def [GLIBC_2.13]: Add.
11527 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11530 Also fail if tpwd after pwuid call is NULL.
11532 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11534 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11535 when converting to ms.
11537 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11539 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11540 EOPNOTSUPP errors with ENOTTY.
11541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11542 EOPNOTSUPP errors with ENOTTY.
11544 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11546 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11547 Add strcasecmp_l-ssse3.
11548 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11550 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11551 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11552 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11554 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11556 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11558 * string/Makefile (strop-tests): Add strcasecmp.
11559 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11560 strcasecmp_l-nonascii.
11561 (gen-as-const-headers): Add locale-defines.sym.
11562 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11563 * sysdeps/x86_64/strcasecmp.S: New file.
11564 * sysdeps/x86_64/strcasecmp_l.S: New file.
11565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11566 * sysdeps/x86_64/locale-defines.sym: New file.
11567 * string/test-strcasecmp.c: New file.
11569 * string/test-strcasestr.c: Test both ends of the range of characters.
11570 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11572 2010-07-29 Roland McGrath <roland@redhat.com>
11575 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11577 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11579 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11582 2010-07-27 Andreas Schwab <schwab@redhat.com>
11584 * manual/memory.texi (Malloc Tunable Parameters): Document
11587 2010-07-26 Roland McGrath <roland@redhat.com>
11590 * configure.in (-fgnu89-inline check): Set and substitute
11591 gnu89_inline, not libc_cv_gnu89_inline.
11592 * configure: Regenerated.
11593 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11595 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11597 * string/test-strnlen.c: New file.
11598 * string/Makefile (strop-tests): Add strnlen.
11599 * string/tester.c (test_strnlen): Add a few more test cases.
11600 * string/tst-strlen.c: Better error reporting.
11602 * sysdeps/x86_64/strnlen.S: New file.
11604 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11607 lower-latency instructions.
11609 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11611 * string/test-strcasestr.c: New file.
11612 * string/test-strstr.c: New file.
11613 * string/Makefile (strop-tests): Add strstr and strcasestr.
11614 * string/str-two-way.h: Don't undefine MAX.
11615 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11617 2010-07-21 Andreas Schwab <schwab@redhat.com>
11619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11620 strcasestr-nonascii.
11621 (CFLAGS-strcasestr-nonascii.c): Define.
11622 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11624 Remove unused attribute.
11626 2010-07-20 Roland McGrath <roland@redhat.com>
11628 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11629 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11630 ld.so.cache was broken. With it, there is no way to disable dsocaps
11631 like LD_HWCAP_MASK can disable hwcaps.
11633 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11635 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11637 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11639 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11640 call in strcasestr.
11641 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11642 __strcasestr_sse42_nonascii.
11643 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11644 strcasestr-nonascii.c.
11645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11647 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11650 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11654 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11659 2010-07-06 Andreas Schwab <schwab@redhat.com>
11662 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11665 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11668 _PC_PIPE_BUF using F_GETPIPE_SZ.
11670 2010-07-05 Roland McGrath <roland@redhat.com>
11672 * manual/arith.texi (Rounding Functions): Fix rint description
11673 implicit in round description.
11675 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11677 * elf/Makefile: Fix linking for a few tests to make recent linker
11680 2010-06-30 Andreas Schwab <schwab@redhat.com>
11682 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11683 $(common-objpfx)libc_nonshared.a.
11685 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11687 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11688 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11689 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11690 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11691 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11692 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11693 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11694 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11709 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11710 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11711 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11712 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11713 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11714 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11715 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11716 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11717 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11718 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11719 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11720 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11736 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11738 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11739 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11740 * string/memmove.c (memmove): Renamed to ...
11741 (MEMMOVE): ...this. Default to memmove.
11742 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11743 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11746 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11747 mempcpy-ssse3-back memmove-ssse3-back.
11748 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11751 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11752 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11753 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11754 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11755 * sysdeps/x86_64/multiarch/memmove.c: New file.
11756 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11757 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11758 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11759 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11763 (index_Fast_Copy_Backward): Define.
11764 (HAS_ARCH_FEATURE): Define.
11765 (HAS_FAST_REP_STRING): Define.
11766 (HAS_FAST_COPY_BACKWARD): Define.
11768 2010-06-21 Andreas Schwab <schwab@redhat.com>
11770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11771 Restore proper fallback handling.
11773 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11776 * posix/group_member.c (__group_member): Correct checking loop.
11778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11779 OOM in getpwuid_r correctly. Return error number when the caller
11780 should return, otherwise -1.
11781 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11782 call returning > 0 value.
11783 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11785 2010-06-07 Andreas Schwab <schwab@redhat.com>
11787 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11788 libc_nonshared.a from targets in modules-names.
11790 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11792 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11795 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11802 2010-06-02 Andreas Schwab <schwab@redhat.com>
11804 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11806 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11808 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11817 2010-06-14 Roland McGrath <roland@redhat.com>
11819 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11821 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11823 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11824 __REDIRECT followed by __THROW.
11825 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11826 * posix/getopt.h (getopt): Likewise.
11828 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11830 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11831 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11832 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11834 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11835 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11837 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11839 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11841 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11845 Properly check family and model.
11847 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11849 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11851 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11853 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11855 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11857 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11860 2010-05-19 Andreas Schwab <schwab@redhat.com>
11862 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11865 2010-05-21 Andreas Schwab <schwab@redhat.com>
11867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11868 and internal_recvmmsg.
11869 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11870 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11872 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11874 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11875 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11876 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11878 2010-05-20 Andreas Schwab <schwab@redhat.com>
11880 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11882 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11884 POWER7 optimizations.
11885 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11886 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11888 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11890 * version.h: Update for 2.13 development version.
11892 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11895 exceptions. Return 0.
11897 2010-05-07 Roland McGrath <roland@redhat.com>
11899 * elf/ldconfig.c (main): Add a const.
11901 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11903 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11904 (args_options): Add no-idn option.
11905 (ahosts_keys_int): Add idn_flags to ai_flags.
11906 (parse_option): Handle 'i' option to clear idn_flags.
11908 * malloc/malloc.c (_int_free): Possible race in the most recently
11909 added check. Only act on the data if no current modification
11912 See ChangeLog.17 for earlier changes.