1 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Paul Pluzhnikov <ppluzhnikov@google.com>
4 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11 * sysdeps/sh/strlen.S: Likewise.
13 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/unix/fork.S: Remove file.
16 * sysdeps/unix/i386/fork.S: Likewise.
17 * sysdeps/unix/sparc/fork.S: Likewise.
19 * sysdeps/unix/system.c: Remove file.
20 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22 * sysdeps/unix/getegid.S: Remove file.
23 * sysdeps/unix/geteuid.S: Likewise.
25 2012-04-24 Roland McGrath <roland@hack.frob.com>
27 * scripts/check-localplt.awk: New file.
28 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30 * scripts/data/localplt-generic.data: Add a comment.
32 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33 NODE when __dir_mkfile failed.
34 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35 Reported by Ludovic Courtès <ludo@gnu.org>.
37 2012-04-24 Andreas Jaeger <aj@suse.de>
39 * Makerules (common-clean): Also remove gen-as-const-headers
42 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44 * Makerules (native-compile): Do not change working directory for
45 build. Use $(OUTPUT_OPTION) in command.
46 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53 * math/libm-test.inc (floor_test): Add more tests.
54 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56 2012-04-24 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/unix/getdents.c: Remove file.
59 * sysdeps/unix/sysv/getdents.c: Likewise.
60 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62 * sysdeps/unix/syscalls.list (madvise): Add syscall from
63 sysdeps/unix/mman/syscalls.list.
68 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69 * sysdeps/unix/mman/syscalls.list: Remove.
70 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
72 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74 * configure: Regenerated.
75 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77 * config.make.in (libgcc_s_suffix): Remove variable.
79 2012-04-23 Joseph Myers <joseph@codesourcery.com>
81 * sysdeps/unix/sysv/gethostname.c: Move to ...
82 * sysdeps/posix/gethostname.c: ... here.
84 * sysdeps/unix/execve.S: Remove file.
86 * sysdeps/unix/_exit.S: Remove file.
88 2012-04-23 Andreas Jaeger <aj@suse.de>
91 * manual/Makefile: Remove make dist support, there's no
92 need for a stand-alone documentation tar ball.
93 (TEXI2DVI): Define always, it's not in Makeconfig.
97 (glibc-doc-$(edition).tar): Removed
101 (ETAGS): Remove, it's in Makeconfig.
102 (move-if-change): Remove, it's in Makeconfig.
104 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
107 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
108 (strtod, strtof, strtold, strtol, strtoul, strtoq)
109 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
110 (strtod_l, strtof_l, strtold_l): Remove __wur.
111 It is not necessarily an error to ignore strtol's return value.
112 One can reliably look at the stored endptr to decide whether
113 the number had valid syntax.
115 2012-04-21 Andreas Jaeger <aj@suse.de>
118 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
120 2012-04-21 Joseph Myers <joseph@codesourcery.com>
122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
123 * sysdeps/unix/sysv/Versions: Remove file.
125 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
130 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
136 2012-04-20 Joseph Myers <joseph@codesourcery.com>
138 * sysdeps/unix/common/lxstat.c: Remove file.
139 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
141 * sysdeps/unix/sysv/Makefile: Remove file.
143 * sysdeps/unix/sysv/direct.h: Remove file.
145 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
146 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
147 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
148 * sysdeps/unix/sysv/bits/signum.h: Likewise.
149 * sysdeps/unix/sysv/bits/stat.h: Likewise.
150 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
151 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
153 * sysdeps/unix/sysv/setrlimit.c: Remove file.
155 * sysdeps/unix/xmknod.c: Remove file.
156 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
158 * sysdeps/unix/sysv/settimeofday.c: Remove file.
160 * sysdeps/unix/sysv/i386/time.S: Remove file.
162 * sysdeps/unix/fxstat.c: Remove file.
163 * sysdeps/unix/xstat.c: Likewise.
164 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
166 * sysdeps/unix/sysv/sigaction.c: Remove file.
168 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
169 (sysdep_headers): Remove variable.
170 [termio.h not in sysdep_headers] (generated): Likewise.
171 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
172 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
173 * sysdeps/unix/sysv/tcdrain.c: Likewise.
174 * sysdeps/unix/sysv/tcflow.c: Likewise.
175 * sysdeps/unix/sysv/tcflush.c: Likewise.
176 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
177 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
178 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
179 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
180 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
182 * sysdeps/unix/siglist.c: Remove file.
184 * sysdeps/unix/getppid.S: Remove file.
186 * sysdeps/unix/mkdir.c: Remove file.
187 * sysdeps/unix/rmdir.c: Likewise.
189 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
191 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
193 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
194 errlist-compat value.
196 2012-04-18 David S. Miller <davem@davemloft.net>
198 * sysdeps/generic/memcopy.h (reg_char): Delete.
199 * debug/strcat_chk.c: Use char, not reg_char.
200 * debug/strcpy_chk.c: Likewise.
201 * debug/strncat_chk.c: Likewise.
202 * debug/strncpy_chk.c: Likewise.
203 * string/memchr.c: Likewise.
204 * string/memrchr.c: Likewise.
205 * string/rawmemchr.c: Likewise.
206 * string/strcat.c: Likewise.
207 * string/strchr.c: Likewise.
208 * string/strchrnul.c: Likewise.
209 * string/strcmp.c: Likewise.
210 * string/strcpy.c: Likewise.
211 * string/strncat.c: Likewise.
212 * string/strncmp.c: Likewise.
213 * string/strncpy.c: Likewise.
215 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
217 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
218 __builtin_memcopy is called when src and dest ranges are known to not
221 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
223 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
224 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
225 fwd_align_merge macro call.
226 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
227 bwd_align_merge macro call.
228 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
230 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
232 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
233 bwd_align_merge macros.
234 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
235 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
238 2012-04-18 David S. Miller <davem@davemloft.net>
240 * sysdeps/sparc/sparc64/memcopy.h: Delete.
242 2012-04-18 Andreas Jaeger <aj@suse.de>
245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
250 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
253 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
254 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
255 Adjust for changed ldbl-128 files.
257 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
258 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
259 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
261 2012-04-17 David S. Miller <davem@davemloft.net>
263 * sysdeps/sparc/sparc32/memcopy.h: Delete.
265 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
267 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
268 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
269 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
270 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
271 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
272 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
274 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
278 * math/libm-test.inc: Add ilogb errno and exception tests.
279 * math/w_ilogb.c: New file: ilogb wrapper.
280 * math/w_ilogbf.c: New file: ilogbf wrapper.
281 * math/w_ilogbl.c: New file: ilogbl wrapper.
282 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
283 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
284 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
285 exception being thrown with 0.0 as argument.
286 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
287 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
288 exception being thrown with 0.0 as argument.
289 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
290 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
291 exception being thrown with 0.0 as argument.
292 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
293 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
294 exception being thrown with 0.0 as argument.
295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
296 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
297 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
298 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
300 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
301 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
302 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
303 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
305 2012-04-17 Petr Baudis <pasky@ucw.cz>
307 * include/sys/uio.h: Change __vector to __iovec to avoid clash
310 2012-04-16 Marek Polacek <polacek@redhat.com>
312 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
314 2012-04-16 Marek Polacek <polacek@redhat.com>
316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
317 operands of fdivp instruction.
319 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
321 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
322 * elf/tst-auditmod3b.c: Likewise.
323 * elf/tst-auditmod4b.c: Likewise.
324 * elf/tst-auditmod5b.c: Likewise.
325 * elf/tst-auditmod6b.c: Likewise.
326 * elf/tst-auditmod6c.c: Likewise.
327 * elf/tst-auditmod7b.c: Likewise.
328 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
329 * sysdeps/x86_64/preconfigure.in: Likewise.
330 * sysdeps/x86_64/preconfigure: Regenerated.
332 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
334 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
337 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
340 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
342 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
345 * locale/iso-639.def: Fix gl language name. Spotted by
348 2012-04-12 Roland McGrath <roland@hack.frob.com>
351 * libio/libio.h (__io_write_fn): Update comment.
353 2012-04-12 Petr Baudis <pasky@ucw.cz>
356 * stdio.texi (Hook Functions): The user provided writer function
357 is not allowed to return -1.
359 2012-04-11 David S. Miller <davem@davemloft.net>
361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
363 2012-04-11 Mike Frysinger <vapier@gentoo.org>
365 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
366 Add a leading slash to rtkaio.
368 2012-04-11 Jim Meyering <meyering@redhat.com>
371 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
372 It is not necessarily an error to ignore fwrite's return
373 value. One can reliably use ferror to test for errors after
376 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
378 * bits/types.h (__snseconds_t): New type.
379 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
381 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
383 (__SNSECONDS_T_TYPE): Likewise.
384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
385 (__SNSECONDS_T_TYPE): Likewise.
386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
387 (__SNSECONDS_T_TYPE): Likewise.
389 2012-04-10 Andreas Jaeger <aj@suse.de>
392 * manual/time.texi (Processor Time): Return type of times is
393 elapsed real time since an arbitrary point in the past.
394 (CPU Time): Move CLK_TCK from here...
395 (Processor Time): ...to here. Correct description.
396 * manual/conf.texi (Constants for Sysconf): Correct description of
399 2012-04-10 David S. Miller <davem@davemloft.net>
402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
403 where the is a gap between DT_REL(A) and DT_JMPREL.
405 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
407 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
408 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
409 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
411 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
413 * elf/dl-support.c (_dl_inhibit_cache): New variable.
414 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
415 (dl_main): Handle --inhibit-cache.
416 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
418 * elf/dl-load.c (_dl_map_object): Use it.
419 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
421 2012-04-09 Joseph Myers <joseph@codesourcery.com>
424 * sysdeps/i386/fpu/e_powl.S (p78): New object.
425 (__ieee754_powl): Saturate large exponents rather than testing for
426 overflow of y*log2(x).
427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
428 * math/libm-test.inc (pow_test): Do not permit spurious overflow
432 * math/s_ctan.c: Include <float.h>.
433 (__ctan): Avoid internal overflow or cancellation in calculating
435 * math/s_ctanf.c: Likewise.
436 * math/s_ctanl.c: Likewise.
437 * math/s_ctanh.c: Likewise.
438 * math/s_ctanhf.c: Likewise.
439 * math/s_ctanhl.c: Likewise.
440 * math/libm-test.inc (ctan_test): Add more tests.
441 (ctanh_test): Likewise.
442 * sysdeps/i386/fpu/libm-test-ulps: Update.
443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
445 2012-04-09 Andreas Jaeger <aj@suse.de>
448 * manual/filesys.texi (Directory Entries): Mention that d_namlen
449 is an optional BSD extension.
452 * manual/stdio.texi (Opening Streams): Document additional fopen
455 2012-04-09 Roland McGrath <roland@hack.frob.com>
457 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
458 %eax without telling the compiler.
460 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
463 * manual/install.texi: Use sourceware.org.
465 2012-04-09 Joseph Myers <joseph@codesourcery.com>
468 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
469 (__ieee754_pow): Generate overflow and underflow using huge*huge
470 and tiny*tiny rather than just returning constant infinity or zero
472 * math/libm-test.inc (pow_test): Require overflow exceptions for
473 applicable cases of large exponents.
476 * sysdeps/i386/fpu/e_pow.S (p10): New object.
477 (__ieee754_pow): Use iterative multiplication algorithm only for
478 integer exponents with absolute value below 1024. Check for odd
479 integer exponents when using algorithm for real exponents.
480 * math/libm-test.inc (pow_test): Add more tests.
481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
483 2012-04-08 Joseph Myers <joseph@codesourcery.com>
486 * math/libm-test.inc (exp_test): Do not allow overflow exception
489 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
492 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
493 instead of __kernel_standard_f.
495 2012-04-08 Mike Frysinger <vapier@gentoo.org>
497 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
498 * sysdeps/x86_64/memset_chk.S: Likewise.
500 2012-04-08 Andreas Jaeger <aj@suse.de>
503 * manual/startup.texi (Environment Access): Describe return value
504 for putenv and setenv.
507 * manual/filesys.texi (Directory Entries): Add description for
511 * manual/filesys.texi (Directory Entries): Clarify that it's file
512 system not operating system in the description of DT_UNKNOWN.
515 * manual/syslog.texi (closelog): Fix reference, it's openlog.
517 2012-04-08 Stephen Compall <s11@member.fsf.org>
520 * manual/llio.texi (Opening and Closing Files): Add cross
521 reference to explain mode argument.
523 2012-04-07 Mike Frysinger <vapier@gentoo.org>
525 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
526 * sysdeps/x86_64/memset_chk.S: Likewise.
528 2012-04-07 David S. Miller <davem@davemloft.net>
530 * elf/elf.h (R_SPARC_WDISP10): Define.
531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
534 R_SPARC_SIZE64 and R_SPARC_H34.
536 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
539 conditions and remove no longer applicable assertion.
541 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
543 * bits/byteswap.h: Include <features.h>.
544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
547 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
549 * bits/byteswap.h (__bswap_16): Removed.
550 Include <bits/byteswap-16.h> to get __bswap_16.
551 * sysdeps/i386/bits/byteswap.h: Likewise.
552 * sysdeps/s390/bits/byteswap.h: Likewise.
553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
554 * bits/byteswap-16.h: New file.
555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
556 * sysdeps/s390/bits/byteswap-16.h: Likewise.
557 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
558 * string/Makefile (headers): Add bits/byteswap-16.h.
560 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
563 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
565 * nss/Makefile (tests-static, tests): Add tst-nss-static.
566 * nss/tst-nss-static.c: New.
568 2012-04-06 Robert Millan <rmh@gnu.org>
571 * manual/llio.texi (File Position Primitive): lseek
572 refers to WHENCE when it really means OFFSET.
574 2012-04-06 Andreas Jaeger <aj@suse.de>
576 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
577 strncmp declarations.
579 * abilist/libc.abilist: Add __poll and __ppoll.
581 2012-04-05 David S. Miller <davem@davemloft.net>
583 * scripts/check-local-headers.sh: Accept a host triplet in the
584 path matched by the exclude regexp.
586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
588 * sysdeps/powerpc/powerpc32/dl-machine.h
589 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
590 * sysdeps/s390/s390-32/dl-machine.h
591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
592 * sysdeps/sparc/sparc32/dl-machine.h
593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
594 * sysdeps/sparc/sparc64/dl-machine.h
595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
597 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
599 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
600 undefined symbol errors.
602 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
605 2012-04-05 Michael Matz <matz@suse.de>
608 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
610 2012-04-05 Andreas Jaeger <aj@suse.de>
613 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
616 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
619 which ROUND is no valid rounding mode.
621 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
625 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
627 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
629 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
630 an exception using FPU order intentionally.
632 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
634 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
635 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
636 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
637 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
639 2012-04-05 Simon Josefsson <simon@josefsson.org>
642 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
643 EINVAL when BUFLEN is too smal.
645 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
648 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
649 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
651 2012-04-03 Andreas Jaeger <aj@suse.de>
654 * manual/setjmp.texi (System V contexts): Fix sentence.
657 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
658 New macro for this case.
659 [!__GNUC__] (__bswap_64): New inline function for this case.
660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
661 * bits/byteswap.h: Likewise.
662 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
663 ull, guard with __GLIBC_HAVE_LONG_LONG.
665 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
666 __GLIBC_HAVE_LONG_LONG.
668 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
669 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
671 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
674 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
675 inptr and inend, rather than using last_ch.
677 2012-04-02 David S. Miller <davem@davemloft.net>
679 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
680 * stdio-common/printf-parse.h (read_int): Change return type to
681 'int', return -1 on INT_MAX overflow.
682 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
683 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
684 overflows INT_MAX. Check for overflow of in-format-string precision
685 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
686 SIZE_MAX not INT_MAX for integer overflow test.
687 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
688 skip the construct in the format string but do not record anything.
689 * stdio-common/bug22.c: Adjust to test both width/prevision
690 INT_MAX overflow as well as total length INT_MAX overflow. Check
691 explicitly for proper errno values.
693 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
695 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
697 * string/test-strcmp.c [! WIDE]: Likewise.
698 * time/tst-mktime2.c: Likewise for INT_MAX.
699 * string/test-string.h: #include <sys/param.h> for MIN.
701 * csu/init-first.c (__libc_init_first): Call __ctype_init.
702 * sysdeps/i386/init-first.c (init): Likewise.
703 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
704 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
705 * sysdeps/sh/init-first.c (init): Likewise.
707 2012-04-01 Ulrich Drepper <drepper@gmail.com>
709 * po/ru.po: Update from translation team.
710 * po/vi.po: Likewise.
712 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
714 * resolv/nss_dns/dns-host.c: Merge copyright years.
716 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
719 Optimize memcpy with prefetch if
720 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
721 src, dst pointers have unequal 16 byte alignments.
723 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
726 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
727 from a CNAME entry and return the minimum ttl for the query.
728 (gaih_getanswer_slice): Likewise.
730 2012-03-30 Jeff Law <law@redhat.com>
732 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
734 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
735 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
737 * resolv/nss_dns/dns-host.c: Update copyright year.
739 2012-03-30 Ulrich Drepper <drepper@gmail.com>
741 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
742 requests to save a system call. Fix check that all bytes are sent.
744 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
745 comments for sendmmsg.
747 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
750 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
751 with only 1 character between 0x0041 and 0x01b0.
752 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
753 * wcsmbs/tst-mbsnrtowcs.c: New file.
755 2012-03-29 David S. Miller <davem@davemloft.net>
757 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
758 small copies by hand.
760 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
763 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
764 _nss_compat_initgroups_dyn): Fall back to malloc/free
765 for large group memberships.
767 2012-03-28 David S. Miller <davem@davemloft.net>
769 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
770 that branches into memcpy.
771 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
774 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
777 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
779 * sysdeps/sparc/mempcpy.S: New file.
781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
782 the IFUNC routine in the libc case.
783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
785 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
786 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
787 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
788 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
789 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
790 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
791 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
792 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
794 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
795 loop to 256 bytes instead of 64 bytes and fix test signedness.
797 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
798 * sysdeps/sparc/sparc32/Makefile: rather than here...
799 * sysdeps/sparc/sparc64/Makefile: and here.
801 2012-03-28 Ulrich Drepper <drepper@gmail.com>
803 * malloc/mallocbug.c: Avoid warnings about unused variables.
805 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
809 in the right place. Discard and retry query if response is
810 larger than input buffer size.
812 2012-03-28 Joseph Myers <joseph@codesourcery.com>
817 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
818 x for large integer exponent.
819 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
820 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
821 sign of result as needed afterwards.
822 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
823 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
824 result for underflowing pow the same as for overflow.
825 (__kernel_standard_l): Handle powl overflow and underflow here
826 rather than calling __kernel_standard.
827 * math/libm-test.inc (pow_test): Add more tests.
842 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
843 * sysdeps/ieee754/k_standard.c: Include <float.h>.
844 (__kernel_standard_l): New function.
845 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
847 * math/w_acosl.c (__acosl): Likewise.
848 * math/w_asinl.c (__asinl): Likewise.
849 * math/w_atan2l.c (__atan2l): Likewise.
850 * math/w_atanhl.c (__atanhl): Likewise.
851 * math/w_coshl.c (__coshl): Likewise.
852 * math/w_exp10l.c (__exp10l): Likewise.
853 * math/w_exp2l.c (__exp2l): Likewise.
854 * math/w_fmodl.c (__fmodl): Likewise.
855 * math/w_hypotl.c (__hypotl): Likewise.
856 * math/w_j0l.c (__j0l, __y0l): Likewise.
857 * math/w_j1l.c (__j1l, __y1l): Likewise.
858 * math/w_jnl.c (__jnl, __ynl): Likewise.
859 * math/w_lgammal.c (__lgammal): Likewise.
860 * math/w_log10l.c (__log10l): Likewise.
861 * math/w_log2l.c (__log2l): Likewise.
862 * math/w_logl.c (__logl): Likewise.
863 * math/w_powl.c (__powl): Likewise.
864 * math/w_remainderl.c (__remainderl): Likewise.
865 * math/w_scalbl.c (sysv_scalbl): Likewise.
866 * math/w_sinhl.c (__sinhl): Likewise.
867 * math/w_sqrtl.c (__sqrtl): Likewise.
868 * math/w_tgammal.c (__tgammal): Likewise.
869 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
870 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
871 * math/libm-test.inc (acos_test): Add more tests.
872 (acosh_test): Likewise.
873 (asin_test): Likewise.
874 (atanh_test): Likewise.
875 (exp_test): Likewise.
876 (exp10_test): Likewise.
877 (exp2_test): Likewise.
878 (expm1_test): Likewise.
879 (lgamma_test): Likewise.
880 (log_test): Likewise.
881 (log10_test): Likewise.
882 (log1p_test): Likewise.
883 (log2_test): Likewise.
884 (pow_test): Do not allow some spurious overflow exceptions.
885 (sqrt_test): Add more tests.
886 (tgamma_test): Likewise.
891 2012-03-27 Anton Blanchard <anton@samba.org>
893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
899 2012-03-27 David S. Miller <davem@davemloft.net>
901 * conform/Makefile: Run run-conformtest.sh using $(BASH).
903 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
906 2012-03-27 Andreas Jaeger <aj@suse.de>
908 * sysdeps/x86_64/elf/configure.in: Moved to ...
909 * sysdeps/x86_64/configure.in: ... here.
910 * sysdeps/x86_64/elf/start.S: Moved to ...
911 * sysdeps/x86_64/start.S: ... here.
912 * sysdeps/x86_64/elf/configure: Delete.
914 * sysdeps/x86_64/configure.in: Merge contents from
915 sysdeps/i386/configure.in (without i686 check).
917 * sysdeps/i386/elf/Versions: Merge into ...
918 * sysdeps/i386/Versions: ... this.
919 * sysdeps/i386/elf/Versions: Delete file.
920 * sysdeps/i386/elf/start.S: Moved to ...
921 * sysdeps/i386/start.S: ...here.
922 * sysdeps/i386/elf/configure.in: Merge into...
923 * sysdeps/i386/configure.in: ...here.
924 * sysdeps/i386/elf/configure.in: Delete file.
925 * sysdeps/i386/elf/configure: Delete file.
927 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
928 * debug/backtracesyms.c: ... here.
929 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
930 * debug/backtracesymsfd.c: ... here.
931 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
932 * sysdeps/generic/ifunc-sel.h: ... here.
934 * sysdeps/unix/i386/start.c: Delete file.
935 * sysdeps/unix/sparc/start.c: Delete file.
936 * sysdeps/unix/start.c: Delete file.
938 * sysdeps/sh/elf/configure.in: Moved to ...
939 * sysdeps/sh/configure.in: ... here.
940 * sysdeps/sh/elf/start.S: Moved to ...
941 * sysdeps/sh/start.S: ... here.
942 * sysdeps/sh/elf/configure: Delete file.
944 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
945 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
946 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
947 * sysdeps/powerpc/powerpc64/entry.h: ... here.
948 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
949 * sysdeps/powerpc/powerpc64/start.S: here.
950 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
951 * sysdeps/powerpc/powerpc64/Makefile: ... this.
952 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
953 * sysdeps/powerpc/powerpc64/configure.in: ... this.
954 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
956 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
957 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
958 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
959 * sysdeps/powerpc/powerpc32/start.S: ... here.
960 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
961 * sysdeps/powerpc/powerpc32/configure.in: ... this.
962 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
964 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
965 * sysdeps/powerpc/ifunc-sel.h: ... here.
966 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
967 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
969 * sysdeps/sparc/elf/configure.in: Moved to ...
970 * sysdeps/sparc/configure.in: ... here.
971 * sysdeps/sparc/elf/configure: Delete file.
972 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
973 * sysdeps/sparc/sparc32/start.S: ... here.
974 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
975 * sysdeps/sparc/sparc64/start.S: ... here.
976 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
977 * sysdeps/sparc/sparc32/Makefile: ... this.
978 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
979 * sysdeps/sparc/sparc64/Makefile: ... this.
981 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
982 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
983 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
984 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
985 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
986 * sysdeps/s390/s390-32/setjmp.S: ... here.
987 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
988 * sysdeps/s390/s390-32/configure.in: ... here.
989 * sysdeps/s390/s390-32/elf/configure: Delete file.
990 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
991 * sysdeps/s390/s390-32/start.S: ... here.
993 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
994 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
995 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
996 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
997 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
998 * sysdeps/s390/s390-64/setjmp.S: ... here.
999 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1000 * sysdeps/s390/s390-64/configure.in: ... here
1001 * sysdeps/s390/s390-64/elf/configure: Delete file.
1002 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1003 * sysdeps/s390/s390-64/start.S: ... here.
1004 * sysdeps/s390/s390-64/elf/configure: Delete.
1006 * configure.in: Remove support for elf directories in sysdeps.
1008 * configure: Regenerated.
1009 * sysdeps/i386/configure: Regenerated.
1010 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1011 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1012 * sysdeps/s390/s390-32/configure: Regenerated.
1013 * sysdeps/s390/s390-64/configure: Regenerated.
1014 * sysdeps/sh/configure: Regenerated.
1015 * sysdeps/sparc/configure: Regenerated.
1016 * sysdeps/x86_64/configure: Regenerated.
1018 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1023 denormal result into account.
1025 2012-03-25 Roland McGrath <roland@hack.frob.com>
1027 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1028 Reported by Allan McRae <allan@archlinux.org>.
1030 2012-03-23 Jeff Law <law@redhat.com>
1032 * nss/getnssent.c (__nss_getent): Fix typo.
1034 2012-03-23 David S. Miller <davem@davemloft.net>
1036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1038 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1040 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1041 to pad to uint64_t for each field.
1042 (dl_tls_index): Replace unsigned long with uint64_t.
1044 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1045 Paul Pluzhnikov <ppluzhnikov@google.com>
1048 * grp/Makefile (otherlibs): Don't set it.
1049 * inet/Makefile (otherlibs): Likewise.
1050 * login/Makefile (otherlibs): Likewise.
1051 * nscd/Makefile (otherlibs): Likewise.
1052 * posix/Makefile (otherlibs): Likewise.
1053 * pwd/Makefile (otherlibs): Likewise.
1054 * rt/Makefile (otherlibs): Likewise.
1055 * sunrpc/Makefile (otherlibs): Likewise.
1056 * nss/Makefile (otherlibs): Likewise.
1057 Add libnss_files to routines and static-only-routines.
1058 ($(objpfx)getent): Remove rule.
1059 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1060 static-only-routines.
1062 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1065 * math/s_cexp.c: Include <float.h>.
1066 (__cexp): Handle exp result overflowing not necessarily
1067 overflowing both real and imaginary parts of result.
1068 * math/s_cexpf.c: Likewise.
1069 * math/s_cexpl.c: Likewise.
1070 * math/libm-test.inc (cexp_test): Add more tests.
1071 * sysdeps/i386/fpu/libm-test-ulps: Update.
1072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1074 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1076 * include/link.h (ELFW): New macro.
1077 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1078 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1080 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1082 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1085 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1087 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1089 (struct La_x32_retval): Likewise.
1091 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1093 * sysdeps/x86_64/preconfigure.in: New file.
1094 * sysdeps/x86_64/preconfigure: New generated file.
1096 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1099 * math/e_exp2l.c: Include <float.h>.
1100 (__ieee754_exp2l): Handle overflow and underflow cases
1101 separately. Only pass fractional part of argument to
1103 * math/libm-test.inc (exp2_test): Add more tests.
1105 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1106 negating x to take absolute value.
1107 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1109 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1112 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1113 computing low part if x was negated.
1114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1116 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1118 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1120 (pltexit): Cast int_retval to ptrdiff_t.
1121 * elf/tst-auditmod3b.c: Likewise.
1122 * elf/tst-auditmod4b.c: Likewise.
1123 * elf/tst-auditmod5b.c: Likewise.
1124 * elf/tst-auditmod6b.c: Likewise.
1125 * elf/tst-auditmod6c.c: Likewise.
1126 * elf/tst-auditmod7b.c: Likewise.
1128 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1129 and x32_gnu_pltexit.
1131 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1133 (La_x32_regs): New macro.
1134 (La_x32_retval): Likewise.
1135 (la_x32_gnu_pltenter): New function prototype.
1136 (la_x32_gnu_pltexit): Likewise.
1138 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1145 * configure.in (libc_cv_cc_nofma): Check for option to disable
1146 generation of FMA instructions.
1147 * configure: Regenerate.
1148 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1149 * sysdeps/ieee754/dbl-64/Makefile: New file.
1150 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1151 Remove brandred-fma4.
1152 (CFLAGS-brandred-fma4.c): Remove.
1153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1154 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1156 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1159 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1162 LLONG_MAX != LONG_MAX.
1163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1164 (_fitoa_word): Likewise.
1165 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1166 LLONG_MAX != LONG_MAX.
1167 * stdio-common/_itowa.h: Include <_itoa.h>.
1168 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1169 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1170 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1171 only if not defined.
1172 (_ITOA_WORD_TYPE): Likewise.
1173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1174 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1176 2012-03-21 David S. Miller <davem@davemloft.net>
1178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1180 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1182 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1183 of x86_64 when setting libc_cv_slibdir, libdir and
1185 * sysdeps/unix/sysv/linux/configure: Regenerated.
1187 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1189 * manual/lang.texi (Old Varargs): Remove section.
1190 (How Variadic): Update menu.
1191 (va_start): Do not mention varargs.h.
1193 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1194 Joseph Myers <joseph@codesourcery.com>
1196 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1198 * configure: Regenerated.
1200 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1202 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1203 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1206 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1209 * Makefile (files-for-dist): Remove NOTES.
1210 (NOTES): Remove rule.
1211 * README: Don't refer to NOTES.
1212 * manual/creature.texi: Don't include macros.texi.
1213 * manual/intro.texi (creature.texi): Remove comment referring to
1216 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1217 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1218 * configure: Regenerated.
1219 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1221 (libc_cv_as_i686): Likewise.
1222 (libc_cv_cc_avx): Likewise.
1223 (libc_cv_cc_sse2avx): Likewise.
1224 (libc_cv_cc_fma4): Likewise.
1225 (libc_cv_cc_novzeroupper): Likewise.
1226 * sysdeps/i386/configure: Regenerated.
1229 * sysdeps/i386/fpu/s_cexp.S: Remove.
1230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1231 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1232 * math/libm-test.inc (cexp_test): Add more tests.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236 2012-03-21 Allan McRae <allan@archlinux.org>
1238 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1240 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1243 * math/w_exp2.c: Do not include <float.h>.
1244 (o_threshold, u_threshold): Remove.
1245 (__exp2): Calculate result before checking finiteness and calling
1247 * math/w_exp2f.c: Likewise.
1248 * math/w_exp2l.c: Likewise.
1249 * math/libm-test.inc (exp2_test): Require overflow exception for
1253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1254 range of signed 64-bit integers before using fistpll. Remove
1255 checks for whether integers fit in mantissa bits.
1256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1257 the range of signed 32-bit integers before using fistpl. Remove
1258 checks for whether integers fit in mantissa bits.
1259 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1260 (__ieee754_powl): Test for y outside the range of signed 64-bit
1261 integers before using fistpll. Reduce 64-bit values to 63-bit
1263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1264 divide-by-zero is raised for zero to large negative powers.
1265 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1266 (__ieee754_powl): Test for y outside the range of signed 64-bit
1267 integers before using fistpll. Reduce 64-bit values to 63-bit
1269 * math/libm-test.inc (pow_test): Add more tests.
1271 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1273 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1274 <stdio-common/_itoa.h>.
1275 * debug/segfault.c: Likewise.
1276 * elf/dl-cache.c: Likewise.
1277 * elf/dl-minimal.c: Likewise.
1278 * elf/dl-misc.c: Likewise.
1279 * elf/dl-sysdep.c: Likewise.
1280 * elf/dl-version.c: Likewise.
1281 * elf/rtld.c: Likewise.
1282 * hurd/hurdsock.c: Likewise.
1283 * hurd/lookup-retry.c: Likewise.
1284 * malloc/malloc.c: Likewise.
1285 * malloc/mtrace.c: Likewise.
1286 * nscd/nscd_getgr_r.c: Likewise.
1287 * nscd/nscd_getpw_r.c: Likewise.
1288 * nscd/nscd_getserv_r.c: Likewise.
1289 * posix/getopt_init.c: Likewise.
1290 * posix/wordexp.c: Likewise.
1291 * stdio-common/_itoa.c: Likewise.
1292 * stdio-common/printf_fphex.c: Likewise.
1293 * stdio-common/vfprintf.c: Likewise.
1294 * string/_strerror.c: Likewise.
1295 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1296 * sysdeps/i386/i686/hp-timing.h: Likewise.
1297 * sysdeps/mach/_strerror.c: Likewise.
1298 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1299 * sysdeps/mach/hurd/sethostid.c: Likewise.
1300 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1301 * sysdeps/mach/xpg-strerror.c: Likewise.
1302 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1304 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1305 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1306 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1307 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1309 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1310 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1311 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1312 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1313 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1314 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1316 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1320 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1321 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1324 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1326 * stdio-common/_itoa.h: Moved to ...
1327 * sysdeps/generic/_itoa.h: Here.
1329 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1331 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1332 instead of "_itoa.h" and "_itowa.h".
1333 * stdio-common/vfprintf.: Likewise.
1335 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1337 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1339 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1340 (__signbit): Likwise.
1344 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1346 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1349 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1351 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1352 OVERFLOW_EXCEPTION_OK.
1353 * math/libm-test.inc ("Philosophy"): Update comment about
1355 (OVERFLOW_EXCEPTION): Define.
1356 (OVERFLOW_EXCEPTION_OK): Likewise.
1357 (INVALID_EXCEPTION_OK): Renumber.
1358 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1359 (IGNORE_ZERO_INF_SIGN): Likewise.
1360 (test_exceptions): Handle FE_OVERFLOW.
1361 (exp10_test): Expect overflow exceptions.
1362 (exp2_test): Likewise.
1363 (expm1_test): Likewise.
1364 (nextafter_test): Likewise.
1365 (pow_test): Likewise.
1366 (scalbn_test): Likewise.
1367 (scalbln_test): Likewise.
1369 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1371 * sysdeps/x86_64/bits/atomic.h
1372 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1374 (atomic_exchange_acq): Likewise.
1375 (__arch_exchange_and_add_body): Likewise.
1376 (__arch_add_body): Likewise.
1377 (atomic_add_negative): Likewise.
1378 (atomic_add_zero): Likewise.
1380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1382 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1383 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1385 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1387 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1388 Check __x86_64__ instead of __WORDSIZE.
1390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1392 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1394 2012-03-19 David S. Miller <davem@davemloft.net>
1396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1398 * sysdeps/sparc/fpu/fenv_private.h: New file.
1399 * sysdeps/sparc/fpu/math_private.h: Use it.
1400 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1402 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1403 (libc_feholdexcept_setroundl): Remove.
1404 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1406 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1407 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1409 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1411 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1412 int64_t instead of long int.
1413 (INSERT_WORDS64): Likwise.
1415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1417 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1418 _Unwind_GetCFA return to _Unwind_Ptr first.
1420 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1423 * math/s_clog.c: Include <float.h>.
1424 (__clog): Scale large or subnormal inputs.
1425 * math/s_clogf.c: Likewise.
1426 * math/s_clogl.c: Likewise.
1427 * math/s_clog10.c: Include <float.h>.
1428 (M_LOG10_2): Define.
1429 (__clog10): Scale large or subnormal inputs.
1430 * math/s_clog10f.c: Likewise.
1431 * math/s_clog10l.c: Likewise.
1432 * math/libm-test.inc (clog_test): Add more tests.
1433 (clog10_test): Likewise.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1440 * math/libm-test.inc (atan2_test): Add another test.
1442 * Makerules (common-objdir-compile): Remove.
1443 * sysdeps/unix/Makefile (config-generated): Do not add
1444 $(unix-generated) to variable.
1445 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1446 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1448 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1450 [generic bits/local_lim.h] (before-compile): Do not append to
1452 [generic bits/local_lim.h] (common-generated): Likewise.
1453 [generic sys/param.h] (before-compile): Do not append to variable.
1454 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1455 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1456 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1457 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1459 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1460 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1461 [generic sys/param.h] ($(addprefix
1462 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1463 [generic sys/param.h] (common-generated): Do not append to
1465 [generic sys/param.h] (sysdep_headers): Likewise.
1466 [generic bits/errno.h] (before-compile): Do not append to
1468 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1470 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1471 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1472 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1473 [generic bits/errno.h] (common-generated): Do not append to
1475 [generic bits/ioctls.h] (before-compile): Do not append to
1477 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1479 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1480 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1481 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1483 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1484 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1485 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1486 [generic bits/ioctls.h] (common-generated): Do not append to
1488 [generic sys/syscall.h] (syscall.h): Remove variable.
1489 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1491 [generic sys/syscall.h] (before-compile): Do not append to
1493 [generic sys/syscall.h] (common-generated): Likewise.
1494 * sysdeps/unix/errnos-tmpl.c: Remove file.
1495 * sysdeps/unix/errnos.awk: Likewise.
1496 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1497 * sysdeps/unix/ioctls.awk: Likewise.
1498 * sysdeps/unix/mk-local_lim.c: Likewise.
1499 * sysdeps/unix/snarf-ioctls: Likewise.
1501 2012-03-19 Richard Henderson <rth@twiddle.net>
1503 * sysdeps/i386/fpu/fenv_private.h: New file.
1504 * sysdeps/i386/fpu/math_private.h: Use it.
1505 (math_opt_barrier, math_force_eval): Remove.
1506 (libc_feholdexcept_setround_53bit): Remove.
1507 (libc_feupdateenv_53bit): Remove.
1508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1509 (math_opt_barrier, math_force_eval): Remove.
1510 (libc_feholdexcept): Remove.
1511 (libc_feholdexcept_setround): Remove.
1512 (libc_fetestexcept, libc_fesetenv): Remove.
1513 (libc_feupdateenv_test): Remove.
1514 (libc_feupdateenv, libc_feholdsetround): Remove.
1515 (libc_feresetround): Remove.
1517 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1518 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1520 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1521 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1522 (libc_feupdateenv_testl): New.
1523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1524 (libc_feupdateenv_testf): New.
1525 (libc_feupdateenv): Use libc_feupdateenv_test.
1526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1529 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1530 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1531 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1532 (libc_feresetround_noex): New.
1533 (libc_feresetround_noexf): New.
1534 (libc_feresetround_noexl): New.
1535 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1536 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1537 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1538 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1543 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1544 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1545 SET_RESTORE_ROUND_NOEX.
1546 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1547 SET_RESTORE_ROUND_NOEXF.
1548 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1549 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1550 (libc_feholdsetroundf): New.
1551 (libc_feresetround, libc_feresetroundf): New.
1553 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1554 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1555 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1557 * sysdeps/generic/math_private.h: Include <fenv.h>.
1558 (default_libc_feholdexcept): New.
1559 (default_libc_feholdexcept_setround): New.
1560 (default_libc_fesetenv, default_libc_feupdateenv): New.
1561 (libc_feholdexcept): Only define if undefined.
1562 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1564 (libc_feholdexcept_setroundl): Likewise.
1565 (libc_feholdexcept_setround_53bit): Likewise.
1566 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1569 (libc_feupdateenv_53bit): Likewise.
1570 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1571 (libc_feholdexcept): Convert from macro to inline function.
1572 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1573 (libc_fesetenv, libc_feupdateenv): Likewise.
1575 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1576 not previously defined.
1577 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1578 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1579 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1580 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1581 * sysdeps/ieee754/flt-32/math_private.h: New file.
1582 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1583 math_private.h below SET_FLOAT_WORD.
1584 (__isnan, __isinf_ns, __finite): Remove.
1585 (__isnanf, __isinf_nsf, __finitef): Remove.
1587 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1591 2012-03-17 David S. Miller <davem@davemloft.net>
1594 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1597 2012-03-16 David S. Miller <davem@davemloft.net>
1599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1603 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1605 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1606 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1607 sysdep_routines when subdir is sysvipc.
1608 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1611 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1613 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1615 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1618 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1621 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1622 (__lround): Renamed to ...
1623 (__llround): This. Replace long int with long long int.
1624 Define lround functions as aliases of llround functions.
1625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1627 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1629 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1630 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1631 adresses to uintptr_t. Replace "long int" and "unsigned long
1632 int" with "greg_t" on va_arg.
1634 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1636 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1637 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1639 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1640 Move e_machine check before EI_CLASS check. Handle x32
1641 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1642 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1643 SKIP_EM_IA_64 and include
1644 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1646 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1647 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1648 (add_system_dir): New macro.
1650 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1651 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1653 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1664 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1666 * math/w_j0f.c (j0f): Likewise.
1668 * math/w_j0l.c (__j0l): Likewise.
1670 * math/w_j1.c (j1): Likewise.
1672 * math/w_j1f.c (j1f): Likewise.
1674 * math/w_j1l.c (__j1l): Likewise.
1676 * math/w_jn.c (jn): Likewise.
1678 * math/w_jnf.c (jnf): Likewise.
1680 * math/w_jnl.c (__jnl): Likewise.
1682 * math/libm-test.inc (j0_test): Add more tests.
1683 (j1_test): Likewise.
1684 (jn_test): Likewise. Add trailing semicolon to existing test.
1685 (y0_test): Likewise.
1686 (y1_test): Likewise.
1687 * sysdeps/i386/fpu/libm-test-ulps: Update.
1688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1692 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1693 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1694 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1696 (__tanl): Set errno for infinite argument.
1697 * sysdeps/i386/fpu/mptan.c: Remove.
1698 * sysdeps/i386/fpu/s_tan.S: Likewise.
1699 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1700 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1701 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1702 * math/libm-test.inc (tan_test): Add more tests and enable more
1703 tests for double and long double.
1704 * sysdeps/i386/fpu/libm-test-ulps: Update.
1705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1707 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1709 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1710 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1712 2012-03-16 Roland McGrath <roland@hack.frob.com>
1714 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1715 * configure.in: Use it for both main tree and add-ons.
1716 * configure: Regenerated.
1718 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1720 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1722 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1724 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1728 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1729 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1734 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1737 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1738 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1739 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1740 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1741 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1742 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1743 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1744 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1745 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1746 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1747 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1748 * math/libm-test.inc (cos_test): Add more tests and enable more
1749 tests for long double.
1750 (sin_test): Likewise.
1751 (sincos_test): Likewise.
1752 * sysdeps/i386/fpu/libm-test-ulps: Update.
1753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1755 2012-03-16 David S. Miller <davem@davemloft.net>
1757 * sysdeps/sparc/fpu/math_private.h: New file.
1759 2012-03-15 David S. Miller <davem@davemloft.net>
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1775 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1776 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1778 * sysdeps/sparc/sparc-ifunc.h: New file.
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1824 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1826 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1830 2012-03-15 Andreas Jaeger <aj@suse.de>
1833 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1834 ieee754/flt-32 implementation for sin, cos and sincos.
1835 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1836 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1837 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1838 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1839 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1840 ieee754/flt-32 implementation for tan.
1842 * math/libm-test.inc (cos_test): Enable some large input tests for
1844 (sin_test): Likewise.
1845 (sincos_test): Likewise.
1846 (tan_test): Add tests for large input.
1848 * sysdeps/i386/fpu/libm-test-ulps: Update.
1850 2012-03-15 Andreas Jaeger <aj@suse.de>
1853 * math/libm-test.inc (cos_test): Add more test cases.
1854 (sin_test): Likewise.
1855 (sincos_test): Likewise.
1857 2012-03-15 Andreas Jaeger <aj@suse.de>
1860 * math/libm-test.inc (cos_test): Add a test case for large input
1862 (sin_test): Likewise.
1863 (sincos_test): Likewise.
1865 2012-03-15 Andreas Jaeger <aj@suse.de>,
1866 Joseph Myers <joseph@codesourcery.com>
1869 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1870 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1871 * sysdeps/i386/fpu/branred.c: Likewise.
1872 * sysdeps/i386/fpu/dosincos.c: Likewise.
1873 * sysdeps/i386/fpu/mpa.c: Likewise.
1874 * sysdeps/i386/fpu/s_cos.S: Likewise.
1875 * sysdeps/i386/fpu/s_sin.S: Likewise.
1876 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1877 * sysdeps/i386/fpu/sincos32.c: Likewise.
1879 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1881 (libc_feupdateenv_53bit): Define.
1882 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1884 (libc_feupdateenv_53bit): Define.
1886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1887 53 bit (without extend i386 double precision).
1889 * math/libm-test.inc (sincos_test): Add tests for large input.
1893 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1895 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1899 2012-03-15 David S. Miller <davem@davemloft.net>
1901 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1902 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1903 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1904 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1929 fmin/fmax sysdep routines.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1932 2012-03-14 David S. Miller <davem@davemloft.net>
1934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2006 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2011 * sysdeps/sparc/configure.in: New file.
2012 * sysdeps/sparc/configure: Generate.
2013 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2014 * configure: Regenerate.
2015 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2016 * config.make.in (have-as-vis3): New.
2017 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2018 available use -Av9d instead of -Av9a.
2019 * sysdeps/sparc/sparc64/Makefile: Likewise.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2035 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2036 fzeros/fnegs to load 0x80000000 into a float register instead of
2038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2040 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2044 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2045 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2046 ($(inst_includedir)/bits/syscall.h): Remove rule.
2047 ($(objpfx)bits/syscall.d): Include instead of
2048 $(objpfx)syscall-list.d.
2049 (generated): Change syscall-list.h and syscall-list.d to
2050 bits/syscall.h and bits/syscall.d.
2052 2012-03-14 Roland McGrath <roland@hack.frob.com>
2055 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2057 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2060 * math/s_csqrt.c: Include <float.h>.
2061 (__csqrt): Scale large or subnormal inputs.
2062 * math/s_csqrtf.c: Likewise.
2063 * math/s_csqrtl.c: Likewise.
2064 * math/libm-test.inc (csqrt_test): Add more tests.
2065 * sysdeps/i386/fpu/libm-test-ulps: Update.
2066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2069 * math/libm-test.inc (hypot_test): Add more tests.
2071 2012-03-13 David S. Miller <davem@davemloft.net>
2074 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2075 double-precision for the calculation instead of scaling.
2077 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2079 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2080 manipulate bits before adding and subtracting TWO52[sx].
2081 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2084 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2086 2012-03-13 David S. Miller <davem@davemloft.net>
2088 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2089 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2091 rtld-global-offsets.h
2092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2094 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2099 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2100 'err' in the ifdef scope in which it is actually used.
2102 * nss/nss_db/db-init.c: Include string.h
2104 2012-03-12 David S. Miller <davem@davemloft.net>
2106 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2107 masking out of the most significant byte of random value used.
2108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2109 Fix coding style in previous change.
2111 * sysdeps/unix/sysv/linux/kernel-features.h
2112 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2113 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2115 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2118 2012-03-11 David S. Miller <davem@davemloft.net>
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2121 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2123 for 'resultvar' otherwise things get truncated on 64-bit.
2125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2126 Fix masking out of the most significant byte of random value used.
2128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2130 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2134 2012-03-09 David S. Miller <davem@davemloft.net>
2136 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2137 variables with appropriate CPP guards.
2138 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2139 frame pointer, not the stack pointer. Correct layout comments. Fix test
2140 on resulting framesize and the management of the outregs buffer for pltexit.
2141 Preserve floating point return values across _dl_call_pltexit call.
2142 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2143 framesize and the management of the outregs buffer for pltexit.
2144 Preserve floating point return values across _dl_call_pltexit
2146 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2147 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2148 (print_exit): Fix format string for return register value.
2150 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2152 * sunrpc/Makefile (others): Add rpcgen.
2153 ($(objpfx)rpcgen): Remove special build rule and dependency on
2155 * sunrpc/rpcgen.c: New file.
2157 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2160 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2161 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2162 * sysdeps/i386/crti.S: Likewise.
2163 * sysdeps/i386/crtn.S: Likewise.
2164 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2165 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2166 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2167 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2168 * sysdeps/sh/crti.S: Likewise.
2169 * sysdeps/sh/crtn.S: Likewise.
2170 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2173 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2175 * locale/programs/locfile-kw.gperf: Likewise.
2176 * locale/programs/charmap-kw.h: Regenerated.
2177 * locale/programs/locfile-kw.h: Likewise.
2180 * intl/plural.y: Replace FSF snail mail address with URL.
2181 * intl/plural.c: Regenerated.
2183 2012-03-09 Richard Henderson <rth@twiddle.net>
2185 * include/math_private.h: Remove file.
2186 * math/math_private.h: Move file ...
2187 * sysdeps/generic/math_private.h: ... here.
2189 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2190 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2191 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2193 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2194 and <math_private.h>.
2195 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2196 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2197 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2198 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2199 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2228 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2230 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2232 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2233 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2235 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2236 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2237 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2238 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2249 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2250 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2251 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2283 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2286 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2288 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2289 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2290 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2292 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2295 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2296 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2297 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2298 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2300 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2302 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2307 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2309 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2311 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2312 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2313 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2314 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2315 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2316 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2317 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2318 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2319 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2322 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2323 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2324 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2325 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2327 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2328 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2329 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2330 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2331 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2332 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2333 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2334 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2336 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2337 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2338 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2339 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2340 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2341 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2342 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2343 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2344 * sysdeps/ieee754/k_standard.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2493 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2494 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2495 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2504 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2505 * sysdeps/ieee754/s_lib_version.c: Likewise.
2506 * sysdeps/ieee754/s_matherr.c: Likewise.
2507 * sysdeps/ieee754/s_signgam.c: Likewise.
2508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2510 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2511 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2513 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2514 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2515 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2516 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2517 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2518 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2519 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2520 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2521 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2522 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2525 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2530 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2532 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2533 * sunrpc/rpc_main.c: Likewise.
2534 * sunrpc/rpc_svcout.c: Likewise.
2536 2012-03-09 David S. Miller <davem@davemloft.net>
2538 * include/math_private.h: New file.
2540 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2542 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2543 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2544 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2545 from <bits/socket_type.h>.
2546 (enum __socket_type): Don't define here.
2547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2552 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2555 * Makerules ($(inst_includedir)/%.h): New rule.
2556 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2557 (install-others): Remove variable setting.
2558 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2560 2012-03-08 Richard Henderson <rth@twiddle.net>
2562 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2563 from macro to inline function; merge with the
2564 !__LIBC_INTERNAL_MATH_INLINES version.
2565 (__ieee754_sqrtf): Likewise.
2567 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2569 (__rintf, __floor, __floorf): Likewise.
2571 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2572 macro to inline function.
2573 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2575 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2576 not <math/math_private.h>.
2578 2012-03-08 David S. Miller <davem@davemloft.net>
2580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2582 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2584 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2586 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2588 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2591 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2593 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2594 be defined individually, they must be defined as a block. Define
2595 S for printing a string instead of hidint the different by using a
2596 macro for adding the 'l'.
2597 * stdio-common/tst-fphex-wide.c: Adjust.
2599 2012-03-07 Marek Polacek <polacek@redhat.com>
2601 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2603 2012-03-08 Marek Polacek <polacek@redhat.com>
2606 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2607 * stdio-common/tst-fphex.c: Define a few macros to make the
2608 test reusable. Use them.
2609 * stdio-common/tst-fphex-wide.c: New file.
2611 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2614 * manual/macros.texi (gnusystems): New macro.
2615 (nongnusystems): Likewise.
2616 (gnulinuxhurdsystems): Likewise.
2617 (gnuhurdsystems): Likewise..
2618 (gnulinuxsystems): Likewise.
2619 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2620 variants of the GNU system, not "GNU system".
2621 * manual/conf.texi: Likewise.
2622 * manual/errno.texi: Likewise. Update example of errno macro
2624 * manual/filesys.texi: Likewise.
2625 (getumask): Document as specific to GNU/Hurd.
2626 * manual/install.texi: Likewise. Reword some references to
2628 * manual/intro.texi: Likewise.
2629 * manual/io.texi: Likewise.
2630 (File Name Portability): Detail which constraints are inapplicable
2631 to all GNU systems and which are only inapplicable to GNU/Hurd.
2632 * manual/job.texi: Likewise.
2633 * manual/llio.texi: Likewise.
2634 (O_NOCTTY): Document as present on GNU/Linux.
2635 * manual/maint.texi: Likewise.
2636 * manual/memory.texi: Likewise.
2637 * manual/pattern.texi: Likewise.
2638 * manual/pipe.texi: Likewise.
2639 * manual/process.texi: Likewise.
2640 * manual/resource.texi: Likewise.
2641 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2643 * manual/setjmp.texi: Likewise.
2644 * manual/signal.texi: Likewise.
2645 * manual/startup.texi: Likewise.
2646 * manual/stdio.texi: Likewise.
2647 * manual/terminal.texi: Likewise.
2648 (ONLCR): Document as POSIX.
2649 (OXTABS): Document availability on GNU/Linux as XTABS.
2650 (ONOEOT): Document availability separately from other bits.
2651 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2652 * manual/time.texi: Likewise.
2653 * manual/users.texi: Likewise.
2654 * INSTALL: Regenerated.
2655 * sysdeps/gnu/errlist.c: Regenerated.
2657 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2658 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2659 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2661 * configure: Regenerated.
2663 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2665 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2666 default includes instead of AC_HEADER_CHECK.
2667 * sysdeps/i386/configure: Regenerated.
2670 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2671 * math/s_cacoshf.c (__cacoshf): Likewise.
2672 * math/s_cacoshl.c (__cacoshl): Likewise.
2673 * math/s_casinh.c (__casinh): Set signs of result from argument.
2674 * math/s_casinhf.c (__casinhf): Likewise.
2675 * math/s_casinhl.c (__casinhl): Likewise.
2676 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2677 (casinh_test): Add more tests.
2678 * sysdeps/i386/fpu/libm-test-ulps: Update.
2679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2683 * po/zh_TW.po: Update from translation team.
2685 * login/Makefile (distribute): Remove variable.
2686 * catgets/Makefile: Likewise.
2687 * mach/Makefile: Likewise.
2688 * malloc/Makefile: Likewise.
2689 * misc/Makefile: Likewise.
2690 * iconv/Makefile: Likewise.
2691 * nscd/Makefile: Likewise.
2692 * hurd/Makefile: Likewise.
2693 * manual/Makefile: Likewise.
2694 * locale/Makefile: Likewise.
2695 * intl/Makefile: Likewise.
2696 * conform/Makefile: Likewise.
2697 * nss/Makefile: Likewise.
2698 * time/Makefile: Likewise.
2699 * soft-fp/Makefile: Likewise.
2700 * dirent/Makefile: Likewise.
2701 * gmon/Makefile: Likewise.
2702 * po/Makefile: Likewise.
2703 * rt/Makefile: Likewise.
2704 * socket/Makefile: Likewise.
2705 * math/Makefile: Likewise.
2706 * signal/Makefile: Likewise.
2707 * debug/Makefile: Likewise.
2708 * elf/Makefile: Likewise.
2709 * timezone/Makefile: Likewise.
2710 * stdlib/Makefile: Likewise.
2711 * iconvdata/Makefile: Likewise.
2712 * sunrpc/Makefile: Likewise.
2713 * io/Makefile: Likewise.
2714 * argp/Makefile: Likewise.
2715 * inet/Makefile: Likewise.
2716 * hesiod/Makefile: Likewise.
2717 * grp/Makefile: Likewise.
2718 * csu/Makefile: Likewise.
2719 * wctype/Makefile: Likewise.
2720 * crypt/Makefile: Likewise.
2721 * libio/Makefile: Likewise.
2722 * string/Makefile: Likewise.
2723 * nis/Makefile: Likewise.
2724 * resolv/Makefile: Likewise.
2725 * stdio-common/Makefile: Likewise.
2726 * wcsmbs/Makefile: Likewise.
2727 * dlfcn/Makefile: Likewise.
2728 * posix/Makefile: Likewise.
2730 * timezone/Makefile: Don't install timezone files, just the programs
2733 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2735 * nss/databases.def: Add missing gshadow entry.
2737 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2739 2012-03-06 Marek Polacek <polacek@redhat.com>
2742 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2743 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2744 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2745 * stdio-common/tst-long-dbl-fphex.c: New file.
2747 2012-03-06 David S. Miller <davem@davemloft.net>
2749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2750 (set_obp_int): New function.
2751 (get_obp_int): New function.
2752 (__get_clockfreq_via_dev_openprom): Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2754 Avoid unused variable warnings on 'val' and use builtin_expect.
2755 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2757 (INLINE_CLONE_SYSCALL): Likewise.
2759 2012-03-05 David S. Miller <davem@davemloft.net>
2761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2763 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2767 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2771 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2774 Replace gettimeofday with __vdso_gettimeofday.
2776 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2777 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2778 __vdso_clock_gettime and __vdso_getcpu.
2780 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2781 time with __vdso_time.
2783 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2785 * manual/lang.texi (size_t): Note types to which size_t may be
2786 equivalent with the GNU C Library, but do not describe when
2787 differences between them are significant.
2789 2012-03-05 Andreas Jaeger <aj@suse.de>
2791 * sysdeps/i386/fpu/libm-test-ulps: Update.
2793 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2797 (__ieee754_pow): Save and restore rounding mode and use
2798 round-to-nearest for main computations.
2799 * math/libm-test.inc (pow_test_tonearest): New function.
2800 (pow_test_towardzero): Likewise.
2801 (pow_test_downward): Likewise.
2802 (pow_test_upward): Likewise.
2803 (main): Call the new functions.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2808 * math/libm-test.inc (cosh_test_tonearest): New function.
2809 (cosh_test_towardzero): Likewise.
2810 (cosh_test_downward): Likewise.
2811 (cosh_test_upward): Likewise.
2812 (sinh_test_tonearest): Likewise.
2813 (sinh_test_towardzero): Likewise.
2814 (sinh_test_downward): Likewise.
2815 (sinh_test_upward): Likewise.
2816 (main): Call the new functions.
2817 * sysdeps/i386/fpu/libm-test-ulps: Update.
2818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2820 2012-03-05 Tom de Vries <tom@codesourcery.com>
2822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2823 default stack guard is set in last bytes.
2824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2826 2012-03-05 Kees Cook <keescook@chromium.org>
2828 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2831 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2832 possibly allocate from heap instead of stack.
2833 * stdio-common/bug-vfprintf-nargs.c: New file.
2834 * stdio-common/Makefile (tests): Add nargs overflow test.
2836 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2840 2012-03-03 Marek Polacek <polacek@redhat.com>
2842 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2843 * math/math_private.h: Likewise.
2844 * stdlib/tst-strtod.c: Likewise.
2845 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2846 * sysdeps/x86_64/bits/atomic.h: Likewise.
2848 2012-03-02 David S. Miller <davem@davemloft.net>
2850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2854 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2855 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2856 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2857 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2859 2012-03-02 Roland McGrath <roland@hack.frob.com>
2862 * manual/examples/README: New file, says the example source files
2863 can be used under GPL>=2.
2864 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2865 line containing just "*/".
2866 * manual/examples/add.c: Add copyright header (GPL>=2).
2867 * manual/examples/argp-ex1.c: Likewise.
2868 * manual/examples/argp-ex2.c: Likewise.
2869 * manual/examples/argp-ex3.c: Likewise.
2870 * manual/examples/argp-ex4.c: Likewise.
2871 * manual/examples/atexit.c: Likewise.
2872 * manual/examples/db.c: Likewise.
2873 * manual/examples/dir.c: Likewise.
2874 * manual/examples/dir2.c: Likewise.
2875 * manual/examples/execinfo.c: Likewise.
2876 * manual/examples/filecli.c: Likewise.
2877 * manual/examples/filesrv.c: Likewise.
2878 * manual/examples/fmtmsgexpl.c: Likewise.
2879 * manual/examples/genpass.c: Likewise.
2880 * manual/examples/inetcli.c: Likewise.
2881 * manual/examples/inetsrv.c: Likewise.
2882 * manual/examples/isockad.c: Likewise.
2883 * manual/examples/longopt.c: Likewise.
2884 * manual/examples/memopen.c: Likewise.
2885 * manual/examples/memstrm.c: Likewise.
2886 * manual/examples/mkfsock.c: Likewise.
2887 * manual/examples/mkisock.c: Likewise.
2888 * manual/examples/mygetpass.c: Likewise.
2889 * manual/examples/pipe.c: Likewise.
2890 * manual/examples/popen.c: Likewise.
2891 * manual/examples/rprintf.c: Likewise.
2892 * manual/examples/search.c: Likewise.
2893 * manual/examples/select.c: Likewise.
2894 * manual/examples/setjmp.c: Likewise.
2895 * manual/examples/sigh1.c: Likewise.
2896 * manual/examples/sigusr.c: Likewise.
2897 * manual/examples/stpcpy.c: Likewise.
2898 * manual/examples/strdupa.c: Likewise.
2899 * manual/examples/strftim.c: Likewise.
2900 * manual/examples/strncat.c: Likewise.
2901 * manual/examples/subopt.c: Likewise.
2902 * manual/examples/swapcontext.c: Likewise.
2903 * manual/examples/termios.c: Likewise.
2904 * manual/examples/testopt.c: Likewise.
2905 * manual/examples/testpass.c: Likewise.
2906 * manual/examples/timeval_subtract.c: Likewise.
2909 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2911 * manual/timeval_subtract.c.texi: ... here, new file.
2913 2012-03-02 David S. Miller <davem@davemloft.net>
2915 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2917 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2920 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2921 (__sin): Save and restore rounding mode and use round-to-nearest
2922 for all computations.
2923 (__cos): Save and restore rounding mode and use round-to-nearest
2924 for all computations.
2925 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2927 (tan): Save and restore rounding mode and use round-to-nearest for
2929 * math/libm-test.inc (cos_test_tonearest): New function.
2930 (cos_test_towardzero): Likewise.
2931 (cos_test_downward): Likewise.
2932 (cos_test_upward): Likewise.
2933 (sin_test_tonearest): Likewise.
2934 (sin_test_towardzero): Likewise.
2935 (sin_test_downward): Likewise.
2936 (sin_test_upward): Likewise.
2937 (tan_test_tonearest): Likewise.
2938 (tan_test_towardzero): Likewise.
2939 (tan_test_downward): Likewise.
2940 (tan_test_upward): Likewise.
2941 (main): Call the new functions.
2942 * sysdeps/i386/fpu/libm-test-ulps: Update.
2943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2946 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2947 small n, then large n, before computing and testing k+n.
2948 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2953 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2954 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2955 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2956 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2960 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2961 * math/libm-test.inc (scalbn_test): Add more tests.
2962 (scalbln_test): Likewise.
2964 * manual/filesys.texi (mode_t): Describe constraints on size and
2965 signedness, not exact equivalence to a particular type.
2967 (ino64_t): Likewise.
2969 (nlink_t): Likewise.
2970 (blkcnt_t): Likewise.
2971 (blkcnt64_t): Likewise.
2972 * manual/llio.texi (off_t): Likewise.
2975 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2976 (__ieee754_exp): Save and restore rounding mode and use
2977 round-to-nearest for all computations.
2978 * math/libm-test.inc (exp_test_tonearest): New function.
2979 (exp_test_towardzero): Likewise.
2980 (exp_test_downward): Likewise.
2981 (exp_test_upward): Likewise.
2982 (main): Call the new functions.
2983 * sysdeps/i386/fpu/libm-test-ulps: Update.
2984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986 2012-03-01 Chris Demetriou <cgd@google.com>
2988 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2989 have predictable order.
2991 2012-03-01 David S. Miller <davem@davemloft.net>
2993 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2995 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2996 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2997 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2998 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3000 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3001 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3002 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3004 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3005 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3006 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3007 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3008 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3013 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3016 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3017 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3018 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3023 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3024 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3025 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3026 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3032 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3033 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3034 * sysdeps/sparc/elf/configure: Regenerated.
3036 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3038 * configure.in (AS, LD): Require binutils 2.20 or later.
3039 * configure: Regenerated.
3040 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3041 as required minimum version.
3042 * INSTALL: Regenerated.
3046 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3047 before squaring exponent.
3048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3049 bottom long double and 27 bits of top long double before squaring
3051 * math/libm-test.inc (erfc_test): Add more tests.
3052 * sysdeps/i386/fpu/libm-test-ulps: Update.
3053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3056 2012-03-01 Kai Tietz <ktietz@redhat.com>
3058 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3059 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3060 containing bit-fields.
3061 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3062 * soft-fp/single.h (_FP_UNION_S): Likewise.
3063 * soft-fp/double.h (_FP_UNION_D): Likewise.
3065 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3068 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3069 not include ../strcmp.S.
3070 [USE_AS_STRNCASECMP_L]: Likewise.
3071 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3072 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3073 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3074 (__strncasecmp_l_ia32): Define as alias to
3075 __strncasecmp_l_nonascii.
3078 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3079 * sysdeps/i386/fpu/libm-test-ulps: Update.
3080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3082 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3085 2012-02-29 Jeff Law <law@redhat.com>
3087 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3090 2012-02-29 Marek Polacek <polacek@redhat.com>
3093 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3094 * elf/Makefile: Add rules to run tst-unused-dep.out.
3096 2012-02-28 David S. Miller <davem@davemloft.net>
3098 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3099 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3102 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3103 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3105 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3107 * math/libm-test.inc (llround_test): Move one test from
3108 lround_test. Use TEST_f_L in moved test.
3109 (lround_test): Move misplaced test to llround_test. Add testcase
3112 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3114 * sysdeps/x86_64/fpu/e_expf.S: New file.
3115 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3117 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3120 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3121 of remain_len that may cause incomplete multi-byte character and
3123 * posix/bug-regex33.c: New file.
3124 * posix/Makefile (tests): Add bug-regex33.
3126 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3128 * manual/macros.texi: New file.
3129 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3130 * manual/libc.texinfo: Include macros.texi.
3131 * manual/creatute.texi: Likewise.
3132 * manual/install.texi: Likewise.
3133 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3134 @glibcadj{} in references to the GNU C Library.
3135 * manual/charset.texi: Likewise.
3136 * manual/conf.texi: Likewise.
3137 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3138 when not using those macros.
3139 * manual/creature.texi: Likewise.
3140 * manual/crypt.texi: Likewise.
3141 * manual/errno.texi: Likewise.
3142 * manual/filesys.texi: Likewise.
3143 * manual/header.texi: Likewise.
3144 * manual/install.texi: Likewise.
3145 * manual/intro.texi: Likewise.
3146 * manual/io.texi: Likewise.
3147 * manual/job.texi: Likewise.
3148 * manual/lang.texi: Likewise.
3149 * manual/libc.texiinfo: Likewise.
3150 * manual/llio.texi: Likewise.
3151 * manual/locale.texi: Likewise.
3152 * manual/maint.texi: Likewise.
3153 * manual/math.texi: Likewise.
3154 * manual/memory.texi: Likewise.
3155 * manual/message.texi: Likewise.
3156 * manual/nss.texi: Likewise.
3157 * manual/pattern.texi: Likewise.
3158 * manual/process.texi: Likewise.
3159 * manual/resource.texi: Likewise.
3160 * manual/search.texi: Likewise.
3161 * manual/setjmp.texi: Likewise.
3162 * manual/signal.texi: Likewise.
3163 * manual/socket.texi: Likewise.
3164 * manual/startup.texi: Likewise.
3165 * manual/stdio.texi: Likewise.
3166 * manual/string.texi: Likewise.
3167 * manual/sysinfo.texi: Likewise.
3168 * manual/syslog.texi: Likewise.
3169 * manual/terminal.texi: Likewise.
3170 * manual/time.texi: Likewise.
3171 * manual/users.texi: Likewise.
3172 * INSTALL: Regenerated.
3173 * NOTES: Regenerated.
3174 * sysdeps/gnu/errlist.c: Regenerated.
3176 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3178 * include/dirent.h: Include <dirstream.h> before
3181 2012-02-28 David S. Miller <davem@davemloft.net>
3183 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3184 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3185 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3186 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3188 2012-02-27 David S. Miller <davem@davemloft.net>
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3192 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3193 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3196 frame pointer instead of stack pointer relative arg slot.
3197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3198 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3199 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3201 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3204 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3206 2012-02-27 David S. Miller <davem@davemloft.net>
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3214 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3215 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3217 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3219 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3220 later. Allow versions 5-9.
3221 * configure: Regenerated.
3222 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3223 required minimum version and 4.6 as recommended version. Do not
3224 mention bugs in GCC 2.7 and 2.8.
3225 * INSTALL: Regenerated.
3227 2012-02-27 David S. Miller <davem@davemloft.net>
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3235 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3239 manipulate bits before adding and subtracting TWO112[sx].
3240 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3242 2012-02-27 Roland McGrath <roland@hack.frob.com>
3245 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3246 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3247 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3248 being in POSIX, because they are in 1003.1-2008.
3250 * rt/tst-aio.c: Include <fcntl.h>.
3251 * rt/tst-aio7.c: Likewise.
3252 * rt/tst-aio64.c: Likewise.
3254 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3256 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3258 * manual/install.texi (--with-headers): Describe headers as
3259 interface headers, not private headers.
3260 (Specific advice for GNU/Linux systems): Describe use of headers
3261 from "make headers_install", not private headers from older
3263 * INSTALL: Regenerated.
3264 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3266 * sysdeps/unix/sysv/linux/configure: Regenerated.
3268 * manual/llio.texi (fclean): Remove documentation.
3270 * manual/Makefile (libc-texi-generated): New variable. Include
3272 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3273 $(libc-texi-generated), not duplicated list of files.
3274 (version.texi, stamp-version): New rules.
3275 (realclean): Remove $(libc-texi-generated), not individual files
3276 from that list. Do not remove dir-add.texinfo.
3277 * manual/libc.texinfo: Comment out uses of edition numbers and
3278 references to printed manual. Remove last-updated dates.
3279 (EDITION): Comment out.
3281 (VERSION, UPDATED): Remove.
3282 (version.texi): Include.
3284 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3286 * sysdeps/posix/spawni.c: Include <signal.h>.
3287 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3288 * sysdeps/pthread/aio_fsync.c: Likewise.
3290 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3292 * conform/Makefile (tests): Run only when not cross-compiling and
3293 when fast-check is not defined.
3295 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3296 * conform/data/limits.h-data: Fixes for POSIX2008.
3297 * conform/run-conformtest.sh: Run all tests.
3298 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3300 * include/bits/dlfcn.h: Likewise.
3301 * include/langinfo.h: Likewise.
3302 * include/monetary.h: Likewise.
3303 * include/sys/poll.h: Likewise.
3305 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3307 * posix/spawn.h: Define __need_sigset_t.
3308 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3309 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3310 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3311 to get sigevent_t only.
3312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3315 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3316 process_vm_writev only for __USE_GNU.
3317 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3319 * conform/Makefile: For now ignore errors from run-conformtest.
3320 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3321 POSIX to avoid namespace pollution. Don't prepend headers.
3322 * conform/data/aio.h-data: Fixes for POSIX testing.
3323 * conform/data/fcntl.h-data: Likewise.
3324 * conform/data/glob.h-data: Likewise.
3325 * conform/data/grp.h-data: Likewise.
3326 * conform/data/pthread.h-data: Likewise.
3327 * conform/data/pwd.h-data: Likewise.
3328 * conform/data/signal.h-data: Likewise.
3329 * conform/data/spawn.h-data: Likewise.
3330 * conform/data/stdio.h-data: Likewise.
3331 * conform/data/stdlib.h-data: Likewise.
3332 * conform/data/stropts.h-data: Likewise.
3333 * conform/data/sys/mman.h-data: Likewise.
3334 * conform/data/sys/stat.h-data: Likewise.
3335 * conform/data/sys/types.h-data: Likewise.
3336 * conform/data/sys/wait.h-data: Likewise.
3337 * conform/data/time.h-data: Likewise.
3338 * conform/data/unistd.h-data: Likewise.
3339 * conform/data/utime.h-data: Likewise.
3341 * io/sys/stat.h: fchmod was always in POSIX.
3342 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3343 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3344 * rt/aio.h: Define __need_timespec before including <time.h>.
3345 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3346 struct. Add forward declaration of pthread_attr_t and use it in
3348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3350 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3351 always remove CLK_TCK definition.
3353 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3355 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3357 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3359 * conform/run-conformtest.sh: New file.
3360 * conform/Makefile: Run run-conformtest for tests.
3361 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3364 * conform/data/uchar.h-data: New file.
3365 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3366 * conform/data/arpa/inet.h-data: Likewise.
3367 * conform/data/assert.h-data: Likewise.
3368 * conform/data/complex.h-data: Likewise.
3369 * conform/data/cpio.h-data: Likewise.
3370 * conform/data/ctype.h-data: Likewise.
3371 * conform/data/dirent.h-data: Likewise.
3372 * conform/data/dlfcn.h-data: Likewise.
3373 * conform/data/errno.h-data: Likewise.
3374 * conform/data/fcntl.h-data: Likewise.
3375 * conform/data/float.h-data: Likewise.
3376 * conform/data/fmtmsg.h-data: Likewise.
3377 * conform/data/fnmatch.h-data: Likewise.
3378 * conform/data/ftw.h-data: Likewise.
3379 * conform/data/glob.h-data: Likewise.
3380 * conform/data/grp.h-data: Likewise.
3381 * conform/data/iconv.h-data: Likewise.
3382 * conform/data/inttypes.h-data: Likewise.
3383 * conform/data/langinfo.h-data: Likewise.
3384 * conform/data/libgen.h-data: Likewise.
3385 * conform/data/limits.h-data: Likewise.
3386 * conform/data/locale.h-data: Likewise.
3387 * conform/data/math.h-data: Likewise.
3388 * conform/data/monetary.h-data: Likewise.
3389 * conform/data/mqueue.h-data: Likewise.
3390 * conform/data/ndbm.h-data: Likewise.
3391 * conform/data/net/if.h-data: Likewise.
3392 * conform/data/netdb.h-data: Likewise.
3393 * conform/data/netinet/in.h-data: Likewise.
3394 * conform/data/nl_types.h-data: Likewise.
3395 * conform/data/poll.h-data: Likewise.
3396 * conform/data/pthread.h-data: Likewise.
3397 * conform/data/pwd.h-data: Likewise.
3398 * conform/data/regex.h-data: Likewise.
3399 * conform/data/sched.h-data: Likewise.
3400 * conform/data/search.h-data: Likewise.
3401 * conform/data/semaphore.h-data: Likewise.
3402 * conform/data/setjmp.h-data: Likewise.
3403 * conform/data/signal.h-data: Likewise.
3404 * conform/data/spawn.h-data: Likewise.
3405 * conform/data/stdarg.h-data: Likewise.
3406 * conform/data/stdio.h-data: Likewise.
3407 * conform/data/stdlib.h-data: Likewise.
3408 * conform/data/string.h-data: Likewise.
3409 * conform/data/strings.h-data: Likewise.
3410 * conform/data/stropts.h-data: Likewise.
3411 * conform/data/sys/ipc.h-data: Likewise.
3412 * conform/data/sys/mman.h-data: Likewise.
3413 * conform/data/sys/msg.h-data: Likewise.
3414 * conform/data/sys/resource.h-data: Likewise.
3415 * conform/data/sys/select.h-data: Likewise.
3416 * conform/data/sys/sem.h-data: Likewise.
3417 * conform/data/sys/shm.h-data: Likewise.
3418 * conform/data/sys/socket.h-data: Likewise.
3419 * conform/data/sys/stat.h-data: Likewise.
3420 * conform/data/sys/statvfs.h-data: Likewise.
3421 * conform/data/sys/time.h-data: Likewise.
3422 * conform/data/sys/timeb.h-data: Likewise.
3423 * conform/data/sys/times.h-data: Likewise.
3424 * conform/data/sys/types.h-data: Likewise.
3425 * conform/data/sys/uio.h-data: Likewise.
3426 * conform/data/sys/un.h-data: Likewise.
3427 * conform/data/sys/utsname.h-data: Likewise.
3428 * conform/data/sys/wait.h-data: Likewise.
3429 * conform/data/syslog.h-data: Likewise.
3430 * conform/data/tar.h-data: Likewise.
3431 * conform/data/termios.h-data: Likewise.
3432 * conform/data/utime.h-data: Likewise.
3433 * conform/data/utmpx.h-data: Likewise.
3434 * conform/data/varargs.h-data: Likewise.
3435 * conform/data/wchar.h-data: Likewise.
3436 * conform/data/wctype.h-data: Likewise.
3437 * conform/data/wordexp.h-data: Likewise.
3439 * include/stropts.h: New file.
3440 * include/uchar.h: New file.
3441 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3442 * include/assert.h: Likewise.
3443 * include/ctype.h: Likewise.
3444 * include/dirent.h: Likewise.
3445 * include/dlfcn.h: Likewise.
3446 * include/fcntl.h: Likewise.
3447 * include/fnmatch.h: Likewise.
3448 * include/glob.h: Likewise.
3449 * include/grp.h: Likewise.
3450 * include/libio.h: Likewise.
3451 * include/locale.h: Likewise.
3452 * include/math.h: Likewise.
3453 * include/net/if.h: Likewise.
3454 * include/netdb.h: Likewise.
3455 * include/netinet/in.h: Likewise.
3456 * include/pthread.h: Likewise.
3457 * include/pwd.h: Likewise.
3458 * include/regex.h: Likewise.
3459 * include/sched.h: Likewise.
3460 * include/search.h: Likewise.
3461 * include/setjmp.h: Likewise.
3462 * include/signal.h: Likewise.
3463 * include/stdio.h: Likewise.
3464 * include/stdlib.h: Likewise.
3465 * include/string.h: Likewise.
3466 * include/sys/cdefs.h: Likewise.
3467 * include/sys/mman.h: Likewise.
3468 * include/sys/msg.h: Likewise.
3469 * include/sys/resource.h: Likewise.
3470 * include/sys/select.h: Likewise.
3471 * include/sys/socket.h: Likewise.
3472 * include/sys/stat.h: Likewise.
3473 * include/sys/statvfs.h: Likewise.
3474 * include/sys/time.h: Likewise.
3475 * include/sys/times.h: Likewise.
3476 * include/sys/uio.h: Likewise.
3477 * include/sys/utsname.h: Likewise.
3478 * include/sys/wait.h: Likewise.
3479 * include/termios.h: Likewise.
3480 * include/time.h: Likewise.
3481 * include/ulimit.h: Likewise.
3482 * include/unistd.h: Likewise.
3483 * include/utime.h: Likewise.
3484 * include/wchar.h: Likewise.
3485 * include/wctype.h: Likewise.
3486 * include/wordexp.h: Likewise.
3488 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3490 * time/time.h: TIME_UTC must be a macro.
3491 Make timespec_get available for ISO C11 only as well.
3493 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3495 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3496 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3498 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3500 * configure.in: Use -o not -a in test for unsupported multi-arch.
3502 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3504 * manual/texinfo.tex: Update to version 2012-01-19.16.
3506 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3508 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3510 2012-02-24 Roland McGrath <roland@hack.frob.com>
3513 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3514 * manual/fdl-1.3.texi: New file.
3515 * manual/fdl-1.1.texi: File removed.
3518 * manual/libc.texinfo (FDL_VERSION): New @set.
3519 Use it for mention of FDL in cover text.
3520 (Documentation License): Use it in @include file name.
3522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3523 Roland McGrath <roland@hack.frob.com>
3526 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3527 not LONG_LONG_MAX and LONG_LONG_MIN.
3528 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3529 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3531 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3533 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3538 manipulate bits before adding and subtracting TWO23[sx].
3539 * math/libm-test.inc (nearbyint_test): Add more tests.
3541 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3545 bits before adding and subtracting TWO23[sx].
3546 * math/libm-test.inc (rint_test): Add more tests.
3547 (rint_test_tonearest): Likewise.
3548 (rint_test_towardzero): Likewise.
3549 (rint_test_downward): Likewise.
3550 (rint_test_upward: Likewise.
3552 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3555 * include/stdc-predef.h: New file. Extracted from features.h.
3556 * include/features.h: Include stdc-predef.h.
3557 * Makefile (headers): Add stdc-predef.h.
3558 * CONFORMANCE (Compiler limitations): Update.
3560 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3562 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3564 2012-02-21 David S. Miller <davem@davemloft.net>
3566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3567 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3569 2012-02-20 David S. Miller <davem@davemloft.net>
3571 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3572 using a normal save/restore sequence, rather than allocating a
3573 dummy stack frame just to store a frame pointer and restore.
3574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3576 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3578 * manual/install.texi: Fix stray word in line-wrapped comment.
3580 2012-02-20 David S. Miller <davem@davemloft.net>
3582 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3583 both binutils and gcc support GOTDATA.
3585 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3586 "rd %pc" in the PIC register setup sequences.
3588 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3589 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3591 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3592 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3597 (SYSCALL_ERROR_HANDLER): Likewise.
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3601 (SYSCALL_ERROR_HANDLER): Likewise.
3603 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3604 (HAVE_GCC_GOTDATA): New.
3605 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3606 relocation support in both binutils and gcc.
3607 * sysdeps/sparc/elf/configure: Regenerate.
3609 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3610 * sysdeps/sparc/sparc32/elf/configure: Delete.
3611 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3612 * sysdeps/sparc/sparc64/elf/configure: Delete.
3613 * sysdeps/sparc/elf/configure.in: New file.
3614 * sysdeps/sparc/elf/configure: Generate.
3616 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3617 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3618 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3619 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3620 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3622 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3624 * manual/install.texi: Do not mention specific glibc version
3626 * manual/libc.texinfo (VERSION, UPDATED): Update.
3627 (@copying): Use @copyright{} and range of years.
3629 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3632 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3633 [crti.S not in sysdirs] (generated): Do not append.
3634 [crti.S not in sysdirs] (omit-deps): Likewise.
3635 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3636 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3637 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3638 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3639 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3641 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3642 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3643 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3644 * csu/defs.awk: Remove file.
3645 * sysdeps/generic/initfini.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3648 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3651 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3653 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3654 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3656 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3657 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3658 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3660 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3661 (__EPOLL_PACKED): Define to empty if not defined by
3663 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3667 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3669 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3670 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3671 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3672 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3674 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3678 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3680 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3682 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3683 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3687 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3692 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3694 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3695 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3697 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3699 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3702 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3704 * math/w_acos.c: Use non-signaling floating-point comparisons.
3705 * math/w_acosf.c: Likewise.
3706 * math/w_acosh.c: Likewise.
3707 * math/w_acoshf.c: Likewise.
3708 * math/w_acoshl.c: Likewise.
3709 * math/w_acosl.c: Likewise.
3710 * math/w_asin.c: Likewise.
3711 * math/w_asinf.c: Likewise.
3712 * math/w_asinl.c: Likewise.
3713 * math/w_atanh.c: Likewise.
3714 * math/w_atanhf.c: Likewise.
3715 * math/w_atanhl.c: Likewise.
3716 * math/w_exp2.c: Likewise.
3717 * math/w_exp2f.c: Likewise.
3718 * math/w_exp2l.c: Likewise.
3719 * math/w_j0.c: Likewise.
3720 * math/w_j0f.c: Likewise.
3721 * math/w_j0l.c: Likewise.
3722 * math/w_j1.c: Likewise.
3723 * math/w_j1f.c: Likewise.
3724 * math/w_j1l.c: Likewise.
3725 * math/w_jn.c: Likewise.
3726 * math/w_jnf.c: Likewise.
3727 * math/w_log.c: Likewise.
3728 * math/w_log10.c: Likewise.
3729 * math/w_log10f.c: Likewise.
3730 * math/w_log10l.c: Likewise.
3731 * math/w_log2.c: Likewise.
3732 * math/w_log2f.c: Likewise.
3733 * math/w_log2l.c: Likewise.
3734 * math/w_logf.c: Likewise.
3735 * math/w_logl.c: Likewise.
3736 * math/w_sqrt.c: Likewise.
3737 * math/w_sqrtf.c: Likewise.
3738 * math/w_sqrtl.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3742 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3743 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3745 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3748 * manual/string.texi (strnlen): Use correct parameter name in
3749 equivalent expression.
3751 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3754 * manual/users.texi (seteuid): Consistently use neweuid for
3757 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3760 * manual/nss.texi (Services in the NSS configuration): Correct
3761 list of services in example configuration file.
3763 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3766 * manual/arith.texi: Remove statements about negative zero
3767 behaving identically to zero.
3769 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3772 * manual/install.texi: Do not document upgrading from libc5.
3774 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3777 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3779 2012-02-18 David S. Miller <davem@davemloft.net>
3781 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3782 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3783 %o7 across the call.
3784 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3789 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3790 * sysdeps/sparc/crtn.S: Likewise.
3792 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3794 * aout/Makefile: Remove.
3796 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3799 * manual/examples/argp-ex1.c (main): Format definition in GNU
3801 * manual/examples/argp-ex2.c (main): Likewise.
3802 * manual/examples/argp-ex3.c (main): Likewise.
3803 * manual/examples/argp-ex4.c (main): Likewise.
3804 * manual/examples/longopt.c (main): Use new-style prototype
3806 * manual/examples/strncat.c (main): Specify return type and use
3807 (void) for arguments.
3808 * manual/examples/subopt.c (main): Use char **argv argument.
3810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3813 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3816 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3819 * manual/string.texi (strchr): Change when strchrnul is
3822 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3825 * manual/locale.texi (setlocale): Document LOCPATH.
3827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3830 * manual/process.texi (execle): Move @dots{} before last argument.
3832 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3835 * manual/charset.texi (Generic Charset Conversion): Fix typo
3836 (LC_TYPE -> LC_CTYPE).
3838 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3841 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3842 (scalbnf): Likewise.
3843 (scalbnl): Likewise.
3844 (scalbln): Likewise.
3845 (scalblnf): Likewise.
3846 (scalblnl): Likewise.
3847 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3851 * manual/filesys.texi (telldir): Use braces around return type.
3852 * manual/llio.texi (mmap): Add space after comma.
3854 * manual/math.texi (jn): Use @var{} on parameter names.
3860 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3862 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3864 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3865 (sched_get_priority_max): Likewise.
3866 * manual/signal.texi (sigvec): Add space after comma.
3867 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3869 (if_indextoname): Likewise.
3870 (if_freenameindex): Likewise.
3871 (sendto): Use ',' instead of '.' in prototype.
3872 * manual/startup.texi (syscall): Use @dots{} instead of literal
3874 * manual/stdio.texi (__fpending): Separate initial words of
3875 paragraph from @deftypefun line.
3876 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3878 (vsyslog): Use @var{} on parameter names.
3879 * manual/terminal.texi (stty): Use @var{} on parameter names.
3880 * manual/users.texi (getutmp): Use @var{} on parameter names.
3881 (getutmpx): Likewise.
3883 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3886 * manual/stdio.texi (fopen): Fix typos in description of
3889 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3892 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3893 get clock_id definition.
3895 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3898 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3899 (madvise): Cast every argument to void on its own.
3901 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3904 * manual/startup.texi (Exit Status): Fix typo.
3906 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3909 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3910 * manual/examples/argp-ex2.c: Likewise.
3911 * manual/examples/argp-ex3.c: Likewise.
3913 2012-02-16 Richard Henderson <rth@redhat.com>
3915 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3916 * sysdeps/s390/s390-32/initfini.c: Remove.
3917 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3918 * sysdeps/s390/s390-64/initfini.c: Remove.
3920 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3922 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3923 compiler output for sysdeps/generic/initfini.c.
3924 * sysdeps/sh/elf/initfini.c: Remove file.
3926 2012-02-16 David S. Miller <davem@davemloft.net>
3929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3931 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3932 * sysdeps/sparc/crti.S: New file.
3933 * sysdeps/sparc/crtn.S: New file.
3934 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3935 * sysdeps/sparc/sparc64/Makefile: Likewise.
3937 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3940 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3942 2012-02-15 Roland McGrath <roland@hack.frob.com>
3945 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3947 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3948 (write, read, close): Likewise.
3949 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3951 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3953 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3954 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3956 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3958 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3962 2012-02-14 Marek Polacek <polacek@redhat.com>
3964 * sysdeps/x86_64/crti.S: New file.
3965 * sysdeps/x86_64/crtn.S: New file.
3966 * sysdeps/x86_64/elf/initfini.c: Remove file.
3968 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3970 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3971 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3972 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3973 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3975 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3979 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3981 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3982 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3983 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3984 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3986 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3990 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3992 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3993 __feraiseexcept instead of feraiseexcept.
3995 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3996 nanosleep invocations.
3997 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3998 strings, and add error checking for a nanosleep invocations.
4000 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4002 Replace FSF snail mail address with URLs, as per GNU coding standards.
4003 Most of the snail mail addresses were wrong anyway, and omitting
4004 them makes the source code easier to maintain. Almost all of the
4005 changes are to license notices and to locale LC_IDENTIFICATION
4006 addresses, except for this one:
4007 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4008 not its snail mail address.
4010 2012-02-09 Richard Henderson <rth@twiddle.net>
4012 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4013 of kernel-features.h.
4015 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4017 2012-02-08 Marek Polacek <polacek@redhat.com>
4019 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4020 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4021 * sysdeps/gnu/_G_config.h: Likewise.
4022 * sysdeps/generic/_G_config.h: Likewise.
4024 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4026 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4030 * sysdeps/powerpc/powerpc32/crti.S: New file.
4031 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4032 * sysdeps/powerpc/powerpc64/crti.S: New file.
4033 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4035 * Makeconfig (have-initfini): Don't set.
4036 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4037 * configure.in (nopic_initfini): Don't substitute.
4038 * config.h.in (HAVE_INITFINI): Don't #undef.
4039 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4040 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4042 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4044 Support crti.S and crtn.S provided directly by architectures.
4045 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4046 [crti.S in sysdirs] (omit-deps): Likewise.
4047 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4048 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4049 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4050 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4051 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4052 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4053 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4054 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4055 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4056 compiler output for sysdeps/generic/initfini.c.
4057 * sysdeps/i386/elf/Makefile: Remove file.
4058 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4060 2012-02-07 Marek Polacek <polacek@redhat.com>
4062 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4063 * sysdeps/gnu/_G_config.h: Likewise.
4064 * sysdeps/mach/hurd/_G_config.h: Likewise.
4066 2012-02-07 Marek Polacek <polacek@redhat.com>
4068 * math/Makefile (tests): Add tst-CMPLX2.
4069 * math/tst-CMPLX2.c: New file.
4071 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4073 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4075 * math/libm-test.inc (jn_test): Add missing L suffix.
4077 2012-02-06 Marek Polacek <polacek@redhat.com>
4079 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4080 * sysdeps/i386/fpu/e_powf.S: Likewise.
4081 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4082 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4083 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4084 * sysdeps/i386/fpu/e_pow.S: Likewise.
4085 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4086 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4087 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4088 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4089 * sysdeps/i386/fpu/e_log2.S: Likewise.
4090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4092 * sysdeps/i386/fpu/e_powl.S: Likewise.
4093 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4094 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4095 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4096 * sysdeps/i386/fpu/e_logl.S: Likewise.
4097 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4098 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4099 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4100 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4101 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4103 * sysdeps/i386/fpu/e_log.S: Likewise.
4104 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4105 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4106 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4107 * sysdeps/i386/fpu/e_logf.S: Likewise.
4108 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4110 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4111 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4112 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4113 * sysdeps/i386/fpu/e_log10.S: Likewise.
4114 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4116 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4117 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4118 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4119 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4120 * sysdeps/i386/asm-syntax.h: Likewise.
4121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4123 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4124 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4125 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4126 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4127 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4128 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4130 * sysdeps/powerpc/sysdep.h: Likewise.
4131 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4134 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4137 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4139 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4141 * sysdeps/i386/sysdep.h: Include <features.h>.
4142 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4145 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4147 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4149 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4152 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4154 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4155 (SETUP_PIC_REG): Use GET_PC_THUNK.
4156 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4159 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4162 for non-PIC compilation.
4163 (SETUP_PIC_REG): Add .p2align directive.
4164 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4165 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4166 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4168 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4169 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4170 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4172 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4173 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4174 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4175 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4176 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4177 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4178 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4180 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4181 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4182 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4196 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4197 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4198 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4199 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4200 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4201 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4202 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4203 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4204 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4206 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4208 * math/tst-CMPLX.c: Include <stdio.h>.
4210 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4212 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4214 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4215 * sysdeps/sparc/bits/mathdef.h: Likewise.
4217 2012-01-31 Marek Polacek <polacek@redhat.com>
4219 * libio/libio.h: Don't define _PARAMS.
4220 * locale/programs/config.h: Don't define PARAMS.
4221 * stdlib/strtol_l.c: Likewise.
4222 (__strtol_l): Remove PARAMS from the prototype.
4224 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4226 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4227 names. Just use the correct names. Remove unnecessary wrapper
4229 * malloc/arena.c: Likewise.
4230 * malloc/hooks.c: Likewise.
4232 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4233 ARENA_TEST says not to. Simplify test for creation of a new arena.
4234 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4236 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4238 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4240 (update_get_addr): New function.
4241 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4242 GET_ADDR_MODULE parameter.
4244 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4246 * crypt/cert.c: Remove __STDC__ conditionals.
4247 * crypt/crypt-entry.c: Likewise.
4248 * crypt/crypt_util.c: Likewise.
4249 * libio/filedoalloc.c: Likewise.
4250 * libio/fileops.c: Likewise.
4251 * libio/genops.c: Likewise.
4252 * libio/iofclose.c: Likewise.
4253 * libio/iofdopen.c: Likewise.
4254 * libio/iofopen.c: Likewise.
4255 * libio/iofopen64.c: Likewise.
4256 * libio/iogetdelim.c: Likewise.
4257 * libio/iopopen.c: Likewise.
4258 * libio/obprintf.c: Likewise.
4259 * libio/oldfileops.c: Likewise.
4260 * libio/oldiofclose.c: Likewise.
4261 * libio/oldiofdopen.c: Likewise.
4262 * libio/oldiofopen.c: Likewise.
4263 * libio/oldiopopen.c: Likewise.
4264 * libio/wfiledoalloc.c: Likewise.
4265 * libio/wgenops.c: Likewise.
4266 * locale/programs/xmalloc.c: Likewise.
4267 * misc/syslog.c: Likewise.
4268 * stdio-common/xbug.c: Likewise.
4269 * string/memchr.c: Likewise.
4270 * string/memcmp.c: Likewise.
4271 * string/memrchr.c: Likewise.
4272 * string/rawmemchr.c: Likewise.
4273 * sysdeps/posix/getcwd.c: Likewise.
4274 * time/strftime_l.c: Likewise.
4276 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4278 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4279 * config.make.in (config-cflags-sse2avx): Define.
4280 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4283 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4285 * scripts/config.guess: Update from upstream config git repository.
4286 * scripts/config.sub: Likewise.
4288 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4290 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4292 (R_TILEPRO_*, R_TILEGX_*): New macros.
4294 * scripts/firstversions.awk: Fix bug in version range handling.
4296 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4298 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4300 * include/sys/epoll.h: New file.
4301 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4304 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4306 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4307 Avoid unnecessary __WORDSIZE == 64 test.
4308 (fmaxf): Use VEX format if possible.
4313 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4314 * math/math_private.h: Remove libc_fegetround* and
4316 * sysdeps/i386/configure.in: Check for -msse2avx.
4317 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4318 also if SSE2AVX is defined.
4319 Remove libc_fegetround* and libc_fesetround*.
4320 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4321 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4324 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4325 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4326 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4327 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4330 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4332 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4336 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4338 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4341 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4343 * Makeconfig (libm): Define.
4344 * elf/Makefile: Add rules to build and run tst-relsort1.
4345 * elf/tst-relsort1.c: New file.
4346 * elf/tst-relsort1mod1.c: New file.
4347 * elf/tst-relsort1mod2.c: New file.
4349 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4351 * math/s_ldexp.c: Remove __STDC__ conditionals.
4352 * math/s_ldexpf.c: Likewise.
4353 * math/s_ldexpl.c: Likewise.
4354 * math/s_nextafter.c: Likewise.
4355 * math/s_nexttowardf.c: Likewise.
4356 * math/s_significand.c: Likewise.
4357 * math/s_significandf.c: Likewise.
4358 * math/s_significandl.c: Likewise.
4359 * math/w_jnl.c: Likewise.
4360 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4361 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4362 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4363 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4364 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4366 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4367 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4369 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4370 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4379 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4380 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4382 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4384 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4385 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4386 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4387 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4388 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4390 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4392 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4393 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4394 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4395 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4396 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4397 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4398 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4399 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4400 * sysdeps/ieee754/k_standard.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4480 * sysdeps/ieee754/s_matherr.c: Likewise.
4481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4486 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4488 * crypt/md5.h: Remove __STDC__ conditionals.
4489 * libio/libioP.h: Likewise.
4490 * locale/programs/config.h: Likewise.
4491 * sysdeps/generic/sysdep.h: Likewise.
4492 * sysdeps/i386/asm-syntax.h: Likewise.
4493 * sysdeps/s390/asm-syntax.h: Likewise.
4494 * sysdeps/unix/sysdep.h: Likewise.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4498 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4500 * libio/libio.h: Remove __STDC__ conditionals.
4501 * malloc/obstack.h: Likewise.
4502 * math/complex.h: Likewise.
4503 * math/math.h: Likewise.
4504 * sysdeps/generic/_G_config.h: Likewise.
4505 * sysdeps/gnu/_G_config.h: Likewise.
4506 * sysdeps/mach/hurd/_G_config.h: Likewise.
4507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4508 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4509 * sysdeps/sparc/bits/mathdef.h: Likewise.
4511 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4514 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4515 Clean up HAS_* macros.
4516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4517 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4522 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4527 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4529 * elf/tst-unique3.cc (gets): Remove declaration.
4530 * elf/tst-unique3lib.cc (gets): Likewise.
4531 * elf/tst-unique3lib2.cc (gets): Likewise.
4532 * elf/tst-unique4.cc (gets): Likewise.
4534 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4536 * include/stdio.h: Add C++ protection. Add gets declarations and
4538 * debug/tst-chk1.c: Don't declare gets here.
4539 * stdio-common/tst-gets.c: Likewise.
4541 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4543 * posix/glob: Remove directory.
4545 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4547 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4549 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4551 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4552 of the non-standard EPFNOSUPPORT.
4554 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4557 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4558 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4560 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4562 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4564 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4566 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4568 * nscd/grpcache.c (cache_addgr): Likewise.
4569 * nscd/hstcache.c (cache_addhst): Likewise.
4570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4571 * nscd/pwdcache.c (cache_addpw): Likewise.
4572 * nscd/servicescache.c (cache_addserv): Likewise.
4574 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4576 * malloc/malloc.c: Various cleanups.
4577 * malloc/hooks.c: Likewise.
4579 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4580 * stdlib/bug-fmtmsg1.c: New file.
4582 * stdlib/fmtmsg.c (init): Add missing unlock.
4583 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4585 2012-01-12 Marek Polacek <polacek@redhat.com>
4587 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4590 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4592 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4593 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4594 macro to ensure uniqueness of label name.
4595 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4596 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4598 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4602 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4603 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4607 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4609 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4611 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4612 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4613 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4615 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4618 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4622 * math/bits/math-finite.h: Add ldexp support.
4624 2012-01-10 Marek Polacek <polacek@redhat.com>
4626 * locale/programs/localedef.h (show_archive_content): Add noreturn
4629 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4631 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4633 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4635 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4637 * io/Makefile (headers): Add bits/poll2.h.
4639 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4642 typo #include statement.
4644 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4646 * include/sys/cdefs.h: Define __attribute_alloc_size.
4647 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4648 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4649 * elf/pldd.c: Likewise.
4650 * iconv/iconv_charmap.c: Likewise.
4651 * iconv/iconvconfig.c: Likewise.
4652 * iconv/strtab.c: Likewise.
4653 * locale/programs/locale.c: Likewise.
4654 * locale/programs/localedef.h: Likewise.
4655 * locale/programs/simple-hash.c: Likewise.
4656 * nscd/nscd.h: Likewise.
4657 * nss/makedb.c: Likewise.
4658 * sysdeps/generic/ldconfig.h: Likewise.
4659 * locale/programs/localedef.c: Remove xmalloc prototype.
4660 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4662 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4667 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4669 * math/Makefile (tests): Add tst-CMPLX.
4670 * math/tst-CMPLX.c: New file.
4672 * math/complex.h (CMPLXL): Fix typo.
4674 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4675 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4677 * debug/tst-chk1.c: Add poll and ppoll tests.
4678 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4679 * include/sys/poll.h: Add hidden proto for ppoll.
4680 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4681 * sysdeps/mach/hurd/ppoll.c: Likewise.
4682 * io/ppoll.c: Likewise.
4683 * debug/poll_chk.c: New file.
4684 * debug/ppoll_chk.c: New file.
4685 * include/bits/poll2.h: New file.
4686 * io/bits/poll2.h: New file.
4689 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4691 * configure.in: static is always set to yes. Remove.
4692 * config.make.in: Don't set build-static.
4693 * Makeconfig: Remove use of build-static.
4694 * dlfcn/Makefile: Likewise.
4695 * elf/Makefile: Likewise.
4696 * math/Makefile: Likewise.
4697 * misc/Makefile: Likewise.
4698 * nptl/Makefile: Likewise.
4699 * sysdeps/mach/hurd/Makefile: Likewise.
4701 * configure.in: PWD_P is not used anymore.
4702 * config.make.in: Remove PWD_P entry.
4704 * configure.in: Remove last remnants of RANLIB.
4705 No need to check for signed size_t anymore.
4706 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4708 Remove __builtin_expect test because we require at least gcc 3.4.
4709 * aclocal.m4: Likewise.
4711 * wcsmbs/mbrtoc16.c: Implement using towc function.
4712 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4713 * wcsmbs/wcsmbsload.c: Likewise.
4714 * iconv/gconv_simple.c: Likewise.
4715 * iconv/gconv_int.h: Likewise.
4716 * iconv/gconv_builtin.h: Likewise.
4717 * iconv/iconv_prog.c: Remove CHAR16 handling.
4719 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4721 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4723 * configure.in: Remove --with-elf and --enable-bounded options.
4724 Dont set base_machine for ia64. More non-ELF conditions removed.
4725 Remove testing and setting of leading underscore information.
4726 * config.make.in (build-bounded): Set to no.
4727 * config.h.in: Remove NO_UNDERSCORES entry.
4728 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4730 * csu/start.c: Remove !NO_UNDERSCORE code.
4731 * locale/localeinfo.h: Likewise.
4732 * sysdeps/generic/machine-gmon.h: Likewise.
4733 * sysdeps/generic/sysdep.h: Likewise.
4734 * sysdeps/i386/sysdep.h: Likewise.
4735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4736 * sysdeps/mach/sysdep.h: Likewise.
4737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4739 * sysdeps/sh/sysdep.h: Likewise.
4740 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4741 * sysdeps/unix/i386/sysdep.S: Likewise.
4742 * sysdeps/unix/sparc/start.c: Likewise.
4743 * sysdeps/unix/sparc/sysdep.S: Likewise.
4744 * sysdeps/unix/sparc/sysdep.h: Likewise.
4745 * sysdeps/unix/start.c: Likewise.
4746 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4747 * sysdeps/x86_64/sysdep.h: Likewise.
4749 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4752 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4754 * argp/argp-fmtstream.h: Use const instead __const.
4755 * argp/argp.h: Likewise.
4756 * assert/assert.h: Likewise.
4757 * bits/fenv.h: Likewise.
4758 * bits/sched.h: Likewise.
4759 * bits/sigset.h: Likewise.
4760 * bits/sigthread.h: Likewise.
4761 * catgets/nl_types.h: Likewise.
4762 * conform/data/pthread.h-data: Likewise.
4763 * crypt/crypt-private.h: Likewise.
4764 * crypt/crypt.h: Likewise.
4765 * crypt/crypt_util.c: Likewise.
4766 * ctype/ctype.h: Likewise.
4767 * debug/execinfo.h: Likewise.
4768 * debug/mbsnrtowcs_chk.c: Likewise.
4769 * debug/mbsrtowcs_chk.c: Likewise.
4770 * debug/wcsnrtombs_chk.c: Likewise.
4771 * debug/wcsrtombs_chk.c: Likewise.
4772 * debug/wcstombs_chk.c: Likewise.
4773 * dirent/dirent.h: Likewise.
4774 * dlfcn/dlfcn.h: Likewise.
4775 * elf/neededtest4.c: Likewise.
4776 * grp/grp.h: Likewise.
4777 * gshadow/gshadow.h: Likewise.
4778 * iconv/gconv.h: Likewise.
4779 * iconv/gconv_int.h: Likewise.
4780 * iconv/gconv_simple.c: Likewise.
4781 * iconv/iconv.h: Likewise.
4782 * iconv/loop.c: Likewise.
4783 * iconv/skeleton.c: Likewise.
4784 * include/aio.h: Likewise.
4785 * include/aliases.h: Likewise.
4786 * include/argz.h: Likewise.
4787 * include/arpa/inet.h: Likewise.
4788 * include/assert.h: Likewise.
4789 * include/dirent.h: Likewise.
4790 * include/dlfcn.h: Likewise.
4791 * include/execinfo.h: Likewise.
4792 * include/fcntl.h: Likewise.
4793 * include/fenv.h: Likewise.
4794 * include/glob.h: Likewise.
4795 * include/grp.h: Likewise.
4796 * include/libintl.h: Likewise.
4797 * include/mntent.h: Likewise.
4798 * include/netdb.h: Likewise.
4799 * include/pwd.h: Likewise.
4800 * include/rpc/netdb.h: Likewise.
4801 * include/sched.h: Likewise.
4802 * include/search.h: Likewise.
4803 * include/shadow.h: Likewise.
4804 * include/signal.h: Likewise.
4805 * include/stdio.h: Likewise.
4806 * include/stdlib.h: Likewise.
4807 * include/string.h: Likewise.
4808 * include/sys/socket.h: Likewise.
4809 * include/sys/stat.h: Likewise.
4810 * include/sys/statfs.h: Likewise.
4811 * include/sys/statvfs.h: Likewise.
4812 * include/sys/syslog.h: Likewise.
4813 * include/sys/time.h: Likewise.
4814 * include/sys/uio.h: Likewise.
4815 * include/time.h: Likewise.
4816 * include/unistd.h: Likewise.
4817 * include/utmp.h: Likewise.
4818 * include/wchar.h: Likewise.
4819 * include/wctype.h: Likewise.
4820 * inet/aliases.h: Likewise.
4821 * inet/arpa/inet.h: Likewise.
4822 * inet/netinet/ether.h: Likewise.
4823 * inet/netinet/in.h: Likewise.
4824 * intl/libintl.h: Likewise.
4825 * io/bits/fcntl2.h: Likewise.
4826 * io/fcntl.h: Likewise.
4827 * io/ftw.h: Likewise.
4828 * io/sys/poll.h: Likewise.
4829 * io/sys/stat.h: Likewise.
4830 * io/sys/statfs.h: Likewise.
4831 * io/sys/statvfs.h: Likewise.
4832 * io/utime.h: Likewise.
4833 * libio/bits/stdio.h: Likewise.
4834 * libio/bits/stdio2.h: Likewise.
4835 * libio/libio.h: Likewise.
4836 * libio/libioP.h: Likewise.
4837 * libio/stdio.h: Likewise.
4838 * locale/lc-ctype.c: Likewise.
4839 * locale/locale.h: Likewise.
4840 * login/utmp.h: Likewise.
4841 * malloc/arena.c: Likewise.
4842 * malloc/malloc.c: Likewise.
4843 * malloc/malloc.h: Likewise.
4844 * malloc/mcheck.c: Likewise.
4845 * malloc/mtrace.c: Likewise.
4846 * math/bits/mathcalls.h: Likewise.
4847 * math/fenv.h: Likewise.
4848 * math/math_private.h: Likewise.
4849 * misc/bits/error.h: Likewise.
4850 * misc/bits/syslog.h: Likewise.
4851 * misc/err.h: Likewise.
4852 * misc/error.h: Likewise.
4853 * misc/fstab.h: Likewise.
4854 * misc/mntent.h: Likewise.
4855 * misc/regexp.h: Likewise.
4856 * misc/search.h: Likewise.
4857 * misc/sgtty.h: Likewise.
4858 * misc/sys/mman.h: Likewise.
4859 * misc/sys/syslog.h: Likewise.
4860 * misc/sys/uio.h: Likewise.
4861 * misc/sys/xattr.h: Likewise.
4862 * misc/ttyent.h: Likewise.
4863 * nis/rpcsvc/ypclnt.h: Likewise.
4864 * nss/nss.h: Likewise.
4865 * posix/bits/unistd.h: Likewise.
4866 * posix/fnmatch.h: Likewise.
4867 * posix/glob.h: Likewise.
4868 * posix/sched.h: Likewise.
4869 * posix/spawn.h: Likewise.
4870 * posix/sys/wait.h: Likewise.
4871 * posix/unistd.h: Likewise.
4872 * posix/wordexp.h: Likewise.
4873 * pwd/pwd.h: Likewise.
4874 * resolv/netdb.h: Likewise.
4875 * resource/sys/resource.h: Likewise.
4876 * rt/aio.h: Likewise.
4877 * rt/bits/mqueue2.h: Likewise.
4878 * rt/mqueue.h: Likewise.
4879 * shadow/shadow.h: Likewise.
4880 * signal/signal.h: Likewise.
4881 * socket/send.c: Likewise.
4882 * socket/sendto.c: Likewise.
4883 * socket/sys/socket.h: Likewise.
4884 * stdio-common/printf.h: Likewise.
4885 * stdlib/bits/stdlib.h: Likewise.
4886 * stdlib/fmtmsg.h: Likewise.
4887 * stdlib/monetary.h: Likewise.
4888 * stdlib/stdlib.h: Likewise.
4889 * stdlib/ucontext.h: Likewise.
4890 * streams/stropts.h: Likewise.
4891 * string/argz.h: Likewise.
4892 * string/bits/string2.h: Likewise.
4893 * string/string.h: Likewise.
4894 * string/strings.h: Likewise.
4895 * sunrpc/rpc/auth.h: Likewise.
4896 * sunrpc/rpc/auth_des.h: Likewise.
4897 * sunrpc/rpc/clnt.h: Likewise.
4898 * sunrpc/rpc/netdb.h: Likewise.
4899 * sunrpc/rpc/pmap_clnt.h: Likewise.
4900 * sunrpc/rpc/xdr.h: Likewise.
4901 * sysdeps/generic/inttypes.h: Likewise.
4902 * sysdeps/generic/net/if.h: Likewise.
4903 * sysdeps/generic/sys/swap.h: Likewise.
4904 * sysdeps/gnu/net/if.h: Likewise.
4905 * sysdeps/gnu/utmpx.h: Likewise.
4906 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4907 * sysdeps/i386/i486/bits/string.h: Likewise.
4908 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4909 * sysdeps/s390/bits/string.h: Likewise.
4910 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4911 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4912 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4914 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4915 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4916 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4917 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4918 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4919 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4921 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4922 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4923 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4924 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4925 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4926 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4932 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4933 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4934 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4936 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4938 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4939 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4940 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4941 * sysvipc/sys/ipc.h: Likewise.
4942 * sysvipc/sys/msg.h: Likewise.
4943 * sysvipc/sys/sem.h: Likewise.
4944 * sysvipc/sys/shm.h: Likewise.
4945 * termios/termios.h: Likewise.
4946 * time/sys/time.h: Likewise.
4947 * time/time.h: Likewise.
4948 * wcsmbs/bits/wchar2.h: Likewise.
4949 * wcsmbs/uchar.h: Likewise.
4950 * wcsmbs/wchar.h: Likewise.
4951 * wctype/wctype.h: Likewise.
4954 * Makeconfig: Remove all but ELF support including AIX support.
4955 * Makerules: Likewise.
4956 * config.h.in: Likewise.
4957 * config.make.in: Likewise.
4958 * configure: Likewise.
4959 * configure.in: Likewise.
4960 * csu/Makefile: Likewise.
4961 * csu/version.c: Likewise.
4962 * debug/Makefile: Likewise.
4963 * dlfcn/Makefile: Likewise.
4964 * elf/Makefile: Likewise.
4965 * extra-lib.mk: Likewise.
4966 * iconv/Makefile: Likewise.
4967 * include/libc-symbols.h: Likewise.
4968 * include/shlib-compat.h: Likewise.
4969 * resolv/Makefile: Likewise.
4970 * resolv/res_libc.c: Likewise.
4971 * rt/Makefile: Likewise.
4972 * sysdeps/i386/asm-syntax.h: Likewise.
4973 * sysdeps/i386/sysdep.h: Likewise.
4974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4975 * sysdeps/mach/sysdep.h: Likewise.
4976 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4977 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4978 * sysdeps/s390/asm-syntax.h: Likewise.
4979 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4981 * sysdeps/sh/sysdep.h: Likewise.
4982 * sysdeps/unix/sparc/sysdep.h: Likewise.
4983 * sysdeps/wordsize-32/divdi3.c: Likewise.
4984 * sysdeps/x86_64/sysdep.h: Likewise.
4986 * argp/Versions: Remove _argp_unlock_xxx.
4989 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4990 * abilist/libBrokenLocale.abilist: Likewise.
4991 * abilist/libanl.abilist: Likewise.
4992 * abilist/libc.abilist: Likewise.
4993 * abilist/libcrypt.abilist: Likewise.
4994 * abilist/libdl.abilist: Likewise.
4995 * abilist/libm.abilist: Likewise.
4996 * abilist/libnsl.abilist: Likewise.
4997 * abilist/libpthread.abilist: Likewise.
4998 * abilist/libresolv.abilist: Likewise.
4999 * abilist/librt.abilist: Likewise.
5000 * abilist/libthread_db.abilist: Likewise.
5001 * abilist/libutil.abilist: Likewise.
5002 * abilist/libnss_db.abilist: New file.
5004 * scripts/abilist.awk: Add support for indirect functions.
5006 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5008 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5010 * shlib-versions: Remove entries for ports architectures.
5012 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5014 * elf/stackguard-macros.h: Remove support for IA-64.
5015 * elf/tst-auditmod1.c: Likewise.
5016 * sysdeps/generic/ldsodefs.h: Likewise.
5018 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5019 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5023 * configure.in: Remove --enable-omitfp support.
5025 * config.make.in: Likewise.
5026 * Makeconfig: Likewise.
5027 * manual/install.texi: Likewise.
5029 In case anyone cares, the IA-64 architecture could move to ports.
5030 * sysdeps/ia64/*: Removed.
5031 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5032 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5035 * configure.in: Remove entries for unsupported architectures.
5038 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5039 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5041 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5042 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5043 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5044 fall back to using wcrtomb.
5045 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5046 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5048 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5049 * wcsmbs/tst-c16c32-1.c: New file.
5051 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5054 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5056 * elf/tst-unique3.cc: Add explicit declaration of gets.
5057 * elf/tst-unique3lib.cc: Likewise.
5058 * elf/tst-unique3lib2.cc: Likewise.
5059 * elf/tst-unique4.cc: Likewise.
5061 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5063 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5066 * assert/assert.h (static_assert): Don't define for C++.
5067 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5068 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5070 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5072 * iconv/loop.c (single loop): Fix assertion in storing of
5075 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5077 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5079 * posix/getconf.c: Update copyright year.
5080 * nss/getent.c: Likewise.
5081 * nss/makedb.c: Likewise.
5082 * iconv/iconvconfig.c: Likewise.
5083 * iconv/iconv_prog.c: Likewise.
5084 * elf/ldconfig.c: Likewise.
5085 * elf/pldd.c: Likewise.
5086 * elf/sotruss.ksh: Likewise.
5087 * catgets/gencat.c: Likewise.
5088 * csu/version.c: Likewise.
5089 * elf/ldd.bash.in: Likewise.
5090 * elf/sprof.c (print_version): Likewise.
5091 * locale/programs/locale.c: Likewise.
5092 * locale/programs/localedef.c: Likewise.
5093 * login/programs/pt_chown.c: Likewise.
5094 * nscd/nscd.c (print_version): Likewise.
5095 * debug/xtrace.sh: Likewise.
5096 * malloc/memusage.sh: Likewise.
5097 * malloc/mtrace.pl: Likewise.
5098 * debug/catchsegv.sh: Likewise.
5100 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5102 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5105 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5108 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5109 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5111 * iconv/gconv_int.h: Likewise.
5112 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5113 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5114 from libc for GLIBC_2.16.
5115 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5116 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5117 * wcsmbs/uchar.h: Really define mbstate_t.
5118 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5119 * wcsmbs/c16rtomb.c: New file.
5120 * wcsmbs/mbrtoc16.c: New file.
5121 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5123 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5124 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5126 * wcsmbs/wchar.h: Add missing __restrict.
5128 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5131 * time/Makefile (routines): Add timespec_get.
5132 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5133 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5134 timespec for ISO C11.
5135 * time/timespec_get.c: New file.
5136 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5137 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5140 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5141 * stdlib/stdlib.h: Declare aligned_alloc.
5142 * Versions.def: Add GLIBC_2.16 for libc.
5143 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5146 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5149 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5153 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5156 * assert/assert.h (static_assert): Define.
5158 * version.h: Update for 2.16 development version.
5161 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5164 * version.h (RELEASE): Bump for 2.15 release.
5165 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5167 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5168 Patch by Marek Polacek <mpolacek@redhat.com>.
5170 * bits/byteswap.h: Protect long long constants with __extension__.
5171 * sysdeps/i386/bits/byteswap.h: Likewise.
5172 * sysdeps/ia64/bits/byteswap.h: Likewise.
5173 * sysdeps/s390/bits/byteswap.h: Likewise.
5174 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5176 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5181 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5183 2011-12-23 Marek Polacek <polacek@redhat.com>
5185 * elf/dl-addr.c (determine_info): Add inline keyword.
5186 * elf/tst-auditmod4b.c (check_avx): Likewise.
5187 * elf/tst-auditmod6b.c (check_avx): Likewise.
5188 * elf/tst-auditmod6c.c (check_avx): Likewise.
5189 * elf/tst-auditmod7b.c (check_avx): Likewise.
5191 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5193 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5196 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5199 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5200 processing for last bytes.
5202 2011-08-06 Bruno Haible <bruno@clisp.org>
5205 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5206 U+0385, not to U+1FEE.
5209 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5210 entry for U+00A5 U+0301.
5212 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5215 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5216 buffer for the output is too small.
5218 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5222 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5223 SSE flags if possible.
5225 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5229 processing for last bytes.
5231 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5233 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5234 (syscall-list-default-options, syscall-list-default-condition)
5235 (syscall-list-includes): Define.
5236 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5237 list of ABIs and options and #if conditions for each ABI. Do not
5238 handle common syscalls between ABIs specially.
5239 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5241 (syscall-list-variants, syscall-list-32bit-options)
5242 (syscall-list-32bit-condition, syscall-list-64bit-options)
5243 (syscall-list-64bit-condition): Define.
5244 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5245 (syscall-list-variants, syscall-list-32bit-options)
5246 (syscall-list-32bit-condition, syscall-list-64bit-options)
5247 (syscall-list-64bit-condition): Define.
5248 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5250 (syscall-list-variants, syscall-list-32bit-options)
5251 (syscall-list-32bit-condition, syscall-list-64bit-options)
5252 (syscall-list-64bit-condition): Define.
5253 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5255 (syscall-list-variants, syscall-list-32bit-options)
5256 (syscall-list-32bit-condition, syscall-list-64bit-options)
5257 (syscall-list-64bit-condition): Define.
5259 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5261 * locale/iso-639.def: Add brx entry.
5264 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5265 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5267 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5268 __feraiseexcept_renamed.
5270 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5273 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5274 EPOLLET with unsigned values.
5275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5276 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5278 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5279 to large cancellation.
5280 * math/s_cacoshf.c: Likewise.
5281 * math/s_cacoshl.c: Likewise.
5283 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5287 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5288 * math/s_cacoshf.c: Likewise.
5289 * math/s_cacoshl.c: Likewise.
5291 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5294 * iconv/gconv.h: Define __GCONV_SWAP.
5295 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5296 * iconvdata/utf-16.c: Likewise.
5297 * iconvdata/utf-32.c: Likewise.
5299 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5303 numerator after shifting it by one limb.
5305 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5308 under [__USE_EXTERN_INLINES].
5310 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5313 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5315 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5318 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5320 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5321 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5322 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5323 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5324 for strncasecmp/strncasecmp_l compilation.
5325 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5326 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5328 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5331 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5334 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5337 * time/tzfile.c (__tzfile_read): Check values from file header.
5339 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5341 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5342 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5343 * powerpc/powerpc32/dl-start.S: Likewise.
5344 * powerpc/powerpc32/elf/start.S: Likewise.
5345 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5346 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5347 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5348 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5349 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5350 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5351 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5352 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5353 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5354 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5355 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5356 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5357 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5358 * powerpc/powerpc32/memset.S: Likewise.
5359 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5360 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5361 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5362 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5363 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5364 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5365 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5366 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5367 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5368 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5370 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5371 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5373 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5375 * math/libm-test.inc: Added more nearbyint tests.
5376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5381 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5383 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5386 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5388 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5389 Add wcscpy-ssse3 wcscpy-c.
5390 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5391 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5392 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5393 * sysdeps/x86_64/wcschr.S: New file.
5394 * sysdeps/x86_64/wcsrchr.S: New file.
5395 * string/test-strcmp.c: Remove checking of wcscmp function for
5397 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5398 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5399 wcsrchr-sse2 wcsrchr-c.
5400 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5401 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5402 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5403 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5404 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5405 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5406 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5407 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5408 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5409 * wcsmbc/wcschr.c (WCSCHR): New macro.
5411 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5413 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5414 * wcsmbs/test-wcsrchr.c: New file.
5415 * string/test-strrchr.c: Add wcsrchr support.
5417 * wcsmbs/test-wcscpy.c: New file.
5418 * string/test-strcpy.c: Add wcscpy support.
5421 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5423 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5426 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5429 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5431 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5434 Minor optimizations.
5436 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5437 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5438 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5440 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5442 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5443 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5444 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5445 for gcc to avoid warnings.
5446 * inet/Makefile (tests): Add tst-checks.
5447 * inet/tst-checks.c: New file.
5449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5452 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5455 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5456 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5458 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5460 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5462 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5465 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5467 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5469 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5470 conditional on GCC version.
5471 (__arch_compare_and_exchange_val_8_acq)
5472 (__arch_compare_and_exchange_val_16_acq)
5473 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5474 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5475 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5477 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5479 * sysdeps/sh/backtrace.c: New file.
5481 2011-12-02 Andreas Schwab <schwab@redhat.com>
5483 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5486 2011-12-01 Andreas Schwab <schwab@redhat.com>
5488 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5489 falling back to utime.
5491 2011-11-30 Andreas Schwab <schwab@redhat.com>
5493 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5494 expectations for float.
5496 2011-11-29 Andreas Schwab <schwab@redhat.com>
5498 * locale/weight.h (findidx): Add parameter len.
5499 * locale/weightwc.h (findidx): Likewise.
5500 * posix/fnmatch_loop.c (FCT): Adjust caller.
5501 * posix/regcomp.c (build_equiv_class): Likewise.
5502 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5503 * posix/regexec.c (check_node_accept_bytes): Likewise.
5504 * string/strcoll_l.c (STRCOLL): Likewise.
5505 * string/strxfrm_l.c (STRXFRM): Likewise.
5507 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5509 * Makefile.in: Remove CVSOPT handling.
5510 * configure.in: Remove use of AC_REVISION.
5511 * iconvdata/Makefile (distribute): No need to filter out CVS.
5512 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5515 2011-11-16 Andreas Schwab <schwab@redhat.com>
5517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5518 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5519 [USE_AS_STRNCASECMP_L]: Likewise.
5520 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5521 NO_TLS_DIRECT_SEG_REFS.
5522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5523 Fix argument offsets for non-PIC.
5524 [USE_AS_STRNCASECMP_L]: Likewise.
5525 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5526 NO_TLS_DIRECT_SEG_REFS.
5528 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5530 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5532 * locale/loadlocale.c (_nl_load_locale): Likewise.
5534 2011-11-15 Andreas Schwab <schwab@redhat.com>
5536 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5537 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5539 (SYSCALL_GETTIME): Set errno on error.
5541 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5542 count references to noai6ai_cached.
5544 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5546 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5548 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5549 FD_CLOEXEC for /proc/self/maps.
5551 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5552 FD_CLOEXEC for /proc/meminfo.
5554 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5557 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5558 FD_CLOEXEC for given file.
5560 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5562 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5563 FD_CLOEXEC for /etc/hosts.
5564 (_gethtent): Likewise.
5566 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5568 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5569 cancellation and set FD_CLOEXEC for /etc/netgroup.
5571 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5572 reading /etc/publickey.
5574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5575 allow cancellation when reading /etc/group.
5577 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5579 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5581 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5582 when using data file.
5584 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5586 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5587 (write_nis_obj): Use "c" and "e" in fopen.
5589 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5591 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5593 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5595 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5597 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5600 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5602 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5604 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5606 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5607 file parsing and set FD_CLOEXEC.
5609 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5611 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5613 2011-11-14 Andreas Schwab <schwab@redhat.com>
5615 * malloc/arena.c (arena_get2): Don't call reused_arena when
5616 _int_new_arena failed.
5618 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5620 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5621 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5623 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5626 to compile strcasecmp and strncasecmp.
5627 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5628 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5632 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5634 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5635 locale-defines.sym to gen-as-const-headers.
5636 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5637 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5639 to compile strcasecmp and strncasecmp.
5640 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5641 strcasecmp_l and strncasecmp_l.
5642 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5643 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5644 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5645 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5646 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5647 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5648 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5649 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5650 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5651 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5652 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5654 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5656 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5657 result of SYSDEP_GETTIME_CPU to retval.
5658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5659 parameter list to macro. Remove trailing semicolon. Adjust users.
5661 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5664 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5666 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5669 from unused variable.
5671 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5673 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5676 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5679 * sunrpc/rpc_prot.c (rejected): Fix case value.
5681 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5682 unsigned long long int to avoid warnings in shift.
5684 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5686 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5689 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5690 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5691 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5693 * nis/nis_table.c (nis_list): Use variable of correct type for
5694 result of __follow_path call.
5696 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5699 of math functions ceil, trunc, floor, round, and sqrt, when
5700 avaliable on the platform.
5701 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5704 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5705 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5707 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5709 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5712 2011-11-11 Roland McGrath <roland@hack.frob.com>
5714 * include/unistd.h: Fix __readlink return type.
5715 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5717 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5719 * stdlib/ucontext.h: Undo last change for makecontext.
5721 2011-11-11 Andreas Schwab <schwab@redhat.com>
5723 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5725 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5726 * setjmp/setjmp.h: Mark functions as non-leaf.
5727 * setjmp/bits/setjmp2.h: Likewise.
5728 * stdlib/ucontext.h: Likewise.
5730 2011-11-10 Andreas Schwab <schwab@redhat.com>
5732 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5733 (reused_arena): Don't check arena limit.
5734 (arena_get2): Atomically check arena limit.
5736 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5738 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5739 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5744 2011-11-07 Andreas Schwab <schwab@redhat.com>
5746 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5747 handler when locking.
5749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5750 Fix size of allocated buffer.
5752 2011-11-04 Andreas Schwab <schwab@redhat.com>
5755 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5756 declarations for long double functions.
5757 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5759 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5761 2011-11-03 Andreas Schwab <schwab@redhat.com>
5763 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5766 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5769 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5771 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5773 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5775 * include/alloca.h (stackinfo_alloca_round): Define.
5776 (extend_alloca): Use it.
5777 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5778 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5781 * scripts/check-local-headers.sh: Ignore libaudit.h.
5783 * nscd/Makefile (extra-objs): Make recursively expanded.
5785 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5787 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5790 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5791 * posix/tst-rfc3484-2.c: Likewise.
5792 * posix/tst-rfc3484-3.c: Likewise.
5794 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5796 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5798 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5799 process_vm_writev from libc using GLIBC_2.15 version.
5801 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5803 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5805 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5808 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5811 * nss/getent.c (initgroups_keys): Show error message in case no group
5814 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5815 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5816 __bump_nl_timestamp.
5817 * nscd/connections (nscd_init): When host database is served open
5818 netlink socket and request notification about configuration changes.
5819 (main_loop_poll): Track netlink file descriptor and bump timestamp
5820 in case data becomes available.
5821 (main_loop_epoll): Likewise.
5822 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5823 (database_pers_head): Add extra_data fileds.
5824 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5825 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5826 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5828 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5829 in6ai data, call __free_in6ai.
5830 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5832 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5833 interface information. Reuse previous data if netlink timestamp
5835 (__bump_nl_timestamp): New function.
5836 (__free_in6ai): New function.
5838 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5840 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5841 close_not_cancel_no_status here.
5842 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5844 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5847 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5850 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5851 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5852 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5854 2011-07-03 Andreas Jaeger <aj@suse.de>
5857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5858 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5859 * math/libm-test.inc (sin_test): Add test case.
5861 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5864 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5865 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5867 * elf/chroot_canon.c (chroot_canon): Cleanups.
5869 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5872 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5873 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5875 * string/test-strchr.c: Make usable for strchrnul testing.
5876 * string/test-strchrnul.c: New file.
5877 * string/Makefile (strop-tests): Add strchrnul.
5879 * po/it.po: Update from translation team.
5880 * po/es.po: Likewise.
5882 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5885 the three constants needed as parameters. Drop the others.
5886 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5887 __m128i_strloadu_tolower.
5888 Create and initialize variable zero and use it in all the places
5889 where _mm_setzero_si128 was used.
5891 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5892 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5893 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5894 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5896 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5897 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5898 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5899 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5900 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5901 __mpranred, __mptan.
5902 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5903 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5904 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5905 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5906 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5907 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5909 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5910 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5912 2011-10-28 Andreas Schwab <schwab@redhat.com>
5914 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5916 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5919 wide char related routines to wcsmbs subdir.
5921 2011-10-27 Andreas Schwab <schwab@redhat.com>
5924 * misc/sys/cdefs.h (__THROWNL): Define.
5925 * posix/unistd.h: Use __THREADNL instead of __THREAD
5926 for memory synchronization functions.
5928 2011-10-26 Roland McGrath <roland@hack.frob.com>
5931 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5933 * manual/stdio.texi (Obstack Streams): Node removed.
5935 2011-10-26 Andreas Schwab <schwab@redhat.com>
5937 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5941 * math/math_private.h (math_force_eval): Allow non-addressable
5943 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5947 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5950 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5951 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5957 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5959 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5960 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5961 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5962 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5963 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5964 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5965 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5967 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5968 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5969 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5970 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5972 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5974 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5976 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5979 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5980 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5982 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5983 place. Use VEX encoding when compiling for AVX.
5985 2011-10-25 Andreas Schwab <schwab@redhat.com>
5987 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5988 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5990 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5992 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5994 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5995 useless if() expression.
5996 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5997 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6006 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6007 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6008 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6009 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6012 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6014 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6016 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6018 2011-10-25 Andreas Schwab <schwab@redhat.com>
6020 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6022 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6024 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6026 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6027 .text section. Avoid duplicate constants.
6028 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6038 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6040 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6045 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6052 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6053 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6054 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6055 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6056 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6057 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6059 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6060 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6061 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6062 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6063 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6064 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6066 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6067 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6070 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6071 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6072 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6074 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6076 * sysdeps/x86_64/dla.h: Move to ...
6077 * sysdeps/x86_64/fpu/dla.h: ...here.
6078 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6079 situations. Use __builtin_fma only for gcc 4.6 and up.
6081 * config.make.in: Add have-mfma4 entry.
6082 * configure.in: Substitute libc_cv_cc_fma4.
6083 * math/Makefile (dbl-only-routines): Add sincostab.
6084 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6085 Use __sincostab not sincos.
6086 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6093 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6094 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6095 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6096 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6099 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6101 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6102 define aliases when function name is a macro.
6103 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6104 sysdeps/ieee754/dbl-64/sincos.tbl.
6105 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6106 fma4-enabled routines.
6107 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6108 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6109 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6110 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6112 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6114 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6116 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6117 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6118 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6119 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6120 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6121 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6122 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6123 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6124 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6125 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6127 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6128 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6129 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6130 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6131 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6132 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6134 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6135 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6136 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6138 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6149 2011-10-24 Andreas Schwab <schwab@redhat.com>
6151 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6153 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6157 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6161 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6162 Remove unused variable magic_bits.
6163 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6165 * string/strnlen.c: Define and use STRNLEN macro.
6166 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6167 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6169 * wcsmbs/wcslen.c: Define and use WCSLEN.
6170 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6171 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6172 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6173 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6174 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6175 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6176 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6178 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6181 strnlen-sse2-no-bsf.
6182 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6183 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6184 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6185 Add strnlen support.
6186 (USE_AS_STRNLEN): New macro.
6187 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6189 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6190 * sysdeps/x86_64/wcslen.S: New file.
6192 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6194 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6195 XMM-moves are used for copying on small sizes.
6197 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6199 * wcsmbs/Makefile (strop-tests): Add wcschr.
6200 * wcsmbs/test-wcschr.c: New file.
6201 * string/test-strchr.c: Update.
6205 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6207 * wcsmbs/Makefile (strop-tests): Add wcslen.
6208 * wcsmbs/test-wcslen.c: New file.
6209 * string/test-strlen.c: Update.
6213 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6215 * po/it.po: Update from translation team.
6217 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6219 * sysdeps/x86_64/wcscmp.S: Update.
6220 Fix wrong comparison semantics.
6221 wcscmp shall use signed comparison not unsigned.
6222 Don't use substraction to avoid overflow bug.
6223 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6224 * wcsmbc/wcscmp.c: Likewise.
6225 * string/test-strcmp.c: Likewise.
6226 Add new tests to check cases with negative values.
6228 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6230 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6231 * sysdeps/x86_64/dla.h: ...here. New file.
6232 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6239 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6242 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6245 __ynl_finite aliases.
6247 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6251 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6253 [DLA_FMA] (EMULV): Use DLA_FMA.
6254 [DLA_FMA] (MUL12): Use EMULV.
6255 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6256 that are not needed.
6257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6265 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6267 * math/s_nan.c: Undef __nan.
6268 * math/s_nanf.c: Undef __nanf.
6269 * math/s_nanl.c: Undef __nanl.
6270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6273 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6275 * math/s_catan.c: Add branch predictions.
6276 * math/s_catanf.c: Likewise.
6277 * math/s_catanh.c: Likewise.
6278 * math/s_catanhf.c: Likewise.
6279 * math/s_catanhl.c: Likewise.
6280 * math/s_catanl.c: Likewise.
6281 * math/s_cexp.c: Likewise.
6282 * math/s_cexpf.c: Likewise.
6283 * math/s_cexpl.c: Likewise.
6284 * math/s_clog.c: Likewise.
6285 * math/s_clog10.c: Likewise.
6286 * math/s_clog10f.c: Likewise.
6287 * math/s_clog10l.c: Likewise.
6288 * math/s_clogf.c: Likewise.
6289 * math/s_clogl.c: Likewise.
6290 * math/s_csqrt.c: Likewise.
6291 * math/s_csqrtf.c: Likewise.
6292 * math/s_csqrtl.c: Likewise.
6293 * math/s_ctanf.c: Likewise.
6294 * math/s_ctanh.c: Likewise.
6295 * math/s_ctanhf.c: Likewise.
6296 * math/s_ctanhl.c: Likewise.
6297 * math/s_ctanl.c: Likewise.
6299 * math/math_private.h: Define __nan, __nanf, __nanl.
6300 * math/s_cacosh.c: Include <math_private.h>.
6301 * math/s_cacoshl.c: Likewise.
6302 * math/s_casinh.c: Likewise.
6303 * math/s_casinhf.c: Likewise.
6304 * math/s_casinhl.c: Likewise.
6305 * math/s_ccos.c: Rely entire on ccosh.
6306 * math/s_ccosf.c: Rely entire on ccoshf.
6307 * math/s_ccosl.c: Rely entirely on ccoshl.
6308 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6309 Remove tests for FE_INVALID.
6310 * math/s_ccoshf.c: Likewise.
6311 * math/s_ccoshl.c: Likewise.
6312 * math/s_csin.c: Likewise.
6313 * math/s_csinf.c: Likewise.
6314 * math/s_csinh.c Likewise.
6315 * math/s_csinhf.c: Likewise.
6316 * math/s_csinhl.c: Likewise.
6317 * math/s_csinl.c: Likewise.
6318 * math/s_ctan.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6320 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6323 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6326 compilation problems.
6328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6331 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6333 * sysdeps/i386/configure.in: Test for -mfma4 option.
6334 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6335 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6336 COMMON_CPUID_INDEX_80000001.
6337 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6338 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6339 use it if FMA3 is not supported.
6340 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6342 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6343 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6345 2011-10-20 Andreas Schwab <schwab@redhat.com>
6348 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6349 it would create a cycle with a link time dependency.
6351 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6353 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6355 * string/Makefile (strop-tests): Add rawmemchr.
6356 * string/test-rawmemchr.c: New file.
6358 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6359 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6360 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6361 when compiling str{,n}casecmp and when AVX is available. Hook up
6362 new optimized code in initializers.
6364 2011-10-19 Andreas Schwab <schwab@redhat.com>
6366 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6367 __feraiseexcept instead of feraiseexcept.
6369 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6371 * math/math_private.h: Define defaults for libc_fetestexcept and
6373 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6374 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6375 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6376 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6377 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6378 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6379 libc_fetestexcept and libc_feupdateenv.
6381 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6382 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6383 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6384 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6385 libc_feholdexcept_setround.
6387 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6388 Add s_nearbyint-c and s_nearbyintf-c.
6389 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6393 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6394 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6396 * math/math_private.h: Define defaults for libc_fegetround,
6397 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6398 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6399 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6401 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6403 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6404 Remove comments and hacks for old compiler versions.
6405 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6406 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6409 2011-10-18 Andreas Schwab <schwab@redhat.com>
6411 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6412 (__feraiseexcept_renamed): Add __NTH.
6413 (feraiseexcept): Add __NTH. Rename local variables to fix
6414 namespace violations.
6416 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6422 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6423 recently added interfaces.
6424 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6426 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6427 about macro parameter expansion.
6429 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6430 __NO_MATH_INLINES is defined. Cleanups.
6432 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6433 and __floorf is target has SSE4.1.
6434 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6435 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6437 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6439 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6443 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6445 2011-10-17 Andreas Schwab <schwab@redhat.com>
6447 * misc/sys/cdefs.h: Fix last change.
6449 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6452 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6454 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6456 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6462 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6465 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6466 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6467 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6468 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6469 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6470 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6471 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6472 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6473 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6474 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6475 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6476 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6477 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6480 ceil, ceilf, floor, floorf.
6482 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6483 Perform IRELATIVE relocations last.
6485 * elf/do-rel.h: Add another parameter nrelative, replacing the
6486 local variable with the same name. Change name of the function
6487 to end in Rel or Rela (uppercase).
6488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6489 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6490 elf_dynamic_do_##reloc function.
6492 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6494 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6495 is sufficient, at least on modern CPUs.
6497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6499 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6502 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6504 * math/bits/math-finite.h: Add entries for exp.
6505 * math/e_expl.c: Add __*_finite alias.
6506 * sysdeps/i386/fpu/e_exp.S: Likewise.
6507 * sysdeps/i386/fpu/e_expf.S: Likewise.
6508 * sysdeps/i386/fpu/e_expl.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6510 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6517 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6518 is sufficient, at least on modern CPUs.
6520 * ctype/ctype-info.c (__ctype_init): Define.
6521 * include/ctype.h (__ctype_init): Declare.
6522 (__ctype_b_loc): The variable is always initialized.
6523 (__ctype_toupper_loc): Likewise.
6524 (__ctype_tolower_loc): Likewise.
6525 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6526 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6528 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6530 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6532 * configure.in: Also look in $cxxmachine/include for C++ system
6535 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6537 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6538 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6539 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6540 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6542 (USE_AS_WMEMCMP): New macro.
6544 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6545 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6546 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6547 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6549 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6550 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6552 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6553 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6554 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6555 (USE_AS_WMEMCMP): New macro.
6556 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6557 * sysdeps/string/test-memcmp.c: Update.
6560 * wcsmbs/wmemcmp.c: Update.
6561 (WMEMCMP): New macro.
6564 2011-10-12 Andreas Jaeger <aj@suse.de>
6567 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6569 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6571 * libio/iofwide.c (do_length): Avoid warning.
6573 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6575 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6577 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6579 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6580 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6581 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6582 * sysdeps/i386/i686/fpu/e_log.S: New file.
6583 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6584 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6586 * ctype/ctype.h: Add support for inlined isXXX functions when
6589 2011-10-14 Andreas Schwab <schwab@redhat.com>
6591 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6595 2011-10-13 Roland McGrath <roland@hack.frob.com>
6598 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6600 2011-10-13 Andreas Schwab <schwab@redhat.com>
6602 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6603 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6606 * sysdeps/x86_64/memrchr.S: Check for zero size.
6608 * string/stratcliff.c: Add memrchr tests.
6610 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6613 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6614 rawmemchr-sse2 rawmemchr-sse2-bsf.
6615 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6616 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6617 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6618 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6619 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6620 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6621 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6622 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6623 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6624 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6625 * string/memrchr.c (MEMRCHR): New macro.
6627 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6629 Add integration with gcc's -ffinite-math-only and optimize wrapper
6631 * Versions.def: Define GLIBC_2.15 version for libm.
6632 * math/Makefile (headers): Add bits/math-finite.h.
6633 * math/bits/math-finite.h: New file.
6634 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6635 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6636 * math/e_acoshl.c: Add __*_finite alias.
6637 * math/e_acosl.c: Likewise.
6638 * math/e_asinl.c: Likewise.
6639 * math/e_atan2l.c: Likewise.
6640 * math/e_atanhl.c: Likewise.
6641 * math/e_coshl.c: Likewise.
6642 * math/e_exp10.c: Likewise.
6643 * math/e_exp10f.c: Likewise.
6644 * math/e_exp10l.c: Likewise.
6645 * math/e_exp2l.c: Likewise.
6646 * math/e_fmodl.c: Likewise.
6647 * math/e_gammal_r.c: Likewise.
6648 * math/e_hypotl.c: Likewise.
6649 * math/e_j0l.c: Likewise.
6650 * math/e_j1l.c: Likewise.
6651 * math/e_jnl.c: Likewise.
6652 * math/e_lgammal_r.c: Likewise.
6653 * math/e_log10l.c: Likewise.
6654 * math/e_log2l.c: Likewise.
6655 * math/e_logl.c: Likewise.
6656 * math/e_powl.c: Likewise.
6657 * math/e_sinhl.c: Likewise.
6658 * math/e_sqrtl.c: Likewise.
6659 * math/e_scalb.c: Completely rewritten and optimized.
6660 * math/e_scalbf.c: Likewise.
6661 * math/e_scalbl.c: Likewise.
6662 * math/w_acos.c: Likewise.
6663 * math/w_acosf.c: Likewise.
6664 * math/w_acosl.c: Likewise.
6665 * math/w_acosh.c: Likewise.
6666 * math/w_acoshf.c: Likewise.
6667 * math/w_acoshl.c: Likewise.
6668 * math/w_asin.c: Likewise.
6669 * math/w_asinf.c: Likewise.
6670 * math/w_asinl.c: Likewise.
6671 * math/w_atan2.c: Likewise.
6672 * math/w_atan2f.c: Likewise.
6673 * math/w_atan2l.c: Likewise.
6674 * math/w_atanh.c: Likewise.
6675 * math/w_atanhf.c: Likewise.
6676 * math/w_atanhl.c: Likewise.
6677 * math/w_exp10.c: Likewise.
6678 * math/w_exp10f.c: Likewise.
6679 * math/w_exp10l.c: Likewise.
6680 * math/w_fmod.c: Likewise.
6681 * math/w_fmodf.c: Likewise.
6682 * math/w_fmodl.c: Likewise.
6683 * math/w_j0.c: Likewise.
6684 * math/w_j0f.c: Likewise.
6685 * math/w_j0l.c: Likewise.
6686 * math/w_j1.c: Likewise.
6687 * math/w_j1f.c: Likewise.
6688 * math/w_j1l.c: Likewise.
6689 * math/w_jn.c: Likewise.
6690 * math/w_jnf.c: Likewise.
6691 * math/w_log.c: Likewise.
6692 * math/w_logf.c: Likewise.
6693 * math/w_logl.c: Likewise.
6694 * math/w_log10.c: Likewise.
6695 * math/w_log10f.c: Likewise.
6696 * math/w_log10l.c: Likewise.
6697 * math/w_log2.c: Likewise.
6698 * math/w_log2f.c: Likewise.
6699 * math/w_log2l.c: Likewise.
6700 * math/w_pow.c: Likewise.
6701 * math/w_powf.c: Likewise.
6702 * math/w_powl.c: Likewise.
6703 * math/w_remainder.c: Likewise.
6704 * math/w_remainderf.c: Likewise.
6705 * math/w_remainderl.c: Likewise.
6706 * math/w_scalb.c: Likewise.
6707 * math/w_scalbf.c: Likewise.
6708 * math/w_scalbl.c: Likewise.
6709 * math/w_sqrt.c: Likewise.
6710 * math/w_sqrtf.c: Likewise.
6711 * math/w_sqrtl.c: Likewise.
6712 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6713 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6715 * math/math_private.h: Declare __kernel_standard_f.
6716 * math/w_cosh.c: Remove cruft and optimize a bit.
6717 * math/w_coshf.c: Likewise.
6718 * math/w_coshl.c: Likewise.
6719 * math/w_exp2.c: Likewise.
6720 * math/w_exp2f.c: Likewise.
6721 * math/w_exp2l.c: Likewise.
6722 * math/w_hypot.c: Likewise.
6723 * math/w_hypotf.c: Likewise.
6724 * math/w_hypotl.c: Likewise.
6725 * math/w_lgamma.c: Likewise.
6726 * math/w_lgamma_r.c: Likewise.
6727 * math/w_lgammaf.c: Likewise.
6728 * math/w_lgammaf_r.c: Likewise.
6729 * math/w_lgammal.c: Likewise.
6730 * math/w_lgammal_r.c: Likewise.
6731 * math/w_sinh.c: Likewise.
6732 * math/w_sinhf.c: Likewise.
6733 * math/w_sinhl.c: Likewise.
6734 * math/w_tgamma.c: Likewise.
6735 * math/w_tgammaf.c: Likewise.
6736 * math/w_tgammal.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6738 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6739 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6740 Minor optimizations. Pretty printing. Remove cruft.
6741 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6742 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6743 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6745 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6746 * sysdeps/i386/fpu/e_asin.S: Likewise.
6747 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6748 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6749 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6750 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6752 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6753 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6754 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6755 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6756 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6757 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6758 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6759 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6760 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6761 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6762 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6763 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6764 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6765 * sysdeps/i386/fpu/e_log.S: Likewise.
6766 * sysdeps/i386/fpu/e_log10.S: Likewise.
6767 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6769 * sysdeps/i386/fpu/e_log2.S: Likewise.
6770 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6771 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6772 * sysdeps/i386/fpu/e_logf.S: Likewise.
6773 * sysdeps/i386/fpu/e_logl.S: Likewise.
6774 * sysdeps/i386/fpu/e_pow.S: Likewise.
6775 * sysdeps/i386/fpu/e_powf.S: Likewise.
6776 * sysdeps/i386/fpu/e_powl.S: Likewise.
6777 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6778 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6779 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6780 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6781 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6782 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6783 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6784 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6785 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6807 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6808 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6809 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6810 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6811 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6812 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6813 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6814 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6815 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6816 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6817 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6818 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6820 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6821 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6822 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6879 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6881 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6882 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6883 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6884 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6885 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6886 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6887 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6888 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6889 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6892 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6894 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6896 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6897 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6898 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6899 (__isnanf): Likewise.
6900 (__isinf_ns): Likewise.
6901 (__isinf_nsf): Likewise.
6902 (__finite): Likewise.
6903 (__finitef): Likewise.
6904 (__ieee754_sqrt): Define as macro.
6905 (__ieee754_sqrtf): Define as macro.
6906 (__ieee754_sqrtl): Define as macro.
6907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6909 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6910 __FINITE_MATH_ONLY__ consistent.
6911 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6913 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6915 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6918 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6920 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6922 * po/ja.po: Update from translation team.
6924 2011-10-08 Roland McGrath <roland@hack.frob.com>
6926 * locale/programs/locarchive.c (prepare_address_space): New function.
6927 (create_archive, enlarge_archive, open_archive): Use it.
6929 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6930 inside [SHARED], where it is used.
6932 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6934 * nss/getent.c (netgroup_keys): Remove unused variable.
6935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6937 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6939 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6940 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6942 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6943 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6944 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6945 * math/Makefile (libm-calls): Add s_isinf_ns.
6946 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6947 * math/multc3.c: Likewise.
6948 * math/s_casin.c: Likewise.
6949 * math/s_casinf.c: Likewise.
6950 * math/s_casinl.c: Likewise.
6951 * math/s_ccos.c: Likewise.
6952 * math/s_ccosf.c: Likewise.
6953 * math/s_ccosl.c: Likewise.
6954 * math/s_ctan.c: Likewise.
6955 * math/s_ctanf.c: Likewise.
6956 * math/s_ctanh.c: Likewise.
6957 * math/s_ctanhf.c: Likewise.
6958 * math/s_ctanhl.c: Likewise.
6959 * math/s_ctanl.c: Likewise.
6960 * math/w_fmod.c: Likewise.
6961 * math/w_fmodf.c: Likewise.
6962 * math/w_fmodl.c: Likewise.
6963 * math/w_remainder.c: Likewise.
6964 * math/w_remainderf.c: Likewise.
6965 * math/w_remainderl.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6967 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6970 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6971 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6972 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6973 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6975 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6977 * stdio-common/printf_fphex.c: Likewise.
6978 * stdio-common/printf_size.c: Likewise.
6980 * math/e_exp10.c: Include math_private.h using <...> not "...".
6981 * math/e_exp10f.c: Likewise.
6982 * math/e_exp10l.c: Likewise.
6983 * math/e_exp2l.c: Likewise.
6984 * math/e_j0l.c: Likewise.
6985 * math/e_j1l.c: Likewise.
6986 * math/e_jnl.c: Likewise.
6987 * math/e_lgammal_r.c: Likewise.
6988 * math/e_rem_pio2l.c: Likewise.
6989 * math/e_scalb.c: Likewise.
6990 * math/e_scalbf.c: Likewise.
6991 * math/e_scalbl.c: Likewise.
6992 * math/k_cosl.c: Likewise.
6993 * math/k_sinl.c: Likewise.
6994 * math/k_tanl.c: Likewise.
6995 * math/s_cacoshf.c: Likewise.
6996 * math/s_catan.c: Likewise.
6997 * math/s_catanf.c: Likewise.
6998 * math/s_catanh.c: Likewise.
6999 * math/s_catanhf.c: Likewise.
7000 * math/s_catanhl.c: Likewise.
7001 * math/s_catanl.c: Likewise.
7002 * math/s_ccosh.c: Likewise.
7003 * math/s_ccoshf.c: Likewise.
7004 * math/s_ccoshl.c: Likewise.
7005 * math/s_cexp.c: Likewise.
7006 * math/s_cexpf.c: Likewise.
7007 * math/s_cexpl.c: Likewise.
7008 * math/s_clog.c: Likewise.
7009 * math/s_clog10.c: Likewise.
7010 * math/s_clog10f.c: Likewise.
7011 * math/s_clog10l.c: Likewise.
7012 * math/s_clogf.c: Likewise.
7013 * math/s_clogl.c: Likewise.
7014 * math/s_csin.c: Likewise.
7015 * math/s_csinf.c: Likewise.
7016 * math/s_csinh.c: Likewise.
7017 * math/s_csinhf.c: Likewise.
7018 * math/s_csinhl.c: Likewise.
7019 * math/s_csinl.c: Likewise.
7020 * math/s_csqrt.c: Likewise.
7021 * math/s_csqrtf.c: Likewise.
7022 * math/s_csqrtl.c: Likewise.
7023 * math/s_ctan.c: Likewise.
7024 * math/s_ctanf.c: Likewise.
7025 * math/s_ctanh.c: Likewise.
7026 * math/s_ctanhf.c: Likewise.
7027 * math/s_ctanhl.c: Likewise.
7028 * math/s_ctanl.c: Likewise.
7029 * math/s_ldexp.c: Likewise.
7030 * math/s_ldexpf.c: Likewise.
7031 * math/s_ldexpl.c: Likewise.
7032 * math/s_significand.c: Likewise.
7033 * math/s_significandf.c: Likewise.
7034 * math/s_significandl.c: Likewise.
7035 * math/w_acos.c: Likewise.
7036 * math/w_acosf.c: Likewise.
7037 * math/w_acosh.c: Likewise.
7038 * math/w_acoshf.c: Likewise.
7039 * math/w_acoshl.c: Likewise.
7040 * math/w_acosl.c: Likewise.
7041 * math/w_asin.c: Likewise.
7042 * math/w_asinf.c: Likewise.
7043 * math/w_asinl.c: Likewise.
7044 * math/w_atan2.c: Likewise.
7045 * math/w_atan2f.c: Likewise.
7046 * math/w_atan2l.c: Likewise.
7047 * math/w_atanh.c: Likewise.
7048 * math/w_atanhf.c: Likewise.
7049 * math/w_atanhl.c: Likewise.
7050 * math/w_cosh.c: Likewise.
7051 * math/w_coshf.c: Likewise.
7052 * math/w_coshl.c: Likewise.
7053 * math/w_dremf.c: Likewise.
7054 * math/w_exp10.c: Likewise.
7055 * math/w_exp10f.c: Likewise.
7056 * math/w_exp10l.c: Likewise.
7057 * math/w_exp2.c: Likewise.
7058 * math/w_exp2f.c: Likewise.
7059 * math/w_fmod.c: Likewise.
7060 * math/w_fmodf.c: Likewise.
7061 * math/w_fmodl.c: Likewise.
7062 * math/w_hypot.c: Likewise.
7063 * math/w_hypotf.c: Likewise.
7064 * math/w_hypotl.c: Likewise.
7065 * math/w_j0.c: Likewise.
7066 * math/w_j0f.c: Likewise.
7067 * math/w_j0l.c: Likewise.
7068 * math/w_j1.c: Likewise.
7069 * math/w_j1f.c: Likewise.
7070 * math/w_j1l.c: Likewise.
7071 * math/w_jn.c: Likewise.
7072 * math/w_jnf.c: Likewise.
7073 * math/w_jnl.c: Likewise.
7074 * math/w_lgamma.c: Likewise.
7075 * math/w_lgamma_r.c: Likewise.
7076 * math/w_lgammaf.c: Likewise.
7077 * math/w_lgammaf_r.c: Likewise.
7078 * math/w_lgammal.c: Likewise.
7079 * math/w_lgammal_r.c: Likewise.
7080 * math/w_log.c: Likewise.
7081 * math/w_log10.c: Likewise.
7082 * math/w_log10f.c: Likewise.
7083 * math/w_log10l.c: Likewise.
7084 * math/w_log2.c: Likewise.
7085 * math/w_log2f.c: Likewise.
7086 * math/w_log2l.c: Likewise.
7087 * math/w_logf.c: Likewise.
7088 * math/w_logl.c: Likewise.
7089 * math/w_pow.c: Likewise.
7090 * math/w_powf.c: Likewise.
7091 * math/w_powl.c: Likewise.
7092 * math/w_remainder.c: Likewise.
7093 * math/w_remainderf.c: Likewise.
7094 * math/w_remainderl.c: Likewise.
7095 * math/w_scalb.c: Likewise.
7096 * math/w_scalbf.c: Likewise.
7097 * math/w_scalbl.c: Likewise.
7098 * math/w_sinh.c: Likewise.
7099 * math/w_sinhf.c: Likewise.
7100 * math/w_sinhl.c: Likewise.
7101 * math/w_sqrt.c: Likewise.
7102 * math/w_sqrtf.c: Likewise.
7103 * math/w_sqrtl.c: Likewise.
7104 * math/w_tgamma.c: Likewise.
7105 * math/w_tgammaf.c: Likewise.
7106 * math/w_tgammal.c: Likewise.
7108 * po/ja.po: Update from translation team.
7110 2011-09-29 Andreas Jaeger <aj@suse.de>
7113 * sunrpc/netname.c (netname2host): Fix logic.
7117 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7119 * math/w_remainder.c (__remainder): Likewise.
7120 * math/w_remainderf.c (__remainderf): Likewise.
7121 * math/libm-test.inc (remainder_test): Add test cases.
7123 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7125 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7128 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7130 * string/test-memcmp.c: Avoid unncessary #defines.
7131 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7133 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7135 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7136 Use new sse2 version for core i3 - i7 as it's faster
7138 (bit_Prefer_PMINUB_for_stringop): New.
7139 * sysdeps/x86_64/rawmemchr.S: Update.
7140 Replace with faster SSE2 version.
7141 * sysdeps/x86_64/memrchr.S: New file.
7142 * sysdeps/x86_64/memchr.S: Update.
7143 Replace with faster SSE2 version.
7145 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7147 * elf/dl-load.c (lose): Add cast to avoid warning.
7149 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7151 * po/ca.po: Update from translation team.
7153 * inet/getnetgrent_r.c: Hook up nscd.
7154 * nscd/Makefile (routines): Add nscd_netgroup.
7155 (nscd-modules): Add netgroupcache.
7156 (CFLAGS-netgroupcache.c): Define.
7157 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7158 (cache_search): Add const to second parameter.
7159 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7161 (dbs): Add netgrdb entry.
7162 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7163 (verify_persistent_db): Handle netgrdb.
7164 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7165 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7167 (netgroup_response_header): Define.
7168 (innetgroup_response_header): Define.
7169 (datahead): Add netgroup_response_header and innetgroup_response_header
7171 * nscd/nscd.conf: Add entries for netgroup cache.
7172 * nscd/nscd.h (dbtype): Add netgrdb.
7173 (_PATH_NSCD_NETGROUP_DB): Define.
7174 (netgroup_iov_disabled): Declare.
7175 (xmalloc, xcalloc, xrealloc): Move declarations here.
7176 (cache_search): Adjust prototype.
7177 Add netgroup-related prototypes.
7178 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7179 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7180 (__nscd_innetgr): Declare.
7181 * nscd/selinux.c (perms): Use access_vector_t as element type and
7182 add netgroup-related initializers.
7183 * nscd/netgroupcache.c: New file.
7184 * nscd/nscd_netgroup.c: New file.
7185 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7186 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7187 For four parameters use innetgr.
7188 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7189 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7190 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7191 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7193 * nscd/connections.c (register_traced_file): Don't register file
7194 for disabled databases.
7196 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7198 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7200 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7201 from tree and freeing node.
7203 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7205 * nss/nsswitch.c (__nss_database_lookup): Handle
7206 nss_parse_service_list out of memory case.
7208 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7210 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7213 2011-10-04 Andreas Schwab <schwab@redhat.com>
7215 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7216 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7218 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7219 elf_machine_rela, elf_machine_lazy_rel.
7220 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7221 (ELF_DYNAMIC_DO_REL): Likewise.
7222 (ELF_DYNAMIC_DO_RELA): Likewise.
7223 (ELF_DYNAMIC_RELOCATE): Likewise.
7224 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7225 to ELF_DYNAMIC_DO_REL.
7226 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7227 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7228 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7230 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7231 skip_ifunc, don't call ifunc function if non-zero.
7232 (elf_machine_rela): Likewise.
7233 (elf_machine_lazy_rel): Likewise.
7234 (elf_machine_lazy_rela): Likewise.
7235 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7236 (elf_machine_lazy_rel): Likewise.
7237 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7239 (elf_machine_lazy_rel): Likewise.
7240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7242 (elf_machine_lazy_rel): Likewise.
7243 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7244 (elf_machine_lazy_rel): Likewise.
7245 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7246 (elf_machine_lazy_rel): Likewise.
7247 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7248 (elf_machine_lazy_rel): Likewise.
7249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7250 (elf_machine_lazy_rel): Likewise.
7251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7252 (elf_machine_lazy_rel): Likewise.
7253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7254 (elf_machine_lazy_rel): Likewise.
7256 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7258 * nss/nss_files/files-init.c (_nss_files_init): Use static
7259 initialization for all the *_traced_file variables.
7261 2011-09-28 Andreas Schwab <schwab@redhat.com>
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7265 2011-09-27 Roland McGrath <roland@hack.frob.com>
7268 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7270 2011-09-27 Andreas Schwab <schwab@redhat.com>
7272 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7273 Reread the line before reparsing it.
7275 2011-09-26 Andreas Schwab <schwab@redhat.com>
7277 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7279 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7280 Maxim Kuvyrkov <maxim@codesourcery.com>
7281 Joseph Myers <joseph@codesourcery.com>
7283 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7284 if needed for __stack_chk_guard.
7286 2011-09-19 Roland McGrath <roland@hack.frob.com>
7288 * sysdeps/posix/spawni.c (script_execute): Always define it.
7289 It will be optimized away if unused.
7290 (maybe_script_execute): New function.
7291 (__spawni): Call it.
7293 * Makerules: Don't include tls.make.
7294 (config-tls): Always set to thread.
7295 * tls.make.c: File removed.
7297 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7299 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7300 * config.make.in (CPPFLAGS-config): New substituted variable.
7302 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7304 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7307 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7308 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7310 2011-09-15 Roland McGrath <roland@hack.frob.com>
7312 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7313 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7315 (CALL_FAIL): Likewise.
7316 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7317 (CALL_FAIL): Macro removed.
7318 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7320 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7322 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7323 for __FINITE_MATH_ONLY__ == 1.
7325 2011-09-15 Andreas Schwab <schwab@redhat.com>
7327 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7328 __ieee754_sqrt instead of sqrt.
7329 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7330 __ieee754_sqrtf instead of sqrtf.
7331 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7332 __floorf instead of floorf.
7333 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7334 __floorf, __truncf instead of floorf, truncf.
7336 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7338 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7340 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7341 __extern_always_inline.
7342 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7345 2011-09-14 Andreas Schwab <schwab@redhat.com>
7347 * elf/rtld.c (dl_main): Also relocate in dependency order when
7348 doing symbol dependency testing.
7350 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7353 Always define `refsym'.
7355 2011-09-13 Andreas Schwab <schwab@redhat.com>
7357 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7358 (__FD_ELT): Renamed from __FDELT.
7359 * misc/bits/select2.h (__FD_ELT): Likewise.
7360 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7361 __FD_MASK instead of __FDELT, __FDMASK.
7362 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7364 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7367 * elf/Makefile (gen-ldd): Fix pattern.
7369 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7370 (init_tls): Likewise.
7372 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7376 2011-09-12 Andreas Schwab <schwab@redhat.com>
7378 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7379 `struct cmsghdr *' instead of `void *'.
7380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7383 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7385 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7387 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7390 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7392 * configure.in: Remove --with-tls option.
7393 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7394 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7395 out in case it is missing.
7396 * sysdeps/ia64/elf/configure.in: Likewise.
7397 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7398 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7399 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7400 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7401 * sysdeps/sh/elf/configure.in: Likewise.
7402 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7403 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7404 * sysdeps/x86_64/elf/configure.in: Likewise.
7405 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7406 * sysdeps/mach/hurd/tls.h: Likewise.
7409 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7412 * configure.in: Fix use of AC_INIT.
7414 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7416 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7418 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7420 * malloc/hooks.c: Likewise.
7423 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7424 variables statically.
7425 (narenas): Initialize.
7426 (list_lock): Initialize.
7427 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7428 initializtion of main_arena and list_lock. Small cleanups.
7429 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7430 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7431 Add initializers to main_arena and mp_.
7432 (malloc_state): Remove pagesize member. Change all users to use
7435 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7436 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7437 is always initialized.
7439 * malloc/malloc.c: Removed unused configurations and dead code.
7440 * malloc/arena.c: Likewise.
7441 * malloc/hooks.c: Likewise.
7442 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7444 * include/tls.h: Removed. USE___THREAD must always be defined.
7445 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7446 * elf/dl-libc.c: Likewise.
7447 * elf/dl-tsd.c: Likewise.
7448 * include/errno.h: Likewise.
7449 * include/netdb.h: Likewise.
7450 * include/resolv.h: Likewise.
7451 * inet/herrno-loc.c: Likewise.
7452 * inet/herrno.c: Likewise.
7453 * malloc/arena.c: Likewise.
7454 * malloc/hooks.c: Likewise.
7455 * malloc/malloc.c: Likewise.
7456 * resolv/res-state.c: Likewise.
7457 * resolv/res_libc.c: Likewise.
7458 * sysdeps/i386/dl-machine.h: Likewise.
7459 * sysdeps/ia64/dl-machine.h: Likewise.
7460 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7461 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7462 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7463 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7464 * sysdeps/sh/dl-machine.h: Likewise.
7465 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7466 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7467 * sysdeps/unix/i386/sysdep.S: Likewise.
7468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7469 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7474 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7479 * sysdeps/x86_64/dl-machine.h: Likewise.
7480 * tls.make.c: Likewise.
7482 * configure.in: Remove --with-__thread option. Make tests for
7483 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7484 tls_model attribute fail if no support is available. Remove
7486 * Makeconfig: Adjust for dropped configure option. All features are
7488 * Makerules: Likewise.
7489 * Versions.def: Likewise.
7490 * argp/argp-fmtstream.c: Likewise.
7491 * argp/argp-fmtstream.h: Likewise.
7492 * argp/argp-help.c: Likewise.
7493 * assert/assert.c: Likewise.
7494 * config.h.in: Likewise.
7495 * config.make.in: Likewise.
7496 * configure: Likewise.
7497 * configure.in: Likewise.
7498 * csu/Versions: Likewise.
7499 * csu/init.c: Likewise.
7500 * elf/tst-audit2.c: Likewise.
7501 * elf/tst-tls10.c: Likewise.
7502 * elf/tst-tls10.h: Likewise.
7503 * elf/tst-tls11.c: Likewise.
7504 * elf/tst-tls12.c: Likewise.
7505 * elf/tst-tls14.c: Likewise.
7506 * elf/tst-tlsmod11.c: Likewise.
7507 * elf/tst-tlsmod12.c: Likewise.
7508 * elf/tst-tlsmod13.c: Likewise.
7509 * elf/tst-tlsmod13a.c: Likewise.
7510 * elf/tst-tlsmod14a.c: Likewise.
7511 * elf/tst-tlsmod15b.c: Likewise.
7512 * elf/tst-tlsmod16a.c: Likewise.
7513 * elf/tst-tlsmod16b.c: Likewise.
7514 * elf/tst-tlsmod7.c: Likewise.
7515 * elf/tst-tlsmod8.c: Likewise.
7516 * elf/tst-tlsmod9.c: Likewise.
7517 * gmon/gmon.c: Likewise.
7518 * grp/fgetgrent_r.c: Likewise.
7519 * grp/putgrent.c: Likewise.
7520 * hurd/fopenport.c: Likewise.
7521 * include/libc-symbols.h: Likewise.
7522 * include/tls.h: Likewise.
7523 * intl/gettextP.h: Likewise.
7524 * intl/loadinfo.h: Likewise.
7525 * locale/global-locale.c: Likewise.
7526 * locale/localeinfo.h: Likewise.
7527 * mach/devstream.c: Likewise.
7528 * malloc/arena.c: Likewise.
7529 * malloc/set-freeres.c: Likewise.
7530 * misc/err.c: Likewise.
7531 * misc/getttyent.c: Likewise.
7532 * misc/mntent_r.c: Likewise.
7533 * posix/getopt.c: Likewise.
7534 * posix/wordexp.c: Likewise.
7535 * pwd/fgetpwent_r.c: Likewise.
7536 * resolv/Versions: Likewise.
7537 * resolv/res_hconf.c: Likewise.
7538 * shadow/fgetspent_r.c: Likewise.
7539 * shadow/putspent.c: Likewise.
7540 * stdio-common/printf_fphex.c: Likewise.
7541 * stdio-common/tmpfile.c: Likewise.
7542 * stdlib/abort.c: Likewise.
7543 * stdlib/fmtmsg.c: Likewise.
7544 * sunrpc/auth_unix.c: Likewise.
7545 * sunrpc/clnt_perr.c: Likewise.
7546 * sunrpc/clnt_tcp.c: Likewise.
7547 * sunrpc/clnt_udp.c: Likewise.
7548 * sunrpc/clnt_unix.c: Likewise.
7549 * sunrpc/openchild.c: Likewise.
7550 * sunrpc/svc_simple.c: Likewise.
7551 * sunrpc/svc_tcp.c: Likewise.
7552 * sunrpc/svc_udp.c: Likewise.
7553 * sunrpc/svc_unix.c: Likewise.
7554 * sunrpc/xdr.c: Likewise.
7555 * sunrpc/xdr_array.c: Likewise.
7556 * sunrpc/xdr_rec.c: Likewise.
7557 * sunrpc/xdr_ref.c: Likewise.
7558 * sunrpc/xdr_stdio.c: Likewise.
7560 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7562 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7564 2011-07-03 Andreas Jaeger <aj@suse.de>
7566 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7567 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7568 regenerate with gen-libm-tests.pl.
7570 2010-05-12 Petr Baudis <pasky@suse.cz>
7573 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7574 around j0() zero points by switching to j1().
7575 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7580 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7582 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7584 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7587 Patch in part by Pavel Roskin <proski@gnu.org>.
7590 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7592 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7593 Free memory block if necessary.
7596 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7597 be NULL. Don't lock in this case.
7599 2011-09-09 Roland McGrath <roland@hack.frob.com>
7601 * elf/elf.h (ELFOSABI_GNU): New macro.
7602 (ELFOSABI_LINUX): Define to that.
7604 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7606 * string/strncat.c (strncat): Undef the symbol in case it has been
7607 defined in bits/string.h.
7609 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7611 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7613 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7616 2011-08-17 Andreas Jaeger <aj@suse.de>
7618 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7620 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7621 Ian Lance Taylor <iant@google.com>
7623 * math/libm-test.inc (lround_test): New testcase.
7624 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7626 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7628 * Makefile: Remove support for automatic cvs check-ins.
7629 * Makerules: Likewise.
7630 * config.make.in: Likewise.
7631 * configure.in: Likewise.
7632 * intl/Makefile: Likewise.
7633 * locale/Makefile: Likewise.
7634 * po/Makefile: Likewise.
7635 * posix/Makefile: Likewise.
7636 * sysdeps/gnu/Makefile: Likewise.
7637 * sysdeps/mach/hurd/Makefile: Likewise.
7638 * sysdeps/sparc/sparc32/Makefile: Likewise.
7641 * posix/Makefile (bug-regex32-ENV): Define.
7642 Patch by John Stanley <jpsinthemix@verizon.net>.
7644 * misc/Makefile (headers): Add bits/select2.h.
7645 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7646 * misc/bits/select2.h: New file.
7647 * include/bits/select2.h: New file.
7648 * debug/Makefile (routines): Add fdelt_chk.
7649 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7650 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7652 * debug/fdelt_chk.c: New file.
7654 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7655 * wcsmbs/test-wmemcmp.c: Likewise.
7656 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7657 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7659 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7661 * string/Makefile (strop-tests): Add memcmp.
7662 * string/test-wmemcmp.c: New file.
7663 * string/test-memcmp.c: Add wmemcmp support.
7665 2011-09-08 Roland McGrath <roland@hack.frob.com>
7668 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7671 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7672 garbage value in a __mach_port_mod_refs call in the cases of the
7673 task-self and thread-self ports.
7675 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7677 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7679 2011-09-08 Andreas Schwab <schwab@redhat.com>
7681 * elf/dl-load.c (lose): Check for non-null L.
7683 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7685 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7687 * elf/dl-libc.c (dlerror_run): Pass back error code from
7691 * elf/dl-load.c (lose): Free l_origin if it is valid.
7693 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7695 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7696 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7697 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7698 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7699 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7700 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7702 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7704 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7705 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7706 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7707 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7708 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7709 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7710 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7711 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7712 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7713 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7715 2011-08-15 Alan Modra <amodra@gmail.com>
7718 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7719 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7720 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7721 ppc_mcount to static-only-routines.
7722 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7724 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7725 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7727 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7729 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7730 for finite and infinity parameters.
7732 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7735 and add nop instructions for throughput optimization.
7736 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7738 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7740 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7741 aligned copy for power7 with vector-scalar instructions.
7742 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7744 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7749 2011-09-07 Andreas Schwab <schwab@redhat.com>
7752 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7755 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7757 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7758 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7759 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7763 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7766 Forgot to demangle the pointer.
7768 * sysdeps/i386/sysdep.h: Define atom_text_section.
7769 * sysdeps/x86_64/sysdep.h: Likewise.
7770 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7771 section with atom_text_section.
7772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7774 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7775 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7776 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7778 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7780 already be defined. Change to take two parameters and don't assign
7781 result to variable. Adjust all users.
7782 Define INTERNAL_GETTIME if not already defined.
7783 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7786 HAVE_CLOCK_GETTIME_VSYSCALL.
7787 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7790 gettimeofday vsyscall, just use time.
7792 2011-09-06 Andreas Schwab <schwab@redhat.com>
7794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7797 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7799 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7803 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7805 syscall if possible.
7807 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7809 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7810 e_ident. Don't pass to find_mapsXX.
7811 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7813 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7816 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7817 * sysdeps/x86_64/multiarch/strchr.S: Update.
7818 Check bit_slow_BSF bit.
7819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7820 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7821 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7823 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7826 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7829 (__spawni): Change last parameter to be flag. Test
7830 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7831 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7832 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7833 * posix/spawni.c: Likewise.
7834 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7835 * posix/spawnp.c: Likewise. Change normal version to use
7836 SPAWN_XFLAGS_USE_PATH.
7837 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7838 SPAWN_XFLAGS_TRY_SHELL.
7841 * posix/glob.h: Remove gcc 1.x support.
7844 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7846 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7849 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7851 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7852 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7855 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7858 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7860 * sysdeps/x86_64/wcscmp.S: New file.
7862 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7863 wcscmp-c wcscmp-sse2
7864 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7865 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7866 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7867 * wcsmbs/wcscmp.c: Allow renaming.
7869 2011-09-05 David S. Miller <davem@davemloft.net>
7871 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7872 stack slot, rather than the struct return pointer slot.
7873 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7874 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7878 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7880 * po/ja.po: Update from translation team.
7883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7884 kernel in 64-bit binaries.
7886 2011-09-01 David S. Miller <davem@davemloft.net>
7888 * elf/elf.h (HWCAP_SPARC_*): Move to..
7889 * sysdeps/sparc/sysdep.h: this new file and add new values.
7890 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7891 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7892 _DL_HWCAP_COUNT to 24.
7893 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7895 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7896 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7897 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7899 instead of magic constants.
7900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7902 2011-08-31 David S. Miller <davem@davemloft.net>
7904 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7906 Reimplement to do errno handling inline.
7907 (SYSCALL_ERROR_HANDLER): New macro.
7908 (__SYSCALL_STRING): Do not do errno handling in asm.
7909 (__CLONE_SYSCALL_STRING): Delete.
7910 (__INTERNAL_SYSCALL_STRING): Delete.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7912 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7913 (PSEUDO): Reimplement to do errno handling inline.
7914 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7915 (SYSCALL_ERROR_HANDLER): New macro.
7916 (__SYSCALL_STRING): Do not do errno handling in asm.
7917 (__CLONE_SYSCALL_STRING): Delete.
7918 (__INTERNAL_SYSCALL_STRING): Delete.
7919 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7920 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7922 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7923 (inline_syscall*): Add 'err' argument.
7924 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7925 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7926 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7927 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7929 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7930 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7932 2011-08-30 Andreas Schwab <schwab@redhat.com>
7934 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7936 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7938 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7941 2011-08-24 David S. Miller <davem@davemloft.net>
7943 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7945 2011-08-24 Andreas Schwab <schwab@redhat.com>
7947 * elf/Makefile: Add rules to build and run unload8 test.
7948 * elf/unload8.c: New file.
7949 * elf/unload8mod1.c: New file.
7950 * elf/unload8mod1x.c: New file.
7951 * elf/unload8mod2.c: New file.
7952 * elf/unload8mod3.c: New file.
7954 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7957 2011-08-23 David S. Miller <davem@davemloft.net>
7959 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7960 subtract stack bias.
7961 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7962 %sp not %fp in calculations.
7963 (_JMPBUF_UNWINDS_ADJ): Likewise.
7965 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7966 (aio_suspend): Call it to force an exception region around the
7967 AIO_MISC_WAIT() invocation.
7969 2011-08-23 Andreas Schwab <schwab@redhat.com>
7971 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7974 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7976 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7978 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7980 (Elf64_FuncDesc): Remove.
7982 2011-08-22 David S. Miller <davem@davemloft.net>
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7985 sigaltstack check, add missing cfi directives.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7987 missing cfi directives, and sigaltstack handling.
7989 2011-08-16 Andreas Schwab <schwab@redhat.com>
7992 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7993 object is seen twice.
7994 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7996 * elf/Makefile (distribute): Add tst-initorder2.c.
7997 (tests): Add tst-initorder2.
7998 (modules-names): Add tst-initorder2a tst-initorder2b
7999 tst-initorder2c tst-initorder2d. Add rules to build them.
8000 ($(objpfx)tst-initorder2.out): New rule.
8001 * elf/tst-initorder2.c: New file.
8002 * elf/tst-initorder2.exp: New file.
8004 2011-08-22 Andreas Schwab <schwab@redhat.com>
8006 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8008 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8009 dependencies back to end of function.
8011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8014 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8017 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8019 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8020 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8021 of __vdso_gettimeofday.
8022 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8023 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8025 (_libc_vdso_platform_setup): Remove initialization of
8026 __vdso_gettimeofday and __vdso_time.
8028 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8030 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8032 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8035 * elf/dl-open.c (add_to_global): Report additions to the global scope
8036 for LD_DEBUG=scopes.
8037 (dl_open_worker): Also print scope of newly loaded dependencies.
8038 (_dl_show_scope): Indicate if there is no scope.
8041 * stdio-common/Makefile (tests): Add bug24.
8042 * stdio-common/bug24.c: New file.
8044 2011-08-19 Andreas Jaeger <aj@suse.de>
8047 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8048 non-existant file when using close-on-exec mode.
8050 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8053 the very first instruction.
8055 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8056 the CFI state in the end.
8057 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8058 inclusion of dl-trampoline.h.
8059 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8061 2011-08-19 Andreas Schwab <schwab@redhat.com>
8063 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8064 expectations for long double.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8067 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8069 2011-08-14 David S. Miller <davem@davemloft.net>
8071 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8072 artificual limit depends upon the system page size.
8074 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8076 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8077 * resolv/Makefile: Define CFLAGS-libresolv.
8079 2011-08-17 Andreas Schwab <schwab@redhat.com>
8081 * nss/makedb.c (compute_tables): Make variables used in nested
8084 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8086 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8087 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8088 if buffer was too small.
8090 * elf/pldd.c (main): Attach to all threads in the process.
8091 Rewrite /proc handling to use *at functions.
8093 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8095 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8096 specifies first scope to show.
8097 (dl_open_worker): Update callers. Move printing scope of new
8098 object to before the relocation.
8099 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8100 * sysdeps/generic/ldsodefs.h: Update declaration.
8102 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8103 string for the scope number.
8105 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8107 * nscd/servicescache.c (cache_addserv): Make sure written is always
8110 2011-08-14 Roland McGrath <roland@hack.frob.com>
8112 * sysdeps/i386/i486/bits/atomic.h
8113 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8114 statement expression, so as to suppress "set but not used" warning.
8115 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8117 * string/strncat.c (STRNCAT): Use prototype definition.
8119 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8120 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8122 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8123 (localedef-modules): Add localedef.
8124 (locale-modules): Add locale.
8126 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8127 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8130 2011-08-14 David S. Miller <davem@davemloft.net>
8132 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8133 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8135 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8137 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8138 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8139 * elf/rtld.c (dl_main): Set l_name of vDSO.
8140 Call _dl_show_scope when DL_DEBUG_SCOPES.
8141 (process_dl_debug): Recognize scopes flag and also set it for all.
8142 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8143 Declare _dl_show_scope.
8145 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8146 (do_dlopen): Pass caller_dlopen to dl_open.
8147 (__libc_dlopen_mode): Initialize caller_dlopen.
8149 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8150 of libc. Make tolower call locale-independent. Optimize a bit by
8151 using isdigit instead of isalnum.
8152 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8154 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8156 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8157 was a dependency or dynamically loaded.
8159 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8161 * intl/l10nflist.c: Allow architecture-specific pop function.
8162 * sysdeps/x86_64/l10nflist.c: New file.
8164 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8167 2011-08-10 Andreas Schwab <schwab@redhat.com>
8169 * include/dirent.h: Add libc_hidden_proto for scandirat and
8170 scandirat64. Don't declare __scandirat64.
8171 * dirent/scandirat.c: Add libc_hidden_def.
8172 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8173 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8175 2011-08-10 David S. Miller <davem@davemloft.net>
8177 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8181 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8183 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8185 * Versions.def [libc]: Add GLIBC_2.15.
8186 * dirent/Makefile (routines): Add scandirat and scandirat64.
8187 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8189 * dirent/dirent.h: Declare scandirat and scandirat64.
8190 * dirent/scandirat.c: New file.
8191 * dirent/scandirat64.c: New file.
8192 * sysdeps/wordsize-64/scandirat.c: New file.
8193 * sysdeps/wordsize-64/scandirat64.c: New file.
8194 * dirent/opendir.c: Define opendirat.
8195 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8197 * dirent/scandir64.c: Adjust for scandir.c change.
8198 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8199 __scandirat64, and __scandir_cancel_handler.
8200 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8201 additional parameter and use openat instead of open (outside of ld.so).
8202 Add new __opendir as wrapper around __opendirat.
8203 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8204 here without requiring old scandirat implementation.
8206 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8208 * dirent/scandir.c (cancel_handler): Renamed to
8209 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8210 defined. Adjust users.
8211 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8212 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8214 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8216 * string/test-string.h (IMPL): Use __STRING to expand name and then
8219 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8222 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8224 * string/Makefile: Update.
8225 (strop-tests): Append strncat.
8226 * string/test-wcscmp.c: New file.
8227 New comprehensive test for wcscmp.
8228 * string/test-strcmp.c: Update.
8231 2011-07-22 Andreas Schwab <schwab@redhat.com>
8233 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8236 2011-07-26 Andreas Schwab <schwab@redhat.com>
8238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8239 encoding to ACE if AI_IDN.
8241 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8244 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8246 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8249 Fix overflow bug in strncat.
8250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8252 * string/test-strncat.c: Update.
8253 Add new tests for checking overflow bugs.
8255 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8258 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8259 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8260 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8262 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8263 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8264 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8265 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8268 (USE_AS_STRCAT): Define.
8269 Add strcat and strncat support.
8270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8272 2011-07-25 Andreas Schwab <schwab@redhat.com>
8274 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8275 __n bigger than INT_MAX+1.
8276 (__strncmp_g): Likewise.
8278 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8280 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8281 * libio/stido.h: Likewise.
8283 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8288 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8295 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8300 (_dl_x86_64_save_sse): Likewise.
8302 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8306 (_dl_x86_64_save_sse): Likewise.
8308 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8310 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8312 2011-07-21 Andreas Schwab <schwab@redhat.com>
8314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8316 (_dl_x86_64_save_sse): Use correct AVX check.
8318 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8321 bug in strncpy/strncat.
8322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8324 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8326 * string/tester.c (test_strcat): Add tests for different alignments
8327 of source and destination.
8328 (test_strncat): Likewise.
8330 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8333 * posix/glob.c (glob): Check passed in values before using them in
8334 expressions to avoid some overflows.
8335 (glob_in_dir): Likewise.
8338 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8339 check for AVX enablement so that we don't crash with old kernels and
8341 * elf/tst-audit4.c: Add same checks here.
8342 * elf/tst-audit6.c: Likewise.
8344 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8346 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8348 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8350 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8352 * po/cs.po: Update from translation team.
8353 * po/bg.po: Likewise.
8355 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8357 * misc/sys/cdefs.h: Add support for const attribute.
8358 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8359 to gnu_dev_{major,minor,makedev} functions.
8361 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8363 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8365 2011-07-20 Andreas Schwab <schwab@redhat.com>
8367 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8370 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8373 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8374 register in order to avoid conflicts with the soft frame pointer
8375 being held in r11 when necessary.
8376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8377 (INTERNAL_VSYSCALL_NCS): Likewise.
8379 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8381 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8382 * elf/dl-fini.c (_dl_fini): Adjust caller.
8383 * elf/dl-close.c (_dl_close_worker): Likewise.
8384 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8386 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8388 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8389 "aux_cache->nlibs < 0".
8391 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8392 in the reload-count case.
8394 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8397 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8398 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8399 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8400 * sysdeps/x86_64/multiarch/strcat.S: New file.
8401 * sysdeps/x86_64/multiarch/strncat.S: New file.
8402 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8403 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8404 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8405 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8407 (USE_AS_STRCAT): Define.
8408 Add strcat and strncat support.
8409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8410 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8411 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8412 * string/strncat.c: Update.
8413 (USE_AS_STRNCAT): Define.
8414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8415 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8417 * sysdeps/x86_64/multiarch/init-arch.h
8418 (bit_Prefer_PMINUB_for_stringop): New.
8419 (index_Prefer_PMINUB_for_stringop): Likewise.
8420 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8421 bit_Prefer_PMINUB_for_stringop.
8423 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8425 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8427 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8428 of casting of buffer.
8429 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8430 buffer32 and buffer64.
8431 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8432 writes instead of casting of buffer.
8433 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8435 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8438 2011-07-19 Andreas Schwab <schwab@redhat.com>
8440 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8442 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8444 * nscd/nscd.c (termination_handler): Don't do anything for a database
8445 if it has not yet been initialized.
8447 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8449 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8451 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8453 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8455 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8457 * po/nl.po: Update from translation team.
8458 * po/sv.po: Likewise.
8460 2011-07-16 Roland McGrath <roland@hack.frob.com>
8462 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8463 now disallowed by GCC.
8465 * configure.in (use-default-link): Default to yes if a test -shared
8466 link meets our qualifications.
8467 * configure: Regenerated.
8469 * config.make.in (output-format): New variable.
8470 * configure.in: Check for ld --print-output-format support.
8471 * configure: Regenerated.
8472 * Makerules ($(common-objpfx)format.lds)
8473 [$(output-format) != unknown]: Just use $(output-format),
8474 instead of the linker-script munging.
8476 2011-07-14 Roland McGrath <roland@hack.frob.com>
8478 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8479 of $(common-objpfx)shlib.lds.
8480 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8482 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8483 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8485 * configure.in (-z relro check): Adjust test code to add a large
8486 writable data section after it.
8487 * configure: Regenerated.
8489 2011-07-11 Roland McGrath <roland@hack.frob.com>
8491 * configure.in (-z relro check): Fix test code to make the variable
8493 * configure: Regenerated.
8495 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8497 * nscd/nscd.h (struct traced_file): Define.
8498 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8499 elements. Add traced_files.
8500 (inotify_fd): Declare.
8501 (register_traced_file): Declare.
8502 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8503 (inotify_fd): Export.
8504 (resolv_conf_descr): Remove.
8505 (nscd_init): Move inotify descriptor creation to main.
8506 Don't register files for notification here.
8507 (register_traced_file): New function.
8508 (invalidate_cache): Don't use reset_res to determine whether to call
8509 res_init, go through the list of registered files.
8510 (main_loop_poll): The inotify descriptors are now stored in the
8511 structures for the traced files.
8512 (main_loop_epoll): Likewise
8513 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8514 to __nss_disable_nscd.
8515 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8516 for a database anymore. Check the records for all the registered
8518 * nss/Makefile (libnss_files-routines): Add files-init.
8519 (libnss_db-routines): Add db-init.
8520 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8521 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8522 * nss/nss_db/db-init.c: New file.
8523 * nss/nss_files/files-init.c: New file.
8524 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8525 __nss_lookup_function.
8526 (__nss_lookup_function): Call nss_load_library.
8527 (nss_load_all_libraries): New function.
8528 (__nss_disable_nscd): Take parameter with callback function for files
8529 to register. Set is_nscd. Load all the DSOs for the NSS modules
8530 used for the cached services.
8531 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8532 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8533 options for features to all the files in nscd.
8535 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8537 2011-07-10 Roland McGrath <roland@hack.frob.com>
8539 * csu/elf-init.c (__libc_csu_init): Comment typo.
8541 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8543 * po/pl.po: Update from translation team.
8544 * po/ja.po: Likewise.
8545 * po/ru.po: Likewise.
8546 * po/ko.po: Likewise.
8547 * po/fr.po: Likewise.
8549 2011-07-09 Roland McGrath <roland@hack.frob.com>
8551 * configure.in (.ctors/.dtors header and trailer check):
8552 Use an empirical test on a built program.
8553 * configure: Regenerated.
8555 * configure.in (-z relro check): Use an empirical test on a built DSO.
8556 Detect, but do not require, on ia64.
8557 * configure: Regenerated.
8559 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8560 Update tests that use readelf to use $READELF instead.
8561 * configure: Regenerated.
8563 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8565 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8566 if the result is not used.
8568 2011-07-05 Andreas Jaeger <aj@suse.de>
8571 * stdlib/tst-strtod.c: Add testcase.
8573 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8575 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8576 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8577 The latter has a higher limit. Take additional parameter to pass to
8579 (__pathconf): Pass file to __statfs_link_max.
8580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8582 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8586 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8590 (__statfs_filesize_max): Likewise.
8591 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8593 2011-07-05 Andreas Jaeger <aj@suse.de>
8595 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8597 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8599 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8601 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8604 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8606 * Makefile (strop-tests): Add strncat.
8607 * string/test-strncat.c: New file.
8609 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8611 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8613 2011-06-21 Andreas Jaeger <aj@suse.de>
8615 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8616 Copy rule from iconvdata/Makefile.
8618 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8621 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8622 but no long options are defined, just return 'W'.
8624 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8627 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8629 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8631 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8633 (innetgr): Likewise.
8635 2011-07-05 Roland McGrath <roland@hack.frob.com>
8637 * config.make.in (install_root): Default to $(DESTDIR).
8639 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8643 2011-07-02 Roland McGrath <roland@hack.frob.com>
8645 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8647 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8648 containing directory rather than embedding absolute directory names.
8650 * scripts/check-local-headers.sh: Rewritten using awk.
8651 Match by word, not by line. Print error messages for matches.
8652 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8654 * Makerules [shlib-lds-flags empty]:
8655 ($(common-objpfx)libc_pic.opts): New target.
8656 ($(common-objpfx)libc_pic.os.clean): New target.
8657 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8659 * config.make.in (OBJCOPY): New variable.
8660 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8661 * configure: Regenerated.
8663 * config.make.in (use-default-link): New variable.
8664 * configure.in (use_default_link): Grok --with-default-link to set it.
8665 * configure: Regenerated.
8666 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8667 (shlib-lds, shlib-lds-flags): Define to empty.
8669 * Makerules (shlib-lds): New variable.
8670 (shlib-lds-flags): New variable.
8671 (build-shlib, build-moduile, build-module-asneeded): Use it.
8672 ($(common-objpfx)libc.so): Use $(shlib-lds).
8673 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8674 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8676 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8677 DT_FLAGS/DT_FLAGS_1 with zero flags.
8679 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8680 linker script munging.
8682 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8684 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8686 * crypt/sha512.c (sha512_process_block): Perform total addition using
8687 128-bit if possible.
8688 (__sha512_finish_ctx): Likewise.
8689 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8691 * crypt/sha256.c (SWAP64): Define.
8692 (sha256_process_block): Perform total addition using 64-bit if
8694 (__sha256_finish_ctx): Likewise.
8696 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8698 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8700 * nscd/hstcache.c (cache_addhst): Likewise.
8701 * nscd/grpcache.c (cache_addgr): Likewise.
8702 * nscd/aicache.c (addhstaiX): Likewise
8703 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8705 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8707 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8709 * nscd/hstcache.c (cache_addhst): Likewise.
8710 * nscd/grpcache.c (cache_addgr): Likewise.
8711 * nscd/aicache.c (addhstaiX): Likewise
8713 2011-07-01 Andreas Schwab <schwab@redhat.com>
8715 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8716 domain only when needed.
8718 2011-06-30 Andreas Schwab <schwab@redhat.com>
8720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8723 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8725 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8726 are re-adding the entry.
8727 * nscd/servicescache.c (cache_addserv): Likewise.
8729 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8731 * sysdeps/generic/dl-irel.h: fix protection against multiple
8733 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8735 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8738 * malloc/memusage.sh: Fix quoting in message.
8739 * debug/xtrace.sh: Likewise.
8741 * configure.in: Remove support for --experimental-malloc option, make
8743 * config.make.in: Likewise.
8744 * malloc/Makefile: Likewise.
8746 2011-06-27 Andreas Schwab <schwab@redhat.com>
8748 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8749 two-byte characters.
8751 2011-06-27 Roland McGrath <roland@hack.frob.com>
8753 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8754 AC_CACHE_CHECK invocation.
8755 * configure: Regenerated.
8757 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8759 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8762 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8763 bit from old_res_options.
8765 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8767 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8768 value type for setfct.
8770 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8773 __gettimeofday instead of gettimeofday.
8775 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8777 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8779 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8786 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8789 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8790 strcpy-sse2-unaligned strncpy-sse2-unaligned
8791 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8792 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8793 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8794 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8795 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8798 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8799 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8800 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8801 (STRCPY): Support SSE2 and SSSE3 versions.
8803 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8806 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8807 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8808 kernels which artificially limit size of requests.
8810 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8813 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8814 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8815 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8816 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8817 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8818 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8819 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8821 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8822 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8823 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8824 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8825 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8826 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8828 Enable unaligned load optimization for Intel Core i3, i5 and i7
8830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8832 (index_Fast_Unaligned_Load): Define.
8833 (HAS_FAST_UNALIGNED_LOAD): Define.
8835 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8837 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8839 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8843 until it is clear that the information is realy needed.
8844 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8846 2011-06-22 Andreas Schwab <schwab@redhat.com>
8848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8850 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8853 /sys/devices/system/cpu/online if it is usable.
8855 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8856 reading the information from the /proc filesystem to once a second.
8858 2011-06-21 Andreas Jaeger <aj@suse.de>
8860 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8861 NULL after inclusion of kernel headers.
8863 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8865 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8866 calls to internal_setent.
8869 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8870 addresses using gethostbyname4_r ignore IPv4 addresses.
8872 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8873 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8875 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8877 2011-06-20 David S. Miller <davem@davemloft.net>
8879 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8881 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8883 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8885 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8886 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8887 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8888 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8889 * sysdeps/x86_64/dl-irel.h: Likewise.
8891 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8892 * elf/dl-sym.c: Likewise.
8894 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8896 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8897 need to dereference resplen2.
8899 2011-06-14 Andreas Schwab <schwab@redhat.com>
8901 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8903 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8905 * Makeconfig: Define vardbdir and inst_vardbdir.
8906 * nss/Makefile: Add rules to install db-Makefile.
8908 * nss/nss_db/db-XXX.c: Cleanup.
8910 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8911 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8913 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8914 * nss/makedb.c: Implement -g option to specify that value strings
8915 are generated and should not be added to table iterated over for
8917 * nss/nss_db/db-initgroups.c: New file.
8919 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8922 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8923 (internal_getgrouplist): Adjust to name change.
8924 Update use_initgroups_entry if this is not the first call.
8925 * nss/databases.def: Add initgroups entry.
8927 * nss/makedb.c (compute_tables): Check result of multiple hash table
8928 sizes to minimize maximum chain length.
8930 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8932 * Versions.def: Add entry for libnss_db.
8933 * shlib-versions: Likewise.
8934 * nss/Makefile: Add rules to build libnss_db.
8935 * nss/Versions: Add libnss_db information. Organize libnss_files
8937 * nss/db-Makefile: Add gshadow support. Change rules for the new
8938 makedb progra. Some minor improvements to generate smaller files.
8939 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8941 * nss/makedb.c: ...here.
8942 Improve database format to be smaller and require less memory at
8944 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8946 * nss/nss_db/db-netgrp.c: Likewise.
8947 * nss/nss_db/db-open.c: Likewise.
8948 * nss/nss_files/flies-XXX.x: Adjust comments.
8949 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8950 * nss/nss_files/files-grp.c: Likewise.
8951 * nss/nss_files/files-hosts.c: Likewise.
8952 * nss/nss_files/files-network.c: Likewise.
8953 * nss/nss_files/files-proto.c: Likewise.
8954 * nss/nss_files/files-pwd.c: Likewise.
8955 * nss/nss_files/files-rpc.c: Likewise.
8956 * nss/nss_files/files-service.c: Likewise.
8957 * nss/nss_files/files-sgrp.c: Likewise.
8958 * nss/nss_files/files-spwd.c: Likewise.
8959 * nss/nss_db/db-alias.c: Removed.
8960 * nss/nss_db/dummy-db.h: Removed.
8962 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8964 * nss/makedb.c: Rewritten to not use database library.
8965 * nss/Makefile: Update to build new makedb program.
8967 2011-06-14 Andreas Jaeger <aj@suse.de>
8969 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8972 2011-06-10 Andreas Schwab <schwab@redhat.com>
8974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8977 2011-06-10 Roland McGrath <roland@hack.frob.com>
8979 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8980 * elf/Makefile ($(objpfx)ld.so): Likewise.
8982 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8983 Don't list ld.so twice in dependencies.
8985 * posix/bug-regex31.c: Include <stdlib.h>.
8987 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8989 * nis/nss_compat/compat-spwd.c
8990 (getspent_next_nss_netgr): Remove unused variable.
8991 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8993 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8994 nonmembers" output to use the right array.
8996 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8998 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9000 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9001 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9002 * catgets/gencat.c (read_input_file): Likewise.
9003 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9005 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9006 variable definition inside #if's controlling its use.
9008 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9010 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9012 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9014 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9017 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9019 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9020 * configure: Regenerated.
9022 * Makerules: Revert last change.
9023 * elf/Makefile: Likewise.
9025 2011-06-09 Roland McGrath <roland@hack.frob.com>
9027 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9028 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9029 (reloc-link): Likewise.
9031 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9033 * elf/Makefile: Add rules to build pldd.
9034 * elf/pldd.c: New file.
9035 * elf/pldd-xx.c: New file.
9037 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9039 * version.h: Update for 2.15 development version.
9041 2011-06-07 David S. Miller <davem@davemloft.net>
9043 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9046 elf_machine_lazy_rel): Likewise.
9047 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9049 elf_machine_lazy_rel): Likewise.
9050 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9051 dl_hwcap via passed in argument.
9052 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9055 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9057 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9059 2011-06-06 Roland McGrath <roland@hack.frob.com>
9062 * manual/fdl-1.1.texi: New file, verbatim from:
9063 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9064 * manual/lgpl-2.1.texi: New file, verbatim from:
9065 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9066 * manual/Makefile (licenses): New variable, list those new file names.
9068 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9070 * manual/fdl.texi: File removed.
9071 * manual/lesser.texi: File removed.
9072 * manual/libc.texinfo (Copying, Documentation License):
9073 Use new @include file names, put @appendix directive before @include.
9075 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9078 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9079 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9080 (mq_open): Add __NTH.
9082 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9085 Assume Intel Core i3/i5/i7 processor if AVX is available.
9087 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9092 2011-05-31 Andreas Schwab <schwab@redhat.com>
9094 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9095 memory. Use alloca_account. Fix memory leak when retrying.
9097 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9099 * version.h (RELEASE): Bump for 2.14 release.
9100 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9102 * config.make.in (RANLIB): Remove entry.
9104 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9106 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9107 (libc.pot): Work around missing support for .ksh extension in xgettext.
9110 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9111 if both request failed.
9112 (send_dg): In case of server errors clear resplen or *resplen2.
9115 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9116 when there are multiple maps.
9117 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9118 (_dl_fini): Remove test here.
9120 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9122 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9125 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9126 bit from old_res_options.
9127 (gaih_inet): Likewise.
9130 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9133 * resolv/res_init.c (res_setoptions): Make the code more compact.
9136 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9140 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9142 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9145 * malloc/malloc.h: Declare malloc hook variables as volatile.
9147 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9151 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9152 raise in the comment.
9153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9155 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9157 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9160 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9161 grow the buffers more if it already has to be sufficient.
9162 (build_wcs_upper_buffer): Likewise.
9163 * posix/regexec.c (check_matching): Likewise.
9164 (clean_state_log_if_needed): Likewise.
9165 (extend_buffers): Don't enlarge buffers beyond size of the input
9167 Patches mostly by Emil Wojak <emil@wojak.eu>.
9168 * posix/bug-regex32.c: New file.
9169 * posix/Makefile (tests): Add bug-regex32.
9171 * locale/findlocale.c (_nl_find_locale): Return right away if
9172 _nl_explode_name failed.
9173 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9175 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9177 * debug/xtrace.sh: Unify messages.
9178 * malloc/memusage.sh: Likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9182 time symbol from vDSO. Substitute with vsyscall if not available.
9183 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9186 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9187 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9188 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9189 Add sendmmsg and internal_sendmmsg.
9190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9191 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9192 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9194 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9195 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9196 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9198 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9201 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9202 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9208 * iconvdata/Makefile (tests): Add bug-iconv9.
9209 * iconvdata/bug-iconv9.c: New file.
9211 2011-05-27 Andreas Schwab <schwab@redhat.com>
9214 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9216 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9219 (struct user_regs_struct): Change intcs field back to cs.
9221 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9223 * po/ja.po: Update from translation team.
9225 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9228 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9229 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9231 2011-05-20 Andreas Schwab <schwab@redhat.com>
9233 * stdlib/longlong.h: Update from GCC.
9235 2011-05-23 Andreas Schwab <schwab@redhat.com>
9237 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9239 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9241 (__sysconf): Pass it down.
9243 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9246 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9249 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9250 add in in __libc_use_alloca calls. Adjust callers.
9251 (glob): Use malloc in some situations.
9253 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9254 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9257 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9259 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9260 and CLOCK_BOOTTIME_ALARM.
9263 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9266 * string/_strerror.c (__strerror_r): Print negative errors as signed
9270 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9271 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9272 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9274 * configure.in: Fix typo in redirection and correct removal of test
9278 * locale/setlocale.c (new_composite_name): Fix test to check for
9279 identical name of all categories.
9282 * libio/filedoalloc.c (local_isatty): New function.
9283 (_IO_file_doallocate): Use local_isatty.
9284 * stdio-common/perror.c (perror): In case a new stream is used
9285 forward the stream error.
9286 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9289 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9294 * include/alloca.h (extend_alloca_account): Define.
9297 * posix/regex.h: Fix comments with documentation of user-accessible
9298 fields after compilation and describe correct free'ing of pattern
9299 after re_compile_pattern.
9300 Patch by Reuben Thomas <rrt@sc3d.org>.
9302 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9304 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9305 and -mno-altivec to prevent the compiler from using Altivec and/or
9306 VSX instructions when the corresponding registers are not available.
9308 2011-05-19 Andreas Schwab <schwab@redhat.com>
9310 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9312 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9314 * libio/freopen.c (freopen): Use __dup2, not dup2.
9315 * libio/freopen64.c (freopen64): Likewise.
9317 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9320 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9321 * math/Makefile (tests): Add test-powl.
9322 (CFLAGS-test-powl.c): Define.
9323 * math/test-powl.c: New file.
9325 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9327 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9329 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9332 * iconvdata/gb18030.c: Update to GB18020-2005.
9334 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9336 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9337 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9338 Patch by Aharon Robbins <arnold@skeeve.com>.
9341 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9345 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9349 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9350 point to strings before performing equality test for error_one_per_line
9354 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9358 (struct user_fpregs_struct): Avoid __uint*_t types.
9361 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9362 symbol info. Use it instead of calling _dl_addr locally.
9363 (lock_and_info): New function.
9364 (tr_freehook): Call lock_and_info and pass symbol info as additional
9365 parameter to tr_where.
9366 (tr_mallochook): Likewise.
9367 (tr_reallochook): Likewise.
9368 (tr_memalignhook): Likewise.
9370 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9371 used and couldn't be at all thread-safe.
9373 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9375 * libio/freopen.c (freopen): Don't close old file descriptor
9376 before the new one is opened. Instead dup the new file descriptor
9377 to the old one after the new stream is created.
9378 * libio/freopen64.c (freopen64): Likewise.
9379 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9380 * libio/fileops.c (_IO_new_file_close_it): Handle new
9381 _IO_FLAGS2_NOCLOSE flag.
9382 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9383 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9384 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9385 _IO_FLAGS2_NOCLOSE flag.
9386 * include/unistd.h: Add hidden_proto for dup3.
9388 * io/dup3.c: Define hidden symbol.
9389 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9392 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9393 when an incomplete long option is used.
9394 * posix/tst-getopt_long1.c: New file.
9395 * posix/Makefile (tests): Add tst-getopt_long1.
9398 * scripts/config.guess: Update from autoconf-2.68.
9399 * scripts/config.sub: Likewise.
9402 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9404 (has_cpuclock): ...this. New function.
9405 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9406 macro here based on has_cpuclock code.
9409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9410 First byte (not low byte) is now always NUL.
9411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9414 Use non-cancelable interfaces.
9417 * locale/iso-639.def: Add entry for Sorani.
9420 * include/stdlib.h: Move include protection to the right place.
9421 Define abort_msg_s. Declare __abort_msg with it.
9422 * stdlib/abort.c (__abort_msg): Adjust type.
9423 * assert/assert.c (__assert_fail_base): New function. Majority
9424 of code from __assert_fail. Allocate memory for __abort_msg with
9426 (__assert_fail): Now call __assert_fail_base.
9427 * assert/assert-perr.c: Remove bulk of implementation. Use
9429 * include/assert.hL Declare __assert_fail_base.
9430 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9432 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9434 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9438 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9439 until all modules are registered in the DTV.
9440 * elf/Makefile: Add rules to build and run tst-tls19.
9441 * elf/tst-tls19.c: New file.
9442 * elf/tst-tls19mod1.c: New file.
9443 * elf/tst-tls19mod2.c: New file.
9444 * elf/tst-tls19mod3.c: New file.
9445 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9448 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9452 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9453 two-byte sequence errors.
9454 * iconvdata/Makefile (tests): Add bug-iconv8.
9455 * iconvdata/bug-iconv8.c: New file.
9458 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9461 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9464 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9465 (dummy_getcfa): New function.
9466 (init): Get _Unwind_GetCFA address, use dummy if not found.
9467 (backtrace_helper): In recursion check, also check whether CFA changes.
9468 (__backtrace): Completely initialize arg.
9470 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9471 storing incomplete byte sequence in state object. Avoid testing for
9472 guaranteed too small input if we know there is enough data available.
9474 2011-05-11 Andreas Schwab <schwab@redhat.com>
9476 * Makeconfig (+link-pie): Indent.
9477 * Rules (binaries-pie): Define if $(have-fpie) and
9479 (binaries-shared): Also filter out $(binaries-pie).
9480 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9481 * nscd/Makefile (others-pie): Add nscd.
9482 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9483 ($(objpfx)nscd): Remove command override.
9484 * login/Makefile (others-pie): Add pt_chown.
9485 ($(objpfx)pt_chown): Remove command override.
9486 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9487 remove command overrides.
9489 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9491 * libio/tst_putwc.c: Fix error messages.
9494 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9495 currently writing and seek to current position when not.
9496 * libio/Makefile (tests): Add bug-fclose1.
9497 * libio/bug-fclose1.c: New file.
9499 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9502 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9503 don't set DF_1_NODELETE here.
9504 (do_lookup_x): When entering new entry test for copy relocation
9505 and if necessary set DF_1_NODELETE flag.
9506 * elf/tst-unique4.cc: New file.
9507 * elf/tst-unique4.h: New file.
9508 * elf/tst-unique4lib.cc: New file.
9509 * elf/Makefile: Add rules to build and run tst-unique4.
9510 Patch by Piotr Bury <pbury@goahead.com>.
9512 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9515 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9518 * misc/mntent_r.c (addmntent): Flush the stream after the output
9521 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9522 (is_trusted_path_normalize): Skip initial colon. Append slash
9523 to empty buffer. Duplicate is_trusted_path code but allow
9524 constructed patch to be prefix.
9525 (is_dst): Allow $ORIGIN followed by /.
9526 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9527 Correct testing of result of is_trusted_path_normalize
9528 (decompose_rpath): Fix warning.
9530 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9533 * grp/initgroups.c (internal_getgrouplist): When we found the service
9534 list through the initgroups entry in nsswitch.conf do not always
9535 continue on a successful lookup. Don't always use the
9536 __nss_group_database value if it is set.
9537 * nss/nsswitch.conf (initgroups): Change action for successful db
9538 lookup to continue for compatibility.
9540 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9543 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9545 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9547 * iconvdata/tst-tables.sh: Likewise.
9548 * iconvdata/cp770.c: New file.
9549 * iconvdata/cp771.c: New file.
9550 * iconvdata/cp772.c: New file.
9551 * iconvdata/cp773.c: New file.
9552 * iconvdata/cp774.c: New file.
9553 * iconvdata/testdata/CP770: New file.
9554 * iconvdata/testdata/CP770..UTF8: New file.
9555 * iconvdata/testdata/CP771: New file.
9556 * iconvdata/testdata/CP771..UTF8: New file.
9557 * iconvdata/testdata/CP772: New file.
9558 * iconvdata/testdata/CP772..UTF8: New file.
9559 * iconvdata/testdata/CP773: New file.
9560 * iconvdata/testdata/CP773..UTF8: New file.
9561 * iconvdata/testdata/CP774: New file.
9562 * iconvdata/testdata/CP774..UTF8: New file.
9564 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9566 * iconvdata/gen-8bit-gap.sh: Likewise.
9567 * iconvdata/gen-8bit.sh: Likewise.
9569 * locale/iso-639.def: Add ary entry.
9572 * locale/C-translit.h.in: Add U20A1 transliteration.
9575 * locale/iso-639.def: Add wae entry.
9576 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9579 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9583 * locale/C-translit.h.in: Add entry for U20B9.
9584 Patch by pravin.d.s@gmail.com.
9586 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9589 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9590 ENAMETOOLONG use generic getcwd.
9591 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9592 in rtld. Use *stat64.
9593 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9594 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9595 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9596 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9597 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9598 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9599 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9601 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9602 * dirent/rewinddir.c: Add libc_hidden_def.
9603 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9604 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9606 * include/dirent.h (__alloc_dir): Add flags parameter.
9607 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9608 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9610 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9611 from fdopendir if O_CLOEXEC is already set.
9613 2011-03-15 Alan Modra <amodra@gmail.com>
9615 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9616 l_tls_firstbyte_offset non-zero. Save padding offset in
9617 l_tls_firstbyte_offset for later use.
9618 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9619 freeing static tls block.
9621 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9623 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9624 where #ifdef was intended. The intent is to prevent ARG_MAX from
9625 being defined by the kernel headers.
9627 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9630 * resolv/resolv.h: Define RES_NOTLDQUERY.
9631 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9632 no-tld-query and set RES_NOTLDQUERY.
9633 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9634 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9635 modern BIND to search name as TLD unless forbidden.
9637 2011-05-07 Petr Baudis <pasky@suse.cz>
9638 Ulrich Drepper <drepper@gmail.com>
9641 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9642 (is_trusted_path): ...to here.
9643 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9644 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9645 using is_trusted_path_normalize() in setuid scripts.
9647 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9649 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9650 __BEGIN/__END_DECLS.
9652 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9655 NSS_STATUS_NOTFOUND if no record was found.
9657 2011-05-05 Andreas Schwab <schwab@redhat.com>
9659 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9660 (headers-not-in-tirpc): Remove rpc/netdb.h
9661 * resolv/netdb.h: Revert last change.
9663 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9665 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9666 circular dependency between libgcc.a and libc.a.
9668 2011-05-05 Andreas Schwab <schwab@redhat.com>
9670 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9671 * nis/Makefile: Don't install rpcsvc/*.
9672 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9673 instead of <rpc/types.h>.
9674 (MAXHOSTNAMELEN): Define.
9676 2011-05-03 Andreas Schwab <schwab@redhat.com>
9678 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9680 2011-04-28 Maciej Babinski <mbabinski@google.com>
9683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9684 gethostbyname4_r when IPv6 results are possible.
9686 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9689 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9690 _PC_PIPE_BUF handling.
9692 2011-04-30 Bruno Haible <bruno@clisp.org>
9695 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9696 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9698 * inet/getnameinfo.c (getnameinfo): Likewise.
9700 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9702 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9703 to groups setting in database lookup.
9704 * nss/nsswitch.conf: Add initgroups entry.
9706 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9709 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9711 Patch by Eric Blake <eblake@redhat.com>.
9713 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9715 * sunrpc/Makefile (need-export-routines): Add svc_run.
9716 (routines): Remove svc_run.
9717 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9718 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9719 * sunrpc/svc_run.c (svc_run): Likewise.
9720 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9722 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9724 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9725 problem in reallocation in last patch.
9727 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9729 * sunrpc/Makefile: Move inclusion of Rules.
9731 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9733 * nss/nss_files/files-initgroups.c: New file.
9734 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9735 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9736 _nss_files_initgroups_dyn.
9738 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9740 * elf/elf.h (R_ARM_IRELATIVE): Define.
9742 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9744 * po/ru.po: Update from translation team.
9746 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9748 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9751 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9754 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9755 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9758 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9760 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9764 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9768 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9771 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9773 * stdlib/bug-getcontext.c: New file.
9774 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9776 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9778 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9779 instructions into .machine "z9-109".
9780 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9781 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9783 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9785 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9786 between environment variables and auxiliary vector.
9788 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9790 * Makefile: Add rules to build linkobj/libc.so.
9791 * include/libc-symbols.h: Define libc_hidden_nolink.
9792 * include/rpc/auth.h: Mark functions which are to be hidden.
9793 * include/rpc/auth_des.h: Likewise.
9794 * include/rpc/auth_unix.h: Likewise.
9795 * include/rpc/clnt.h: Likewise.
9796 * include/rpc/des_crypt.h: Likewise.
9797 * include/rpc/key_prot.h: Likewise.
9798 * include/rpc/pmap_clnt.h: Likewise.
9799 * include/rpc/pmap_prot.h: Likewise.
9800 * include/rpc/pmap_rmt.h: Likewise.
9801 * include/rpc/rpc_msg.h: Likewise.
9802 * include/rpc/svc.h: Likewise.
9803 * include/rpc/svc_auth.h: Likewise.
9804 * include/rpc/xdr.h: Likewise.
9805 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9806 * nss/Makefile: Likewise.
9807 * sunrpc/Makefile: Don't install headers. Build library with normal
9808 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9809 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9810 for the compat linking library. Remove use of INTDEF/INTUSE.
9811 * sunrpc/auth_none.c: Likewise.
9812 * sunrpc/auth_unix.c: Likewise.
9813 * sunrpc/authdes_prot.c: Likewise.
9814 * sunrpc/authuxprot.c: Likewise.
9815 * sunrpc/clnt_gen.c: Likewise.
9816 * sunrpc/clnt_perr.c: Likewise.
9817 * sunrpc/clnt_raw.c: Likewise.
9818 * sunrpc/clnt_simp.c: Likewise.
9819 * sunrpc/clnt_tcp.c: Likewise.
9820 * sunrpc/clnt_udp.c: Likewise.
9821 * sunrpc/clnt_unix.c: Likewise.
9822 * sunrpc/des_crypt.c: Likewise.
9823 * sunrpc/des_soft.c: Likewise.
9824 * sunrpc/get_myaddr.c: Likewise.
9825 * sunrpc/key_call.c: Likewise.
9826 * sunrpc/key_prot.c: Likewise.
9827 * sunrpc/netname.c: Likewise.
9828 * sunrpc/pm_getmaps.c: Likewise.
9829 * sunrpc/pm_getport.c: Likewise.
9830 * sunrpc/pmap_clnt.c: Likewise.
9831 * sunrpc/pmap_prot.c: Likewise.
9832 * sunrpc/pmap_prot2.c: Likewise.
9833 * sunrpc/pmap_rmt.c: Likewise.
9834 * sunrpc/publickey.c: Likewise.
9835 * sunrpc/rpc_cmsg.c: Likewise.
9836 * sunrpc/rpc_common.c: Likewise.
9837 * sunrpc/rpc_dtable.c: Likewise.
9838 * sunrpc/rpc_prot.c: Likewise.
9839 * sunrpc/rpc_thread.c: Likewise.
9840 * sunrpc/rtime.c: Likewise.
9841 * sunrpc/svc.c: Likewise.
9842 * sunrpc/svc_auth.c: Likewise.
9843 * sunrpc/svc_authux.c: Likewise.
9844 * sunrpc/svc_raw.c: Likewise.
9845 * sunrpc/svc_run.c: Likewise.
9846 * sunrpc/svc_simple.c: Likewise.
9847 * sunrpc/svc_tcp.c: Likewise.
9848 * sunrpc/svc_udp.c: Likewise.
9849 * sunrpc/svc_unix.c: Likewise.
9850 * sunrpc/svcauth_des.c: Likewise.
9851 * sunrpc/xcrypt.c: Likewise.
9852 * sunrpc/xdr.c: Likewise.
9853 * sunrpc/xdr_array.c: Likewise.
9854 * sunrpc/xdr_float.c: Likewise.
9855 * sunrpc/xdr_intXX_t.c: Likewise.
9856 * sunrpc/xdr_mem.c: Likewise.
9857 * sunrpc/xdr_rec.c: Likewise.
9858 * sunrpc/xdr_ref.c: Likewise.
9859 * sunrpc/xdr_sizeof.c: Likewise.
9860 * sunrpc/xdr_stdio.c: Likewise.
9862 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9865 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9866 * sysdeps/ia64/dl-tls.h: Likewise.
9867 * sysdeps/powerpc/dl-tls.h: Likewise.
9868 * sysdeps/s390/dl-tls.h: Likewise.
9869 * sysdeps/sh/dl-tls.h: Likewise.
9870 * sysdeps/sparc/dl-tls.h: Likewise.
9871 * sysdeps/x86_64/dl-tls.h: Likewise.
9872 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9874 2011-03-14 Andreas Schwab <schwab@redhat.com>
9876 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9877 rpath element also skip the following colon.
9878 (expand_dynamic_string_token): Add is_path parameter and pass
9879 down to DL_DST_REQUIRED and _dl_dst_substitute.
9880 (decompose_rpath): Call expand_dynamic_string_token with
9881 non-zero is_path. Ignore empty rpaths.
9882 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9885 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9890 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9893 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9894 Patch by Filipe David Manana <fdmanana@apache.org>.
9896 2011-04-07 Andreas Schwab <schwab@redhat.com>
9898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9899 Maintain aligned stack.
9900 (CHECK_RSP): Remove unused macro.
9902 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9904 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9907 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9909 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9911 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9913 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9916 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9917 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9918 * sysdeps/x86_64/memmove.c: New file.
9919 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9920 (memcpy): Renamed to ...
9921 (__new_memcpy): This.
9922 (memcpy): Provide GLIBC_2_14 memcpy.
9923 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9924 (memcpy): Provide GLIBC_2_2_5 memcpy.
9926 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9929 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9931 2011-03-30 Andreas Schwab <schwab@redhat.com>
9933 * misc/syncfs.c: New file.
9934 * misc/Makefile (routines): Add syncfs.
9935 * posix/unistd.h: Declare syncfs.
9936 * sysdeps/unix/syscalls.list: Add syncfs.
9938 2011-04-01 Andreas Schwab <schwab@redhat.com>
9940 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9947 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9950 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9954 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9956 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9960 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9961 sync_file_range.c with -fexceptions.
9962 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9963 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9964 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9965 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9966 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9967 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9969 sync_file_range as cancellation point
9970 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9971 now a wrapper around __call_sync_file_range with cancellation handling.
9972 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9973 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9974 function name to __call_sync_file_range.
9975 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9976 Add call_sync_file_range.
9978 2011-04-01 Andreas Schwab <schwab@redhat.com>
9980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9983 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9985 * iconv/iconv.h: Fix typo in comment.
9986 * io/fcntl.h: Likewise.
9987 * libio/stdio.h: Likewise.
9988 * posix/spawn.h: Likewise.
9989 * posix/unistd.h: Likewise.
9990 * stdlib/stdlib.h: Likewise.
9991 * time/time.h: Likewise.
9992 * wcsmbs/wchar.h: Likewise.
9994 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9995 open_by_handle): Add.
9996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9997 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9998 Augment a few comments.
9999 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10004 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10007 * io/fcntl.h (AT_EMPTY_PATH): Define.
10009 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10011 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10012 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10013 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10015 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10016 * Versions.def: Add GLIBC_2.14.
10017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10020 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10022 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10024 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10026 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10029 * string/test-strncmp.c (do_page_test): New function.
10030 (check2): Likewise.
10031 (test_main): Call check2.
10032 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10034 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10037 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10038 Handle cache information in CPU leaf 4.
10039 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10041 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10044 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10045 character representation.
10046 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10048 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10050 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10051 END(__isnan) to END(__isnanf) to match function entry point/label
10052 EALIGN(__isnanf,...).
10054 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10056 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10058 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10061 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10062 copy from the symbol referenced in the relocation to initialize the
10064 Patch by Piotr Bury <pbury@goahead.com>.
10065 * elf/Makefile: Add rules to build and tst-unique3.
10066 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10067 * elf/tst-unique3.cc: New file.
10068 * elf/tst-unique3.h: New file.
10069 * elf/tst-unique3lib.cc: New file.
10070 * elf/tst-unique3lib2.cc: New file.
10072 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10074 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10076 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10077 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10080 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10082 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10083 to-be-loaded object along a path to loader is ld.so.
10085 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10086 Ulrich Drepper <drepper@gmail.com>
10088 * sysdeps/x86_64/memset.S: After aligning destination, code
10089 branches to different locations depending on the value of
10090 misalignment, when multiarch is enabled. Fix this.
10092 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10094 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10095 Set _x86_64_preferred_memory_instruction for AMD processsors.
10096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10097 Set bit_Prefer_SSE_for_memop for AMD processors.
10099 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10101 * libio/fmemopen.c (fmemopen): Optimize a bit.
10103 2011-03-03 Andreas Schwab <schwab@redhat.com>
10105 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10107 2011-03-03 Roland McGrath <roland@redhat.com>
10109 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10111 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10113 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10114 __bzero_ultra1 instead of __memset_ultra1.
10116 2011-02-23 Andreas Schwab <schwab@redhat.com>
10117 Ulrich Drepper <drepper@gmail.com>
10120 * include/link.h (struct link_map): Add l_orig_initfini.
10121 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10122 returning unsuccessfully.
10123 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10124 close of a file loaded at startup, restore the original l_initfini
10126 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10127 list, store the pointer.
10128 * elf/Makefile ($(objpfx)noload-mem): New rule.
10129 (noload-ENV): Define.
10130 (tests): Add $(objpfx)noload-mem.
10131 * elf/noload.c: Include <memcheck.h>.
10132 (main): Call mtrace. Close all opened handles.
10134 2011-02-17 Andreas Schwab <schwab@redhat.com>
10137 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10138 dependencies are missing.
10140 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10142 Fix __if_freereq crash: Unlike the generic version which uses free,
10144 * sysdeps/mach/hurd/ifreq.h: New file.
10146 2011-01-27 Petr Baudis <pasky@suse.cz>
10147 Ulrich Drepper <drepper@gmail.com>
10150 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10151 to extend_alloca().
10152 * stdio-common/bug23.c: New file.
10153 * stdio-common/Makefile (tests): Add bug23.
10155 2010-09-28 Andreas Schwab <schwab@redhat.com>
10156 Ulrich Drepper <drepper@gmail.com>
10159 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10160 before performing relro protection. At old place add assertion
10161 to make sure nothing changed.
10163 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10164 Glauber de Oliveira Costa <glommer@gmail.com>
10166 * elf/elf.h: Add new ARM TLS relocs.
10168 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10171 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10173 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10175 * sysdeps/wordsize-64/tst-writev.c: New file.
10177 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10179 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10180 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10181 insns in _dl_start to prevent a TOC reference before relocs are
10184 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10187 * Makeconfig: Remove RANLIB definition.
10188 * Makerules: Don't use RANLIB.
10189 * aclocal.m4: Remove ranlib test.
10190 * configure.in: No need to check for ranlib.
10191 * elf/rtld-Rules: Don't use RANLIB.
10193 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10195 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10197 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10198 inclusion protection macro.
10200 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10201 SIGRTMIN and SIGRTMAX and print information in that case only when
10202 SIGRTMIN is defined.
10204 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10206 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10207 arginfo fn returning -1.
10209 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10210 and thousands string is zero terminated.
10212 2011-02-03 Andreas Schwab <schwab@redhat.com>
10214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10215 sysdeps/unix/sysv/linux/bits/socket.h.
10217 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10219 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10220 (__CPU_COUNT): Remove old macros.
10221 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10222 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10223 (__CPU_ALLOC, __CPU_FREE): Add macros.
10224 (__sched_cpualloc, __sched_cpufree): Add declarations.
10226 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10228 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10229 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10230 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10231 (readdhstai): Return value of addhstaiX call.
10232 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10233 (addgrbyX): Return value returned by cache_addgr.
10234 (readdgrbyname): Return value returned by addgrbyX.
10235 (readdgrbygid): Likewise.
10236 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10237 (addpwbyX): Return value returned by cache_addpw.
10238 (readdpwbyname): Return value returned by addhstbyX.
10239 (readdpwbyuid): Likewise.
10240 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10241 (addservbyX): Return value returned by cache_addserv.
10242 (readdservbyname): Return value returned by addservbyX:
10243 (readdservbyport): Likewise.
10244 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10245 (addhstbyX): Return value returned by cache_addhst.
10246 (readdhstbyname): Return value returned by addhstbyX.
10247 (readdhstbyaddr): Likewise.
10248 (readdhstbynamev6): Likewise.
10249 (readdhstbyaddrv6): Likewise.
10250 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10251 (readdinitgroups): Return value returned by addinitgroupsX.
10252 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10253 (prune_cache): Keep track of timeout value of re-added entries.
10254 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10255 * nscd/nscd.h: Adjust prototypes of readd* functions.
10257 2011-02-04 Roland McGrath <roland@redhat.com>
10259 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10260 (nis_stats): Likewise.
10261 * nis/nis_modify.c (nis_modify): Likewise.
10262 * nis/nis_remove.c (nis_remove): Likewise.
10263 * nis/nis_add.c (nis_add): Likewise.
10265 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10267 * posix/fnmatch_loop.c: Add some consts.
10269 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10271 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10274 * config.make.in (config-cflags-novzeroupper): Define.
10275 * configure.in: Substitute libc_cv_cc_novzeroupper.
10276 * elf/Makefile (AVX-CFLAGS): Define.
10277 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10278 (CFLAGS-tst-auditmod4a.c): Likewise.
10279 (CFLAGS-tst-auditmod4b.c): Likewise.
10280 (CFLAGS-tst-auditmod6b.c): Likewise.
10281 (CFLAGS-tst-auditmod6c.c): Likewise.
10282 (CFLAGS-tst-auditmod7b.c): Likewise.
10283 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10285 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10287 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10288 function to the callback.
10289 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10291 2011-02-02 Andreas Schwab <schwab@redhat.com>
10293 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10296 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10299 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10301 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10303 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10306 * elf/Makefile: Add rules to build and run new test.
10307 * elf/tst-initorder.c: New file.
10308 * elf/tst-initorder.exp: New file.
10309 * elf/tst-initordera1.c: New file.
10310 * elf/tst-initordera2.c: New file.
10311 * elf/tst-initordera3.c: New file.
10312 * elf/tst-initordera4.c: New file.
10313 * elf/tst-initorderb1.c: New file.
10314 * elf/tst-initorderb2.c: New file.
10315 * elf/tst-order-a1.c: New file.
10316 * elf/tst-order-a2.c: New file.
10317 * elf/tst-order-a3.c: New file.
10318 * elf/tst-order-a4.c: New file.
10319 * elf/tst-order-b1.c: New file.
10320 * elf/tst-order-b2.c: New file.
10321 * elf/tst-order-main.c: New file.
10322 New test case by George Gensure <werkt0@gmail.com>.
10324 2010-10-01 Andreas Schwab <schwab@redhat.com>
10326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10327 decoding ACE if AI_CANONIDN.
10329 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10331 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10333 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10335 * version.h (RELEASE): Bump for 2.13 release.
10336 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10338 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10342 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10349 * posix/getconf.c: Update copyright year.
10350 * catgets/gencat.c: Likewise.
10351 * csu/version.c: Likewise.
10352 * debug/catchsegv.sh: Likewise.
10353 * debug/xtrace.sh: Likewise.
10354 * elf/ldconfig.c: Likewise.
10355 * elf/ldd.bash.in: Likewise.
10356 * elf/sprof.c (print_version): Likewise.
10357 * iconv/iconv_prog.c: Likewise.
10358 * iconv/iconvconfig.c: Likewise.
10359 * locale/programs/locale.c: Likewise.
10360 * locale/programs/localedef.c: Likewise.
10361 * malloc/memusage.sh: Likewise.
10362 * malloc/mtrace.pl: Likewise.
10363 * nscd/nscd.c (print_version): Likewise.
10364 * nss/getent.c: Likewise.
10366 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10367 PF_CAIF, and PF_ALG.
10368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10370 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10372 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10373 (modules-names): Use them.
10374 (ifunc-test-modules, ifunc-pie-tests): Define.
10375 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10376 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10377 (test-extras): Likewise.
10378 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10379 $(compile-command.c).
10380 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10381 (all-built-dso): Define.
10382 (check-textrel.out, check-execstack.out): Depend on it.
10384 * configure.in: Don't override --enable-multi-arch.
10386 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10389 * nscd/hstcache.c (tryagain): Define.
10390 (cache_addhst): Return tryagain not notfound for temporary errors.
10391 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10394 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10397 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10398 to make the syscall.
10399 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10402 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10403 and fall back to matching as normal character if the string ends before
10404 the matching ']' is found. This is what POSIX requires.
10405 * posix/testfnm.c: Adjust test result.
10406 * posix/globtest.sh: Adjust test result. Add new test.
10407 * posix/tst-fnmatch.input: Likewise.
10408 * posix/tst-fnmatch2.c: Add new test.
10410 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10412 * elf/Makefile (check-execstack): Revert last change. Depend on
10414 (check-execstack.h): New target.
10415 (generated): Add check-execstack.h.
10416 * elf/check-execstack.c: Include "check-execstack.h".
10417 (main): Revert last change.
10418 (handle_file): Return zero if GNU_STACK is absent and
10419 DEFAULT_STACK_PERMS doesn't include PF_X.
10421 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10423 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10424 in child fails because the descriptor is already closed.
10425 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10426 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10427 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10430 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10434 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10435 temporary buffer used to handle multi lookups locally.
10436 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10438 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10440 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10443 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10445 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10446 alignment for SSE2.
10448 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10451 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10452 characters. When rounding increased number of integer digits recompute
10454 * stdio-common/tst-grouping.c: New file.
10455 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10457 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10459 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10460 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10462 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10464 * bits/select.h: Likewise.
10466 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10468 * po/ja.po: Update from translation team.
10470 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10473 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10474 implementation just like for lxstat, fxstatat, et al.
10476 2010-12-27 Jim Meyering <meyering@redhat.com>
10479 * posix/regexec.c (build_trtable): Return failure indication upon
10480 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10482 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10485 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10486 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10487 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10488 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10491 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10494 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10495 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10497 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10499 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10500 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10501 script has SORT_BY_INIT_PRIORITY.
10502 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10503 NO_CTORS_DTORS_SECTIONS is defined.
10504 * elf/soinit.c: Likewise.
10505 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10506 NO_CTORS_DTORS_SECTIONS is defined.
10507 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10508 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10509 * sysdeps/sh/init-first.c: Likewise.
10510 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10512 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10514 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10515 always use the slow path.
10517 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10519 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10520 similar rule which adds the sysdep directories to the header search in
10521 order to pick up the correct platform stackinfo.h.
10522 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10523 perform test if it is, otherwise return successfully without testing.
10524 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10525 DEFAULT_STACK_PERMS define in stackinfo.h.
10526 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10527 defined in stackinfo.h.
10528 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10529 DEFAULT_STACK_PERMS defined in stackinfo.h.
10530 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10531 * sysdeps/ia64/stackinfo.h: Likewise.
10532 * sysdeps/s390/stackinfo.h: Likewise.
10533 * sysdeps/sh/stackinfo.h: Likewise.
10534 * sysdeps/sparc/stackinfo.h: Likewise.
10535 * sysdeps/x86_64/stackinfo.h: Likewise.
10536 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10537 PF_X for powerpc64. Retain PF_X for powerpc32.
10539 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10541 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10543 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10544 GETDENTS_64BIT_ALIGNED.
10546 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10548 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10550 2010-12-10 Andreas Schwab <schwab@redhat.com>
10552 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10555 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10556 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10558 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10559 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10561 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10564 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10567 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10569 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10571 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10573 * po/it.po: Update from translation team.
10575 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10580 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10582 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10584 2010-11-24 Andreas Schwab <schwab@redhat.com>
10586 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10588 (gaih_getanswer_slice): Likewise.
10590 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10594 2010-05-31 Petr Baudis <pasky@suse.cz>
10597 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10598 silently even in the chroot mode.
10600 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10602 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10603 last patch a bit. Pretty printing
10605 2010-05-31 Petr Baudis <pasky@suse.cz>
10608 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10609 initialization of skip_initgroups_dyn.
10611 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10613 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10614 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10616 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10618 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10620 2010-11-11 Andreas Schwab <schwab@redhat.com>
10622 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10623 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10624 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10625 ($(objpfx)tst-fnmatch-mem): New rule.
10626 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10627 * posix/tst-fnmatch.c (main): Call mtrace.
10629 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10632 Support Intel processor model 6 and model 0x2c.
10634 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10636 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10639 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10642 * string/test-strncasecmp.c (check_result): New function.
10643 (do_one_test): Use it.
10644 (check1): New function.
10645 (test_main): Use it.
10646 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10647 Support strcasecmp and strncasecmp.
10649 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10652 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10655 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10657 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10661 * sysdeps/x86_64/multiarch/bzero.S: New file.
10662 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10663 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10664 * sysdeps/x86_64/multiarch/memset.S: New file.
10665 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10667 Set bit_Prefer_SSE_for_memop for Intel processors.
10668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10670 (index_Prefer_SSE_for_memop): Define.
10671 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10673 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10675 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10676 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10678 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10681 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10682 (__x86_64_raw_data_cache_size_half): Likewise.
10683 (__x86_64_raw_shared_cache_size): Likewise.
10684 (__x86_64_raw_shared_cache_size_half): Likewise.
10686 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10687 (__x86_64_raw_data_cache_size_half): Likewise.
10688 (__x86_64_raw_shared_cache_size): Likewise.
10689 (__x86_64_raw_shared_cache_size_half): Likewise.
10690 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10691 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10692 and __x86_64_raw_shared_cache_size_half. Round
10693 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10694 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10695 to multiple of 256 bytes.
10697 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10701 of inacessible symlinks. Verify result of symlink before returning it.
10702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10703 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10705 2010-10-28 Erich Ritz <erichritz@gmail.com>
10707 * math/math.h (isinf): Fix typo in comment.
10709 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10711 * po/da.po: Update from translation team.
10713 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10715 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10716 is added to the list.
10718 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10719 Ulrich Drepper <drepper@gmail.com>
10721 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10722 the global list here. Move code to...
10723 (_dl_add_to_namespace_list): ...here. New function.
10724 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10725 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10726 * elf/dl-load.c (lose): Don't remove the element from the list.
10727 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10728 (_dl_map_object): Likewise.
10730 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10733 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10734 into all bytes of SSE register.
10735 Patch by Richard Li <richardpku@gmail.com>.
10737 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10740 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10743 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10745 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10746 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10747 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10753 2010-10-22 Andreas Schwab <schwab@redhat.com>
10755 * include/dlfcn.h (__RTLD_SECURE): Define.
10756 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10757 mode & __RTLD_SECURE instead.
10758 (open_path): Rename preloaded parameter to secure.
10759 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10760 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10761 * elf/dl-deps.c (openaux): Likewise.
10762 * elf/rtld.c (struct map_args): Remove is_preloaded.
10763 (map_doit): Don't use it.
10764 (dl_main): Likewise.
10765 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10766 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10768 2010-09-09 Andreas Schwab <schwab@redhat.com>
10770 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10771 (sysd-rules-targets): Remove duplicates.
10772 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10773 rtld-%.$o dependency.
10775 2010-10-18 Andreas Schwab <schwab@redhat.com>
10777 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10778 _dl_map_object do it.
10780 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10782 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10783 fast fma builtins, define the macros in the C99 standard.
10784 (FP_FAST_FMAF): Likewise.
10785 (FP_FAST_FMAL): Likewise.
10786 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10788 * bits/mathdef.h: Update copyright year.
10789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10791 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10793 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10794 builtins, define the macros in the C99 standard.
10795 (FP_FAST_FMAF): Likewise.
10796 (FP_FAST_FMAL): Likewise.
10797 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10799 (FP_FAST_FMAF): Likewise.
10801 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10804 * math/libm-test.inc (fma_test): Some new testcases.
10805 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10806 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10807 y and infinite z. Do multiplication by C already in long double.
10808 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10810 y and infinite z. Do bitwise or of inexact bit into u.d.
10811 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10812 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10813 * sysdeps/i386/fpu/s_fma.S: Removed.
10814 * sysdeps/i386/fpu/s_fmal.S: Removed.
10816 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10819 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10821 computation is not scheduled after fetestexcept. Fix value
10822 of minimum denormal long double.
10824 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10827 * math/libm-test.inc (fma_test): Add some more tests.
10828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10831 2010-10-15 Andreas Schwab <schwab@redhat.com>
10833 * scripts/data/localplt-s390-linux-gnu.data: New file.
10834 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10836 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10839 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10840 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10842 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10844 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10846 if one of x and y is very large and the other is subnormal.
10847 * sysdeps/s390/fpu/s_fmaf.c: New file.
10848 * sysdeps/s390/fpu/s_fma.c: New file.
10849 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10850 * sysdeps/powerpc/fpu/s_fma.S: New file.
10851 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10852 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10853 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10855 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10858 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10861 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10862 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10863 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10864 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10865 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10868 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10871 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10872 * posix/bug-regex31.input: Add test case.
10874 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10876 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10877 * posix/bug-regex31.input: New file.
10880 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10881 (parse_sub_exp): Fix last change, use postorder.
10883 * posix/bug-regex31.c: New file.
10884 * posix/Makefile: Add rules to build and run bug-regex31.
10886 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10889 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10892 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10893 to have entries in sys_siglist.
10896 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10899 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10902 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10903 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10904 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10905 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10906 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10907 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10908 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10909 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10910 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10911 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10912 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10913 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10914 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10915 * math/ftestexcept.c (fetestexcept): Likewise.
10916 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10917 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10918 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10919 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10920 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10921 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10922 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10924 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10927 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10930 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10932 * string/bug-strstr1.c: New file.
10933 * string/Makefile: Add rules to build and run bug-strstr1.
10935 2010-10-05 Eric Blake <eblake@redhat.com>
10938 * string/str-two-way.h (two_way_long_needle): Always clear memory
10939 when skipping input due to the shift table.
10941 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10944 * malloc/mcheck.c: Handle large requests.
10947 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10948 for strncmp and strncasecmp.
10949 * string/stratcliff.c: Add tests for strcmp and strncmp.
10950 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10952 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10954 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10957 2010-09-30 Andreas Jaeger <aj@suse.de>
10959 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10960 (CGROUP_SUPER_MAGIC): Define.
10961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10962 Handle btrfs and cgroup file systems.
10963 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10966 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10968 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10969 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10971 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10974 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10975 trying to locate the ELF header.
10977 2010-09-27 Andreas Schwab <schwab@redhat.com>
10980 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10981 Mask out sign-bit copies when constructing f_fsid.
10983 2010-09-24 Petr Baudis <pasky@suse.cz>
10985 * debug/stack_chk_fail_local.c: Add missing licence exception.
10986 * debug/warning-nop.c: Likewise.
10988 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10991 implementing getdents64 using getdents syscall, set d_type if
10992 __ASSUME_GETDENTS32_D_TYPE.
10994 2010-09-16 Andreas Schwab <schwab@redhat.com>
10996 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10997 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10999 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11002 * posix/unistd.h: Undo change of feature selection for ftruncate from
11005 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11007 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11010 2010-09-20 Andreas Schwab <schwab@redhat.com>
11012 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11014 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11016 2010-09-14 Andreas Schwab <schwab@redhat.com>
11018 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11019 variables after CHECK_SP call.
11020 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11022 2010-09-13 Andreas Schwab <schwab@redhat.com>
11023 Ulrich Drepper <drepper@redhat.com>
11025 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11026 re-relocationg ld.so.
11027 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11028 _dl_init_paths call.
11029 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11032 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11034 * resolv/res_init.c (__res_vinit): Count the default server we added.
11036 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11037 Ulrich Drepper <drepper@redhat.com>
11040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11041 (____longjmp_chk): Use %ebx for saving value across system call.
11044 2010-09-06 Andreas Schwab <schwab@redhat.com>
11046 * manual/Makefile: Don't mix pattern rules with normal rules.
11048 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11050 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11052 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11053 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11054 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11055 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11059 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11062 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11063 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11065 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11067 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11068 * sysdeps/x86_64/addmul_1.S: Likewise.
11069 * sysdeps/x86_64/lshift.S: Likewise.
11070 * sysdeps/x86_64/mul_1.S: Likewise.
11071 * sysdeps/x86_64/rshift.S: Likewise.
11072 * sysdeps/x86_64/sub_n.S: Likewise.
11073 * sysdeps/x86_64/submul_1.S: Likewise.
11075 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11077 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11078 Define __sched_param instead of SCHED_* and sched_param when
11079 <bits/sched.h> is included with __need_schedparam defined.
11080 * bits/sched.h [__need_schedparam]
11081 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11082 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11083 (__defined_schedparam): Define to 1.
11084 (__sched_param): New structure, identical to sched_param.
11085 (__need_schedparam): Undefine.
11087 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11090 (epoll_create1): Declare.
11092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11094 2010-08-31 Andreas Schwab <schwab@redhat.com>
11097 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11098 shifting retval into place.
11100 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11102 * nis/rpcsvc/nis.h: Update copyright notice.
11103 * nis/rpcsvc/nis.x: Likewise.
11104 * nis/rpcsvc/nis_callback.h: Likewise.
11105 * nis/rpcsvc/nis_callback.x: Likewise.
11106 * nis/rpcsvc/nis_object.x: Likewise.
11107 * nis/rpcsvc/nis_tags.h: Likewise.
11108 * nis/rpcsvc/yp.h: Likewise.
11109 * nis/rpcsvc/yp.x: Likewise.
11110 * nis/rpcsvc/ypupd.h: Likewise.
11111 * nis/yp_xdr.c: Likewise.
11112 * nis/ypupdate_xdr.c: Likewise.
11114 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11115 mainly the body of pmap_getport. Add parameters to specify timeouts.
11116 (pmap_getport): Use __libc_rpc_getport.
11117 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11118 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11119 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11121 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11126 2010-08-27 Roland McGrath <roland@redhat.com>
11128 * sysdeps/i386/i686/multiarch/Makefile
11129 (CFLAGS-varshift.c): New variable.
11131 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11133 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11134 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11138 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11140 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11142 * sysdeps/x86_64/strlen.S: Unroll the loop.
11143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11144 strlen-sse2 strlen-sse2-bsf.
11145 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11146 __strlen_no_bsf if bit_Slow_BSF is set.
11147 (__strlen_sse42): Removed.
11148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11149 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11151 2010-08-25 Roland McGrath <roland@redhat.com>
11153 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11154 * sysdeps/x86_64/multiarch/varshift.c: New file.
11155 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11156 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11157 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11160 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11163 strlen-sse2 strlen-sse2-bsf.
11164 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11165 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11166 (__strlen_sse2): Removed.
11167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11170 bit_Slow_BSF for Atom.
11171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11172 (index_Slow_BSF): Define.
11173 (HAS_SLOW_BSF): Define.
11175 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11178 * resolv/res_init.c (__res_vinit): When no server address at all
11179 is given default to loopback.
11181 2010-08-24 Roland McGrath <roland@redhat.com>
11183 * configure.in: Remove config-name.h generation.
11184 * configure: Regenerated.
11185 * config-name.in: File removed.
11186 * scripts/config-uname.sh: New file.
11187 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11188 ($(objdir)config-name.h): New target.
11190 * sunrpc/rpc_parse.h: Avoid nested comment.
11192 2010-08-24 Richard Henderson <rth@redhat.com>
11193 Ulrich Drepper <drepper@redhat.com>
11194 H.J. Lu <hongjiu.lu@intel.com>
11196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11198 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11199 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11200 _mm_alignr_epi8 with _mm_loadu_si128.
11201 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11202 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11203 (__m128i_shift_right): Removed.
11204 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11205 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11206 * sysdeps/x86_64/multiarch/varshift.h: New file.
11207 * sysdeps/x86_64/multiarch/varshift.S: New file.
11209 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11211 * configure.in: Move assembler checks to before sysdep dir checking.
11213 2010-08-20 Petr Baudis <pasky@suse.cz>
11215 * LICENSES: Sync the sunrpc license.
11217 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11219 * sunrpc/auth_des.c: Update copyright notice once again.
11220 * sunrpc/auth_none.c: Likewise.
11221 * sunrpc/auth_unix.c: Likewise.
11222 * sunrpc/authdes_prot.c: Likewise.
11223 * sunrpc/authuxprot.c: Likewise.
11224 * sunrpc/bindrsvprt.c: Likewise.
11225 * sunrpc/clnt_gen.c: Likewise.
11226 * sunrpc/clnt_perr.c: Likewise.
11227 * sunrpc/clnt_raw.c: Likewise.
11228 * sunrpc/clnt_simp.c: Likewise.
11229 * sunrpc/clnt_tcp.c: Likewise.
11230 * sunrpc/clnt_udp.c: Likewise.
11231 * sunrpc/clnt_unix.c: Likewise.
11232 * sunrpc/des_crypt.c: Likewise.
11233 * sunrpc/des_soft.c: Likewise.
11234 * sunrpc/get_myaddr.c: Likewise.
11235 * sunrpc/getrpcport.c: Likewise.
11236 * sunrpc/key_call.c: Likewise.
11237 * sunrpc/key_prot.c: Likewise.
11238 * sunrpc/openchild.c: Likewise.
11239 * sunrpc/pm_getmaps.c: Likewise.
11240 * sunrpc/pm_getport.c: Likewise.
11241 * sunrpc/pmap_clnt.c: Likewise.
11242 * sunrpc/pmap_prot.c: Likewise.
11243 * sunrpc/pmap_prot2.c: Likewise.
11244 * sunrpc/pmap_rmt.c: Likewise.
11245 * sunrpc/rpc/auth.h: Likewise.
11246 * sunrpc/rpc/auth_unix.h: Likewise.
11247 * sunrpc/rpc/clnt.h: Likewise.
11248 * sunrpc/rpc/des_crypt.h: Likewise.
11249 * sunrpc/rpc/key_prot.h: Likewise.
11250 * sunrpc/rpc/netdb.h: Likewise.
11251 * sunrpc/rpc/pmap_clnt.h: Likewise.
11252 * sunrpc/rpc/pmap_prot.h: Likewise.
11253 * sunrpc/rpc/pmap_rmt.h: Likewise.
11254 * sunrpc/rpc/rpc.h: Likewise.
11255 * sunrpc/rpc/rpc_des.h: Likewise.
11256 * sunrpc/rpc/rpc_msg.h: Likewise.
11257 * sunrpc/rpc/svc.h: Likewise.
11258 * sunrpc/rpc/svc_auth.h: Likewise.
11259 * sunrpc/rpc/types.h: Likewise.
11260 * sunrpc/rpc/xdr.h: Likewise.
11261 * sunrpc/rpc_clntout.c: Likewise.
11262 * sunrpc/rpc_cmsg.c: Likewise.
11263 * sunrpc/rpc_common.c: Likewise.
11264 * sunrpc/rpc_cout.c: Likewise.
11265 * sunrpc/rpc_dtable.c: Likewise.
11266 * sunrpc/rpc_hout.c: Likewise.
11267 * sunrpc/rpc_main.c: Likewise.
11268 * sunrpc/rpc_parse.c: Likewise.
11269 * sunrpc/rpc_parse.h: Likewise.
11270 * sunrpc/rpc_prot.c: Likewise.
11271 * sunrpc/rpc_sample.c: Likewise.
11272 * sunrpc/rpc_scan.c: Likewise.
11273 * sunrpc/rpc_scan.h: Likewise.
11274 * sunrpc/rpc_svcout.c: Likewise.
11275 * sunrpc/rpc_tblout.c: Likewise.
11276 * sunrpc/rpc_util.c: Likewise.
11277 * sunrpc/rpc_util.h: Likewise.
11278 * sunrpc/rpcinfo.c: Likewise.
11279 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11280 * sunrpc/rpcsvc/key_prot.x: Likewise.
11281 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11282 * sunrpc/rpcsvc/mount.x: Likewise.
11283 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11284 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11285 * sunrpc/rpcsvc/rex.x: Likewise.
11286 * sunrpc/rpcsvc/rstat.x: Likewise.
11287 * sunrpc/rpcsvc/rusers.x: Likewise.
11288 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11289 * sunrpc/rpcsvc/spray.x: Likewise.
11290 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11291 * sunrpc/rtime.c: Likewise.
11292 * sunrpc/svc.c: Likewise.
11293 * sunrpc/svc_auth.c: Likewise.
11294 * sunrpc/svc_authux.c: Likewise.
11295 * sunrpc/svc_raw.c: Likewise.
11296 * sunrpc/svc_run.c: Likewise.
11297 * sunrpc/svc_simple.c: Likewise.
11298 * sunrpc/svc_tcp.c: Likewise.
11299 * sunrpc/svc_udp.c: Likewise.
11300 * sunrpc/svc_unix.c: Likewise.
11301 * sunrpc/svcauth_des.c: Likewise.
11302 * sunrpc/xcrypt.c: Likewise.
11303 * sunrpc/xdr.c: Likewise.
11304 * sunrpc/xdr_array.c: Likewise.
11305 * sunrpc/xdr_float.c: Likewise.
11306 * sunrpc/xdr_mem.c: Likewise.
11307 * sunrpc/xdr_rec.c: Likewise.
11308 * sunrpc/xdr_ref.c: Likewise.
11309 * sunrpc/xdr_sizeof.c: Likewise.
11310 * sunrpc/xdr_stdio.c: Likewise.
11312 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11315 2010-08-19 Andreas Schwab <schwab@redhat.com>
11317 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11319 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11321 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11323 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11324 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11326 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11327 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11328 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11330 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11331 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11332 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11333 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11334 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11336 2010-07-26 Anton Blanchard <anton@samba.org>
11338 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11339 * malloc/arena.c (heap_trim): Likewise.
11341 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11343 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11346 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11348 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11350 * sysdeps/i386/elf/Makefile: New file.
11352 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11354 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11355 from fanotify_init.
11356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11359 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11361 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11363 * sysdeps/multiarch/strcmp.S: Likewise.
11365 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11368 strncase_l-nonascii.
11369 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11370 Add strncase_l-ssse3.
11371 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11372 * sysdeps/x86_64/strcmp.S: Likewise.
11373 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11374 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11375 * sysdeps/x86_64/strncase.S: New file.
11376 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11377 * sysdeps/x86_64/strncase_l.S: New file.
11378 * string/Makefile (strop-tests): Add strncasecmp.
11379 * string/test-strncasecmp.c: New file.
11381 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11384 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11385 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11387 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11389 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11391 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11393 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11394 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11397 2010-05-01 Alan Modra <amodra@gmail.com>
11399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11400 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11401 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11402 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11403 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11404 tidying. Don't tail-call __sigjmp_save for static lib.
11405 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11407 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11408 (CALL_MCOUNT): Add eh info, and nop after bl.
11409 (TAIL_CALL_SYSCALL_ERROR): New macro.
11410 (PSEUDO_RET): Use it.
11411 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11412 Correct save location of integer regs and cr.
11413 (_dl_profile_resolve): Correct cr save location. Delete nops
11414 after bl when SHARED. Reduce cfi size a little by better
11415 placement of cfi directives.
11416 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11417 make a stack frame. Instead use parm save area as a temp.
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11419 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11421 Don't make a stack frame for parent, use parm save area.
11422 Increase child stack frame to 112 bytes. Don't save unused reg,
11423 and adjust reg usage. Set up cfi on error recovery and
11424 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11426 (__makecontext): Add dummy nop after jump to exit.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11428 Use correct parm save area and cr save, reduce stack frame.
11429 Correct cfi for possible PSEUDO_RET frame setup.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11431 Branch to local label emitted by PSEUDO_RET rather than
11434 2010-08-12 Andreas Schwab <schwab@redhat.com>
11437 * locale/programs/locale.c (print_assignment): New function.
11438 (show_locale_vars): Use it.
11440 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11442 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11444 (struct statfs64): Likewise.
11445 (_STATFS_F_FLAGS): Define.
11446 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11448 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11449 (ST_VALID): Define locally.
11450 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11451 __statvfs_getflags, use the provided value.
11452 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11453 __ASSUME_STATFS_F_FLAGS.
11455 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11457 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11458 Add sys/fanotify.h.
11459 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11460 fanotify_mask for GLIBC_2.13.
11461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11462 fanotify_init and fanotify_mark.
11463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11464 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11466 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11468 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11469 prlimit64 for GLIBC_2.13.
11470 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11476 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11477 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11480 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11483 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11484 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11486 * nss/Makefile: Add rules to build and run tst-nss-test1.
11487 * shlib-versions: Add entry for libnss_test1.
11488 * nss/nss_test1.c: New file.
11489 * nss/tst-nss-test1.c: New file.
11491 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11492 (__nss_configure_lookup): Set appropriate entry in
11493 __nss_configure_lookup to true.
11494 * nss/nsswitch.h: Define enum with indeces of databases in
11495 databases and __nss_database_custom arrays. Declare
11496 __nss_database_custom.
11497 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11498 to avoid using nscd when custom rules are installed.
11499 * nss/getXXbyYY_r.c: Likewise.
11500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11502 * nss/nss_files/files-parse.c: Whitespace fixes.
11504 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11507 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11508 * posix/fnmatch_loop.c: Likewise.
11510 2010-07-17 Andi Kleen <ak@linux.intel.com>
11512 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11513 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11514 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11515 * Versions.def [GLIBC_2.13]: Add.
11517 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11519 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11520 Also fail if tpwd after pwuid call is NULL.
11522 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11524 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11525 when converting to ms.
11527 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11529 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11530 EOPNOTSUPP errors with ENOTTY.
11531 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11532 EOPNOTSUPP errors with ENOTTY.
11534 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11536 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11537 Add strcasecmp_l-ssse3.
11538 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11540 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11541 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11544 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11546 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11548 * string/Makefile (strop-tests): Add strcasecmp.
11549 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11550 strcasecmp_l-nonascii.
11551 (gen-as-const-headers): Add locale-defines.sym.
11552 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11553 * sysdeps/x86_64/strcasecmp.S: New file.
11554 * sysdeps/x86_64/strcasecmp_l.S: New file.
11555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11556 * sysdeps/x86_64/locale-defines.sym: New file.
11557 * string/test-strcasecmp.c: New file.
11559 * string/test-strcasestr.c: Test both ends of the range of characters.
11560 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11562 2010-07-29 Roland McGrath <roland@redhat.com>
11565 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11567 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11569 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11572 2010-07-27 Andreas Schwab <schwab@redhat.com>
11574 * manual/memory.texi (Malloc Tunable Parameters): Document
11577 2010-07-26 Roland McGrath <roland@redhat.com>
11580 * configure.in (-fgnu89-inline check): Set and substitute
11581 gnu89_inline, not libc_cv_gnu89_inline.
11582 * configure: Regenerated.
11583 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11585 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11587 * string/test-strnlen.c: New file.
11588 * string/Makefile (strop-tests): Add strnlen.
11589 * string/tester.c (test_strnlen): Add a few more test cases.
11590 * string/tst-strlen.c: Better error reporting.
11592 * sysdeps/x86_64/strnlen.S: New file.
11594 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11597 lower-latency instructions.
11599 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11601 * string/test-strcasestr.c: New file.
11602 * string/test-strstr.c: New file.
11603 * string/Makefile (strop-tests): Add strstr and strcasestr.
11604 * string/str-two-way.h: Don't undefine MAX.
11605 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11607 2010-07-21 Andreas Schwab <schwab@redhat.com>
11609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11610 strcasestr-nonascii.
11611 (CFLAGS-strcasestr-nonascii.c): Define.
11612 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11613 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11614 Remove unused attribute.
11616 2010-07-20 Roland McGrath <roland@redhat.com>
11618 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11619 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11620 ld.so.cache was broken. With it, there is no way to disable dsocaps
11621 like LD_HWCAP_MASK can disable hwcaps.
11623 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11625 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11627 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11629 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11630 call in strcasestr.
11631 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11632 __strcasestr_sse42_nonascii.
11633 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11634 strcasestr-nonascii.c.
11635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11637 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11639 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11640 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11644 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11646 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11649 2010-07-06 Andreas Schwab <schwab@redhat.com>
11652 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11655 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11657 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11658 _PC_PIPE_BUF using F_GETPIPE_SZ.
11660 2010-07-05 Roland McGrath <roland@redhat.com>
11662 * manual/arith.texi (Rounding Functions): Fix rint description
11663 implicit in round description.
11665 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11667 * elf/Makefile: Fix linking for a few tests to make recent linker
11670 2010-06-30 Andreas Schwab <schwab@redhat.com>
11672 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11673 $(common-objpfx)libc_nonshared.a.
11675 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11677 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11678 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11679 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11680 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11681 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11683 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11684 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11699 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11700 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11701 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11702 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11703 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11704 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11705 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11706 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11707 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11708 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11709 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11710 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11726 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11728 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11729 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11730 * string/memmove.c (memmove): Renamed to ...
11731 (MEMMOVE): ...this. Default to memmove.
11732 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11733 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11736 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11737 mempcpy-ssse3-back memmove-ssse3-back.
11738 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11741 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11742 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11743 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11744 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11745 * sysdeps/x86_64/multiarch/memmove.c: New file.
11746 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11747 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11748 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11749 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11750 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11753 (index_Fast_Copy_Backward): Define.
11754 (HAS_ARCH_FEATURE): Define.
11755 (HAS_FAST_REP_STRING): Define.
11756 (HAS_FAST_COPY_BACKWARD): Define.
11758 2010-06-21 Andreas Schwab <schwab@redhat.com>
11760 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11761 Restore proper fallback handling.
11763 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11766 * posix/group_member.c (__group_member): Correct checking loop.
11768 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11769 OOM in getpwuid_r correctly. Return error number when the caller
11770 should return, otherwise -1.
11771 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11772 call returning > 0 value.
11773 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11775 2010-06-07 Andreas Schwab <schwab@redhat.com>
11777 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11778 libc_nonshared.a from targets in modules-names.
11780 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11782 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11785 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11787 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11788 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11792 2010-06-02 Andreas Schwab <schwab@redhat.com>
11794 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11796 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11804 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11807 2010-06-14 Roland McGrath <roland@redhat.com>
11809 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11811 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11813 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11814 __REDIRECT followed by __THROW.
11815 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11816 * posix/getopt.h (getopt): Likewise.
11818 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11820 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11821 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11822 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11824 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11825 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11827 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11831 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11835 Properly check family and model.
11837 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11839 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11841 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11843 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11845 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11847 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11850 2010-05-19 Andreas Schwab <schwab@redhat.com>
11852 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11855 2010-05-21 Andreas Schwab <schwab@redhat.com>
11857 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11858 and internal_recvmmsg.
11859 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11860 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11861 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11862 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11864 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11865 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11866 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11868 2010-05-20 Andreas Schwab <schwab@redhat.com>
11870 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11872 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11874 POWER7 optimizations.
11875 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11876 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11878 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11880 * version.h: Update for 2.13 development version.
11882 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11884 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11885 exceptions. Return 0.
11887 2010-05-07 Roland McGrath <roland@redhat.com>
11889 * elf/ldconfig.c (main): Add a const.
11891 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11893 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11894 (args_options): Add no-idn option.
11895 (ahosts_keys_int): Add idn_flags to ai_flags.
11896 (parse_option): Handle 'i' option to clear idn_flags.
11898 * malloc/malloc.c (_int_free): Possible race in the most recently
11899 added check. Only act on the data if no current modification
11902 See ChangeLog.17 for earlier changes.