1 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/getdents.c: Remove file.
4 * sysdeps/unix/sysv/getdents.c: Likewise.
5 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8 sysdeps/unix/mman/syscalls.list.
13 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14 * sysdeps/unix/mman/syscalls.list: Remove.
15 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19 * configure: Regenerated.
20 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22 * config.make.in (libgcc_s_suffix): Remove variable.
24 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/unix/sysv/gethostname.c: Move to ...
27 * sysdeps/posix/gethostname.c: ... here.
29 * sysdeps/unix/execve.S: Remove file.
31 * sysdeps/unix/_exit.S: Remove file.
33 2012-04-23 Andreas Jaeger <aj@suse.de>
36 * manual/Makefile: Remove make dist support, there's no
37 need for a stand-alone documentation tar ball.
38 (TEXI2DVI): Define always, it's not in Makeconfig.
42 (glibc-doc-$(edition).tar): Removed
46 (ETAGS): Remove, it's in Makeconfig.
47 (move-if-change): Remove, it's in Makeconfig.
49 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
52 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
55 (strtod_l, strtof_l, strtold_l): Remove __wur.
56 It is not necessarily an error to ignore strtol's return value.
57 One can reliably look at the stored endptr to decide whether
58 the number had valid syntax.
60 2012-04-21 Andreas Jaeger <aj@suse.de>
63 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65 2012-04-21 Joseph Myers <joseph@codesourcery.com>
67 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68 * sysdeps/unix/sysv/Versions: Remove file.
70 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
78 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81 2012-04-20 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/unix/common/lxstat.c: Remove file.
84 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
86 * sysdeps/unix/sysv/Makefile: Remove file.
88 * sysdeps/unix/sysv/direct.h: Remove file.
90 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
91 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
92 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
93 * sysdeps/unix/sysv/bits/signum.h: Likewise.
94 * sysdeps/unix/sysv/bits/stat.h: Likewise.
95 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
96 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
98 * sysdeps/unix/sysv/setrlimit.c: Remove file.
100 * sysdeps/unix/xmknod.c: Remove file.
101 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
103 * sysdeps/unix/sysv/settimeofday.c: Remove file.
105 * sysdeps/unix/sysv/i386/time.S: Remove file.
107 * sysdeps/unix/fxstat.c: Remove file.
108 * sysdeps/unix/xstat.c: Likewise.
109 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
111 * sysdeps/unix/sysv/sigaction.c: Remove file.
113 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
114 (sysdep_headers): Remove variable.
115 [termio.h not in sysdep_headers] (generated): Likewise.
116 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
117 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
118 * sysdeps/unix/sysv/tcdrain.c: Likewise.
119 * sysdeps/unix/sysv/tcflow.c: Likewise.
120 * sysdeps/unix/sysv/tcflush.c: Likewise.
121 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
122 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
123 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
124 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
125 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
127 * sysdeps/unix/siglist.c: Remove file.
129 * sysdeps/unix/getppid.S: Remove file.
131 * sysdeps/unix/mkdir.c: Remove file.
132 * sysdeps/unix/rmdir.c: Likewise.
134 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
136 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
138 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
139 errlist-compat value.
141 2012-04-18 David S. Miller <davem@davemloft.net>
143 * sysdeps/generic/memcopy.h (reg_char): Delete.
144 * debug/strcat_chk.c: Use char, not reg_char.
145 * debug/strcpy_chk.c: Likewise.
146 * debug/strncat_chk.c: Likewise.
147 * debug/strncpy_chk.c: Likewise.
148 * string/memchr.c: Likewise.
149 * string/memrchr.c: Likewise.
150 * string/rawmemchr.c: Likewise.
151 * string/strcat.c: Likewise.
152 * string/strchr.c: Likewise.
153 * string/strchrnul.c: Likewise.
154 * string/strcmp.c: Likewise.
155 * string/strcpy.c: Likewise.
156 * string/strncat.c: Likewise.
157 * string/strncmp.c: Likewise.
158 * string/strncpy.c: Likewise.
160 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
162 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
163 __builtin_memcopy is called when src and dest ranges are known to not
166 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
168 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
169 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
170 fwd_align_merge macro call.
171 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
172 bwd_align_merge macro call.
173 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
175 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
177 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
178 bwd_align_merge macros.
179 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
180 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
181 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
183 2012-04-18 David S. Miller <davem@davemloft.net>
185 * sysdeps/sparc/sparc64/memcopy.h: Delete.
187 2012-04-18 Andreas Jaeger <aj@suse.de>
190 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
191 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
192 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
195 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
196 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
198 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
199 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
200 Adjust for changed ldbl-128 files.
202 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
203 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
204 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
206 2012-04-17 David S. Miller <davem@davemloft.net>
208 * sysdeps/sparc/sparc32/memcopy.h: Delete.
210 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
212 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
213 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
214 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
215 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
216 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
217 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
219 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
222 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
223 * math/libm-test.inc: Add ilogb errno and exception tests.
224 * math/w_ilogb.c: New file: ilogb wrapper.
225 * math/w_ilogbf.c: New file: ilogbf wrapper.
226 * math/w_ilogbl.c: New file: ilogbl wrapper.
227 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
228 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
229 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
230 exception being thrown with 0.0 as argument.
231 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
232 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
233 exception being thrown with 0.0 as argument.
234 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
235 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
236 exception being thrown with 0.0 as argument.
237 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
238 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
239 exception being thrown with 0.0 as argument.
240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
241 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
242 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
243 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
245 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
246 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
247 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
248 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
250 2012-04-17 Petr Baudis <pasky@ucw.cz>
252 * include/sys/uio.h: Change __vector to __iovec to avoid clash
255 2012-04-16 Marek Polacek <polacek@redhat.com>
257 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
259 2012-04-16 Marek Polacek <polacek@redhat.com>
261 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
262 operands of fdivp instruction.
264 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
266 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
267 * elf/tst-auditmod3b.c: Likewise.
268 * elf/tst-auditmod4b.c: Likewise.
269 * elf/tst-auditmod5b.c: Likewise.
270 * elf/tst-auditmod6b.c: Likewise.
271 * elf/tst-auditmod6c.c: Likewise.
272 * elf/tst-auditmod7b.c: Likewise.
273 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
274 * sysdeps/x86_64/preconfigure.in: Likewise.
275 * sysdeps/x86_64/preconfigure: Regenerated.
277 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
282 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
284 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
285 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
287 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
290 * locale/iso-639.def: Fix gl language name. Spotted by
293 2012-04-12 Roland McGrath <roland@hack.frob.com>
296 * libio/libio.h (__io_write_fn): Update comment.
298 2012-04-12 Petr Baudis <pasky@ucw.cz>
301 * stdio.texi (Hook Functions): The user provided writer function
302 is not allowed to return -1.
304 2012-04-11 David S. Miller <davem@davemloft.net>
306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
308 2012-04-11 Mike Frysinger <vapier@gentoo.org>
310 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
311 Add a leading slash to rtkaio.
313 2012-04-11 Jim Meyering <meyering@redhat.com>
316 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
317 It is not necessarily an error to ignore fwrite's return
318 value. One can reliably use ferror to test for errors after
321 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
323 * bits/types.h (__snseconds_t): New type.
324 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
326 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
328 (__SNSECONDS_T_TYPE): Likewise.
329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
330 (__SNSECONDS_T_TYPE): Likewise.
331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
332 (__SNSECONDS_T_TYPE): Likewise.
334 2012-04-10 Andreas Jaeger <aj@suse.de>
337 * manual/time.texi (Processor Time): Return type of times is
338 elapsed real time since an arbitrary point in the past.
339 (CPU Time): Move CLK_TCK from here...
340 (Processor Time): ...to here. Correct description.
341 * manual/conf.texi (Constants for Sysconf): Correct description of
344 2012-04-10 David S. Miller <davem@davemloft.net>
347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
348 where the is a gap between DT_REL(A) and DT_JMPREL.
350 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
352 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
353 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
354 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
356 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
358 * elf/dl-support.c (_dl_inhibit_cache): New variable.
359 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
360 (dl_main): Handle --inhibit-cache.
361 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
363 * elf/dl-load.c (_dl_map_object): Use it.
364 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
366 2012-04-09 Joseph Myers <joseph@codesourcery.com>
369 * sysdeps/i386/fpu/e_powl.S (p78): New object.
370 (__ieee754_powl): Saturate large exponents rather than testing for
371 overflow of y*log2(x).
372 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
373 * math/libm-test.inc (pow_test): Do not permit spurious overflow
377 * math/s_ctan.c: Include <float.h>.
378 (__ctan): Avoid internal overflow or cancellation in calculating
380 * math/s_ctanf.c: Likewise.
381 * math/s_ctanl.c: Likewise.
382 * math/s_ctanh.c: Likewise.
383 * math/s_ctanhf.c: Likewise.
384 * math/s_ctanhl.c: Likewise.
385 * math/libm-test.inc (ctan_test): Add more tests.
386 (ctanh_test): Likewise.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390 2012-04-09 Andreas Jaeger <aj@suse.de>
393 * manual/filesys.texi (Directory Entries): Mention that d_namlen
394 is an optional BSD extension.
397 * manual/stdio.texi (Opening Streams): Document additional fopen
400 2012-04-09 Roland McGrath <roland@hack.frob.com>
402 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
403 %eax without telling the compiler.
405 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
408 * manual/install.texi: Use sourceware.org.
410 2012-04-09 Joseph Myers <joseph@codesourcery.com>
413 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
414 (__ieee754_pow): Generate overflow and underflow using huge*huge
415 and tiny*tiny rather than just returning constant infinity or zero
417 * math/libm-test.inc (pow_test): Require overflow exceptions for
418 applicable cases of large exponents.
421 * sysdeps/i386/fpu/e_pow.S (p10): New object.
422 (__ieee754_pow): Use iterative multiplication algorithm only for
423 integer exponents with absolute value below 1024. Check for odd
424 integer exponents when using algorithm for real exponents.
425 * math/libm-test.inc (pow_test): Add more tests.
426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
428 2012-04-08 Joseph Myers <joseph@codesourcery.com>
431 * math/libm-test.inc (exp_test): Do not allow overflow exception
434 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
437 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
438 instead of __kernel_standard_f.
440 2012-04-08 Mike Frysinger <vapier@gentoo.org>
442 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
443 * sysdeps/x86_64/memset_chk.S: Likewise.
445 2012-04-08 Andreas Jaeger <aj@suse.de>
448 * manual/startup.texi (Environment Access): Describe return value
449 for putenv and setenv.
452 * manual/filesys.texi (Directory Entries): Add description for
456 * manual/filesys.texi (Directory Entries): Clarify that it's file
457 system not operating system in the description of DT_UNKNOWN.
460 * manual/syslog.texi (closelog): Fix reference, it's openlog.
462 2012-04-08 Stephen Compall <s11@member.fsf.org>
465 * manual/llio.texi (Opening and Closing Files): Add cross
466 reference to explain mode argument.
468 2012-04-07 Mike Frysinger <vapier@gentoo.org>
470 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
471 * sysdeps/x86_64/memset_chk.S: Likewise.
473 2012-04-07 David S. Miller <davem@davemloft.net>
475 * elf/elf.h (R_SPARC_WDISP10): Define.
476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
479 R_SPARC_SIZE64 and R_SPARC_H34.
481 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
484 conditions and remove no longer applicable assertion.
486 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
488 * bits/byteswap.h: Include <features.h>.
489 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
490 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
492 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
494 * bits/byteswap.h (__bswap_16): Removed.
495 Include <bits/byteswap-16.h> to get __bswap_16.
496 * sysdeps/i386/bits/byteswap.h: Likewise.
497 * sysdeps/s390/bits/byteswap.h: Likewise.
498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
499 * bits/byteswap-16.h: New file.
500 * sysdeps/i386/bits/byteswap-16.h: Likewise.
501 * sysdeps/s390/bits/byteswap-16.h: Likewise.
502 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
503 * string/Makefile (headers): Add bits/byteswap-16.h.
505 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
508 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
510 * nss/Makefile (tests-static, tests): Add tst-nss-static.
511 * nss/tst-nss-static.c: New.
513 2012-04-06 Robert Millan <rmh@gnu.org>
516 * manual/llio.texi (File Position Primitive): lseek
517 refers to WHENCE when it really means OFFSET.
519 2012-04-06 Andreas Jaeger <aj@suse.de>
521 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
522 strncmp declarations.
524 * abilist/libc.abilist: Add __poll and __ppoll.
526 2012-04-05 David S. Miller <davem@davemloft.net>
528 * scripts/check-local-headers.sh: Accept a host triplet in the
529 path matched by the exclude regexp.
531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
533 * sysdeps/powerpc/powerpc32/dl-machine.h
534 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
535 * sysdeps/s390/s390-32/dl-machine.h
536 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
537 * sysdeps/sparc/sparc32/dl-machine.h
538 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
539 * sysdeps/sparc/sparc64/dl-machine.h
540 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
542 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
544 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
545 undefined symbol errors.
547 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
550 2012-04-05 Michael Matz <matz@suse.de>
553 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
555 2012-04-05 Andreas Jaeger <aj@suse.de>
558 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
561 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
563 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
564 which ROUND is no valid rounding mode.
566 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
568 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
570 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
572 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
574 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
575 an exception using FPU order intentionally.
577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
579 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
580 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
581 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
582 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
584 2012-04-05 Simon Josefsson <simon@josefsson.org>
587 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
588 EINVAL when BUFLEN is too smal.
590 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
593 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
594 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
596 2012-04-03 Andreas Jaeger <aj@suse.de>
599 * manual/setjmp.texi (System V contexts): Fix sentence.
602 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
603 New macro for this case.
604 [!__GNUC__] (__bswap_64): New inline function for this case.
605 * sysdeps/x86_64/bits/byteswap.h: Likewise.
606 * bits/byteswap.h: Likewise.
607 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
608 ull, guard with __GLIBC_HAVE_LONG_LONG.
610 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
611 __GLIBC_HAVE_LONG_LONG.
613 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
614 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
616 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
619 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
620 inptr and inend, rather than using last_ch.
622 2012-04-02 David S. Miller <davem@davemloft.net>
624 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
625 * stdio-common/printf-parse.h (read_int): Change return type to
626 'int', return -1 on INT_MAX overflow.
627 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
628 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
629 overflows INT_MAX. Check for overflow of in-format-string precision
630 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
631 SIZE_MAX not INT_MAX for integer overflow test.
632 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
633 skip the construct in the format string but do not record anything.
634 * stdio-common/bug22.c: Adjust to test both width/prevision
635 INT_MAX overflow as well as total length INT_MAX overflow. Check
636 explicitly for proper errno values.
638 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
640 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
642 * string/test-strcmp.c [! WIDE]: Likewise.
643 * time/tst-mktime2.c: Likewise for INT_MAX.
644 * string/test-string.h: #include <sys/param.h> for MIN.
646 * csu/init-first.c (__libc_init_first): Call __ctype_init.
647 * sysdeps/i386/init-first.c (init): Likewise.
648 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
649 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
650 * sysdeps/sh/init-first.c (init): Likewise.
652 2012-04-01 Ulrich Drepper <drepper@gmail.com>
654 * po/ru.po: Update from translation team.
655 * po/vi.po: Likewise.
657 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
659 * resolv/nss_dns/dns-host.c: Merge copyright years.
661 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
664 Optimize memcpy with prefetch if
665 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
666 src, dst pointers have unequal 16 byte alignments.
668 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
671 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
672 from a CNAME entry and return the minimum ttl for the query.
673 (gaih_getanswer_slice): Likewise.
675 2012-03-30 Jeff Law <law@redhat.com>
677 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
679 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
680 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
682 * resolv/nss_dns/dns-host.c: Update copyright year.
684 2012-03-30 Ulrich Drepper <drepper@gmail.com>
686 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
687 requests to save a system call. Fix check that all bytes are sent.
689 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
690 comments for sendmmsg.
692 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
695 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
696 with only 1 character between 0x0041 and 0x01b0.
697 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
698 * wcsmbs/tst-mbsnrtowcs.c: New file.
700 2012-03-29 David S. Miller <davem@davemloft.net>
702 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
703 small copies by hand.
705 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
708 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
709 _nss_compat_initgroups_dyn): Fall back to malloc/free
710 for large group memberships.
712 2012-03-28 David S. Miller <davem@davemloft.net>
714 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
715 that branches into memcpy.
716 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
719 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
722 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
724 * sysdeps/sparc/mempcpy.S: New file.
726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
727 the IFUNC routine in the libc case.
728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
730 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
731 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
732 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
733 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
734 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
735 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
736 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
737 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
739 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
740 loop to 256 bytes instead of 64 bytes and fix test signedness.
742 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
743 * sysdeps/sparc/sparc32/Makefile: rather than here...
744 * sysdeps/sparc/sparc64/Makefile: and here.
746 2012-03-28 Ulrich Drepper <drepper@gmail.com>
748 * malloc/mallocbug.c: Avoid warnings about unused variables.
750 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
753 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
754 in the right place. Discard and retry query if response is
755 larger than input buffer size.
757 2012-03-28 Joseph Myers <joseph@codesourcery.com>
762 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
763 x for large integer exponent.
764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
765 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
766 sign of result as needed afterwards.
767 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
768 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
769 result for underflowing pow the same as for overflow.
770 (__kernel_standard_l): Handle powl overflow and underflow here
771 rather than calling __kernel_standard.
772 * math/libm-test.inc (pow_test): Add more tests.
787 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
788 * sysdeps/ieee754/k_standard.c: Include <float.h>.
789 (__kernel_standard_l): New function.
790 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
792 * math/w_acosl.c (__acosl): Likewise.
793 * math/w_asinl.c (__asinl): Likewise.
794 * math/w_atan2l.c (__atan2l): Likewise.
795 * math/w_atanhl.c (__atanhl): Likewise.
796 * math/w_coshl.c (__coshl): Likewise.
797 * math/w_exp10l.c (__exp10l): Likewise.
798 * math/w_exp2l.c (__exp2l): Likewise.
799 * math/w_fmodl.c (__fmodl): Likewise.
800 * math/w_hypotl.c (__hypotl): Likewise.
801 * math/w_j0l.c (__j0l, __y0l): Likewise.
802 * math/w_j1l.c (__j1l, __y1l): Likewise.
803 * math/w_jnl.c (__jnl, __ynl): Likewise.
804 * math/w_lgammal.c (__lgammal): Likewise.
805 * math/w_log10l.c (__log10l): Likewise.
806 * math/w_log2l.c (__log2l): Likewise.
807 * math/w_logl.c (__logl): Likewise.
808 * math/w_powl.c (__powl): Likewise.
809 * math/w_remainderl.c (__remainderl): Likewise.
810 * math/w_scalbl.c (sysv_scalbl): Likewise.
811 * math/w_sinhl.c (__sinhl): Likewise.
812 * math/w_sqrtl.c (__sqrtl): Likewise.
813 * math/w_tgammal.c (__tgammal): Likewise.
814 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
815 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
816 * math/libm-test.inc (acos_test): Add more tests.
817 (acosh_test): Likewise.
818 (asin_test): Likewise.
819 (atanh_test): Likewise.
820 (exp_test): Likewise.
821 (exp10_test): Likewise.
822 (exp2_test): Likewise.
823 (expm1_test): Likewise.
824 (lgamma_test): Likewise.
825 (log_test): Likewise.
826 (log10_test): Likewise.
827 (log1p_test): Likewise.
828 (log2_test): Likewise.
829 (pow_test): Do not allow some spurious overflow exceptions.
830 (sqrt_test): Add more tests.
831 (tgamma_test): Likewise.
836 2012-03-27 Anton Blanchard <anton@samba.org>
838 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
840 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
842 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
844 2012-03-27 David S. Miller <davem@davemloft.net>
846 * conform/Makefile: Run run-conformtest.sh using $(BASH).
848 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
851 2012-03-27 Andreas Jaeger <aj@suse.de>
853 * sysdeps/x86_64/elf/configure.in: Moved to ...
854 * sysdeps/x86_64/configure.in: ... here.
855 * sysdeps/x86_64/elf/start.S: Moved to ...
856 * sysdeps/x86_64/start.S: ... here.
857 * sysdeps/x86_64/elf/configure: Delete.
859 * sysdeps/x86_64/configure.in: Merge contents from
860 sysdeps/i386/configure.in (without i686 check).
862 * sysdeps/i386/elf/Versions: Merge into ...
863 * sysdeps/i386/Versions: ... this.
864 * sysdeps/i386/elf/Versions: Delete file.
865 * sysdeps/i386/elf/start.S: Moved to ...
866 * sysdeps/i386/start.S: ...here.
867 * sysdeps/i386/elf/configure.in: Merge into...
868 * sysdeps/i386/configure.in: ...here.
869 * sysdeps/i386/elf/configure.in: Delete file.
870 * sysdeps/i386/elf/configure: Delete file.
872 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
873 * debug/backtracesyms.c: ... here.
874 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
875 * debug/backtracesymsfd.c: ... here.
876 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
877 * sysdeps/generic/ifunc-sel.h: ... here.
879 * sysdeps/unix/i386/start.c: Delete file.
880 * sysdeps/unix/sparc/start.c: Delete file.
881 * sysdeps/unix/start.c: Delete file.
883 * sysdeps/sh/elf/configure.in: Moved to ...
884 * sysdeps/sh/configure.in: ... here.
885 * sysdeps/sh/elf/start.S: Moved to ...
886 * sysdeps/sh/start.S: ... here.
887 * sysdeps/sh/elf/configure: Delete file.
889 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
890 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
891 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
892 * sysdeps/powerpc/powerpc64/entry.h: ... here.
893 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
894 * sysdeps/powerpc/powerpc64/start.S: here.
895 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
896 * sysdeps/powerpc/powerpc64/Makefile: ... this.
897 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
898 * sysdeps/powerpc/powerpc64/configure.in: ... this.
899 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
901 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
902 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
903 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
904 * sysdeps/powerpc/powerpc32/start.S: ... here.
905 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
906 * sysdeps/powerpc/powerpc32/configure.in: ... this.
907 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
909 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
910 * sysdeps/powerpc/ifunc-sel.h: ... here.
911 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
912 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
914 * sysdeps/sparc/elf/configure.in: Moved to ...
915 * sysdeps/sparc/configure.in: ... here.
916 * sysdeps/sparc/elf/configure: Delete file.
917 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
918 * sysdeps/sparc/sparc32/start.S: ... here.
919 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
920 * sysdeps/sparc/sparc64/start.S: ... here.
921 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
922 * sysdeps/sparc/sparc32/Makefile: ... this.
923 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
924 * sysdeps/sparc/sparc64/Makefile: ... this.
926 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
927 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
928 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
929 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
930 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
931 * sysdeps/s390/s390-32/setjmp.S: ... here.
932 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
933 * sysdeps/s390/s390-32/configure.in: ... here.
934 * sysdeps/s390/s390-32/elf/configure: Delete file.
935 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
936 * sysdeps/s390/s390-32/start.S: ... here.
938 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
939 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
940 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
941 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
942 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
943 * sysdeps/s390/s390-64/setjmp.S: ... here.
944 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
945 * sysdeps/s390/s390-64/configure.in: ... here
946 * sysdeps/s390/s390-64/elf/configure: Delete file.
947 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
948 * sysdeps/s390/s390-64/start.S: ... here.
949 * sysdeps/s390/s390-64/elf/configure: Delete.
951 * configure.in: Remove support for elf directories in sysdeps.
953 * configure: Regenerated.
954 * sysdeps/i386/configure: Regenerated.
955 * sysdeps/powerpc/powerpc32/configure: Regenerated.
956 * sysdeps/powerpc/powerpc64/configure: Regenerated.
957 * sysdeps/s390/s390-32/configure: Regenerated.
958 * sysdeps/s390/s390-64/configure: Regenerated.
959 * sysdeps/sh/configure: Regenerated.
960 * sysdeps/sparc/configure: Regenerated.
961 * sysdeps/x86_64/configure: Regenerated.
963 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
967 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
968 denormal result into account.
970 2012-03-25 Roland McGrath <roland@hack.frob.com>
972 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
973 Reported by Allan McRae <allan@archlinux.org>.
975 2012-03-23 Jeff Law <law@redhat.com>
977 * nss/getnssent.c (__nss_getent): Fix typo.
979 2012-03-23 David S. Miller <davem@davemloft.net>
981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
983 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
986 to pad to uint64_t for each field.
987 (dl_tls_index): Replace unsigned long with uint64_t.
989 2012-03-23 Daniel Jacobowitz <dmj@google.com>
990 Paul Pluzhnikov <ppluzhnikov@google.com>
993 * grp/Makefile (otherlibs): Don't set it.
994 * inet/Makefile (otherlibs): Likewise.
995 * login/Makefile (otherlibs): Likewise.
996 * nscd/Makefile (otherlibs): Likewise.
997 * posix/Makefile (otherlibs): Likewise.
998 * pwd/Makefile (otherlibs): Likewise.
999 * rt/Makefile (otherlibs): Likewise.
1000 * sunrpc/Makefile (otherlibs): Likewise.
1001 * nss/Makefile (otherlibs): Likewise.
1002 Add libnss_files to routines and static-only-routines.
1003 ($(objpfx)getent): Remove rule.
1004 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1005 static-only-routines.
1007 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1010 * math/s_cexp.c: Include <float.h>.
1011 (__cexp): Handle exp result overflowing not necessarily
1012 overflowing both real and imaginary parts of result.
1013 * math/s_cexpf.c: Likewise.
1014 * math/s_cexpl.c: Likewise.
1015 * math/libm-test.inc (cexp_test): Add more tests.
1016 * sysdeps/i386/fpu/libm-test-ulps: Update.
1017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1019 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1021 * include/link.h (ELFW): New macro.
1022 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1023 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1025 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1027 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1032 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1034 (struct La_x32_retval): Likewise.
1036 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/x86_64/preconfigure.in: New file.
1039 * sysdeps/x86_64/preconfigure: New generated file.
1041 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1044 * math/e_exp2l.c: Include <float.h>.
1045 (__ieee754_exp2l): Handle overflow and underflow cases
1046 separately. Only pass fractional part of argument to
1048 * math/libm-test.inc (exp2_test): Add more tests.
1050 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1051 negating x to take absolute value.
1052 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1054 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1057 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1058 computing low part if x was negated.
1059 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1061 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1063 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1065 (pltexit): Cast int_retval to ptrdiff_t.
1066 * elf/tst-auditmod3b.c: Likewise.
1067 * elf/tst-auditmod4b.c: Likewise.
1068 * elf/tst-auditmod5b.c: Likewise.
1069 * elf/tst-auditmod6b.c: Likewise.
1070 * elf/tst-auditmod6c.c: Likewise.
1071 * elf/tst-auditmod7b.c: Likewise.
1073 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1074 and x32_gnu_pltexit.
1076 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1078 (La_x32_regs): New macro.
1079 (La_x32_retval): Likewise.
1080 (la_x32_gnu_pltenter): New function prototype.
1081 (la_x32_gnu_pltexit): Likewise.
1083 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090 * configure.in (libc_cv_cc_nofma): Check for option to disable
1091 generation of FMA instructions.
1092 * configure: Regenerate.
1093 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1094 * sysdeps/ieee754/dbl-64/Makefile: New file.
1095 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1096 Remove brandred-fma4.
1097 (CFLAGS-brandred-fma4.c): Remove.
1098 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1099 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1101 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1104 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1106 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1107 LLONG_MAX != LONG_MAX.
1108 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1109 (_fitoa_word): Likewise.
1110 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1111 LLONG_MAX != LONG_MAX.
1112 * stdio-common/_itowa.h: Include <_itoa.h>.
1113 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1114 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1115 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1116 only if not defined.
1117 (_ITOA_WORD_TYPE): Likewise.
1118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1119 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1121 2012-03-21 David S. Miller <davem@davemloft.net>
1123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1125 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1127 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1128 of x86_64 when setting libc_cv_slibdir, libdir and
1130 * sysdeps/unix/sysv/linux/configure: Regenerated.
1132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1134 * manual/lang.texi (Old Varargs): Remove section.
1135 (How Variadic): Update menu.
1136 (va_start): Do not mention varargs.h.
1138 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1139 Joseph Myers <joseph@codesourcery.com>
1141 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1143 * configure: Regenerated.
1145 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1147 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1148 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1151 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1154 * Makefile (files-for-dist): Remove NOTES.
1155 (NOTES): Remove rule.
1156 * README: Don't refer to NOTES.
1157 * manual/creature.texi: Don't include macros.texi.
1158 * manual/intro.texi (creature.texi): Remove comment referring to
1161 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1162 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1163 * configure: Regenerated.
1164 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1166 (libc_cv_as_i686): Likewise.
1167 (libc_cv_cc_avx): Likewise.
1168 (libc_cv_cc_sse2avx): Likewise.
1169 (libc_cv_cc_fma4): Likewise.
1170 (libc_cv_cc_novzeroupper): Likewise.
1171 * sysdeps/i386/configure: Regenerated.
1174 * sysdeps/i386/fpu/s_cexp.S: Remove.
1175 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1176 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1177 * math/libm-test.inc (cexp_test): Add more tests.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1181 2012-03-21 Allan McRae <allan@archlinux.org>
1183 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1185 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1188 * math/w_exp2.c: Do not include <float.h>.
1189 (o_threshold, u_threshold): Remove.
1190 (__exp2): Calculate result before checking finiteness and calling
1192 * math/w_exp2f.c: Likewise.
1193 * math/w_exp2l.c: Likewise.
1194 * math/libm-test.inc (exp2_test): Require overflow exception for
1198 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1199 range of signed 64-bit integers before using fistpll. Remove
1200 checks for whether integers fit in mantissa bits.
1201 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1202 the range of signed 32-bit integers before using fistpl. Remove
1203 checks for whether integers fit in mantissa bits.
1204 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1205 (__ieee754_powl): Test for y outside the range of signed 64-bit
1206 integers before using fistpll. Reduce 64-bit values to 63-bit
1208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1209 divide-by-zero is raised for zero to large negative powers.
1210 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1211 (__ieee754_powl): Test for y outside the range of signed 64-bit
1212 integers before using fistpll. Reduce 64-bit values to 63-bit
1214 * math/libm-test.inc (pow_test): Add more tests.
1216 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1218 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1219 <stdio-common/_itoa.h>.
1220 * debug/segfault.c: Likewise.
1221 * elf/dl-cache.c: Likewise.
1222 * elf/dl-minimal.c: Likewise.
1223 * elf/dl-misc.c: Likewise.
1224 * elf/dl-sysdep.c: Likewise.
1225 * elf/dl-version.c: Likewise.
1226 * elf/rtld.c: Likewise.
1227 * hurd/hurdsock.c: Likewise.
1228 * hurd/lookup-retry.c: Likewise.
1229 * malloc/malloc.c: Likewise.
1230 * malloc/mtrace.c: Likewise.
1231 * nscd/nscd_getgr_r.c: Likewise.
1232 * nscd/nscd_getpw_r.c: Likewise.
1233 * nscd/nscd_getserv_r.c: Likewise.
1234 * posix/getopt_init.c: Likewise.
1235 * posix/wordexp.c: Likewise.
1236 * stdio-common/_itoa.c: Likewise.
1237 * stdio-common/printf_fphex.c: Likewise.
1238 * stdio-common/vfprintf.c: Likewise.
1239 * string/_strerror.c: Likewise.
1240 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1241 * sysdeps/i386/i686/hp-timing.h: Likewise.
1242 * sysdeps/mach/_strerror.c: Likewise.
1243 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1244 * sysdeps/mach/hurd/sethostid.c: Likewise.
1245 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1246 * sysdeps/mach/xpg-strerror.c: Likewise.
1247 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1249 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1250 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1251 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1252 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1253 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1254 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1255 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1256 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1257 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1258 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1259 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1260 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1261 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1263 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1264 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1265 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1266 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1267 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1269 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1271 * stdio-common/_itoa.h: Moved to ...
1272 * sysdeps/generic/_itoa.h: Here.
1274 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1276 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1277 instead of "_itoa.h" and "_itowa.h".
1278 * stdio-common/vfprintf.: Likewise.
1280 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1282 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1284 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1285 (__signbit): Likwise.
1289 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1291 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1294 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1296 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1297 OVERFLOW_EXCEPTION_OK.
1298 * math/libm-test.inc ("Philosophy"): Update comment about
1300 (OVERFLOW_EXCEPTION): Define.
1301 (OVERFLOW_EXCEPTION_OK): Likewise.
1302 (INVALID_EXCEPTION_OK): Renumber.
1303 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1304 (IGNORE_ZERO_INF_SIGN): Likewise.
1305 (test_exceptions): Handle FE_OVERFLOW.
1306 (exp10_test): Expect overflow exceptions.
1307 (exp2_test): Likewise.
1308 (expm1_test): Likewise.
1309 (nextafter_test): Likewise.
1310 (pow_test): Likewise.
1311 (scalbn_test): Likewise.
1312 (scalbln_test): Likewise.
1314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1316 * sysdeps/x86_64/bits/atomic.h
1317 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1319 (atomic_exchange_acq): Likewise.
1320 (__arch_exchange_and_add_body): Likewise.
1321 (__arch_add_body): Likewise.
1322 (atomic_add_negative): Likewise.
1323 (atomic_add_zero): Likewise.
1325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1327 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1328 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1332 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1333 Check __x86_64__ instead of __WORDSIZE.
1335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1337 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1339 2012-03-19 David S. Miller <davem@davemloft.net>
1341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1343 * sysdeps/sparc/fpu/fenv_private.h: New file.
1344 * sysdeps/sparc/fpu/math_private.h: Use it.
1345 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1347 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1348 (libc_feholdexcept_setroundl): Remove.
1349 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1351 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1352 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1354 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1356 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1357 int64_t instead of long int.
1358 (INSERT_WORDS64): Likwise.
1360 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1362 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1363 _Unwind_GetCFA return to _Unwind_Ptr first.
1365 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1368 * math/s_clog.c: Include <float.h>.
1369 (__clog): Scale large or subnormal inputs.
1370 * math/s_clogf.c: Likewise.
1371 * math/s_clogl.c: Likewise.
1372 * math/s_clog10.c: Include <float.h>.
1373 (M_LOG10_2): Define.
1374 (__clog10): Scale large or subnormal inputs.
1375 * math/s_clog10f.c: Likewise.
1376 * math/s_clog10l.c: Likewise.
1377 * math/libm-test.inc (clog_test): Add more tests.
1378 (clog10_test): Likewise.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1385 * math/libm-test.inc (atan2_test): Add another test.
1387 * Makerules (common-objdir-compile): Remove.
1388 * sysdeps/unix/Makefile (config-generated): Do not add
1389 $(unix-generated) to variable.
1390 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1391 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1393 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1395 [generic bits/local_lim.h] (before-compile): Do not append to
1397 [generic bits/local_lim.h] (common-generated): Likewise.
1398 [generic sys/param.h] (before-compile): Do not append to variable.
1399 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1400 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1401 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1402 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1404 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1405 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1406 [generic sys/param.h] ($(addprefix
1407 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1408 [generic sys/param.h] (common-generated): Do not append to
1410 [generic sys/param.h] (sysdep_headers): Likewise.
1411 [generic bits/errno.h] (before-compile): Do not append to
1413 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1415 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1416 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1417 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1418 [generic bits/errno.h] (common-generated): Do not append to
1420 [generic bits/ioctls.h] (before-compile): Do not append to
1422 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1424 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1425 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1426 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1428 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1429 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1430 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1431 [generic bits/ioctls.h] (common-generated): Do not append to
1433 [generic sys/syscall.h] (syscall.h): Remove variable.
1434 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1436 [generic sys/syscall.h] (before-compile): Do not append to
1438 [generic sys/syscall.h] (common-generated): Likewise.
1439 * sysdeps/unix/errnos-tmpl.c: Remove file.
1440 * sysdeps/unix/errnos.awk: Likewise.
1441 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1442 * sysdeps/unix/ioctls.awk: Likewise.
1443 * sysdeps/unix/mk-local_lim.c: Likewise.
1444 * sysdeps/unix/snarf-ioctls: Likewise.
1446 2012-03-19 Richard Henderson <rth@twiddle.net>
1448 * sysdeps/i386/fpu/fenv_private.h: New file.
1449 * sysdeps/i386/fpu/math_private.h: Use it.
1450 (math_opt_barrier, math_force_eval): Remove.
1451 (libc_feholdexcept_setround_53bit): Remove.
1452 (libc_feupdateenv_53bit): Remove.
1453 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1454 (math_opt_barrier, math_force_eval): Remove.
1455 (libc_feholdexcept): Remove.
1456 (libc_feholdexcept_setround): Remove.
1457 (libc_fetestexcept, libc_fesetenv): Remove.
1458 (libc_feupdateenv_test): Remove.
1459 (libc_feupdateenv, libc_feholdsetround): Remove.
1460 (libc_feresetround): Remove.
1462 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1463 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1465 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1466 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1467 (libc_feupdateenv_testl): New.
1468 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1469 (libc_feupdateenv_testf): New.
1470 (libc_feupdateenv): Use libc_feupdateenv_test.
1471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1474 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1475 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1476 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1477 (libc_feresetround_noex): New.
1478 (libc_feresetround_noexf): New.
1479 (libc_feresetround_noexl): New.
1480 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1481 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1482 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1483 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1488 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1489 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1490 SET_RESTORE_ROUND_NOEX.
1491 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1492 SET_RESTORE_ROUND_NOEXF.
1493 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1494 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1495 (libc_feholdsetroundf): New.
1496 (libc_feresetround, libc_feresetroundf): New.
1498 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1499 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1500 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1502 * sysdeps/generic/math_private.h: Include <fenv.h>.
1503 (default_libc_feholdexcept): New.
1504 (default_libc_feholdexcept_setround): New.
1505 (default_libc_fesetenv, default_libc_feupdateenv): New.
1506 (libc_feholdexcept): Only define if undefined.
1507 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1508 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1509 (libc_feholdexcept_setroundl): Likewise.
1510 (libc_feholdexcept_setround_53bit): Likewise.
1511 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1512 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1513 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1514 (libc_feupdateenv_53bit): Likewise.
1515 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1516 (libc_feholdexcept): Convert from macro to inline function.
1517 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1518 (libc_fesetenv, libc_feupdateenv): Likewise.
1520 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1521 not previously defined.
1522 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1523 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1524 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1525 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1526 * sysdeps/ieee754/flt-32/math_private.h: New file.
1527 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1528 math_private.h below SET_FLOAT_WORD.
1529 (__isnan, __isinf_ns, __finite): Remove.
1530 (__isnanf, __isinf_nsf, __finitef): Remove.
1532 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1536 2012-03-17 David S. Miller <davem@davemloft.net>
1539 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1542 2012-03-16 David S. Miller <davem@davemloft.net>
1544 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1548 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1550 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1551 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1552 sysdep_routines when subdir is sysvipc.
1553 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1556 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1558 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1560 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1563 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1565 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1566 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1567 (__lround): Renamed to ...
1568 (__llround): This. Replace long int with long long int.
1569 Define lround functions as aliases of llround functions.
1570 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1572 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1574 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1575 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1576 adresses to uintptr_t. Replace "long int" and "unsigned long
1577 int" with "greg_t" on va_arg.
1579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1581 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1582 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1584 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1585 Move e_machine check before EI_CLASS check. Handle x32
1586 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1587 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1588 SKIP_EM_IA_64 and include
1589 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1591 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1592 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1593 (add_system_dir): New macro.
1595 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1596 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1598 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1609 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1611 * math/w_j0f.c (j0f): Likewise.
1613 * math/w_j0l.c (__j0l): Likewise.
1615 * math/w_j1.c (j1): Likewise.
1617 * math/w_j1f.c (j1f): Likewise.
1619 * math/w_j1l.c (__j1l): Likewise.
1621 * math/w_jn.c (jn): Likewise.
1623 * math/w_jnf.c (jnf): Likewise.
1625 * math/w_jnl.c (__jnl): Likewise.
1627 * math/libm-test.inc (j0_test): Add more tests.
1628 (j1_test): Likewise.
1629 (jn_test): Likewise. Add trailing semicolon to existing test.
1630 (y0_test): Likewise.
1631 (y1_test): Likewise.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1638 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1639 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1641 (__tanl): Set errno for infinite argument.
1642 * sysdeps/i386/fpu/mptan.c: Remove.
1643 * sysdeps/i386/fpu/s_tan.S: Likewise.
1644 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1645 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1646 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1647 * math/libm-test.inc (tan_test): Add more tests and enable more
1648 tests for double and long double.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1654 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1655 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1657 2012-03-16 Roland McGrath <roland@hack.frob.com>
1659 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1660 * configure.in: Use it for both main tree and add-ons.
1661 * configure: Regenerated.
1663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1665 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1667 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1669 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1673 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1674 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1679 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1682 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1683 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1684 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1685 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1686 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1687 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1688 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1689 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1690 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1691 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1692 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1693 * math/libm-test.inc (cos_test): Add more tests and enable more
1694 tests for long double.
1695 (sin_test): Likewise.
1696 (sincos_test): Likewise.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1700 2012-03-16 David S. Miller <davem@davemloft.net>
1702 * sysdeps/sparc/fpu/math_private.h: New file.
1704 2012-03-15 David S. Miller <davem@davemloft.net>
1706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1720 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1721 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1723 * sysdeps/sparc/sparc-ifunc.h: New file.
1724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1769 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1771 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775 2012-03-15 Andreas Jaeger <aj@suse.de>
1778 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1779 ieee754/flt-32 implementation for sin, cos and sincos.
1780 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1781 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1782 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1783 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1784 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1785 ieee754/flt-32 implementation for tan.
1787 * math/libm-test.inc (cos_test): Enable some large input tests for
1789 (sin_test): Likewise.
1790 (sincos_test): Likewise.
1791 (tan_test): Add tests for large input.
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 2012-03-15 Andreas Jaeger <aj@suse.de>
1798 * math/libm-test.inc (cos_test): Add more test cases.
1799 (sin_test): Likewise.
1800 (sincos_test): Likewise.
1802 2012-03-15 Andreas Jaeger <aj@suse.de>
1805 * math/libm-test.inc (cos_test): Add a test case for large input
1807 (sin_test): Likewise.
1808 (sincos_test): Likewise.
1810 2012-03-15 Andreas Jaeger <aj@suse.de>,
1811 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1815 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1816 * sysdeps/i386/fpu/branred.c: Likewise.
1817 * sysdeps/i386/fpu/dosincos.c: Likewise.
1818 * sysdeps/i386/fpu/mpa.c: Likewise.
1819 * sysdeps/i386/fpu/s_cos.S: Likewise.
1820 * sysdeps/i386/fpu/s_sin.S: Likewise.
1821 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1822 * sysdeps/i386/fpu/sincos32.c: Likewise.
1824 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1826 (libc_feupdateenv_53bit): Define.
1827 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1829 (libc_feupdateenv_53bit): Define.
1831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1832 53 bit (without extend i386 double precision).
1834 * math/libm-test.inc (sincos_test): Add tests for large input.
1838 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1840 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1844 2012-03-15 David S. Miller <davem@davemloft.net>
1846 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1847 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1848 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1849 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1874 fmin/fmax sysdep routines.
1875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1877 2012-03-14 David S. Miller <davem@davemloft.net>
1879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1883 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1956 * sysdeps/sparc/configure.in: New file.
1957 * sysdeps/sparc/configure: Generate.
1958 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1959 * configure: Regenerate.
1960 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1961 * config.make.in (have-as-vis3): New.
1962 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1963 available use -Av9d instead of -Av9a.
1964 * sysdeps/sparc/sparc64/Makefile: Likewise.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1981 fzeros/fnegs to load 0x80000000 into a float register instead of
1983 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1985 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1989 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1990 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1991 ($(inst_includedir)/bits/syscall.h): Remove rule.
1992 ($(objpfx)bits/syscall.d): Include instead of
1993 $(objpfx)syscall-list.d.
1994 (generated): Change syscall-list.h and syscall-list.d to
1995 bits/syscall.h and bits/syscall.d.
1997 2012-03-14 Roland McGrath <roland@hack.frob.com>
2000 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2002 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2005 * math/s_csqrt.c: Include <float.h>.
2006 (__csqrt): Scale large or subnormal inputs.
2007 * math/s_csqrtf.c: Likewise.
2008 * math/s_csqrtl.c: Likewise.
2009 * math/libm-test.inc (csqrt_test): Add more tests.
2010 * sysdeps/i386/fpu/libm-test-ulps: Update.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014 * math/libm-test.inc (hypot_test): Add more tests.
2016 2012-03-13 David S. Miller <davem@davemloft.net>
2019 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2020 double-precision for the calculation instead of scaling.
2022 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2024 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2025 manipulate bits before adding and subtracting TWO52[sx].
2026 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2027 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2029 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2031 2012-03-13 David S. Miller <davem@davemloft.net>
2033 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2034 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2036 rtld-global-offsets.h
2037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2039 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2042 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2044 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2045 'err' in the ifdef scope in which it is actually used.
2047 * nss/nss_db/db-init.c: Include string.h
2049 2012-03-12 David S. Miller <davem@davemloft.net>
2051 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2052 masking out of the most significant byte of random value used.
2053 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2054 Fix coding style in previous change.
2056 * sysdeps/unix/sysv/linux/kernel-features.h
2057 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2058 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2060 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2063 2012-03-11 David S. Miller <davem@davemloft.net>
2065 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2066 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2067 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2068 for 'resultvar' otherwise things get truncated on 64-bit.
2070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2071 Fix masking out of the most significant byte of random value used.
2073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2075 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2079 2012-03-09 David S. Miller <davem@davemloft.net>
2081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2082 variables with appropriate CPP guards.
2083 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2084 frame pointer, not the stack pointer. Correct layout comments. Fix test
2085 on resulting framesize and the management of the outregs buffer for pltexit.
2086 Preserve floating point return values across _dl_call_pltexit call.
2087 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2088 framesize and the management of the outregs buffer for pltexit.
2089 Preserve floating point return values across _dl_call_pltexit
2091 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2092 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2093 (print_exit): Fix format string for return register value.
2095 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2097 * sunrpc/Makefile (others): Add rpcgen.
2098 ($(objpfx)rpcgen): Remove special build rule and dependency on
2100 * sunrpc/rpcgen.c: New file.
2102 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2105 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2106 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2107 * sysdeps/i386/crti.S: Likewise.
2108 * sysdeps/i386/crtn.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2110 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2113 * sysdeps/sh/crti.S: Likewise.
2114 * sysdeps/sh/crtn.S: Likewise.
2115 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2118 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2120 * locale/programs/locfile-kw.gperf: Likewise.
2121 * locale/programs/charmap-kw.h: Regenerated.
2122 * locale/programs/locfile-kw.h: Likewise.
2125 * intl/plural.y: Replace FSF snail mail address with URL.
2126 * intl/plural.c: Regenerated.
2128 2012-03-09 Richard Henderson <rth@twiddle.net>
2130 * include/math_private.h: Remove file.
2131 * math/math_private.h: Move file ...
2132 * sysdeps/generic/math_private.h: ... here.
2134 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2135 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2136 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2138 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2139 and <math_private.h>.
2140 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2141 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2142 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2143 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2144 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2180 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2181 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2228 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2231 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2234 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2235 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2237 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2238 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2240 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2241 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2242 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2243 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2244 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2245 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2246 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2247 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2248 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2249 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2250 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2251 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2252 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2253 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2254 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2255 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2256 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2257 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2258 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2259 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2260 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2261 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2262 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2263 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2264 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2266 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2267 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2268 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2269 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2270 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2271 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2273 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2274 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2275 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2276 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2277 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2278 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2279 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2280 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2281 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2282 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2283 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2284 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2285 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2286 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2287 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2288 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2289 * sysdeps/ieee754/k_standard.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2405 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2409 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2410 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2412 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2417 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2422 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2438 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2439 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2440 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2449 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2450 * sysdeps/ieee754/s_lib_version.c: Likewise.
2451 * sysdeps/ieee754/s_matherr.c: Likewise.
2452 * sysdeps/ieee754/s_signgam.c: Likewise.
2453 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2454 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2455 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2456 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2458 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2459 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2460 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2461 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2462 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2463 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2464 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2465 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2466 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2467 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2468 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2469 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2470 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2475 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2477 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2478 * sunrpc/rpc_main.c: Likewise.
2479 * sunrpc/rpc_svcout.c: Likewise.
2481 2012-03-09 David S. Miller <davem@davemloft.net>
2483 * include/math_private.h: New file.
2485 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2487 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2488 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2489 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2490 from <bits/socket_type.h>.
2491 (enum __socket_type): Don't define here.
2492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2497 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2500 * Makerules ($(inst_includedir)/%.h): New rule.
2501 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2502 (install-others): Remove variable setting.
2503 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2505 2012-03-08 Richard Henderson <rth@twiddle.net>
2507 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2508 from macro to inline function; merge with the
2509 !__LIBC_INTERNAL_MATH_INLINES version.
2510 (__ieee754_sqrtf): Likewise.
2512 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2514 (__rintf, __floor, __floorf): Likewise.
2516 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2517 macro to inline function.
2518 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2520 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2521 not <math/math_private.h>.
2523 2012-03-08 David S. Miller <davem@davemloft.net>
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2527 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2529 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2531 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2533 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2534 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2536 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2538 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2539 be defined individually, they must be defined as a block. Define
2540 S for printing a string instead of hidint the different by using a
2541 macro for adding the 'l'.
2542 * stdio-common/tst-fphex-wide.c: Adjust.
2544 2012-03-07 Marek Polacek <polacek@redhat.com>
2546 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2548 2012-03-08 Marek Polacek <polacek@redhat.com>
2551 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2552 * stdio-common/tst-fphex.c: Define a few macros to make the
2553 test reusable. Use them.
2554 * stdio-common/tst-fphex-wide.c: New file.
2556 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2559 * manual/macros.texi (gnusystems): New macro.
2560 (nongnusystems): Likewise.
2561 (gnulinuxhurdsystems): Likewise.
2562 (gnuhurdsystems): Likewise..
2563 (gnulinuxsystems): Likewise.
2564 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2565 variants of the GNU system, not "GNU system".
2566 * manual/conf.texi: Likewise.
2567 * manual/errno.texi: Likewise. Update example of errno macro
2569 * manual/filesys.texi: Likewise.
2570 (getumask): Document as specific to GNU/Hurd.
2571 * manual/install.texi: Likewise. Reword some references to
2573 * manual/intro.texi: Likewise.
2574 * manual/io.texi: Likewise.
2575 (File Name Portability): Detail which constraints are inapplicable
2576 to all GNU systems and which are only inapplicable to GNU/Hurd.
2577 * manual/job.texi: Likewise.
2578 * manual/llio.texi: Likewise.
2579 (O_NOCTTY): Document as present on GNU/Linux.
2580 * manual/maint.texi: Likewise.
2581 * manual/memory.texi: Likewise.
2582 * manual/pattern.texi: Likewise.
2583 * manual/pipe.texi: Likewise.
2584 * manual/process.texi: Likewise.
2585 * manual/resource.texi: Likewise.
2586 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2588 * manual/setjmp.texi: Likewise.
2589 * manual/signal.texi: Likewise.
2590 * manual/startup.texi: Likewise.
2591 * manual/stdio.texi: Likewise.
2592 * manual/terminal.texi: Likewise.
2593 (ONLCR): Document as POSIX.
2594 (OXTABS): Document availability on GNU/Linux as XTABS.
2595 (ONOEOT): Document availability separately from other bits.
2596 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2597 * manual/time.texi: Likewise.
2598 * manual/users.texi: Likewise.
2599 * INSTALL: Regenerated.
2600 * sysdeps/gnu/errlist.c: Regenerated.
2602 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2603 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2604 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2606 * configure: Regenerated.
2608 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2611 default includes instead of AC_HEADER_CHECK.
2612 * sysdeps/i386/configure: Regenerated.
2615 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2616 * math/s_cacoshf.c (__cacoshf): Likewise.
2617 * math/s_cacoshl.c (__cacoshl): Likewise.
2618 * math/s_casinh.c (__casinh): Set signs of result from argument.
2619 * math/s_casinhf.c (__casinhf): Likewise.
2620 * math/s_casinhl.c (__casinhl): Likewise.
2621 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2622 (casinh_test): Add more tests.
2623 * sysdeps/i386/fpu/libm-test-ulps: Update.
2624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2626 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2628 * po/zh_TW.po: Update from translation team.
2630 * login/Makefile (distribute): Remove variable.
2631 * catgets/Makefile: Likewise.
2632 * mach/Makefile: Likewise.
2633 * malloc/Makefile: Likewise.
2634 * misc/Makefile: Likewise.
2635 * iconv/Makefile: Likewise.
2636 * nscd/Makefile: Likewise.
2637 * hurd/Makefile: Likewise.
2638 * manual/Makefile: Likewise.
2639 * locale/Makefile: Likewise.
2640 * intl/Makefile: Likewise.
2641 * conform/Makefile: Likewise.
2642 * nss/Makefile: Likewise.
2643 * time/Makefile: Likewise.
2644 * soft-fp/Makefile: Likewise.
2645 * dirent/Makefile: Likewise.
2646 * gmon/Makefile: Likewise.
2647 * po/Makefile: Likewise.
2648 * rt/Makefile: Likewise.
2649 * socket/Makefile: Likewise.
2650 * math/Makefile: Likewise.
2651 * signal/Makefile: Likewise.
2652 * debug/Makefile: Likewise.
2653 * elf/Makefile: Likewise.
2654 * timezone/Makefile: Likewise.
2655 * stdlib/Makefile: Likewise.
2656 * iconvdata/Makefile: Likewise.
2657 * sunrpc/Makefile: Likewise.
2658 * io/Makefile: Likewise.
2659 * argp/Makefile: Likewise.
2660 * inet/Makefile: Likewise.
2661 * hesiod/Makefile: Likewise.
2662 * grp/Makefile: Likewise.
2663 * csu/Makefile: Likewise.
2664 * wctype/Makefile: Likewise.
2665 * crypt/Makefile: Likewise.
2666 * libio/Makefile: Likewise.
2667 * string/Makefile: Likewise.
2668 * nis/Makefile: Likewise.
2669 * resolv/Makefile: Likewise.
2670 * stdio-common/Makefile: Likewise.
2671 * wcsmbs/Makefile: Likewise.
2672 * dlfcn/Makefile: Likewise.
2673 * posix/Makefile: Likewise.
2675 * timezone/Makefile: Don't install timezone files, just the programs
2678 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2680 * nss/databases.def: Add missing gshadow entry.
2682 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2684 2012-03-06 Marek Polacek <polacek@redhat.com>
2687 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2688 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2689 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2690 * stdio-common/tst-long-dbl-fphex.c: New file.
2692 2012-03-06 David S. Miller <davem@davemloft.net>
2694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2695 (set_obp_int): New function.
2696 (get_obp_int): New function.
2697 (__get_clockfreq_via_dev_openprom): Likewise.
2698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2699 Avoid unused variable warnings on 'val' and use builtin_expect.
2700 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2702 (INLINE_CLONE_SYSCALL): Likewise.
2704 2012-03-05 David S. Miller <davem@davemloft.net>
2706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2708 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2716 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2719 Replace gettimeofday with __vdso_gettimeofday.
2721 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2722 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2723 __vdso_clock_gettime and __vdso_getcpu.
2725 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2726 time with __vdso_time.
2728 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2730 * manual/lang.texi (size_t): Note types to which size_t may be
2731 equivalent with the GNU C Library, but do not describe when
2732 differences between them are significant.
2734 2012-03-05 Andreas Jaeger <aj@suse.de>
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2738 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2741 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2742 (__ieee754_pow): Save and restore rounding mode and use
2743 round-to-nearest for main computations.
2744 * math/libm-test.inc (pow_test_tonearest): New function.
2745 (pow_test_towardzero): Likewise.
2746 (pow_test_downward): Likewise.
2747 (pow_test_upward): Likewise.
2748 (main): Call the new functions.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2753 * math/libm-test.inc (cosh_test_tonearest): New function.
2754 (cosh_test_towardzero): Likewise.
2755 (cosh_test_downward): Likewise.
2756 (cosh_test_upward): Likewise.
2757 (sinh_test_tonearest): Likewise.
2758 (sinh_test_towardzero): Likewise.
2759 (sinh_test_downward): Likewise.
2760 (sinh_test_upward): Likewise.
2761 (main): Call the new functions.
2762 * sysdeps/i386/fpu/libm-test-ulps: Update.
2763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2765 2012-03-05 Tom de Vries <tom@codesourcery.com>
2767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2768 default stack guard is set in last bytes.
2769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2771 2012-03-05 Kees Cook <keescook@chromium.org>
2773 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2776 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2777 possibly allocate from heap instead of stack.
2778 * stdio-common/bug-vfprintf-nargs.c: New file.
2779 * stdio-common/Makefile (tests): Add nargs overflow test.
2781 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2785 2012-03-03 Marek Polacek <polacek@redhat.com>
2787 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2788 * math/math_private.h: Likewise.
2789 * stdlib/tst-strtod.c: Likewise.
2790 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2791 * sysdeps/x86_64/bits/atomic.h: Likewise.
2793 2012-03-02 David S. Miller <davem@davemloft.net>
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2799 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2800 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2801 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2802 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2804 2012-03-02 Roland McGrath <roland@hack.frob.com>
2807 * manual/examples/README: New file, says the example source files
2808 can be used under GPL>=2.
2809 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2810 line containing just "*/".
2811 * manual/examples/add.c: Add copyright header (GPL>=2).
2812 * manual/examples/argp-ex1.c: Likewise.
2813 * manual/examples/argp-ex2.c: Likewise.
2814 * manual/examples/argp-ex3.c: Likewise.
2815 * manual/examples/argp-ex4.c: Likewise.
2816 * manual/examples/atexit.c: Likewise.
2817 * manual/examples/db.c: Likewise.
2818 * manual/examples/dir.c: Likewise.
2819 * manual/examples/dir2.c: Likewise.
2820 * manual/examples/execinfo.c: Likewise.
2821 * manual/examples/filecli.c: Likewise.
2822 * manual/examples/filesrv.c: Likewise.
2823 * manual/examples/fmtmsgexpl.c: Likewise.
2824 * manual/examples/genpass.c: Likewise.
2825 * manual/examples/inetcli.c: Likewise.
2826 * manual/examples/inetsrv.c: Likewise.
2827 * manual/examples/isockad.c: Likewise.
2828 * manual/examples/longopt.c: Likewise.
2829 * manual/examples/memopen.c: Likewise.
2830 * manual/examples/memstrm.c: Likewise.
2831 * manual/examples/mkfsock.c: Likewise.
2832 * manual/examples/mkisock.c: Likewise.
2833 * manual/examples/mygetpass.c: Likewise.
2834 * manual/examples/pipe.c: Likewise.
2835 * manual/examples/popen.c: Likewise.
2836 * manual/examples/rprintf.c: Likewise.
2837 * manual/examples/search.c: Likewise.
2838 * manual/examples/select.c: Likewise.
2839 * manual/examples/setjmp.c: Likewise.
2840 * manual/examples/sigh1.c: Likewise.
2841 * manual/examples/sigusr.c: Likewise.
2842 * manual/examples/stpcpy.c: Likewise.
2843 * manual/examples/strdupa.c: Likewise.
2844 * manual/examples/strftim.c: Likewise.
2845 * manual/examples/strncat.c: Likewise.
2846 * manual/examples/subopt.c: Likewise.
2847 * manual/examples/swapcontext.c: Likewise.
2848 * manual/examples/termios.c: Likewise.
2849 * manual/examples/testopt.c: Likewise.
2850 * manual/examples/testpass.c: Likewise.
2851 * manual/examples/timeval_subtract.c: Likewise.
2854 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2856 * manual/timeval_subtract.c.texi: ... here, new file.
2858 2012-03-02 David S. Miller <davem@davemloft.net>
2860 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2862 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2865 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2866 (__sin): Save and restore rounding mode and use round-to-nearest
2867 for all computations.
2868 (__cos): Save and restore rounding mode and use round-to-nearest
2869 for all computations.
2870 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2872 (tan): Save and restore rounding mode and use round-to-nearest for
2874 * math/libm-test.inc (cos_test_tonearest): New function.
2875 (cos_test_towardzero): Likewise.
2876 (cos_test_downward): Likewise.
2877 (cos_test_upward): Likewise.
2878 (sin_test_tonearest): Likewise.
2879 (sin_test_towardzero): Likewise.
2880 (sin_test_downward): Likewise.
2881 (sin_test_upward): Likewise.
2882 (tan_test_tonearest): Likewise.
2883 (tan_test_towardzero): Likewise.
2884 (tan_test_downward): Likewise.
2885 (tan_test_upward): Likewise.
2886 (main): Call the new functions.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2891 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2892 small n, then large n, before computing and testing k+n.
2893 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2898 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2899 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2905 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2906 * math/libm-test.inc (scalbn_test): Add more tests.
2907 (scalbln_test): Likewise.
2909 * manual/filesys.texi (mode_t): Describe constraints on size and
2910 signedness, not exact equivalence to a particular type.
2912 (ino64_t): Likewise.
2914 (nlink_t): Likewise.
2915 (blkcnt_t): Likewise.
2916 (blkcnt64_t): Likewise.
2917 * manual/llio.texi (off_t): Likewise.
2920 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2921 (__ieee754_exp): Save and restore rounding mode and use
2922 round-to-nearest for all computations.
2923 * math/libm-test.inc (exp_test_tonearest): New function.
2924 (exp_test_towardzero): Likewise.
2925 (exp_test_downward): Likewise.
2926 (exp_test_upward): Likewise.
2927 (main): Call the new functions.
2928 * sysdeps/i386/fpu/libm-test-ulps: Update.
2929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2931 2012-03-01 Chris Demetriou <cgd@google.com>
2933 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2934 have predictable order.
2936 2012-03-01 David S. Miller <davem@davemloft.net>
2938 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2940 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2941 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2942 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2943 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2945 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2946 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2947 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2949 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2950 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2951 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2953 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2958 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2961 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2962 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2963 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2964 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2965 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2967 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2968 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2969 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2970 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2971 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2977 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2978 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2979 * sysdeps/sparc/elf/configure: Regenerated.
2981 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2983 * configure.in (AS, LD): Require binutils 2.20 or later.
2984 * configure: Regenerated.
2985 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2986 as required minimum version.
2987 * INSTALL: Regenerated.
2991 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2992 before squaring exponent.
2993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2994 bottom long double and 27 bits of top long double before squaring
2996 * math/libm-test.inc (erfc_test): Add more tests.
2997 * sysdeps/i386/fpu/libm-test-ulps: Update.
2998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3001 2012-03-01 Kai Tietz <ktietz@redhat.com>
3003 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3004 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3005 containing bit-fields.
3006 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3007 * soft-fp/single.h (_FP_UNION_S): Likewise.
3008 * soft-fp/double.h (_FP_UNION_D): Likewise.
3010 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3013 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3014 not include ../strcmp.S.
3015 [USE_AS_STRNCASECMP_L]: Likewise.
3016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3017 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3018 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3019 (__strncasecmp_l_ia32): Define as alias to
3020 __strncasecmp_l_nonascii.
3023 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3024 * sysdeps/i386/fpu/libm-test-ulps: Update.
3025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3027 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3030 2012-02-29 Jeff Law <law@redhat.com>
3032 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3035 2012-02-29 Marek Polacek <polacek@redhat.com>
3038 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3039 * elf/Makefile: Add rules to run tst-unused-dep.out.
3041 2012-02-28 David S. Miller <davem@davemloft.net>
3043 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3044 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3045 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3050 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3052 * math/libm-test.inc (llround_test): Move one test from
3053 lround_test. Use TEST_f_L in moved test.
3054 (lround_test): Move misplaced test to llround_test. Add testcase
3057 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3059 * sysdeps/x86_64/fpu/e_expf.S: New file.
3060 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3062 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3065 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3066 of remain_len that may cause incomplete multi-byte character and
3068 * posix/bug-regex33.c: New file.
3069 * posix/Makefile (tests): Add bug-regex33.
3071 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3073 * manual/macros.texi: New file.
3074 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3075 * manual/libc.texinfo: Include macros.texi.
3076 * manual/creatute.texi: Likewise.
3077 * manual/install.texi: Likewise.
3078 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3079 @glibcadj{} in references to the GNU C Library.
3080 * manual/charset.texi: Likewise.
3081 * manual/conf.texi: Likewise.
3082 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3083 when not using those macros.
3084 * manual/creature.texi: Likewise.
3085 * manual/crypt.texi: Likewise.
3086 * manual/errno.texi: Likewise.
3087 * manual/filesys.texi: Likewise.
3088 * manual/header.texi: Likewise.
3089 * manual/install.texi: Likewise.
3090 * manual/intro.texi: Likewise.
3091 * manual/io.texi: Likewise.
3092 * manual/job.texi: Likewise.
3093 * manual/lang.texi: Likewise.
3094 * manual/libc.texiinfo: Likewise.
3095 * manual/llio.texi: Likewise.
3096 * manual/locale.texi: Likewise.
3097 * manual/maint.texi: Likewise.
3098 * manual/math.texi: Likewise.
3099 * manual/memory.texi: Likewise.
3100 * manual/message.texi: Likewise.
3101 * manual/nss.texi: Likewise.
3102 * manual/pattern.texi: Likewise.
3103 * manual/process.texi: Likewise.
3104 * manual/resource.texi: Likewise.
3105 * manual/search.texi: Likewise.
3106 * manual/setjmp.texi: Likewise.
3107 * manual/signal.texi: Likewise.
3108 * manual/socket.texi: Likewise.
3109 * manual/startup.texi: Likewise.
3110 * manual/stdio.texi: Likewise.
3111 * manual/string.texi: Likewise.
3112 * manual/sysinfo.texi: Likewise.
3113 * manual/syslog.texi: Likewise.
3114 * manual/terminal.texi: Likewise.
3115 * manual/time.texi: Likewise.
3116 * manual/users.texi: Likewise.
3117 * INSTALL: Regenerated.
3118 * NOTES: Regenerated.
3119 * sysdeps/gnu/errlist.c: Regenerated.
3121 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3123 * include/dirent.h: Include <dirstream.h> before
3126 2012-02-28 David S. Miller <davem@davemloft.net>
3128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3129 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3130 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3131 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3133 2012-02-27 David S. Miller <davem@davemloft.net>
3135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3137 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3138 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3141 frame pointer instead of stack pointer relative arg slot.
3142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3146 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3149 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3151 2012-02-27 David S. Miller <davem@davemloft.net>
3153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3157 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3158 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3159 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3160 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3162 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3164 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3165 later. Allow versions 5-9.
3166 * configure: Regenerated.
3167 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3168 required minimum version and 4.6 as recommended version. Do not
3169 mention bugs in GCC 2.7 and 2.8.
3170 * INSTALL: Regenerated.
3172 2012-02-27 David S. Miller <davem@davemloft.net>
3174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3180 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3184 manipulate bits before adding and subtracting TWO112[sx].
3185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3187 2012-02-27 Roland McGrath <roland@hack.frob.com>
3190 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3191 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3192 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3193 being in POSIX, because they are in 1003.1-2008.
3195 * rt/tst-aio.c: Include <fcntl.h>.
3196 * rt/tst-aio7.c: Likewise.
3197 * rt/tst-aio64.c: Likewise.
3199 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3201 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3203 * manual/install.texi (--with-headers): Describe headers as
3204 interface headers, not private headers.
3205 (Specific advice for GNU/Linux systems): Describe use of headers
3206 from "make headers_install", not private headers from older
3208 * INSTALL: Regenerated.
3209 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3211 * sysdeps/unix/sysv/linux/configure: Regenerated.
3213 * manual/llio.texi (fclean): Remove documentation.
3215 * manual/Makefile (libc-texi-generated): New variable. Include
3217 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3218 $(libc-texi-generated), not duplicated list of files.
3219 (version.texi, stamp-version): New rules.
3220 (realclean): Remove $(libc-texi-generated), not individual files
3221 from that list. Do not remove dir-add.texinfo.
3222 * manual/libc.texinfo: Comment out uses of edition numbers and
3223 references to printed manual. Remove last-updated dates.
3224 (EDITION): Comment out.
3226 (VERSION, UPDATED): Remove.
3227 (version.texi): Include.
3229 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3231 * sysdeps/posix/spawni.c: Include <signal.h>.
3232 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3233 * sysdeps/pthread/aio_fsync.c: Likewise.
3235 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3237 * conform/Makefile (tests): Run only when not cross-compiling and
3238 when fast-check is not defined.
3240 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3241 * conform/data/limits.h-data: Fixes for POSIX2008.
3242 * conform/run-conformtest.sh: Run all tests.
3243 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3245 * include/bits/dlfcn.h: Likewise.
3246 * include/langinfo.h: Likewise.
3247 * include/monetary.h: Likewise.
3248 * include/sys/poll.h: Likewise.
3250 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3252 * posix/spawn.h: Define __need_sigset_t.
3253 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3254 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3255 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3256 to get sigevent_t only.
3257 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3260 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3261 process_vm_writev only for __USE_GNU.
3262 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3264 * conform/Makefile: For now ignore errors from run-conformtest.
3265 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3266 POSIX to avoid namespace pollution. Don't prepend headers.
3267 * conform/data/aio.h-data: Fixes for POSIX testing.
3268 * conform/data/fcntl.h-data: Likewise.
3269 * conform/data/glob.h-data: Likewise.
3270 * conform/data/grp.h-data: Likewise.
3271 * conform/data/pthread.h-data: Likewise.
3272 * conform/data/pwd.h-data: Likewise.
3273 * conform/data/signal.h-data: Likewise.
3274 * conform/data/spawn.h-data: Likewise.
3275 * conform/data/stdio.h-data: Likewise.
3276 * conform/data/stdlib.h-data: Likewise.
3277 * conform/data/stropts.h-data: Likewise.
3278 * conform/data/sys/mman.h-data: Likewise.
3279 * conform/data/sys/stat.h-data: Likewise.
3280 * conform/data/sys/types.h-data: Likewise.
3281 * conform/data/sys/wait.h-data: Likewise.
3282 * conform/data/time.h-data: Likewise.
3283 * conform/data/unistd.h-data: Likewise.
3284 * conform/data/utime.h-data: Likewise.
3286 * io/sys/stat.h: fchmod was always in POSIX.
3287 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3288 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3289 * rt/aio.h: Define __need_timespec before including <time.h>.
3290 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3291 struct. Add forward declaration of pthread_attr_t and use it in
3293 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3295 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3296 always remove CLK_TCK definition.
3298 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3300 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3302 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3304 * conform/run-conformtest.sh: New file.
3305 * conform/Makefile: Run run-conformtest for tests.
3306 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3309 * conform/data/uchar.h-data: New file.
3310 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3311 * conform/data/arpa/inet.h-data: Likewise.
3312 * conform/data/assert.h-data: Likewise.
3313 * conform/data/complex.h-data: Likewise.
3314 * conform/data/cpio.h-data: Likewise.
3315 * conform/data/ctype.h-data: Likewise.
3316 * conform/data/dirent.h-data: Likewise.
3317 * conform/data/dlfcn.h-data: Likewise.
3318 * conform/data/errno.h-data: Likewise.
3319 * conform/data/fcntl.h-data: Likewise.
3320 * conform/data/float.h-data: Likewise.
3321 * conform/data/fmtmsg.h-data: Likewise.
3322 * conform/data/fnmatch.h-data: Likewise.
3323 * conform/data/ftw.h-data: Likewise.
3324 * conform/data/glob.h-data: Likewise.
3325 * conform/data/grp.h-data: Likewise.
3326 * conform/data/iconv.h-data: Likewise.
3327 * conform/data/inttypes.h-data: Likewise.
3328 * conform/data/langinfo.h-data: Likewise.
3329 * conform/data/libgen.h-data: Likewise.
3330 * conform/data/limits.h-data: Likewise.
3331 * conform/data/locale.h-data: Likewise.
3332 * conform/data/math.h-data: Likewise.
3333 * conform/data/monetary.h-data: Likewise.
3334 * conform/data/mqueue.h-data: Likewise.
3335 * conform/data/ndbm.h-data: Likewise.
3336 * conform/data/net/if.h-data: Likewise.
3337 * conform/data/netdb.h-data: Likewise.
3338 * conform/data/netinet/in.h-data: Likewise.
3339 * conform/data/nl_types.h-data: Likewise.
3340 * conform/data/poll.h-data: Likewise.
3341 * conform/data/pthread.h-data: Likewise.
3342 * conform/data/pwd.h-data: Likewise.
3343 * conform/data/regex.h-data: Likewise.
3344 * conform/data/sched.h-data: Likewise.
3345 * conform/data/search.h-data: Likewise.
3346 * conform/data/semaphore.h-data: Likewise.
3347 * conform/data/setjmp.h-data: Likewise.
3348 * conform/data/signal.h-data: Likewise.
3349 * conform/data/spawn.h-data: Likewise.
3350 * conform/data/stdarg.h-data: Likewise.
3351 * conform/data/stdio.h-data: Likewise.
3352 * conform/data/stdlib.h-data: Likewise.
3353 * conform/data/string.h-data: Likewise.
3354 * conform/data/strings.h-data: Likewise.
3355 * conform/data/stropts.h-data: Likewise.
3356 * conform/data/sys/ipc.h-data: Likewise.
3357 * conform/data/sys/mman.h-data: Likewise.
3358 * conform/data/sys/msg.h-data: Likewise.
3359 * conform/data/sys/resource.h-data: Likewise.
3360 * conform/data/sys/select.h-data: Likewise.
3361 * conform/data/sys/sem.h-data: Likewise.
3362 * conform/data/sys/shm.h-data: Likewise.
3363 * conform/data/sys/socket.h-data: Likewise.
3364 * conform/data/sys/stat.h-data: Likewise.
3365 * conform/data/sys/statvfs.h-data: Likewise.
3366 * conform/data/sys/time.h-data: Likewise.
3367 * conform/data/sys/timeb.h-data: Likewise.
3368 * conform/data/sys/times.h-data: Likewise.
3369 * conform/data/sys/types.h-data: Likewise.
3370 * conform/data/sys/uio.h-data: Likewise.
3371 * conform/data/sys/un.h-data: Likewise.
3372 * conform/data/sys/utsname.h-data: Likewise.
3373 * conform/data/sys/wait.h-data: Likewise.
3374 * conform/data/syslog.h-data: Likewise.
3375 * conform/data/tar.h-data: Likewise.
3376 * conform/data/termios.h-data: Likewise.
3377 * conform/data/utime.h-data: Likewise.
3378 * conform/data/utmpx.h-data: Likewise.
3379 * conform/data/varargs.h-data: Likewise.
3380 * conform/data/wchar.h-data: Likewise.
3381 * conform/data/wctype.h-data: Likewise.
3382 * conform/data/wordexp.h-data: Likewise.
3384 * include/stropts.h: New file.
3385 * include/uchar.h: New file.
3386 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3387 * include/assert.h: Likewise.
3388 * include/ctype.h: Likewise.
3389 * include/dirent.h: Likewise.
3390 * include/dlfcn.h: Likewise.
3391 * include/fcntl.h: Likewise.
3392 * include/fnmatch.h: Likewise.
3393 * include/glob.h: Likewise.
3394 * include/grp.h: Likewise.
3395 * include/libio.h: Likewise.
3396 * include/locale.h: Likewise.
3397 * include/math.h: Likewise.
3398 * include/net/if.h: Likewise.
3399 * include/netdb.h: Likewise.
3400 * include/netinet/in.h: Likewise.
3401 * include/pthread.h: Likewise.
3402 * include/pwd.h: Likewise.
3403 * include/regex.h: Likewise.
3404 * include/sched.h: Likewise.
3405 * include/search.h: Likewise.
3406 * include/setjmp.h: Likewise.
3407 * include/signal.h: Likewise.
3408 * include/stdio.h: Likewise.
3409 * include/stdlib.h: Likewise.
3410 * include/string.h: Likewise.
3411 * include/sys/cdefs.h: Likewise.
3412 * include/sys/mman.h: Likewise.
3413 * include/sys/msg.h: Likewise.
3414 * include/sys/resource.h: Likewise.
3415 * include/sys/select.h: Likewise.
3416 * include/sys/socket.h: Likewise.
3417 * include/sys/stat.h: Likewise.
3418 * include/sys/statvfs.h: Likewise.
3419 * include/sys/time.h: Likewise.
3420 * include/sys/times.h: Likewise.
3421 * include/sys/uio.h: Likewise.
3422 * include/sys/utsname.h: Likewise.
3423 * include/sys/wait.h: Likewise.
3424 * include/termios.h: Likewise.
3425 * include/time.h: Likewise.
3426 * include/ulimit.h: Likewise.
3427 * include/unistd.h: Likewise.
3428 * include/utime.h: Likewise.
3429 * include/wchar.h: Likewise.
3430 * include/wctype.h: Likewise.
3431 * include/wordexp.h: Likewise.
3433 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3435 * time/time.h: TIME_UTC must be a macro.
3436 Make timespec_get available for ISO C11 only as well.
3438 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3440 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3441 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3443 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3445 * configure.in: Use -o not -a in test for unsupported multi-arch.
3447 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3449 * manual/texinfo.tex: Update to version 2012-01-19.16.
3451 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3453 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3455 2012-02-24 Roland McGrath <roland@hack.frob.com>
3458 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3459 * manual/fdl-1.3.texi: New file.
3460 * manual/fdl-1.1.texi: File removed.
3463 * manual/libc.texinfo (FDL_VERSION): New @set.
3464 Use it for mention of FDL in cover text.
3465 (Documentation License): Use it in @include file name.
3467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3468 Roland McGrath <roland@hack.frob.com>
3471 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3472 not LONG_LONG_MAX and LONG_LONG_MIN.
3473 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3474 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3476 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3478 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3482 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3483 manipulate bits before adding and subtracting TWO23[sx].
3484 * math/libm-test.inc (nearbyint_test): Add more tests.
3486 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3490 bits before adding and subtracting TWO23[sx].
3491 * math/libm-test.inc (rint_test): Add more tests.
3492 (rint_test_tonearest): Likewise.
3493 (rint_test_towardzero): Likewise.
3494 (rint_test_downward): Likewise.
3495 (rint_test_upward: Likewise.
3497 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3500 * include/stdc-predef.h: New file. Extracted from features.h.
3501 * include/features.h: Include stdc-predef.h.
3502 * Makefile (headers): Add stdc-predef.h.
3503 * CONFORMANCE (Compiler limitations): Update.
3505 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3507 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3509 2012-02-21 David S. Miller <davem@davemloft.net>
3511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3512 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3514 2012-02-20 David S. Miller <davem@davemloft.net>
3516 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3517 using a normal save/restore sequence, rather than allocating a
3518 dummy stack frame just to store a frame pointer and restore.
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3521 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3523 * manual/install.texi: Fix stray word in line-wrapped comment.
3525 2012-02-20 David S. Miller <davem@davemloft.net>
3527 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3528 both binutils and gcc support GOTDATA.
3530 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3531 "rd %pc" in the PIC register setup sequences.
3533 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3534 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3535 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3536 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3537 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3542 (SYSCALL_ERROR_HANDLER): Likewise.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3546 (SYSCALL_ERROR_HANDLER): Likewise.
3548 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3549 (HAVE_GCC_GOTDATA): New.
3550 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3551 relocation support in both binutils and gcc.
3552 * sysdeps/sparc/elf/configure: Regenerate.
3554 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3555 * sysdeps/sparc/sparc32/elf/configure: Delete.
3556 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3557 * sysdeps/sparc/sparc64/elf/configure: Delete.
3558 * sysdeps/sparc/elf/configure.in: New file.
3559 * sysdeps/sparc/elf/configure: Generate.
3561 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3562 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3563 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3564 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3565 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3567 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3569 * manual/install.texi: Do not mention specific glibc version
3571 * manual/libc.texinfo (VERSION, UPDATED): Update.
3572 (@copying): Use @copyright{} and range of years.
3574 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3577 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3578 [crti.S not in sysdirs] (generated): Do not append.
3579 [crti.S not in sysdirs] (omit-deps): Likewise.
3580 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3581 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3582 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3583 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3584 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3586 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3587 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3588 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3589 * csu/defs.awk: Remove file.
3590 * sysdeps/generic/initfini.c: Likewise.
3591 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3593 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3596 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3599 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3600 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3603 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3605 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3606 (__EPOLL_PACKED): Define to empty if not defined by
3608 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3612 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3614 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3615 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3617 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3619 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3623 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3625 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3628 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3632 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3634 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3637 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3639 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3640 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3642 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3644 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3647 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3649 * math/w_acos.c: Use non-signaling floating-point comparisons.
3650 * math/w_acosf.c: Likewise.
3651 * math/w_acosh.c: Likewise.
3652 * math/w_acoshf.c: Likewise.
3653 * math/w_acoshl.c: Likewise.
3654 * math/w_acosl.c: Likewise.
3655 * math/w_asin.c: Likewise.
3656 * math/w_asinf.c: Likewise.
3657 * math/w_asinl.c: Likewise.
3658 * math/w_atanh.c: Likewise.
3659 * math/w_atanhf.c: Likewise.
3660 * math/w_atanhl.c: Likewise.
3661 * math/w_exp2.c: Likewise.
3662 * math/w_exp2f.c: Likewise.
3663 * math/w_exp2l.c: Likewise.
3664 * math/w_j0.c: Likewise.
3665 * math/w_j0f.c: Likewise.
3666 * math/w_j0l.c: Likewise.
3667 * math/w_j1.c: Likewise.
3668 * math/w_j1f.c: Likewise.
3669 * math/w_j1l.c: Likewise.
3670 * math/w_jn.c: Likewise.
3671 * math/w_jnf.c: Likewise.
3672 * math/w_log.c: Likewise.
3673 * math/w_log10.c: Likewise.
3674 * math/w_log10f.c: Likewise.
3675 * math/w_log10l.c: Likewise.
3676 * math/w_log2.c: Likewise.
3677 * math/w_log2f.c: Likewise.
3678 * math/w_log2l.c: Likewise.
3679 * math/w_logf.c: Likewise.
3680 * math/w_logl.c: Likewise.
3681 * math/w_sqrt.c: Likewise.
3682 * math/w_sqrtf.c: Likewise.
3683 * math/w_sqrtl.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3690 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3693 * manual/string.texi (strnlen): Use correct parameter name in
3694 equivalent expression.
3696 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3699 * manual/users.texi (seteuid): Consistently use neweuid for
3702 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3705 * manual/nss.texi (Services in the NSS configuration): Correct
3706 list of services in example configuration file.
3708 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3711 * manual/arith.texi: Remove statements about negative zero
3712 behaving identically to zero.
3714 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3717 * manual/install.texi: Do not document upgrading from libc5.
3719 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3722 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3724 2012-02-18 David S. Miller <davem@davemloft.net>
3726 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3727 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3728 %o7 across the call.
3729 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3734 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3735 * sysdeps/sparc/crtn.S: Likewise.
3737 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3739 * aout/Makefile: Remove.
3741 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3744 * manual/examples/argp-ex1.c (main): Format definition in GNU
3746 * manual/examples/argp-ex2.c (main): Likewise.
3747 * manual/examples/argp-ex3.c (main): Likewise.
3748 * manual/examples/argp-ex4.c (main): Likewise.
3749 * manual/examples/longopt.c (main): Use new-style prototype
3751 * manual/examples/strncat.c (main): Specify return type and use
3752 (void) for arguments.
3753 * manual/examples/subopt.c (main): Use char **argv argument.
3755 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3758 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3761 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3764 * manual/string.texi (strchr): Change when strchrnul is
3767 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3770 * manual/locale.texi (setlocale): Document LOCPATH.
3772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3775 * manual/process.texi (execle): Move @dots{} before last argument.
3777 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3780 * manual/charset.texi (Generic Charset Conversion): Fix typo
3781 (LC_TYPE -> LC_CTYPE).
3783 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3786 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3787 (scalbnf): Likewise.
3788 (scalbnl): Likewise.
3789 (scalbln): Likewise.
3790 (scalblnf): Likewise.
3791 (scalblnl): Likewise.
3792 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3796 * manual/filesys.texi (telldir): Use braces around return type.
3797 * manual/llio.texi (mmap): Add space after comma.
3799 * manual/math.texi (jn): Use @var{} on parameter names.
3805 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3807 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3809 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3810 (sched_get_priority_max): Likewise.
3811 * manual/signal.texi (sigvec): Add space after comma.
3812 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3814 (if_indextoname): Likewise.
3815 (if_freenameindex): Likewise.
3816 (sendto): Use ',' instead of '.' in prototype.
3817 * manual/startup.texi (syscall): Use @dots{} instead of literal
3819 * manual/stdio.texi (__fpending): Separate initial words of
3820 paragraph from @deftypefun line.
3821 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3823 (vsyslog): Use @var{} on parameter names.
3824 * manual/terminal.texi (stty): Use @var{} on parameter names.
3825 * manual/users.texi (getutmp): Use @var{} on parameter names.
3826 (getutmpx): Likewise.
3828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3831 * manual/stdio.texi (fopen): Fix typos in description of
3834 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3837 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3838 get clock_id definition.
3840 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3843 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3844 (madvise): Cast every argument to void on its own.
3846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3849 * manual/startup.texi (Exit Status): Fix typo.
3851 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3854 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3855 * manual/examples/argp-ex2.c: Likewise.
3856 * manual/examples/argp-ex3.c: Likewise.
3858 2012-02-16 Richard Henderson <rth@redhat.com>
3860 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3861 * sysdeps/s390/s390-32/initfini.c: Remove.
3862 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3863 * sysdeps/s390/s390-64/initfini.c: Remove.
3865 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3867 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3868 compiler output for sysdeps/generic/initfini.c.
3869 * sysdeps/sh/elf/initfini.c: Remove file.
3871 2012-02-16 David S. Miller <davem@davemloft.net>
3874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3876 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3877 * sysdeps/sparc/crti.S: New file.
3878 * sysdeps/sparc/crtn.S: New file.
3879 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3880 * sysdeps/sparc/sparc64/Makefile: Likewise.
3882 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3885 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3887 2012-02-15 Roland McGrath <roland@hack.frob.com>
3890 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3892 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3893 (write, read, close): Likewise.
3894 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3896 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3898 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3899 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3901 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3903 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3907 2012-02-14 Marek Polacek <polacek@redhat.com>
3909 * sysdeps/x86_64/crti.S: New file.
3910 * sysdeps/x86_64/crtn.S: New file.
3911 * sysdeps/x86_64/elf/initfini.c: Remove file.
3913 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3915 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3916 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3917 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3918 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3920 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3924 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3926 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3927 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3929 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3931 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3935 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3937 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3938 __feraiseexcept instead of feraiseexcept.
3940 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3941 nanosleep invocations.
3942 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3943 strings, and add error checking for a nanosleep invocations.
3945 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3947 Replace FSF snail mail address with URLs, as per GNU coding standards.
3948 Most of the snail mail addresses were wrong anyway, and omitting
3949 them makes the source code easier to maintain. Almost all of the
3950 changes are to license notices and to locale LC_IDENTIFICATION
3951 addresses, except for this one:
3952 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3953 not its snail mail address.
3955 2012-02-09 Richard Henderson <rth@twiddle.net>
3957 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3958 of kernel-features.h.
3960 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3962 2012-02-08 Marek Polacek <polacek@redhat.com>
3964 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3965 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3966 * sysdeps/gnu/_G_config.h: Likewise.
3967 * sysdeps/generic/_G_config.h: Likewise.
3969 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3971 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3975 * sysdeps/powerpc/powerpc32/crti.S: New file.
3976 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3977 * sysdeps/powerpc/powerpc64/crti.S: New file.
3978 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3980 * Makeconfig (have-initfini): Don't set.
3981 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3982 * configure.in (nopic_initfini): Don't substitute.
3983 * config.h.in (HAVE_INITFINI): Don't #undef.
3984 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3985 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3987 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3989 Support crti.S and crtn.S provided directly by architectures.
3990 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3991 [crti.S in sysdirs] (omit-deps): Likewise.
3992 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3993 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3994 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3995 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3996 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3997 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3998 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3999 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4000 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4001 compiler output for sysdeps/generic/initfini.c.
4002 * sysdeps/i386/elf/Makefile: Remove file.
4003 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4005 2012-02-07 Marek Polacek <polacek@redhat.com>
4007 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4008 * sysdeps/gnu/_G_config.h: Likewise.
4009 * sysdeps/mach/hurd/_G_config.h: Likewise.
4011 2012-02-07 Marek Polacek <polacek@redhat.com>
4013 * math/Makefile (tests): Add tst-CMPLX2.
4014 * math/tst-CMPLX2.c: New file.
4016 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4020 * math/libm-test.inc (jn_test): Add missing L suffix.
4022 2012-02-06 Marek Polacek <polacek@redhat.com>
4024 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4025 * sysdeps/i386/fpu/e_powf.S: Likewise.
4026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4027 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4028 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4029 * sysdeps/i386/fpu/e_pow.S: Likewise.
4030 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4031 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4032 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4033 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4034 * sysdeps/i386/fpu/e_log2.S: Likewise.
4035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4037 * sysdeps/i386/fpu/e_powl.S: Likewise.
4038 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4039 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4040 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4041 * sysdeps/i386/fpu/e_logl.S: Likewise.
4042 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4043 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4045 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4048 * sysdeps/i386/fpu/e_log.S: Likewise.
4049 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4051 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4052 * sysdeps/i386/fpu/e_logf.S: Likewise.
4053 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4055 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4056 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4057 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4058 * sysdeps/i386/fpu/e_log10.S: Likewise.
4059 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4060 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4061 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4062 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4064 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4065 * sysdeps/i386/asm-syntax.h: Likewise.
4066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4068 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4069 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4070 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4071 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4072 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4073 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4074 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4075 * sysdeps/powerpc/sysdep.h: Likewise.
4076 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4077 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4079 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4082 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4084 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4086 * sysdeps/i386/sysdep.h: Include <features.h>.
4087 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4090 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4092 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4094 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4100 (SETUP_PIC_REG): Use GET_PC_THUNK.
4101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4104 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4107 for non-PIC compilation.
4108 (SETUP_PIC_REG): Add .p2align directive.
4109 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4110 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4114 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4117 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4118 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4119 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4120 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4121 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4122 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4123 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4124 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4125 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4141 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4144 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4145 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4146 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4147 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4148 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4149 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4151 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4153 * math/tst-CMPLX.c: Include <stdio.h>.
4155 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4157 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4159 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4160 * sysdeps/sparc/bits/mathdef.h: Likewise.
4162 2012-01-31 Marek Polacek <polacek@redhat.com>
4164 * libio/libio.h: Don't define _PARAMS.
4165 * locale/programs/config.h: Don't define PARAMS.
4166 * stdlib/strtol_l.c: Likewise.
4167 (__strtol_l): Remove PARAMS from the prototype.
4169 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4171 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4172 names. Just use the correct names. Remove unnecessary wrapper
4174 * malloc/arena.c: Likewise.
4175 * malloc/hooks.c: Likewise.
4177 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4178 ARENA_TEST says not to. Simplify test for creation of a new arena.
4179 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4181 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4183 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4185 (update_get_addr): New function.
4186 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4187 GET_ADDR_MODULE parameter.
4189 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4191 * crypt/cert.c: Remove __STDC__ conditionals.
4192 * crypt/crypt-entry.c: Likewise.
4193 * crypt/crypt_util.c: Likewise.
4194 * libio/filedoalloc.c: Likewise.
4195 * libio/fileops.c: Likewise.
4196 * libio/genops.c: Likewise.
4197 * libio/iofclose.c: Likewise.
4198 * libio/iofdopen.c: Likewise.
4199 * libio/iofopen.c: Likewise.
4200 * libio/iofopen64.c: Likewise.
4201 * libio/iogetdelim.c: Likewise.
4202 * libio/iopopen.c: Likewise.
4203 * libio/obprintf.c: Likewise.
4204 * libio/oldfileops.c: Likewise.
4205 * libio/oldiofclose.c: Likewise.
4206 * libio/oldiofdopen.c: Likewise.
4207 * libio/oldiofopen.c: Likewise.
4208 * libio/oldiopopen.c: Likewise.
4209 * libio/wfiledoalloc.c: Likewise.
4210 * libio/wgenops.c: Likewise.
4211 * locale/programs/xmalloc.c: Likewise.
4212 * misc/syslog.c: Likewise.
4213 * stdio-common/xbug.c: Likewise.
4214 * string/memchr.c: Likewise.
4215 * string/memcmp.c: Likewise.
4216 * string/memrchr.c: Likewise.
4217 * string/rawmemchr.c: Likewise.
4218 * sysdeps/posix/getcwd.c: Likewise.
4219 * time/strftime_l.c: Likewise.
4221 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4223 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4224 * config.make.in (config-cflags-sse2avx): Define.
4225 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4228 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4230 * scripts/config.guess: Update from upstream config git repository.
4231 * scripts/config.sub: Likewise.
4233 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4235 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4237 (R_TILEPRO_*, R_TILEGX_*): New macros.
4239 * scripts/firstversions.awk: Fix bug in version range handling.
4241 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4243 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4245 * include/sys/epoll.h: New file.
4246 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4249 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4251 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4252 Avoid unnecessary __WORDSIZE == 64 test.
4253 (fmaxf): Use VEX format if possible.
4258 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4259 * math/math_private.h: Remove libc_fegetround* and
4261 * sysdeps/i386/configure.in: Check for -msse2avx.
4262 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4263 also if SSE2AVX is defined.
4264 Remove libc_fegetround* and libc_fesetround*.
4265 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4266 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4270 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4275 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4277 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4279 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4283 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4286 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4288 * Makeconfig (libm): Define.
4289 * elf/Makefile: Add rules to build and run tst-relsort1.
4290 * elf/tst-relsort1.c: New file.
4291 * elf/tst-relsort1mod1.c: New file.
4292 * elf/tst-relsort1mod2.c: New file.
4294 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4296 * math/s_ldexp.c: Remove __STDC__ conditionals.
4297 * math/s_ldexpf.c: Likewise.
4298 * math/s_ldexpl.c: Likewise.
4299 * math/s_nextafter.c: Likewise.
4300 * math/s_nexttowardf.c: Likewise.
4301 * math/s_significand.c: Likewise.
4302 * math/s_significandf.c: Likewise.
4303 * math/s_significandl.c: Likewise.
4304 * math/w_jnl.c: Likewise.
4305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4337 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4338 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4339 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4345 * sysdeps/ieee754/k_standard.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4407 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4425 * sysdeps/ieee754/s_matherr.c: Likewise.
4426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4431 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4433 * crypt/md5.h: Remove __STDC__ conditionals.
4434 * libio/libioP.h: Likewise.
4435 * locale/programs/config.h: Likewise.
4436 * sysdeps/generic/sysdep.h: Likewise.
4437 * sysdeps/i386/asm-syntax.h: Likewise.
4438 * sysdeps/s390/asm-syntax.h: Likewise.
4439 * sysdeps/unix/sysdep.h: Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4443 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4445 * libio/libio.h: Remove __STDC__ conditionals.
4446 * malloc/obstack.h: Likewise.
4447 * math/complex.h: Likewise.
4448 * math/math.h: Likewise.
4449 * sysdeps/generic/_G_config.h: Likewise.
4450 * sysdeps/gnu/_G_config.h: Likewise.
4451 * sysdeps/mach/hurd/_G_config.h: Likewise.
4452 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4453 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4454 * sysdeps/sparc/bits/mathdef.h: Likewise.
4456 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4459 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4460 Clean up HAS_* macros.
4461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4462 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4472 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4474 * elf/tst-unique3.cc (gets): Remove declaration.
4475 * elf/tst-unique3lib.cc (gets): Likewise.
4476 * elf/tst-unique3lib2.cc (gets): Likewise.
4477 * elf/tst-unique4.cc (gets): Likewise.
4479 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4481 * include/stdio.h: Add C++ protection. Add gets declarations and
4483 * debug/tst-chk1.c: Don't declare gets here.
4484 * stdio-common/tst-gets.c: Likewise.
4486 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4488 * posix/glob: Remove directory.
4490 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4492 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4494 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4496 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4497 of the non-standard EPFNOSUPPORT.
4499 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4501 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4502 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4503 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4505 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4507 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4509 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4511 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4513 * nscd/grpcache.c (cache_addgr): Likewise.
4514 * nscd/hstcache.c (cache_addhst): Likewise.
4515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4516 * nscd/pwdcache.c (cache_addpw): Likewise.
4517 * nscd/servicescache.c (cache_addserv): Likewise.
4519 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4521 * malloc/malloc.c: Various cleanups.
4522 * malloc/hooks.c: Likewise.
4524 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4525 * stdlib/bug-fmtmsg1.c: New file.
4527 * stdlib/fmtmsg.c (init): Add missing unlock.
4528 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4530 2012-01-12 Marek Polacek <polacek@redhat.com>
4532 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4535 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4537 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4538 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4539 macro to ensure uniqueness of label name.
4540 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4541 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4543 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4545 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4552 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4556 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4557 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4558 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4560 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4563 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4567 * math/bits/math-finite.h: Add ldexp support.
4569 2012-01-10 Marek Polacek <polacek@redhat.com>
4571 * locale/programs/localedef.h (show_archive_content): Add noreturn
4574 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4576 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4578 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4580 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4582 * io/Makefile (headers): Add bits/poll2.h.
4584 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4587 typo #include statement.
4589 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4591 * include/sys/cdefs.h: Define __attribute_alloc_size.
4592 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4593 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4594 * elf/pldd.c: Likewise.
4595 * iconv/iconv_charmap.c: Likewise.
4596 * iconv/iconvconfig.c: Likewise.
4597 * iconv/strtab.c: Likewise.
4598 * locale/programs/locale.c: Likewise.
4599 * locale/programs/localedef.h: Likewise.
4600 * locale/programs/simple-hash.c: Likewise.
4601 * nscd/nscd.h: Likewise.
4602 * nss/makedb.c: Likewise.
4603 * sysdeps/generic/ldconfig.h: Likewise.
4604 * locale/programs/localedef.c: Remove xmalloc prototype.
4605 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4607 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4609 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4612 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4614 * math/Makefile (tests): Add tst-CMPLX.
4615 * math/tst-CMPLX.c: New file.
4617 * math/complex.h (CMPLXL): Fix typo.
4619 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4620 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4622 * debug/tst-chk1.c: Add poll and ppoll tests.
4623 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4624 * include/sys/poll.h: Add hidden proto for ppoll.
4625 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4626 * sysdeps/mach/hurd/ppoll.c: Likewise.
4627 * io/ppoll.c: Likewise.
4628 * debug/poll_chk.c: New file.
4629 * debug/ppoll_chk.c: New file.
4630 * include/bits/poll2.h: New file.
4631 * io/bits/poll2.h: New file.
4634 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4636 * configure.in: static is always set to yes. Remove.
4637 * config.make.in: Don't set build-static.
4638 * Makeconfig: Remove use of build-static.
4639 * dlfcn/Makefile: Likewise.
4640 * elf/Makefile: Likewise.
4641 * math/Makefile: Likewise.
4642 * misc/Makefile: Likewise.
4643 * nptl/Makefile: Likewise.
4644 * sysdeps/mach/hurd/Makefile: Likewise.
4646 * configure.in: PWD_P is not used anymore.
4647 * config.make.in: Remove PWD_P entry.
4649 * configure.in: Remove last remnants of RANLIB.
4650 No need to check for signed size_t anymore.
4651 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4653 Remove __builtin_expect test because we require at least gcc 3.4.
4654 * aclocal.m4: Likewise.
4656 * wcsmbs/mbrtoc16.c: Implement using towc function.
4657 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4658 * wcsmbs/wcsmbsload.c: Likewise.
4659 * iconv/gconv_simple.c: Likewise.
4660 * iconv/gconv_int.h: Likewise.
4661 * iconv/gconv_builtin.h: Likewise.
4662 * iconv/iconv_prog.c: Remove CHAR16 handling.
4664 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4666 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4668 * configure.in: Remove --with-elf and --enable-bounded options.
4669 Dont set base_machine for ia64. More non-ELF conditions removed.
4670 Remove testing and setting of leading underscore information.
4671 * config.make.in (build-bounded): Set to no.
4672 * config.h.in: Remove NO_UNDERSCORES entry.
4673 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4675 * csu/start.c: Remove !NO_UNDERSCORE code.
4676 * locale/localeinfo.h: Likewise.
4677 * sysdeps/generic/machine-gmon.h: Likewise.
4678 * sysdeps/generic/sysdep.h: Likewise.
4679 * sysdeps/i386/sysdep.h: Likewise.
4680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4681 * sysdeps/mach/sysdep.h: Likewise.
4682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4684 * sysdeps/sh/sysdep.h: Likewise.
4685 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4686 * sysdeps/unix/i386/sysdep.S: Likewise.
4687 * sysdeps/unix/sparc/start.c: Likewise.
4688 * sysdeps/unix/sparc/sysdep.S: Likewise.
4689 * sysdeps/unix/sparc/sysdep.h: Likewise.
4690 * sysdeps/unix/start.c: Likewise.
4691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4692 * sysdeps/x86_64/sysdep.h: Likewise.
4694 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4697 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4699 * argp/argp-fmtstream.h: Use const instead __const.
4700 * argp/argp.h: Likewise.
4701 * assert/assert.h: Likewise.
4702 * bits/fenv.h: Likewise.
4703 * bits/sched.h: Likewise.
4704 * bits/sigset.h: Likewise.
4705 * bits/sigthread.h: Likewise.
4706 * catgets/nl_types.h: Likewise.
4707 * conform/data/pthread.h-data: Likewise.
4708 * crypt/crypt-private.h: Likewise.
4709 * crypt/crypt.h: Likewise.
4710 * crypt/crypt_util.c: Likewise.
4711 * ctype/ctype.h: Likewise.
4712 * debug/execinfo.h: Likewise.
4713 * debug/mbsnrtowcs_chk.c: Likewise.
4714 * debug/mbsrtowcs_chk.c: Likewise.
4715 * debug/wcsnrtombs_chk.c: Likewise.
4716 * debug/wcsrtombs_chk.c: Likewise.
4717 * debug/wcstombs_chk.c: Likewise.
4718 * dirent/dirent.h: Likewise.
4719 * dlfcn/dlfcn.h: Likewise.
4720 * elf/neededtest4.c: Likewise.
4721 * grp/grp.h: Likewise.
4722 * gshadow/gshadow.h: Likewise.
4723 * iconv/gconv.h: Likewise.
4724 * iconv/gconv_int.h: Likewise.
4725 * iconv/gconv_simple.c: Likewise.
4726 * iconv/iconv.h: Likewise.
4727 * iconv/loop.c: Likewise.
4728 * iconv/skeleton.c: Likewise.
4729 * include/aio.h: Likewise.
4730 * include/aliases.h: Likewise.
4731 * include/argz.h: Likewise.
4732 * include/arpa/inet.h: Likewise.
4733 * include/assert.h: Likewise.
4734 * include/dirent.h: Likewise.
4735 * include/dlfcn.h: Likewise.
4736 * include/execinfo.h: Likewise.
4737 * include/fcntl.h: Likewise.
4738 * include/fenv.h: Likewise.
4739 * include/glob.h: Likewise.
4740 * include/grp.h: Likewise.
4741 * include/libintl.h: Likewise.
4742 * include/mntent.h: Likewise.
4743 * include/netdb.h: Likewise.
4744 * include/pwd.h: Likewise.
4745 * include/rpc/netdb.h: Likewise.
4746 * include/sched.h: Likewise.
4747 * include/search.h: Likewise.
4748 * include/shadow.h: Likewise.
4749 * include/signal.h: Likewise.
4750 * include/stdio.h: Likewise.
4751 * include/stdlib.h: Likewise.
4752 * include/string.h: Likewise.
4753 * include/sys/socket.h: Likewise.
4754 * include/sys/stat.h: Likewise.
4755 * include/sys/statfs.h: Likewise.
4756 * include/sys/statvfs.h: Likewise.
4757 * include/sys/syslog.h: Likewise.
4758 * include/sys/time.h: Likewise.
4759 * include/sys/uio.h: Likewise.
4760 * include/time.h: Likewise.
4761 * include/unistd.h: Likewise.
4762 * include/utmp.h: Likewise.
4763 * include/wchar.h: Likewise.
4764 * include/wctype.h: Likewise.
4765 * inet/aliases.h: Likewise.
4766 * inet/arpa/inet.h: Likewise.
4767 * inet/netinet/ether.h: Likewise.
4768 * inet/netinet/in.h: Likewise.
4769 * intl/libintl.h: Likewise.
4770 * io/bits/fcntl2.h: Likewise.
4771 * io/fcntl.h: Likewise.
4772 * io/ftw.h: Likewise.
4773 * io/sys/poll.h: Likewise.
4774 * io/sys/stat.h: Likewise.
4775 * io/sys/statfs.h: Likewise.
4776 * io/sys/statvfs.h: Likewise.
4777 * io/utime.h: Likewise.
4778 * libio/bits/stdio.h: Likewise.
4779 * libio/bits/stdio2.h: Likewise.
4780 * libio/libio.h: Likewise.
4781 * libio/libioP.h: Likewise.
4782 * libio/stdio.h: Likewise.
4783 * locale/lc-ctype.c: Likewise.
4784 * locale/locale.h: Likewise.
4785 * login/utmp.h: Likewise.
4786 * malloc/arena.c: Likewise.
4787 * malloc/malloc.c: Likewise.
4788 * malloc/malloc.h: Likewise.
4789 * malloc/mcheck.c: Likewise.
4790 * malloc/mtrace.c: Likewise.
4791 * math/bits/mathcalls.h: Likewise.
4792 * math/fenv.h: Likewise.
4793 * math/math_private.h: Likewise.
4794 * misc/bits/error.h: Likewise.
4795 * misc/bits/syslog.h: Likewise.
4796 * misc/err.h: Likewise.
4797 * misc/error.h: Likewise.
4798 * misc/fstab.h: Likewise.
4799 * misc/mntent.h: Likewise.
4800 * misc/regexp.h: Likewise.
4801 * misc/search.h: Likewise.
4802 * misc/sgtty.h: Likewise.
4803 * misc/sys/mman.h: Likewise.
4804 * misc/sys/syslog.h: Likewise.
4805 * misc/sys/uio.h: Likewise.
4806 * misc/sys/xattr.h: Likewise.
4807 * misc/ttyent.h: Likewise.
4808 * nis/rpcsvc/ypclnt.h: Likewise.
4809 * nss/nss.h: Likewise.
4810 * posix/bits/unistd.h: Likewise.
4811 * posix/fnmatch.h: Likewise.
4812 * posix/glob.h: Likewise.
4813 * posix/sched.h: Likewise.
4814 * posix/spawn.h: Likewise.
4815 * posix/sys/wait.h: Likewise.
4816 * posix/unistd.h: Likewise.
4817 * posix/wordexp.h: Likewise.
4818 * pwd/pwd.h: Likewise.
4819 * resolv/netdb.h: Likewise.
4820 * resource/sys/resource.h: Likewise.
4821 * rt/aio.h: Likewise.
4822 * rt/bits/mqueue2.h: Likewise.
4823 * rt/mqueue.h: Likewise.
4824 * shadow/shadow.h: Likewise.
4825 * signal/signal.h: Likewise.
4826 * socket/send.c: Likewise.
4827 * socket/sendto.c: Likewise.
4828 * socket/sys/socket.h: Likewise.
4829 * stdio-common/printf.h: Likewise.
4830 * stdlib/bits/stdlib.h: Likewise.
4831 * stdlib/fmtmsg.h: Likewise.
4832 * stdlib/monetary.h: Likewise.
4833 * stdlib/stdlib.h: Likewise.
4834 * stdlib/ucontext.h: Likewise.
4835 * streams/stropts.h: Likewise.
4836 * string/argz.h: Likewise.
4837 * string/bits/string2.h: Likewise.
4838 * string/string.h: Likewise.
4839 * string/strings.h: Likewise.
4840 * sunrpc/rpc/auth.h: Likewise.
4841 * sunrpc/rpc/auth_des.h: Likewise.
4842 * sunrpc/rpc/clnt.h: Likewise.
4843 * sunrpc/rpc/netdb.h: Likewise.
4844 * sunrpc/rpc/pmap_clnt.h: Likewise.
4845 * sunrpc/rpc/xdr.h: Likewise.
4846 * sysdeps/generic/inttypes.h: Likewise.
4847 * sysdeps/generic/net/if.h: Likewise.
4848 * sysdeps/generic/sys/swap.h: Likewise.
4849 * sysdeps/gnu/net/if.h: Likewise.
4850 * sysdeps/gnu/utmpx.h: Likewise.
4851 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4852 * sysdeps/i386/i486/bits/string.h: Likewise.
4853 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4854 * sysdeps/s390/bits/string.h: Likewise.
4855 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4856 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4857 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4858 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4859 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4860 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4862 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4863 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4864 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4865 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4866 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4867 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4868 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4869 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4871 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4876 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4877 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4878 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4879 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4881 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4883 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4884 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4885 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4886 * sysvipc/sys/ipc.h: Likewise.
4887 * sysvipc/sys/msg.h: Likewise.
4888 * sysvipc/sys/sem.h: Likewise.
4889 * sysvipc/sys/shm.h: Likewise.
4890 * termios/termios.h: Likewise.
4891 * time/sys/time.h: Likewise.
4892 * time/time.h: Likewise.
4893 * wcsmbs/bits/wchar2.h: Likewise.
4894 * wcsmbs/uchar.h: Likewise.
4895 * wcsmbs/wchar.h: Likewise.
4896 * wctype/wctype.h: Likewise.
4899 * Makeconfig: Remove all but ELF support including AIX support.
4900 * Makerules: Likewise.
4901 * config.h.in: Likewise.
4902 * config.make.in: Likewise.
4903 * configure: Likewise.
4904 * configure.in: Likewise.
4905 * csu/Makefile: Likewise.
4906 * csu/version.c: Likewise.
4907 * debug/Makefile: Likewise.
4908 * dlfcn/Makefile: Likewise.
4909 * elf/Makefile: Likewise.
4910 * extra-lib.mk: Likewise.
4911 * iconv/Makefile: Likewise.
4912 * include/libc-symbols.h: Likewise.
4913 * include/shlib-compat.h: Likewise.
4914 * resolv/Makefile: Likewise.
4915 * resolv/res_libc.c: Likewise.
4916 * rt/Makefile: Likewise.
4917 * sysdeps/i386/asm-syntax.h: Likewise.
4918 * sysdeps/i386/sysdep.h: Likewise.
4919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4920 * sysdeps/mach/sysdep.h: Likewise.
4921 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4922 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4923 * sysdeps/s390/asm-syntax.h: Likewise.
4924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4925 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4926 * sysdeps/sh/sysdep.h: Likewise.
4927 * sysdeps/unix/sparc/sysdep.h: Likewise.
4928 * sysdeps/wordsize-32/divdi3.c: Likewise.
4929 * sysdeps/x86_64/sysdep.h: Likewise.
4931 * argp/Versions: Remove _argp_unlock_xxx.
4934 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4935 * abilist/libBrokenLocale.abilist: Likewise.
4936 * abilist/libanl.abilist: Likewise.
4937 * abilist/libc.abilist: Likewise.
4938 * abilist/libcrypt.abilist: Likewise.
4939 * abilist/libdl.abilist: Likewise.
4940 * abilist/libm.abilist: Likewise.
4941 * abilist/libnsl.abilist: Likewise.
4942 * abilist/libpthread.abilist: Likewise.
4943 * abilist/libresolv.abilist: Likewise.
4944 * abilist/librt.abilist: Likewise.
4945 * abilist/libthread_db.abilist: Likewise.
4946 * abilist/libutil.abilist: Likewise.
4947 * abilist/libnss_db.abilist: New file.
4949 * scripts/abilist.awk: Add support for indirect functions.
4951 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4953 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4955 * shlib-versions: Remove entries for ports architectures.
4957 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4959 * elf/stackguard-macros.h: Remove support for IA-64.
4960 * elf/tst-auditmod1.c: Likewise.
4961 * sysdeps/generic/ldsodefs.h: Likewise.
4963 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4964 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4968 * configure.in: Remove --enable-omitfp support.
4970 * config.make.in: Likewise.
4971 * Makeconfig: Likewise.
4972 * manual/install.texi: Likewise.
4974 In case anyone cares, the IA-64 architecture could move to ports.
4975 * sysdeps/ia64/*: Removed.
4976 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4977 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4980 * configure.in: Remove entries for unsupported architectures.
4983 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4984 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4986 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4987 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4988 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4989 fall back to using wcrtomb.
4990 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4991 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4993 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4994 * wcsmbs/tst-c16c32-1.c: New file.
4996 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4999 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5001 * elf/tst-unique3.cc: Add explicit declaration of gets.
5002 * elf/tst-unique3lib.cc: Likewise.
5003 * elf/tst-unique3lib2.cc: Likewise.
5004 * elf/tst-unique4.cc: Likewise.
5006 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5008 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5011 * assert/assert.h (static_assert): Don't define for C++.
5012 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5013 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5015 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5017 * iconv/loop.c (single loop): Fix assertion in storing of
5020 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5022 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5024 * posix/getconf.c: Update copyright year.
5025 * nss/getent.c: Likewise.
5026 * nss/makedb.c: Likewise.
5027 * iconv/iconvconfig.c: Likewise.
5028 * iconv/iconv_prog.c: Likewise.
5029 * elf/ldconfig.c: Likewise.
5030 * elf/pldd.c: Likewise.
5031 * elf/sotruss.ksh: Likewise.
5032 * catgets/gencat.c: Likewise.
5033 * csu/version.c: Likewise.
5034 * elf/ldd.bash.in: Likewise.
5035 * elf/sprof.c (print_version): Likewise.
5036 * locale/programs/locale.c: Likewise.
5037 * locale/programs/localedef.c: Likewise.
5038 * login/programs/pt_chown.c: Likewise.
5039 * nscd/nscd.c (print_version): Likewise.
5040 * debug/xtrace.sh: Likewise.
5041 * malloc/memusage.sh: Likewise.
5042 * malloc/mtrace.pl: Likewise.
5043 * debug/catchsegv.sh: Likewise.
5045 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5047 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5050 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5053 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5054 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5056 * iconv/gconv_int.h: Likewise.
5057 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5058 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5059 from libc for GLIBC_2.16.
5060 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5061 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5062 * wcsmbs/uchar.h: Really define mbstate_t.
5063 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5064 * wcsmbs/c16rtomb.c: New file.
5065 * wcsmbs/mbrtoc16.c: New file.
5066 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5068 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5069 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5071 * wcsmbs/wchar.h: Add missing __restrict.
5073 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5076 * time/Makefile (routines): Add timespec_get.
5077 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5078 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5079 timespec for ISO C11.
5080 * time/timespec_get.c: New file.
5081 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5082 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5085 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5086 * stdlib/stdlib.h: Declare aligned_alloc.
5087 * Versions.def: Add GLIBC_2.16 for libc.
5088 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5091 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5094 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5098 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5101 * assert/assert.h (static_assert): Define.
5103 * version.h: Update for 2.16 development version.
5106 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5109 * version.h (RELEASE): Bump for 2.15 release.
5110 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5112 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5113 Patch by Marek Polacek <mpolacek@redhat.com>.
5115 * bits/byteswap.h: Protect long long constants with __extension__.
5116 * sysdeps/i386/bits/byteswap.h: Likewise.
5117 * sysdeps/ia64/bits/byteswap.h: Likewise.
5118 * sysdeps/s390/bits/byteswap.h: Likewise.
5119 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5121 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5126 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5128 2011-12-23 Marek Polacek <polacek@redhat.com>
5130 * elf/dl-addr.c (determine_info): Add inline keyword.
5131 * elf/tst-auditmod4b.c (check_avx): Likewise.
5132 * elf/tst-auditmod6b.c (check_avx): Likewise.
5133 * elf/tst-auditmod6c.c (check_avx): Likewise.
5134 * elf/tst-auditmod7b.c (check_avx): Likewise.
5136 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5141 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5144 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5145 processing for last bytes.
5147 2011-08-06 Bruno Haible <bruno@clisp.org>
5150 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5151 U+0385, not to U+1FEE.
5154 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5155 entry for U+00A5 U+0301.
5157 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5160 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5161 buffer for the output is too small.
5163 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5167 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5168 SSE flags if possible.
5170 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5174 processing for last bytes.
5176 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5178 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5179 (syscall-list-default-options, syscall-list-default-condition)
5180 (syscall-list-includes): Define.
5181 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5182 list of ABIs and options and #if conditions for each ABI. Do not
5183 handle common syscalls between ABIs specially.
5184 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5186 (syscall-list-variants, syscall-list-32bit-options)
5187 (syscall-list-32bit-condition, syscall-list-64bit-options)
5188 (syscall-list-64bit-condition): Define.
5189 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5190 (syscall-list-variants, syscall-list-32bit-options)
5191 (syscall-list-32bit-condition, syscall-list-64bit-options)
5192 (syscall-list-64bit-condition): Define.
5193 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5195 (syscall-list-variants, syscall-list-32bit-options)
5196 (syscall-list-32bit-condition, syscall-list-64bit-options)
5197 (syscall-list-64bit-condition): Define.
5198 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5200 (syscall-list-variants, syscall-list-32bit-options)
5201 (syscall-list-32bit-condition, syscall-list-64bit-options)
5202 (syscall-list-64bit-condition): Define.
5204 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5206 * locale/iso-639.def: Add brx entry.
5209 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5210 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5212 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5213 __feraiseexcept_renamed.
5215 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5218 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5219 EPOLLET with unsigned values.
5220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5223 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5224 to large cancellation.
5225 * math/s_cacoshf.c: Likewise.
5226 * math/s_cacoshl.c: Likewise.
5228 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5232 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5233 * math/s_cacoshf.c: Likewise.
5234 * math/s_cacoshl.c: Likewise.
5236 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5239 * iconv/gconv.h: Define __GCONV_SWAP.
5240 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5241 * iconvdata/utf-16.c: Likewise.
5242 * iconvdata/utf-32.c: Likewise.
5244 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5248 numerator after shifting it by one limb.
5250 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5253 under [__USE_EXTERN_INLINES].
5255 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5258 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5260 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5263 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5265 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5267 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5268 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5269 for strncasecmp/strncasecmp_l compilation.
5270 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5271 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5273 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5276 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5279 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5282 * time/tzfile.c (__tzfile_read): Check values from file header.
5284 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5286 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5287 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5288 * powerpc/powerpc32/dl-start.S: Likewise.
5289 * powerpc/powerpc32/elf/start.S: Likewise.
5290 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5291 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5292 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5293 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5294 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5295 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5296 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5297 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5298 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5299 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5300 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5301 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5302 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5303 * powerpc/powerpc32/memset.S: Likewise.
5304 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5305 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5306 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5307 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5308 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5309 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5310 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5311 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5312 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5313 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5314 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5315 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5316 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5318 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320 * math/libm-test.inc: Added more nearbyint tests.
5321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5323 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5324 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5326 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5328 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5331 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5333 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5334 Add wcscpy-ssse3 wcscpy-c.
5335 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5336 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5337 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5338 * sysdeps/x86_64/wcschr.S: New file.
5339 * sysdeps/x86_64/wcsrchr.S: New file.
5340 * string/test-strcmp.c: Remove checking of wcscmp function for
5342 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5343 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5344 wcsrchr-sse2 wcsrchr-c.
5345 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5346 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5347 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5348 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5349 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5350 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5351 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5352 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5353 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5354 * wcsmbc/wcschr.c (WCSCHR): New macro.
5356 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5358 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5359 * wcsmbs/test-wcsrchr.c: New file.
5360 * string/test-strrchr.c: Add wcsrchr support.
5362 * wcsmbs/test-wcscpy.c: New file.
5363 * string/test-strcpy.c: Add wcscpy support.
5366 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5368 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5371 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5374 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5376 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5378 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5379 Minor optimizations.
5381 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5382 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5383 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5385 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5387 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5388 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5389 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5390 for gcc to avoid warnings.
5391 * inet/Makefile (tests): Add tst-checks.
5392 * inet/tst-checks.c: New file.
5394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5397 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5400 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5401 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5403 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5405 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5407 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5410 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5412 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5414 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5415 conditional on GCC version.
5416 (__arch_compare_and_exchange_val_8_acq)
5417 (__arch_compare_and_exchange_val_16_acq)
5418 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5419 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5420 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5422 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5424 * sysdeps/sh/backtrace.c: New file.
5426 2011-12-02 Andreas Schwab <schwab@redhat.com>
5428 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5431 2011-12-01 Andreas Schwab <schwab@redhat.com>
5433 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5434 falling back to utime.
5436 2011-11-30 Andreas Schwab <schwab@redhat.com>
5438 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5439 expectations for float.
5441 2011-11-29 Andreas Schwab <schwab@redhat.com>
5443 * locale/weight.h (findidx): Add parameter len.
5444 * locale/weightwc.h (findidx): Likewise.
5445 * posix/fnmatch_loop.c (FCT): Adjust caller.
5446 * posix/regcomp.c (build_equiv_class): Likewise.
5447 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5448 * posix/regexec.c (check_node_accept_bytes): Likewise.
5449 * string/strcoll_l.c (STRCOLL): Likewise.
5450 * string/strxfrm_l.c (STRXFRM): Likewise.
5452 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5454 * Makefile.in: Remove CVSOPT handling.
5455 * configure.in: Remove use of AC_REVISION.
5456 * iconvdata/Makefile (distribute): No need to filter out CVS.
5457 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5460 2011-11-16 Andreas Schwab <schwab@redhat.com>
5462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5463 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5464 [USE_AS_STRNCASECMP_L]: Likewise.
5465 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5466 NO_TLS_DIRECT_SEG_REFS.
5467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5468 Fix argument offsets for non-PIC.
5469 [USE_AS_STRNCASECMP_L]: Likewise.
5470 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5471 NO_TLS_DIRECT_SEG_REFS.
5473 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5475 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5477 * locale/loadlocale.c (_nl_load_locale): Likewise.
5479 2011-11-15 Andreas Schwab <schwab@redhat.com>
5481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5482 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5484 (SYSCALL_GETTIME): Set errno on error.
5486 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5487 count references to noai6ai_cached.
5489 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5491 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5493 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5494 FD_CLOEXEC for /proc/self/maps.
5496 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5497 FD_CLOEXEC for /proc/meminfo.
5499 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5502 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5503 FD_CLOEXEC for given file.
5505 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5507 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5508 FD_CLOEXEC for /etc/hosts.
5509 (_gethtent): Likewise.
5511 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5513 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5514 cancellation and set FD_CLOEXEC for /etc/netgroup.
5516 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5517 reading /etc/publickey.
5519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5520 allow cancellation when reading /etc/group.
5522 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5524 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5526 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5527 when using data file.
5529 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5531 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5532 (write_nis_obj): Use "c" and "e" in fopen.
5534 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5536 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5538 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5540 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5542 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5545 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5547 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5549 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5551 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5552 file parsing and set FD_CLOEXEC.
5554 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5556 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5558 2011-11-14 Andreas Schwab <schwab@redhat.com>
5560 * malloc/arena.c (arena_get2): Don't call reused_arena when
5561 _int_new_arena failed.
5563 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5565 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5566 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5569 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5571 to compile strcasecmp and strncasecmp.
5572 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5573 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5577 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5579 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5580 locale-defines.sym to gen-as-const-headers.
5581 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5582 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5584 to compile strcasecmp and strncasecmp.
5585 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5586 strcasecmp_l and strncasecmp_l.
5587 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5588 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5589 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5590 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5591 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5592 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5593 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5594 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5595 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5596 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5597 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5599 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5601 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5602 result of SYSDEP_GETTIME_CPU to retval.
5603 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5604 parameter list to macro. Remove trailing semicolon. Adjust users.
5606 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5609 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5611 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5613 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5614 from unused variable.
5616 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5618 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5621 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5624 * sunrpc/rpc_prot.c (rejected): Fix case value.
5626 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5627 unsigned long long int to avoid warnings in shift.
5629 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5631 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5634 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5635 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5636 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5638 * nis/nis_table.c (nis_list): Use variable of correct type for
5639 result of __follow_path call.
5641 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5644 of math functions ceil, trunc, floor, round, and sqrt, when
5645 avaliable on the platform.
5646 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5649 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5650 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5652 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5654 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5657 2011-11-11 Roland McGrath <roland@hack.frob.com>
5659 * include/unistd.h: Fix __readlink return type.
5660 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5662 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5664 * stdlib/ucontext.h: Undo last change for makecontext.
5666 2011-11-11 Andreas Schwab <schwab@redhat.com>
5668 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5670 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5671 * setjmp/setjmp.h: Mark functions as non-leaf.
5672 * setjmp/bits/setjmp2.h: Likewise.
5673 * stdlib/ucontext.h: Likewise.
5675 2011-11-10 Andreas Schwab <schwab@redhat.com>
5677 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5678 (reused_arena): Don't check arena limit.
5679 (arena_get2): Atomically check arena limit.
5681 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5683 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5684 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5689 2011-11-07 Andreas Schwab <schwab@redhat.com>
5691 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5692 handler when locking.
5694 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5695 Fix size of allocated buffer.
5697 2011-11-04 Andreas Schwab <schwab@redhat.com>
5700 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5701 declarations for long double functions.
5702 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5704 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5706 2011-11-03 Andreas Schwab <schwab@redhat.com>
5708 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5711 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5714 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5716 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5718 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5720 * include/alloca.h (stackinfo_alloca_round): Define.
5721 (extend_alloca): Use it.
5722 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5723 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5726 * scripts/check-local-headers.sh: Ignore libaudit.h.
5728 * nscd/Makefile (extra-objs): Make recursively expanded.
5730 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5732 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5733 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5735 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5736 * posix/tst-rfc3484-2.c: Likewise.
5737 * posix/tst-rfc3484-3.c: Likewise.
5739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5741 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5743 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5744 process_vm_writev from libc using GLIBC_2.15 version.
5746 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5748 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5750 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5753 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5756 * nss/getent.c (initgroups_keys): Show error message in case no group
5759 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5760 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5761 __bump_nl_timestamp.
5762 * nscd/connections (nscd_init): When host database is served open
5763 netlink socket and request notification about configuration changes.
5764 (main_loop_poll): Track netlink file descriptor and bump timestamp
5765 in case data becomes available.
5766 (main_loop_epoll): Likewise.
5767 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5768 (database_pers_head): Add extra_data fileds.
5769 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5770 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5771 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5774 in6ai data, call __free_in6ai.
5775 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5777 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5778 interface information. Reuse previous data if netlink timestamp
5780 (__bump_nl_timestamp): New function.
5781 (__free_in6ai): New function.
5783 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5786 close_not_cancel_no_status here.
5787 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5789 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5792 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5795 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5796 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5797 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5799 2011-07-03 Andreas Jaeger <aj@suse.de>
5802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5803 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5804 * math/libm-test.inc (sin_test): Add test case.
5806 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5809 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5810 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5812 * elf/chroot_canon.c (chroot_canon): Cleanups.
5814 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5817 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5818 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5820 * string/test-strchr.c: Make usable for strchrnul testing.
5821 * string/test-strchrnul.c: New file.
5822 * string/Makefile (strop-tests): Add strchrnul.
5824 * po/it.po: Update from translation team.
5825 * po/es.po: Likewise.
5827 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5830 the three constants needed as parameters. Drop the others.
5831 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5832 __m128i_strloadu_tolower.
5833 Create and initialize variable zero and use it in all the places
5834 where _mm_setzero_si128 was used.
5836 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5837 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5838 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5841 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5842 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5843 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5844 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5845 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5846 __mpranred, __mptan.
5847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5851 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5852 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5855 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5857 2011-10-28 Andreas Schwab <schwab@redhat.com>
5859 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5861 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5864 wide char related routines to wcsmbs subdir.
5866 2011-10-27 Andreas Schwab <schwab@redhat.com>
5869 * misc/sys/cdefs.h (__THROWNL): Define.
5870 * posix/unistd.h: Use __THREADNL instead of __THREAD
5871 for memory synchronization functions.
5873 2011-10-26 Roland McGrath <roland@hack.frob.com>
5876 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5878 * manual/stdio.texi (Obstack Streams): Node removed.
5880 2011-10-26 Andreas Schwab <schwab@redhat.com>
5882 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5884 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5886 * math/math_private.h (math_force_eval): Allow non-addressable
5888 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5890 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5892 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5902 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5904 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5905 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5906 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5907 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5908 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5909 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5910 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5911 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5912 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5913 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5914 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5915 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5917 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5920 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5921 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5922 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5924 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5925 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5928 place. Use VEX encoding when compiling for AVX.
5930 2011-10-25 Andreas Schwab <schwab@redhat.com>
5932 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5933 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5935 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5937 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5939 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5940 useless if() expression.
5941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5951 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5953 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5955 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5957 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5959 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5961 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5963 2011-10-25 Andreas Schwab <schwab@redhat.com>
5965 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5967 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5969 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5971 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5972 .text section. Avoid duplicate constants.
5973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5981 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5982 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5984 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5985 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5986 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5997 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5998 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5999 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6001 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6002 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6003 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6004 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6006 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6007 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6008 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6009 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6015 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6017 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6019 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6021 * sysdeps/x86_64/dla.h: Move to ...
6022 * sysdeps/x86_64/fpu/dla.h: ...here.
6023 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6024 situations. Use __builtin_fma only for gcc 4.6 and up.
6026 * config.make.in: Add have-mfma4 entry.
6027 * configure.in: Substitute libc_cv_cc_fma4.
6028 * math/Makefile (dbl-only-routines): Add sincostab.
6029 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6030 Use __sincostab not sincos.
6031 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6038 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6039 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6040 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6041 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6044 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6046 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6047 define aliases when function name is a macro.
6048 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6049 sysdeps/ieee754/dbl-64/sincos.tbl.
6050 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6051 fma4-enabled routines.
6052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6059 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6062 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6064 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6065 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6066 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6067 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6068 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6069 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6070 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6071 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6072 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6073 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6079 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6081 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6083 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6094 2011-10-24 Andreas Schwab <schwab@redhat.com>
6096 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6098 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6100 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6102 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6106 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6107 Remove unused variable magic_bits.
6108 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6110 * string/strnlen.c: Define and use STRNLEN macro.
6111 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6112 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6114 * wcsmbs/wcslen.c: Define and use WCSLEN.
6115 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6116 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6117 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6118 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6119 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6120 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6121 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6123 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6126 strnlen-sse2-no-bsf.
6127 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6129 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6130 Add strnlen support.
6131 (USE_AS_STRNLEN): New macro.
6132 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6133 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6134 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6135 * sysdeps/x86_64/wcslen.S: New file.
6137 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6140 XMM-moves are used for copying on small sizes.
6142 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6144 * wcsmbs/Makefile (strop-tests): Add wcschr.
6145 * wcsmbs/test-wcschr.c: New file.
6146 * string/test-strchr.c: Update.
6150 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6152 * wcsmbs/Makefile (strop-tests): Add wcslen.
6153 * wcsmbs/test-wcslen.c: New file.
6154 * string/test-strlen.c: Update.
6158 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6160 * po/it.po: Update from translation team.
6162 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6164 * sysdeps/x86_64/wcscmp.S: Update.
6165 Fix wrong comparison semantics.
6166 wcscmp shall use signed comparison not unsigned.
6167 Don't use substraction to avoid overflow bug.
6168 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6169 * wcsmbc/wcscmp.c: Likewise.
6170 * string/test-strcmp.c: Likewise.
6171 Add new tests to check cases with negative values.
6173 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6175 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6176 * sysdeps/x86_64/dla.h: ...here. New file.
6177 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6187 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6190 __ynl_finite aliases.
6192 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6196 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6198 [DLA_FMA] (EMULV): Use DLA_FMA.
6199 [DLA_FMA] (MUL12): Use EMULV.
6200 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6201 that are not needed.
6202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6210 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6212 * math/s_nan.c: Undef __nan.
6213 * math/s_nanf.c: Undef __nanf.
6214 * math/s_nanl.c: Undef __nanl.
6215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6218 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6220 * math/s_catan.c: Add branch predictions.
6221 * math/s_catanf.c: Likewise.
6222 * math/s_catanh.c: Likewise.
6223 * math/s_catanhf.c: Likewise.
6224 * math/s_catanhl.c: Likewise.
6225 * math/s_catanl.c: Likewise.
6226 * math/s_cexp.c: Likewise.
6227 * math/s_cexpf.c: Likewise.
6228 * math/s_cexpl.c: Likewise.
6229 * math/s_clog.c: Likewise.
6230 * math/s_clog10.c: Likewise.
6231 * math/s_clog10f.c: Likewise.
6232 * math/s_clog10l.c: Likewise.
6233 * math/s_clogf.c: Likewise.
6234 * math/s_clogl.c: Likewise.
6235 * math/s_csqrt.c: Likewise.
6236 * math/s_csqrtf.c: Likewise.
6237 * math/s_csqrtl.c: Likewise.
6238 * math/s_ctanf.c: Likewise.
6239 * math/s_ctanh.c: Likewise.
6240 * math/s_ctanhf.c: Likewise.
6241 * math/s_ctanhl.c: Likewise.
6242 * math/s_ctanl.c: Likewise.
6244 * math/math_private.h: Define __nan, __nanf, __nanl.
6245 * math/s_cacosh.c: Include <math_private.h>.
6246 * math/s_cacoshl.c: Likewise.
6247 * math/s_casinh.c: Likewise.
6248 * math/s_casinhf.c: Likewise.
6249 * math/s_casinhl.c: Likewise.
6250 * math/s_ccos.c: Rely entire on ccosh.
6251 * math/s_ccosf.c: Rely entire on ccoshf.
6252 * math/s_ccosl.c: Rely entirely on ccoshl.
6253 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6254 Remove tests for FE_INVALID.
6255 * math/s_ccoshf.c: Likewise.
6256 * math/s_ccoshl.c: Likewise.
6257 * math/s_csin.c: Likewise.
6258 * math/s_csinf.c: Likewise.
6259 * math/s_csinh.c Likewise.
6260 * math/s_csinhf.c: Likewise.
6261 * math/s_csinhl.c: Likewise.
6262 * math/s_csinl.c: Likewise.
6263 * math/s_ctan.c: Likewise.
6264 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6265 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6266 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6268 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6271 compilation problems.
6273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6276 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6278 * sysdeps/i386/configure.in: Test for -mfma4 option.
6279 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6280 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6281 COMMON_CPUID_INDEX_80000001.
6282 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6283 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6284 use it if FMA3 is not supported.
6285 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6287 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6290 2011-10-20 Andreas Schwab <schwab@redhat.com>
6293 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6294 it would create a cycle with a link time dependency.
6296 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6298 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6300 * string/Makefile (strop-tests): Add rawmemchr.
6301 * string/test-rawmemchr.c: New file.
6303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6305 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6306 when compiling str{,n}casecmp and when AVX is available. Hook up
6307 new optimized code in initializers.
6309 2011-10-19 Andreas Schwab <schwab@redhat.com>
6311 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6312 __feraiseexcept instead of feraiseexcept.
6314 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6316 * math/math_private.h: Define defaults for libc_fetestexcept and
6318 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6319 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6320 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6322 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6323 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6324 libc_fetestexcept and libc_feupdateenv.
6326 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6327 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6328 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6329 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6330 libc_feholdexcept_setround.
6332 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6333 Add s_nearbyint-c and s_nearbyintf-c.
6334 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6336 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6337 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6339 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6341 * math/math_private.h: Define defaults for libc_fegetround,
6342 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6343 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6344 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6346 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6348 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6349 Remove comments and hacks for old compiler versions.
6350 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6351 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6354 2011-10-18 Andreas Schwab <schwab@redhat.com>
6356 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6357 (__feraiseexcept_renamed): Add __NTH.
6358 (feraiseexcept): Add __NTH. Rename local variables to fix
6359 namespace violations.
6361 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6363 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6367 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6368 recently added interfaces.
6369 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6371 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6372 about macro parameter expansion.
6374 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6375 __NO_MATH_INLINES is defined. Cleanups.
6377 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6378 and __floorf is target has SSE4.1.
6379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6380 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6384 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6388 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6390 2011-10-17 Andreas Schwab <schwab@redhat.com>
6392 * misc/sys/cdefs.h: Fix last change.
6394 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6397 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6399 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6401 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6410 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6411 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6412 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6413 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6414 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6416 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6417 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6418 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6419 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6420 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6421 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6425 ceil, ceilf, floor, floorf.
6427 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6428 Perform IRELATIVE relocations last.
6430 * elf/do-rel.h: Add another parameter nrelative, replacing the
6431 local variable with the same name. Change name of the function
6432 to end in Rel or Rela (uppercase).
6433 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6434 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6435 elf_dynamic_do_##reloc function.
6437 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6439 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6440 is sufficient, at least on modern CPUs.
6442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6444 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6447 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6449 * math/bits/math-finite.h: Add entries for exp.
6450 * math/e_expl.c: Add __*_finite alias.
6451 * sysdeps/i386/fpu/e_exp.S: Likewise.
6452 * sysdeps/i386/fpu/e_expf.S: Likewise.
6453 * sysdeps/i386/fpu/e_expl.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6459 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6462 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6463 is sufficient, at least on modern CPUs.
6465 * ctype/ctype-info.c (__ctype_init): Define.
6466 * include/ctype.h (__ctype_init): Declare.
6467 (__ctype_b_loc): The variable is always initialized.
6468 (__ctype_toupper_loc): Likewise.
6469 (__ctype_tolower_loc): Likewise.
6470 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6471 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6473 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6475 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6477 * configure.in: Also look in $cxxmachine/include for C++ system
6480 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6482 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6483 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6484 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6485 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6487 (USE_AS_WMEMCMP): New macro.
6489 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6490 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6491 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6492 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6494 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6495 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6497 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6498 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6499 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6500 (USE_AS_WMEMCMP): New macro.
6501 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6502 * sysdeps/string/test-memcmp.c: Update.
6505 * wcsmbs/wmemcmp.c: Update.
6506 (WMEMCMP): New macro.
6509 2011-10-12 Andreas Jaeger <aj@suse.de>
6512 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6514 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6516 * libio/iofwide.c (do_length): Avoid warning.
6518 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6520 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6522 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6524 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6525 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6526 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6527 * sysdeps/i386/i686/fpu/e_log.S: New file.
6528 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6529 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6531 * ctype/ctype.h: Add support for inlined isXXX functions when
6534 2011-10-14 Andreas Schwab <schwab@redhat.com>
6536 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6538 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6540 2011-10-13 Roland McGrath <roland@hack.frob.com>
6543 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6545 2011-10-13 Andreas Schwab <schwab@redhat.com>
6547 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6548 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6551 * sysdeps/x86_64/memrchr.S: Check for zero size.
6553 * string/stratcliff.c: Add memrchr tests.
6555 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6558 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6559 rawmemchr-sse2 rawmemchr-sse2-bsf.
6560 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6561 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6562 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6563 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6564 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6565 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6566 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6567 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6568 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6569 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6570 * string/memrchr.c (MEMRCHR): New macro.
6572 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6574 Add integration with gcc's -ffinite-math-only and optimize wrapper
6576 * Versions.def: Define GLIBC_2.15 version for libm.
6577 * math/Makefile (headers): Add bits/math-finite.h.
6578 * math/bits/math-finite.h: New file.
6579 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6580 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6581 * math/e_acoshl.c: Add __*_finite alias.
6582 * math/e_acosl.c: Likewise.
6583 * math/e_asinl.c: Likewise.
6584 * math/e_atan2l.c: Likewise.
6585 * math/e_atanhl.c: Likewise.
6586 * math/e_coshl.c: Likewise.
6587 * math/e_exp10.c: Likewise.
6588 * math/e_exp10f.c: Likewise.
6589 * math/e_exp10l.c: Likewise.
6590 * math/e_exp2l.c: Likewise.
6591 * math/e_fmodl.c: Likewise.
6592 * math/e_gammal_r.c: Likewise.
6593 * math/e_hypotl.c: Likewise.
6594 * math/e_j0l.c: Likewise.
6595 * math/e_j1l.c: Likewise.
6596 * math/e_jnl.c: Likewise.
6597 * math/e_lgammal_r.c: Likewise.
6598 * math/e_log10l.c: Likewise.
6599 * math/e_log2l.c: Likewise.
6600 * math/e_logl.c: Likewise.
6601 * math/e_powl.c: Likewise.
6602 * math/e_sinhl.c: Likewise.
6603 * math/e_sqrtl.c: Likewise.
6604 * math/e_scalb.c: Completely rewritten and optimized.
6605 * math/e_scalbf.c: Likewise.
6606 * math/e_scalbl.c: Likewise.
6607 * math/w_acos.c: Likewise.
6608 * math/w_acosf.c: Likewise.
6609 * math/w_acosl.c: Likewise.
6610 * math/w_acosh.c: Likewise.
6611 * math/w_acoshf.c: Likewise.
6612 * math/w_acoshl.c: Likewise.
6613 * math/w_asin.c: Likewise.
6614 * math/w_asinf.c: Likewise.
6615 * math/w_asinl.c: Likewise.
6616 * math/w_atan2.c: Likewise.
6617 * math/w_atan2f.c: Likewise.
6618 * math/w_atan2l.c: Likewise.
6619 * math/w_atanh.c: Likewise.
6620 * math/w_atanhf.c: Likewise.
6621 * math/w_atanhl.c: Likewise.
6622 * math/w_exp10.c: Likewise.
6623 * math/w_exp10f.c: Likewise.
6624 * math/w_exp10l.c: Likewise.
6625 * math/w_fmod.c: Likewise.
6626 * math/w_fmodf.c: Likewise.
6627 * math/w_fmodl.c: Likewise.
6628 * math/w_j0.c: Likewise.
6629 * math/w_j0f.c: Likewise.
6630 * math/w_j0l.c: Likewise.
6631 * math/w_j1.c: Likewise.
6632 * math/w_j1f.c: Likewise.
6633 * math/w_j1l.c: Likewise.
6634 * math/w_jn.c: Likewise.
6635 * math/w_jnf.c: Likewise.
6636 * math/w_log.c: Likewise.
6637 * math/w_logf.c: Likewise.
6638 * math/w_logl.c: Likewise.
6639 * math/w_log10.c: Likewise.
6640 * math/w_log10f.c: Likewise.
6641 * math/w_log10l.c: Likewise.
6642 * math/w_log2.c: Likewise.
6643 * math/w_log2f.c: Likewise.
6644 * math/w_log2l.c: Likewise.
6645 * math/w_pow.c: Likewise.
6646 * math/w_powf.c: Likewise.
6647 * math/w_powl.c: Likewise.
6648 * math/w_remainder.c: Likewise.
6649 * math/w_remainderf.c: Likewise.
6650 * math/w_remainderl.c: Likewise.
6651 * math/w_scalb.c: Likewise.
6652 * math/w_scalbf.c: Likewise.
6653 * math/w_scalbl.c: Likewise.
6654 * math/w_sqrt.c: Likewise.
6655 * math/w_sqrtf.c: Likewise.
6656 * math/w_sqrtl.c: Likewise.
6657 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6658 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6660 * math/math_private.h: Declare __kernel_standard_f.
6661 * math/w_cosh.c: Remove cruft and optimize a bit.
6662 * math/w_coshf.c: Likewise.
6663 * math/w_coshl.c: Likewise.
6664 * math/w_exp2.c: Likewise.
6665 * math/w_exp2f.c: Likewise.
6666 * math/w_exp2l.c: Likewise.
6667 * math/w_hypot.c: Likewise.
6668 * math/w_hypotf.c: Likewise.
6669 * math/w_hypotl.c: Likewise.
6670 * math/w_lgamma.c: Likewise.
6671 * math/w_lgamma_r.c: Likewise.
6672 * math/w_lgammaf.c: Likewise.
6673 * math/w_lgammaf_r.c: Likewise.
6674 * math/w_lgammal.c: Likewise.
6675 * math/w_lgammal_r.c: Likewise.
6676 * math/w_sinh.c: Likewise.
6677 * math/w_sinhf.c: Likewise.
6678 * math/w_sinhl.c: Likewise.
6679 * math/w_tgamma.c: Likewise.
6680 * math/w_tgammaf.c: Likewise.
6681 * math/w_tgammal.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6684 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6685 Minor optimizations. Pretty printing. Remove cruft.
6686 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6690 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6691 * sysdeps/i386/fpu/e_asin.S: Likewise.
6692 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6693 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6694 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6695 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6699 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6700 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6701 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6702 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6703 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6704 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6705 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6706 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6707 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6708 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6709 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6710 * sysdeps/i386/fpu/e_log.S: Likewise.
6711 * sysdeps/i386/fpu/e_log10.S: Likewise.
6712 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6714 * sysdeps/i386/fpu/e_log2.S: Likewise.
6715 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6717 * sysdeps/i386/fpu/e_logf.S: Likewise.
6718 * sysdeps/i386/fpu/e_logl.S: Likewise.
6719 * sysdeps/i386/fpu/e_pow.S: Likewise.
6720 * sysdeps/i386/fpu/e_powf.S: Likewise.
6721 * sysdeps/i386/fpu/e_powl.S: Likewise.
6722 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6723 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6724 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6728 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6729 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6730 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6753 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6758 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6760 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6765 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6766 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6767 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6771 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6816 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6822 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6824 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6826 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6827 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6828 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6829 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6830 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6831 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6832 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6833 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6834 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6835 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6836 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6837 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6839 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6841 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6842 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6843 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6844 (__isnanf): Likewise.
6845 (__isinf_ns): Likewise.
6846 (__isinf_nsf): Likewise.
6847 (__finite): Likewise.
6848 (__finitef): Likewise.
6849 (__ieee754_sqrt): Define as macro.
6850 (__ieee754_sqrtf): Define as macro.
6851 (__ieee754_sqrtl): Define as macro.
6852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6854 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6855 __FINITE_MATH_ONLY__ consistent.
6856 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6858 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6860 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6865 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6867 * po/ja.po: Update from translation team.
6869 2011-10-08 Roland McGrath <roland@hack.frob.com>
6871 * locale/programs/locarchive.c (prepare_address_space): New function.
6872 (create_archive, enlarge_archive, open_archive): Use it.
6874 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6875 inside [SHARED], where it is used.
6877 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6879 * nss/getent.c (netgroup_keys): Remove unused variable.
6880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6882 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6884 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6887 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6888 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6889 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6890 * math/Makefile (libm-calls): Add s_isinf_ns.
6891 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6892 * math/multc3.c: Likewise.
6893 * math/s_casin.c: Likewise.
6894 * math/s_casinf.c: Likewise.
6895 * math/s_casinl.c: Likewise.
6896 * math/s_ccos.c: Likewise.
6897 * math/s_ccosf.c: Likewise.
6898 * math/s_ccosl.c: Likewise.
6899 * math/s_ctan.c: Likewise.
6900 * math/s_ctanf.c: Likewise.
6901 * math/s_ctanh.c: Likewise.
6902 * math/s_ctanhf.c: Likewise.
6903 * math/s_ctanhl.c: Likewise.
6904 * math/s_ctanl.c: Likewise.
6905 * math/w_fmod.c: Likewise.
6906 * math/w_fmodf.c: Likewise.
6907 * math/w_fmodl.c: Likewise.
6908 * math/w_remainder.c: Likewise.
6909 * math/w_remainderf.c: Likewise.
6910 * math/w_remainderl.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6912 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6915 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6916 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6917 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6918 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6920 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6922 * stdio-common/printf_fphex.c: Likewise.
6923 * stdio-common/printf_size.c: Likewise.
6925 * math/e_exp10.c: Include math_private.h using <...> not "...".
6926 * math/e_exp10f.c: Likewise.
6927 * math/e_exp10l.c: Likewise.
6928 * math/e_exp2l.c: Likewise.
6929 * math/e_j0l.c: Likewise.
6930 * math/e_j1l.c: Likewise.
6931 * math/e_jnl.c: Likewise.
6932 * math/e_lgammal_r.c: Likewise.
6933 * math/e_rem_pio2l.c: Likewise.
6934 * math/e_scalb.c: Likewise.
6935 * math/e_scalbf.c: Likewise.
6936 * math/e_scalbl.c: Likewise.
6937 * math/k_cosl.c: Likewise.
6938 * math/k_sinl.c: Likewise.
6939 * math/k_tanl.c: Likewise.
6940 * math/s_cacoshf.c: Likewise.
6941 * math/s_catan.c: Likewise.
6942 * math/s_catanf.c: Likewise.
6943 * math/s_catanh.c: Likewise.
6944 * math/s_catanhf.c: Likewise.
6945 * math/s_catanhl.c: Likewise.
6946 * math/s_catanl.c: Likewise.
6947 * math/s_ccosh.c: Likewise.
6948 * math/s_ccoshf.c: Likewise.
6949 * math/s_ccoshl.c: Likewise.
6950 * math/s_cexp.c: Likewise.
6951 * math/s_cexpf.c: Likewise.
6952 * math/s_cexpl.c: Likewise.
6953 * math/s_clog.c: Likewise.
6954 * math/s_clog10.c: Likewise.
6955 * math/s_clog10f.c: Likewise.
6956 * math/s_clog10l.c: Likewise.
6957 * math/s_clogf.c: Likewise.
6958 * math/s_clogl.c: Likewise.
6959 * math/s_csin.c: Likewise.
6960 * math/s_csinf.c: Likewise.
6961 * math/s_csinh.c: Likewise.
6962 * math/s_csinhf.c: Likewise.
6963 * math/s_csinhl.c: Likewise.
6964 * math/s_csinl.c: Likewise.
6965 * math/s_csqrt.c: Likewise.
6966 * math/s_csqrtf.c: Likewise.
6967 * math/s_csqrtl.c: Likewise.
6968 * math/s_ctan.c: Likewise.
6969 * math/s_ctanf.c: Likewise.
6970 * math/s_ctanh.c: Likewise.
6971 * math/s_ctanhf.c: Likewise.
6972 * math/s_ctanhl.c: Likewise.
6973 * math/s_ctanl.c: Likewise.
6974 * math/s_ldexp.c: Likewise.
6975 * math/s_ldexpf.c: Likewise.
6976 * math/s_ldexpl.c: Likewise.
6977 * math/s_significand.c: Likewise.
6978 * math/s_significandf.c: Likewise.
6979 * math/s_significandl.c: Likewise.
6980 * math/w_acos.c: Likewise.
6981 * math/w_acosf.c: Likewise.
6982 * math/w_acosh.c: Likewise.
6983 * math/w_acoshf.c: Likewise.
6984 * math/w_acoshl.c: Likewise.
6985 * math/w_acosl.c: Likewise.
6986 * math/w_asin.c: Likewise.
6987 * math/w_asinf.c: Likewise.
6988 * math/w_asinl.c: Likewise.
6989 * math/w_atan2.c: Likewise.
6990 * math/w_atan2f.c: Likewise.
6991 * math/w_atan2l.c: Likewise.
6992 * math/w_atanh.c: Likewise.
6993 * math/w_atanhf.c: Likewise.
6994 * math/w_atanhl.c: Likewise.
6995 * math/w_cosh.c: Likewise.
6996 * math/w_coshf.c: Likewise.
6997 * math/w_coshl.c: Likewise.
6998 * math/w_dremf.c: Likewise.
6999 * math/w_exp10.c: Likewise.
7000 * math/w_exp10f.c: Likewise.
7001 * math/w_exp10l.c: Likewise.
7002 * math/w_exp2.c: Likewise.
7003 * math/w_exp2f.c: Likewise.
7004 * math/w_fmod.c: Likewise.
7005 * math/w_fmodf.c: Likewise.
7006 * math/w_fmodl.c: Likewise.
7007 * math/w_hypot.c: Likewise.
7008 * math/w_hypotf.c: Likewise.
7009 * math/w_hypotl.c: Likewise.
7010 * math/w_j0.c: Likewise.
7011 * math/w_j0f.c: Likewise.
7012 * math/w_j0l.c: Likewise.
7013 * math/w_j1.c: Likewise.
7014 * math/w_j1f.c: Likewise.
7015 * math/w_j1l.c: Likewise.
7016 * math/w_jn.c: Likewise.
7017 * math/w_jnf.c: Likewise.
7018 * math/w_jnl.c: Likewise.
7019 * math/w_lgamma.c: Likewise.
7020 * math/w_lgamma_r.c: Likewise.
7021 * math/w_lgammaf.c: Likewise.
7022 * math/w_lgammaf_r.c: Likewise.
7023 * math/w_lgammal.c: Likewise.
7024 * math/w_lgammal_r.c: Likewise.
7025 * math/w_log.c: Likewise.
7026 * math/w_log10.c: Likewise.
7027 * math/w_log10f.c: Likewise.
7028 * math/w_log10l.c: Likewise.
7029 * math/w_log2.c: Likewise.
7030 * math/w_log2f.c: Likewise.
7031 * math/w_log2l.c: Likewise.
7032 * math/w_logf.c: Likewise.
7033 * math/w_logl.c: Likewise.
7034 * math/w_pow.c: Likewise.
7035 * math/w_powf.c: Likewise.
7036 * math/w_powl.c: Likewise.
7037 * math/w_remainder.c: Likewise.
7038 * math/w_remainderf.c: Likewise.
7039 * math/w_remainderl.c: Likewise.
7040 * math/w_scalb.c: Likewise.
7041 * math/w_scalbf.c: Likewise.
7042 * math/w_scalbl.c: Likewise.
7043 * math/w_sinh.c: Likewise.
7044 * math/w_sinhf.c: Likewise.
7045 * math/w_sinhl.c: Likewise.
7046 * math/w_sqrt.c: Likewise.
7047 * math/w_sqrtf.c: Likewise.
7048 * math/w_sqrtl.c: Likewise.
7049 * math/w_tgamma.c: Likewise.
7050 * math/w_tgammaf.c: Likewise.
7051 * math/w_tgammal.c: Likewise.
7053 * po/ja.po: Update from translation team.
7055 2011-09-29 Andreas Jaeger <aj@suse.de>
7058 * sunrpc/netname.c (netname2host): Fix logic.
7062 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7064 * math/w_remainder.c (__remainder): Likewise.
7065 * math/w_remainderf.c (__remainderf): Likewise.
7066 * math/libm-test.inc (remainder_test): Add test cases.
7068 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7070 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7073 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7075 * string/test-memcmp.c: Avoid unncessary #defines.
7076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7078 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7080 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7081 Use new sse2 version for core i3 - i7 as it's faster
7083 (bit_Prefer_PMINUB_for_stringop): New.
7084 * sysdeps/x86_64/rawmemchr.S: Update.
7085 Replace with faster SSE2 version.
7086 * sysdeps/x86_64/memrchr.S: New file.
7087 * sysdeps/x86_64/memchr.S: Update.
7088 Replace with faster SSE2 version.
7090 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7092 * elf/dl-load.c (lose): Add cast to avoid warning.
7094 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7096 * po/ca.po: Update from translation team.
7098 * inet/getnetgrent_r.c: Hook up nscd.
7099 * nscd/Makefile (routines): Add nscd_netgroup.
7100 (nscd-modules): Add netgroupcache.
7101 (CFLAGS-netgroupcache.c): Define.
7102 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7103 (cache_search): Add const to second parameter.
7104 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7106 (dbs): Add netgrdb entry.
7107 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7108 (verify_persistent_db): Handle netgrdb.
7109 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7110 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7112 (netgroup_response_header): Define.
7113 (innetgroup_response_header): Define.
7114 (datahead): Add netgroup_response_header and innetgroup_response_header
7116 * nscd/nscd.conf: Add entries for netgroup cache.
7117 * nscd/nscd.h (dbtype): Add netgrdb.
7118 (_PATH_NSCD_NETGROUP_DB): Define.
7119 (netgroup_iov_disabled): Declare.
7120 (xmalloc, xcalloc, xrealloc): Move declarations here.
7121 (cache_search): Adjust prototype.
7122 Add netgroup-related prototypes.
7123 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7124 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7125 (__nscd_innetgr): Declare.
7126 * nscd/selinux.c (perms): Use access_vector_t as element type and
7127 add netgroup-related initializers.
7128 * nscd/netgroupcache.c: New file.
7129 * nscd/nscd_netgroup.c: New file.
7130 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7131 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7132 For four parameters use innetgr.
7133 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7134 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7135 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7136 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7138 * nscd/connections.c (register_traced_file): Don't register file
7139 for disabled databases.
7141 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7143 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7145 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7146 from tree and freeing node.
7148 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7150 * nss/nsswitch.c (__nss_database_lookup): Handle
7151 nss_parse_service_list out of memory case.
7153 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7155 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7158 2011-10-04 Andreas Schwab <schwab@redhat.com>
7160 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7161 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7163 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7164 elf_machine_rela, elf_machine_lazy_rel.
7165 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7166 (ELF_DYNAMIC_DO_REL): Likewise.
7167 (ELF_DYNAMIC_DO_RELA): Likewise.
7168 (ELF_DYNAMIC_RELOCATE): Likewise.
7169 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7170 to ELF_DYNAMIC_DO_REL.
7171 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7172 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7173 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7176 skip_ifunc, don't call ifunc function if non-zero.
7177 (elf_machine_rela): Likewise.
7178 (elf_machine_lazy_rel): Likewise.
7179 (elf_machine_lazy_rela): Likewise.
7180 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7181 (elf_machine_lazy_rel): Likewise.
7182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7184 (elf_machine_lazy_rel): Likewise.
7185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7187 (elf_machine_lazy_rel): Likewise.
7188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7189 (elf_machine_lazy_rel): Likewise.
7190 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7191 (elf_machine_lazy_rel): Likewise.
7192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7193 (elf_machine_lazy_rel): Likewise.
7194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7195 (elf_machine_lazy_rel): Likewise.
7196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7197 (elf_machine_lazy_rel): Likewise.
7198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7199 (elf_machine_lazy_rel): Likewise.
7201 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7203 * nss/nss_files/files-init.c (_nss_files_init): Use static
7204 initialization for all the *_traced_file variables.
7206 2011-09-28 Andreas Schwab <schwab@redhat.com>
7208 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7210 2011-09-27 Roland McGrath <roland@hack.frob.com>
7213 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7215 2011-09-27 Andreas Schwab <schwab@redhat.com>
7217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7218 Reread the line before reparsing it.
7220 2011-09-26 Andreas Schwab <schwab@redhat.com>
7222 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7224 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7225 Maxim Kuvyrkov <maxim@codesourcery.com>
7226 Joseph Myers <joseph@codesourcery.com>
7228 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7229 if needed for __stack_chk_guard.
7231 2011-09-19 Roland McGrath <roland@hack.frob.com>
7233 * sysdeps/posix/spawni.c (script_execute): Always define it.
7234 It will be optimized away if unused.
7235 (maybe_script_execute): New function.
7236 (__spawni): Call it.
7238 * Makerules: Don't include tls.make.
7239 (config-tls): Always set to thread.
7240 * tls.make.c: File removed.
7242 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7244 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7245 * config.make.in (CPPFLAGS-config): New substituted variable.
7247 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7252 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7253 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7255 2011-09-15 Roland McGrath <roland@hack.frob.com>
7257 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7258 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7260 (CALL_FAIL): Likewise.
7261 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7262 (CALL_FAIL): Macro removed.
7263 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7265 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7267 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7268 for __FINITE_MATH_ONLY__ == 1.
7270 2011-09-15 Andreas Schwab <schwab@redhat.com>
7272 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7273 __ieee754_sqrt instead of sqrt.
7274 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7275 __ieee754_sqrtf instead of sqrtf.
7276 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7277 __floorf instead of floorf.
7278 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7279 __floorf, __truncf instead of floorf, truncf.
7281 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7283 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7285 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7286 __extern_always_inline.
7287 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7290 2011-09-14 Andreas Schwab <schwab@redhat.com>
7292 * elf/rtld.c (dl_main): Also relocate in dependency order when
7293 doing symbol dependency testing.
7295 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7298 Always define `refsym'.
7300 2011-09-13 Andreas Schwab <schwab@redhat.com>
7302 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7303 (__FD_ELT): Renamed from __FDELT.
7304 * misc/bits/select2.h (__FD_ELT): Likewise.
7305 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7306 __FD_MASK instead of __FDELT, __FDMASK.
7307 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7309 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7312 * elf/Makefile (gen-ldd): Fix pattern.
7314 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7315 (init_tls): Likewise.
7317 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7321 2011-09-12 Andreas Schwab <schwab@redhat.com>
7323 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7324 `struct cmsghdr *' instead of `void *'.
7325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7328 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7330 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7332 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7335 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7337 * configure.in: Remove --with-tls option.
7338 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7339 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7340 out in case it is missing.
7341 * sysdeps/ia64/elf/configure.in: Likewise.
7342 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7343 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7344 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7345 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7346 * sysdeps/sh/elf/configure.in: Likewise.
7347 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7348 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7349 * sysdeps/x86_64/elf/configure.in: Likewise.
7350 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7351 * sysdeps/mach/hurd/tls.h: Likewise.
7354 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7357 * configure.in: Fix use of AC_INIT.
7359 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7361 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7363 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7365 * malloc/hooks.c: Likewise.
7368 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7369 variables statically.
7370 (narenas): Initialize.
7371 (list_lock): Initialize.
7372 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7373 initializtion of main_arena and list_lock. Small cleanups.
7374 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7375 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7376 Add initializers to main_arena and mp_.
7377 (malloc_state): Remove pagesize member. Change all users to use
7380 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7381 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7382 is always initialized.
7384 * malloc/malloc.c: Removed unused configurations and dead code.
7385 * malloc/arena.c: Likewise.
7386 * malloc/hooks.c: Likewise.
7387 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7389 * include/tls.h: Removed. USE___THREAD must always be defined.
7390 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7391 * elf/dl-libc.c: Likewise.
7392 * elf/dl-tsd.c: Likewise.
7393 * include/errno.h: Likewise.
7394 * include/netdb.h: Likewise.
7395 * include/resolv.h: Likewise.
7396 * inet/herrno-loc.c: Likewise.
7397 * inet/herrno.c: Likewise.
7398 * malloc/arena.c: Likewise.
7399 * malloc/hooks.c: Likewise.
7400 * malloc/malloc.c: Likewise.
7401 * resolv/res-state.c: Likewise.
7402 * resolv/res_libc.c: Likewise.
7403 * sysdeps/i386/dl-machine.h: Likewise.
7404 * sysdeps/ia64/dl-machine.h: Likewise.
7405 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7406 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7407 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7408 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7409 * sysdeps/sh/dl-machine.h: Likewise.
7410 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7412 * sysdeps/unix/i386/sysdep.S: Likewise.
7413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7414 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7419 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7424 * sysdeps/x86_64/dl-machine.h: Likewise.
7425 * tls.make.c: Likewise.
7427 * configure.in: Remove --with-__thread option. Make tests for
7428 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7429 tls_model attribute fail if no support is available. Remove
7431 * Makeconfig: Adjust for dropped configure option. All features are
7433 * Makerules: Likewise.
7434 * Versions.def: Likewise.
7435 * argp/argp-fmtstream.c: Likewise.
7436 * argp/argp-fmtstream.h: Likewise.
7437 * argp/argp-help.c: Likewise.
7438 * assert/assert.c: Likewise.
7439 * config.h.in: Likewise.
7440 * config.make.in: Likewise.
7441 * configure: Likewise.
7442 * configure.in: Likewise.
7443 * csu/Versions: Likewise.
7444 * csu/init.c: Likewise.
7445 * elf/tst-audit2.c: Likewise.
7446 * elf/tst-tls10.c: Likewise.
7447 * elf/tst-tls10.h: Likewise.
7448 * elf/tst-tls11.c: Likewise.
7449 * elf/tst-tls12.c: Likewise.
7450 * elf/tst-tls14.c: Likewise.
7451 * elf/tst-tlsmod11.c: Likewise.
7452 * elf/tst-tlsmod12.c: Likewise.
7453 * elf/tst-tlsmod13.c: Likewise.
7454 * elf/tst-tlsmod13a.c: Likewise.
7455 * elf/tst-tlsmod14a.c: Likewise.
7456 * elf/tst-tlsmod15b.c: Likewise.
7457 * elf/tst-tlsmod16a.c: Likewise.
7458 * elf/tst-tlsmod16b.c: Likewise.
7459 * elf/tst-tlsmod7.c: Likewise.
7460 * elf/tst-tlsmod8.c: Likewise.
7461 * elf/tst-tlsmod9.c: Likewise.
7462 * gmon/gmon.c: Likewise.
7463 * grp/fgetgrent_r.c: Likewise.
7464 * grp/putgrent.c: Likewise.
7465 * hurd/fopenport.c: Likewise.
7466 * include/libc-symbols.h: Likewise.
7467 * include/tls.h: Likewise.
7468 * intl/gettextP.h: Likewise.
7469 * intl/loadinfo.h: Likewise.
7470 * locale/global-locale.c: Likewise.
7471 * locale/localeinfo.h: Likewise.
7472 * mach/devstream.c: Likewise.
7473 * malloc/arena.c: Likewise.
7474 * malloc/set-freeres.c: Likewise.
7475 * misc/err.c: Likewise.
7476 * misc/getttyent.c: Likewise.
7477 * misc/mntent_r.c: Likewise.
7478 * posix/getopt.c: Likewise.
7479 * posix/wordexp.c: Likewise.
7480 * pwd/fgetpwent_r.c: Likewise.
7481 * resolv/Versions: Likewise.
7482 * resolv/res_hconf.c: Likewise.
7483 * shadow/fgetspent_r.c: Likewise.
7484 * shadow/putspent.c: Likewise.
7485 * stdio-common/printf_fphex.c: Likewise.
7486 * stdio-common/tmpfile.c: Likewise.
7487 * stdlib/abort.c: Likewise.
7488 * stdlib/fmtmsg.c: Likewise.
7489 * sunrpc/auth_unix.c: Likewise.
7490 * sunrpc/clnt_perr.c: Likewise.
7491 * sunrpc/clnt_tcp.c: Likewise.
7492 * sunrpc/clnt_udp.c: Likewise.
7493 * sunrpc/clnt_unix.c: Likewise.
7494 * sunrpc/openchild.c: Likewise.
7495 * sunrpc/svc_simple.c: Likewise.
7496 * sunrpc/svc_tcp.c: Likewise.
7497 * sunrpc/svc_udp.c: Likewise.
7498 * sunrpc/svc_unix.c: Likewise.
7499 * sunrpc/xdr.c: Likewise.
7500 * sunrpc/xdr_array.c: Likewise.
7501 * sunrpc/xdr_rec.c: Likewise.
7502 * sunrpc/xdr_ref.c: Likewise.
7503 * sunrpc/xdr_stdio.c: Likewise.
7505 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7507 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7509 2011-07-03 Andreas Jaeger <aj@suse.de>
7511 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7513 regenerate with gen-libm-tests.pl.
7515 2010-05-12 Petr Baudis <pasky@suse.cz>
7518 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7519 around j0() zero points by switching to j1().
7520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7525 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7527 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7529 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7532 Patch in part by Pavel Roskin <proski@gnu.org>.
7535 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7537 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7538 Free memory block if necessary.
7541 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7542 be NULL. Don't lock in this case.
7544 2011-09-09 Roland McGrath <roland@hack.frob.com>
7546 * elf/elf.h (ELFOSABI_GNU): New macro.
7547 (ELFOSABI_LINUX): Define to that.
7549 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7551 * string/strncat.c (strncat): Undef the symbol in case it has been
7552 defined in bits/string.h.
7554 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7556 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7558 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7561 2011-08-17 Andreas Jaeger <aj@suse.de>
7563 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7565 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7566 Ian Lance Taylor <iant@google.com>
7568 * math/libm-test.inc (lround_test): New testcase.
7569 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7571 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7573 * Makefile: Remove support for automatic cvs check-ins.
7574 * Makerules: Likewise.
7575 * config.make.in: Likewise.
7576 * configure.in: Likewise.
7577 * intl/Makefile: Likewise.
7578 * locale/Makefile: Likewise.
7579 * po/Makefile: Likewise.
7580 * posix/Makefile: Likewise.
7581 * sysdeps/gnu/Makefile: Likewise.
7582 * sysdeps/mach/hurd/Makefile: Likewise.
7583 * sysdeps/sparc/sparc32/Makefile: Likewise.
7586 * posix/Makefile (bug-regex32-ENV): Define.
7587 Patch by John Stanley <jpsinthemix@verizon.net>.
7589 * misc/Makefile (headers): Add bits/select2.h.
7590 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7591 * misc/bits/select2.h: New file.
7592 * include/bits/select2.h: New file.
7593 * debug/Makefile (routines): Add fdelt_chk.
7594 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7595 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7597 * debug/fdelt_chk.c: New file.
7599 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7600 * wcsmbs/test-wmemcmp.c: Likewise.
7601 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7602 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7604 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7606 * string/Makefile (strop-tests): Add memcmp.
7607 * string/test-wmemcmp.c: New file.
7608 * string/test-memcmp.c: Add wmemcmp support.
7610 2011-09-08 Roland McGrath <roland@hack.frob.com>
7613 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7616 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7617 garbage value in a __mach_port_mod_refs call in the cases of the
7618 task-self and thread-self ports.
7620 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7622 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7624 2011-09-08 Andreas Schwab <schwab@redhat.com>
7626 * elf/dl-load.c (lose): Check for non-null L.
7628 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7630 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7632 * elf/dl-libc.c (dlerror_run): Pass back error code from
7636 * elf/dl-load.c (lose): Free l_origin if it is valid.
7638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7640 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7643 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7645 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7647 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7650 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7652 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7653 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7654 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7655 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7656 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7657 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7658 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7660 2011-08-15 Alan Modra <amodra@gmail.com>
7663 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7664 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7665 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7666 ppc_mcount to static-only-routines.
7667 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7669 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7670 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7672 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7674 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7675 for finite and infinity parameters.
7677 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7680 and add nop instructions for throughput optimization.
7681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7683 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7686 aligned copy for power7 with vector-scalar instructions.
7687 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7689 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7694 2011-09-07 Andreas Schwab <schwab@redhat.com>
7697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7700 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7703 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7704 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7705 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7708 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7711 Forgot to demangle the pointer.
7713 * sysdeps/i386/sysdep.h: Define atom_text_section.
7714 * sysdeps/x86_64/sysdep.h: Likewise.
7715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7716 section with atom_text_section.
7717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7718 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7725 already be defined. Change to take two parameters and don't assign
7726 result to variable. Adjust all users.
7727 Define INTERNAL_GETTIME if not already defined.
7728 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7731 HAVE_CLOCK_GETTIME_VSYSCALL.
7732 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7735 gettimeofday vsyscall, just use time.
7737 2011-09-06 Andreas Schwab <schwab@redhat.com>
7739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7742 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7744 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7748 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7749 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7750 syscall if possible.
7752 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7754 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7755 e_ident. Don't pass to find_mapsXX.
7756 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7758 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7761 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7762 * sysdeps/x86_64/multiarch/strchr.S: Update.
7763 Check bit_slow_BSF bit.
7764 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7768 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7771 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7774 (__spawni): Change last parameter to be flag. Test
7775 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7776 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7777 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7778 * posix/spawni.c: Likewise.
7779 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7780 * posix/spawnp.c: Likewise. Change normal version to use
7781 SPAWN_XFLAGS_USE_PATH.
7782 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7783 SPAWN_XFLAGS_TRY_SHELL.
7786 * posix/glob.h: Remove gcc 1.x support.
7789 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7791 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7794 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7796 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7797 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7798 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7800 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7801 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7803 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7805 * sysdeps/x86_64/wcscmp.S: New file.
7807 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7808 wcscmp-c wcscmp-sse2
7809 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7810 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7811 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7812 * wcsmbs/wcscmp.c: Allow renaming.
7814 2011-09-05 David S. Miller <davem@davemloft.net>
7816 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7817 stack slot, rather than the struct return pointer slot.
7818 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7819 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7823 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7825 * po/ja.po: Update from translation team.
7828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7829 kernel in 64-bit binaries.
7831 2011-09-01 David S. Miller <davem@davemloft.net>
7833 * elf/elf.h (HWCAP_SPARC_*): Move to..
7834 * sysdeps/sparc/sysdep.h: this new file and add new values.
7835 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7836 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7837 _DL_HWCAP_COUNT to 24.
7838 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7840 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7841 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7842 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7844 instead of magic constants.
7845 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7847 2011-08-31 David S. Miller <davem@davemloft.net>
7849 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7851 Reimplement to do errno handling inline.
7852 (SYSCALL_ERROR_HANDLER): New macro.
7853 (__SYSCALL_STRING): Do not do errno handling in asm.
7854 (__CLONE_SYSCALL_STRING): Delete.
7855 (__INTERNAL_SYSCALL_STRING): Delete.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7857 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7858 (PSEUDO): Reimplement to do errno handling inline.
7859 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7860 (SYSCALL_ERROR_HANDLER): New macro.
7861 (__SYSCALL_STRING): Do not do errno handling in asm.
7862 (__CLONE_SYSCALL_STRING): Delete.
7863 (__INTERNAL_SYSCALL_STRING): Delete.
7864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7865 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7867 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7868 (inline_syscall*): Add 'err' argument.
7869 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7870 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7871 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7872 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7874 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7875 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7877 2011-08-30 Andreas Schwab <schwab@redhat.com>
7879 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7881 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7883 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7886 2011-08-24 David S. Miller <davem@davemloft.net>
7888 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7890 2011-08-24 Andreas Schwab <schwab@redhat.com>
7892 * elf/Makefile: Add rules to build and run unload8 test.
7893 * elf/unload8.c: New file.
7894 * elf/unload8mod1.c: New file.
7895 * elf/unload8mod1x.c: New file.
7896 * elf/unload8mod2.c: New file.
7897 * elf/unload8mod3.c: New file.
7899 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7902 2011-08-23 David S. Miller <davem@davemloft.net>
7904 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7905 subtract stack bias.
7906 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7907 %sp not %fp in calculations.
7908 (_JMPBUF_UNWINDS_ADJ): Likewise.
7910 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7911 (aio_suspend): Call it to force an exception region around the
7912 AIO_MISC_WAIT() invocation.
7914 2011-08-23 Andreas Schwab <schwab@redhat.com>
7916 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7919 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7921 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7923 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7925 (Elf64_FuncDesc): Remove.
7927 2011-08-22 David S. Miller <davem@davemloft.net>
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7930 sigaltstack check, add missing cfi directives.
7931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7932 missing cfi directives, and sigaltstack handling.
7934 2011-08-16 Andreas Schwab <schwab@redhat.com>
7937 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7938 object is seen twice.
7939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7941 * elf/Makefile (distribute): Add tst-initorder2.c.
7942 (tests): Add tst-initorder2.
7943 (modules-names): Add tst-initorder2a tst-initorder2b
7944 tst-initorder2c tst-initorder2d. Add rules to build them.
7945 ($(objpfx)tst-initorder2.out): New rule.
7946 * elf/tst-initorder2.c: New file.
7947 * elf/tst-initorder2.exp: New file.
7949 2011-08-22 Andreas Schwab <schwab@redhat.com>
7951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7953 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7954 dependencies back to end of function.
7956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7959 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7962 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7964 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7965 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7966 of __vdso_gettimeofday.
7967 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7968 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7970 (_libc_vdso_platform_setup): Remove initialization of
7971 __vdso_gettimeofday and __vdso_time.
7973 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7975 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7977 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7980 * elf/dl-open.c (add_to_global): Report additions to the global scope
7981 for LD_DEBUG=scopes.
7982 (dl_open_worker): Also print scope of newly loaded dependencies.
7983 (_dl_show_scope): Indicate if there is no scope.
7986 * stdio-common/Makefile (tests): Add bug24.
7987 * stdio-common/bug24.c: New file.
7989 2011-08-19 Andreas Jaeger <aj@suse.de>
7992 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7993 non-existant file when using close-on-exec mode.
7995 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7998 the very first instruction.
8000 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8001 the CFI state in the end.
8002 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8003 inclusion of dl-trampoline.h.
8004 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8006 2011-08-19 Andreas Schwab <schwab@redhat.com>
8008 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8009 expectations for long double.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8012 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8014 2011-08-14 David S. Miller <davem@davemloft.net>
8016 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8017 artificual limit depends upon the system page size.
8019 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8021 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8022 * resolv/Makefile: Define CFLAGS-libresolv.
8024 2011-08-17 Andreas Schwab <schwab@redhat.com>
8026 * nss/makedb.c (compute_tables): Make variables used in nested
8029 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8031 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8032 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8033 if buffer was too small.
8035 * elf/pldd.c (main): Attach to all threads in the process.
8036 Rewrite /proc handling to use *at functions.
8038 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8040 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8041 specifies first scope to show.
8042 (dl_open_worker): Update callers. Move printing scope of new
8043 object to before the relocation.
8044 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8045 * sysdeps/generic/ldsodefs.h: Update declaration.
8047 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8048 string for the scope number.
8050 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8052 * nscd/servicescache.c (cache_addserv): Make sure written is always
8055 2011-08-14 Roland McGrath <roland@hack.frob.com>
8057 * sysdeps/i386/i486/bits/atomic.h
8058 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8059 statement expression, so as to suppress "set but not used" warning.
8060 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8062 * string/strncat.c (STRNCAT): Use prototype definition.
8064 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8065 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8067 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8068 (localedef-modules): Add localedef.
8069 (locale-modules): Add locale.
8071 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8072 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8075 2011-08-14 David S. Miller <davem@davemloft.net>
8077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8078 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8080 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8082 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8083 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8084 * elf/rtld.c (dl_main): Set l_name of vDSO.
8085 Call _dl_show_scope when DL_DEBUG_SCOPES.
8086 (process_dl_debug): Recognize scopes flag and also set it for all.
8087 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8088 Declare _dl_show_scope.
8090 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8091 (do_dlopen): Pass caller_dlopen to dl_open.
8092 (__libc_dlopen_mode): Initialize caller_dlopen.
8094 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8095 of libc. Make tolower call locale-independent. Optimize a bit by
8096 using isdigit instead of isalnum.
8097 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8099 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8101 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8102 was a dependency or dynamically loaded.
8104 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8106 * intl/l10nflist.c: Allow architecture-specific pop function.
8107 * sysdeps/x86_64/l10nflist.c: New file.
8109 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8112 2011-08-10 Andreas Schwab <schwab@redhat.com>
8114 * include/dirent.h: Add libc_hidden_proto for scandirat and
8115 scandirat64. Don't declare __scandirat64.
8116 * dirent/scandirat.c: Add libc_hidden_def.
8117 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8118 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8120 2011-08-10 David S. Miller <davem@davemloft.net>
8122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8128 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8130 * Versions.def [libc]: Add GLIBC_2.15.
8131 * dirent/Makefile (routines): Add scandirat and scandirat64.
8132 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8134 * dirent/dirent.h: Declare scandirat and scandirat64.
8135 * dirent/scandirat.c: New file.
8136 * dirent/scandirat64.c: New file.
8137 * sysdeps/wordsize-64/scandirat.c: New file.
8138 * sysdeps/wordsize-64/scandirat64.c: New file.
8139 * dirent/opendir.c: Define opendirat.
8140 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8142 * dirent/scandir64.c: Adjust for scandir.c change.
8143 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8144 __scandirat64, and __scandir_cancel_handler.
8145 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8146 additional parameter and use openat instead of open (outside of ld.so).
8147 Add new __opendir as wrapper around __opendirat.
8148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8149 here without requiring old scandirat implementation.
8151 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8153 * dirent/scandir.c (cancel_handler): Renamed to
8154 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8155 defined. Adjust users.
8156 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8157 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8159 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8161 * string/test-string.h (IMPL): Use __STRING to expand name and then
8164 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8167 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169 * string/Makefile: Update.
8170 (strop-tests): Append strncat.
8171 * string/test-wcscmp.c: New file.
8172 New comprehensive test for wcscmp.
8173 * string/test-strcmp.c: Update.
8176 2011-07-22 Andreas Schwab <schwab@redhat.com>
8178 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8181 2011-07-26 Andreas Schwab <schwab@redhat.com>
8183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8184 encoding to ACE if AI_IDN.
8186 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8189 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8191 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8194 Fix overflow bug in strncat.
8195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8197 * string/test-strncat.c: Update.
8198 Add new tests for checking overflow bugs.
8200 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8203 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8204 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8205 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8207 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8208 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8209 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8210 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8213 (USE_AS_STRCAT): Define.
8214 Add strcat and strncat support.
8215 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8217 2011-07-25 Andreas Schwab <schwab@redhat.com>
8219 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8220 __n bigger than INT_MAX+1.
8221 (__strncmp_g): Likewise.
8223 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8225 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8226 * libio/stido.h: Likewise.
8228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8233 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8240 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8245 (_dl_x86_64_save_sse): Likewise.
8247 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8251 (_dl_x86_64_save_sse): Likewise.
8253 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8255 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8257 2011-07-21 Andreas Schwab <schwab@redhat.com>
8259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8261 (_dl_x86_64_save_sse): Use correct AVX check.
8263 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8266 bug in strncpy/strncat.
8267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8269 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8271 * string/tester.c (test_strcat): Add tests for different alignments
8272 of source and destination.
8273 (test_strncat): Likewise.
8275 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8278 * posix/glob.c (glob): Check passed in values before using them in
8279 expressions to avoid some overflows.
8280 (glob_in_dir): Likewise.
8283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8284 check for AVX enablement so that we don't crash with old kernels and
8286 * elf/tst-audit4.c: Add same checks here.
8287 * elf/tst-audit6.c: Likewise.
8289 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8291 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8293 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8295 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8297 * po/cs.po: Update from translation team.
8298 * po/bg.po: Likewise.
8300 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8302 * misc/sys/cdefs.h: Add support for const attribute.
8303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8304 to gnu_dev_{major,minor,makedev} functions.
8306 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8308 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8310 2011-07-20 Andreas Schwab <schwab@redhat.com>
8312 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8315 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8318 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8319 register in order to avoid conflicts with the soft frame pointer
8320 being held in r11 when necessary.
8321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8322 (INTERNAL_VSYSCALL_NCS): Likewise.
8324 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8326 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8327 * elf/dl-fini.c (_dl_fini): Adjust caller.
8328 * elf/dl-close.c (_dl_close_worker): Likewise.
8329 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8331 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8333 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8334 "aux_cache->nlibs < 0".
8336 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8337 in the reload-count case.
8339 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8342 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8343 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8344 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8345 * sysdeps/x86_64/multiarch/strcat.S: New file.
8346 * sysdeps/x86_64/multiarch/strncat.S: New file.
8347 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8348 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8349 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8350 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8352 (USE_AS_STRCAT): Define.
8353 Add strcat and strncat support.
8354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8356 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8357 * string/strncat.c: Update.
8358 (USE_AS_STRNCAT): Define.
8359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8360 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8362 * sysdeps/x86_64/multiarch/init-arch.h
8363 (bit_Prefer_PMINUB_for_stringop): New.
8364 (index_Prefer_PMINUB_for_stringop): Likewise.
8365 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8366 bit_Prefer_PMINUB_for_stringop.
8368 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8370 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8372 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8373 of casting of buffer.
8374 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8375 buffer32 and buffer64.
8376 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8377 writes instead of casting of buffer.
8378 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8380 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8383 2011-07-19 Andreas Schwab <schwab@redhat.com>
8385 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8387 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8389 * nscd/nscd.c (termination_handler): Don't do anything for a database
8390 if it has not yet been initialized.
8392 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8394 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8396 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8398 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8400 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8402 * po/nl.po: Update from translation team.
8403 * po/sv.po: Likewise.
8405 2011-07-16 Roland McGrath <roland@hack.frob.com>
8407 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8408 now disallowed by GCC.
8410 * configure.in (use-default-link): Default to yes if a test -shared
8411 link meets our qualifications.
8412 * configure: Regenerated.
8414 * config.make.in (output-format): New variable.
8415 * configure.in: Check for ld --print-output-format support.
8416 * configure: Regenerated.
8417 * Makerules ($(common-objpfx)format.lds)
8418 [$(output-format) != unknown]: Just use $(output-format),
8419 instead of the linker-script munging.
8421 2011-07-14 Roland McGrath <roland@hack.frob.com>
8423 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8424 of $(common-objpfx)shlib.lds.
8425 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8427 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8428 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8430 * configure.in (-z relro check): Adjust test code to add a large
8431 writable data section after it.
8432 * configure: Regenerated.
8434 2011-07-11 Roland McGrath <roland@hack.frob.com>
8436 * configure.in (-z relro check): Fix test code to make the variable
8438 * configure: Regenerated.
8440 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8442 * nscd/nscd.h (struct traced_file): Define.
8443 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8444 elements. Add traced_files.
8445 (inotify_fd): Declare.
8446 (register_traced_file): Declare.
8447 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8448 (inotify_fd): Export.
8449 (resolv_conf_descr): Remove.
8450 (nscd_init): Move inotify descriptor creation to main.
8451 Don't register files for notification here.
8452 (register_traced_file): New function.
8453 (invalidate_cache): Don't use reset_res to determine whether to call
8454 res_init, go through the list of registered files.
8455 (main_loop_poll): The inotify descriptors are now stored in the
8456 structures for the traced files.
8457 (main_loop_epoll): Likewise
8458 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8459 to __nss_disable_nscd.
8460 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8461 for a database anymore. Check the records for all the registered
8463 * nss/Makefile (libnss_files-routines): Add files-init.
8464 (libnss_db-routines): Add db-init.
8465 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8466 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8467 * nss/nss_db/db-init.c: New file.
8468 * nss/nss_files/files-init.c: New file.
8469 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8470 __nss_lookup_function.
8471 (__nss_lookup_function): Call nss_load_library.
8472 (nss_load_all_libraries): New function.
8473 (__nss_disable_nscd): Take parameter with callback function for files
8474 to register. Set is_nscd. Load all the DSOs for the NSS modules
8475 used for the cached services.
8476 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8477 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8478 options for features to all the files in nscd.
8480 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8482 2011-07-10 Roland McGrath <roland@hack.frob.com>
8484 * csu/elf-init.c (__libc_csu_init): Comment typo.
8486 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8488 * po/pl.po: Update from translation team.
8489 * po/ja.po: Likewise.
8490 * po/ru.po: Likewise.
8491 * po/ko.po: Likewise.
8492 * po/fr.po: Likewise.
8494 2011-07-09 Roland McGrath <roland@hack.frob.com>
8496 * configure.in (.ctors/.dtors header and trailer check):
8497 Use an empirical test on a built program.
8498 * configure: Regenerated.
8500 * configure.in (-z relro check): Use an empirical test on a built DSO.
8501 Detect, but do not require, on ia64.
8502 * configure: Regenerated.
8504 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8505 Update tests that use readelf to use $READELF instead.
8506 * configure: Regenerated.
8508 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8510 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8511 if the result is not used.
8513 2011-07-05 Andreas Jaeger <aj@suse.de>
8516 * stdlib/tst-strtod.c: Add testcase.
8518 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8520 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8521 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8522 The latter has a higher limit. Take additional parameter to pass to
8524 (__pathconf): Pass file to __statfs_link_max.
8525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8527 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8531 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8535 (__statfs_filesize_max): Likewise.
8536 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8538 2011-07-05 Andreas Jaeger <aj@suse.de>
8540 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8542 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8544 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8546 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8549 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8551 * Makefile (strop-tests): Add strncat.
8552 * string/test-strncat.c: New file.
8554 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8556 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8558 2011-06-21 Andreas Jaeger <aj@suse.de>
8560 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8561 Copy rule from iconvdata/Makefile.
8563 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8566 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8567 but no long options are defined, just return 'W'.
8569 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8572 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8574 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8576 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8578 (innetgr): Likewise.
8580 2011-07-05 Roland McGrath <roland@hack.frob.com>
8582 * config.make.in (install_root): Default to $(DESTDIR).
8584 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8588 2011-07-02 Roland McGrath <roland@hack.frob.com>
8590 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8592 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8593 containing directory rather than embedding absolute directory names.
8595 * scripts/check-local-headers.sh: Rewritten using awk.
8596 Match by word, not by line. Print error messages for matches.
8597 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8599 * Makerules [shlib-lds-flags empty]:
8600 ($(common-objpfx)libc_pic.opts): New target.
8601 ($(common-objpfx)libc_pic.os.clean): New target.
8602 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8604 * config.make.in (OBJCOPY): New variable.
8605 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8606 * configure: Regenerated.
8608 * config.make.in (use-default-link): New variable.
8609 * configure.in (use_default_link): Grok --with-default-link to set it.
8610 * configure: Regenerated.
8611 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8612 (shlib-lds, shlib-lds-flags): Define to empty.
8614 * Makerules (shlib-lds): New variable.
8615 (shlib-lds-flags): New variable.
8616 (build-shlib, build-moduile, build-module-asneeded): Use it.
8617 ($(common-objpfx)libc.so): Use $(shlib-lds).
8618 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8619 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8621 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8622 DT_FLAGS/DT_FLAGS_1 with zero flags.
8624 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8625 linker script munging.
8627 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8629 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8631 * crypt/sha512.c (sha512_process_block): Perform total addition using
8632 128-bit if possible.
8633 (__sha512_finish_ctx): Likewise.
8634 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8636 * crypt/sha256.c (SWAP64): Define.
8637 (sha256_process_block): Perform total addition using 64-bit if
8639 (__sha256_finish_ctx): Likewise.
8641 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8643 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8645 * nscd/hstcache.c (cache_addhst): Likewise.
8646 * nscd/grpcache.c (cache_addgr): Likewise.
8647 * nscd/aicache.c (addhstaiX): Likewise
8648 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8650 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8652 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8654 * nscd/hstcache.c (cache_addhst): Likewise.
8655 * nscd/grpcache.c (cache_addgr): Likewise.
8656 * nscd/aicache.c (addhstaiX): Likewise
8658 2011-07-01 Andreas Schwab <schwab@redhat.com>
8660 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8661 domain only when needed.
8663 2011-06-30 Andreas Schwab <schwab@redhat.com>
8665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8668 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8670 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8671 are re-adding the entry.
8672 * nscd/servicescache.c (cache_addserv): Likewise.
8674 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8676 * sysdeps/generic/dl-irel.h: fix protection against multiple
8678 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8680 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8683 * malloc/memusage.sh: Fix quoting in message.
8684 * debug/xtrace.sh: Likewise.
8686 * configure.in: Remove support for --experimental-malloc option, make
8688 * config.make.in: Likewise.
8689 * malloc/Makefile: Likewise.
8691 2011-06-27 Andreas Schwab <schwab@redhat.com>
8693 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8694 two-byte characters.
8696 2011-06-27 Roland McGrath <roland@hack.frob.com>
8698 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8699 AC_CACHE_CHECK invocation.
8700 * configure: Regenerated.
8702 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8704 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8707 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8708 bit from old_res_options.
8710 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8712 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8713 value type for setfct.
8715 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8718 __gettimeofday instead of gettimeofday.
8720 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8722 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8724 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8731 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8734 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8735 strcpy-sse2-unaligned strncpy-sse2-unaligned
8736 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8737 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8738 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8739 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8740 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8743 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8744 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8745 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8746 (STRCPY): Support SSE2 and SSSE3 versions.
8748 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8752 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8753 kernels which artificially limit size of requests.
8755 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8758 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8759 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8760 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8761 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8762 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8763 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8764 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8767 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8768 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8769 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8770 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8771 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8773 Enable unaligned load optimization for Intel Core i3, i5 and i7
8775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8777 (index_Fast_Unaligned_Load): Define.
8778 (HAS_FAST_UNALIGNED_LOAD): Define.
8780 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8782 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8784 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8788 until it is clear that the information is realy needed.
8789 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8791 2011-06-22 Andreas Schwab <schwab@redhat.com>
8793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8795 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8798 /sys/devices/system/cpu/online if it is usable.
8800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8801 reading the information from the /proc filesystem to once a second.
8803 2011-06-21 Andreas Jaeger <aj@suse.de>
8805 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8806 NULL after inclusion of kernel headers.
8808 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8810 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8811 calls to internal_setent.
8814 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8815 addresses using gethostbyname4_r ignore IPv4 addresses.
8817 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8818 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8820 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8822 2011-06-20 David S. Miller <davem@davemloft.net>
8824 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8826 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8828 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8830 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8831 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8832 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8833 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8834 * sysdeps/x86_64/dl-irel.h: Likewise.
8836 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8837 * elf/dl-sym.c: Likewise.
8839 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8841 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8842 need to dereference resplen2.
8844 2011-06-14 Andreas Schwab <schwab@redhat.com>
8846 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8848 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8850 * Makeconfig: Define vardbdir and inst_vardbdir.
8851 * nss/Makefile: Add rules to install db-Makefile.
8853 * nss/nss_db/db-XXX.c: Cleanup.
8855 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8856 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8858 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8859 * nss/makedb.c: Implement -g option to specify that value strings
8860 are generated and should not be added to table iterated over for
8862 * nss/nss_db/db-initgroups.c: New file.
8864 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8867 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8868 (internal_getgrouplist): Adjust to name change.
8869 Update use_initgroups_entry if this is not the first call.
8870 * nss/databases.def: Add initgroups entry.
8872 * nss/makedb.c (compute_tables): Check result of multiple hash table
8873 sizes to minimize maximum chain length.
8875 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8877 * Versions.def: Add entry for libnss_db.
8878 * shlib-versions: Likewise.
8879 * nss/Makefile: Add rules to build libnss_db.
8880 * nss/Versions: Add libnss_db information. Organize libnss_files
8882 * nss/db-Makefile: Add gshadow support. Change rules for the new
8883 makedb progra. Some minor improvements to generate smaller files.
8884 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8886 * nss/makedb.c: ...here.
8887 Improve database format to be smaller and require less memory at
8889 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8891 * nss/nss_db/db-netgrp.c: Likewise.
8892 * nss/nss_db/db-open.c: Likewise.
8893 * nss/nss_files/flies-XXX.x: Adjust comments.
8894 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8895 * nss/nss_files/files-grp.c: Likewise.
8896 * nss/nss_files/files-hosts.c: Likewise.
8897 * nss/nss_files/files-network.c: Likewise.
8898 * nss/nss_files/files-proto.c: Likewise.
8899 * nss/nss_files/files-pwd.c: Likewise.
8900 * nss/nss_files/files-rpc.c: Likewise.
8901 * nss/nss_files/files-service.c: Likewise.
8902 * nss/nss_files/files-sgrp.c: Likewise.
8903 * nss/nss_files/files-spwd.c: Likewise.
8904 * nss/nss_db/db-alias.c: Removed.
8905 * nss/nss_db/dummy-db.h: Removed.
8907 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8909 * nss/makedb.c: Rewritten to not use database library.
8910 * nss/Makefile: Update to build new makedb program.
8912 2011-06-14 Andreas Jaeger <aj@suse.de>
8914 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8917 2011-06-10 Andreas Schwab <schwab@redhat.com>
8919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8922 2011-06-10 Roland McGrath <roland@hack.frob.com>
8924 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8925 * elf/Makefile ($(objpfx)ld.so): Likewise.
8927 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8928 Don't list ld.so twice in dependencies.
8930 * posix/bug-regex31.c: Include <stdlib.h>.
8932 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8934 * nis/nss_compat/compat-spwd.c
8935 (getspent_next_nss_netgr): Remove unused variable.
8936 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8938 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8939 nonmembers" output to use the right array.
8941 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8943 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8945 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8946 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8947 * catgets/gencat.c (read_input_file): Likewise.
8948 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8950 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8951 variable definition inside #if's controlling its use.
8953 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8955 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8957 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8959 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8962 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8964 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8965 * configure: Regenerated.
8967 * Makerules: Revert last change.
8968 * elf/Makefile: Likewise.
8970 2011-06-09 Roland McGrath <roland@hack.frob.com>
8972 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8973 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8974 (reloc-link): Likewise.
8976 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8978 * elf/Makefile: Add rules to build pldd.
8979 * elf/pldd.c: New file.
8980 * elf/pldd-xx.c: New file.
8982 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8984 * version.h: Update for 2.15 development version.
8986 2011-06-07 David S. Miller <davem@davemloft.net>
8988 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8991 elf_machine_lazy_rel): Likewise.
8992 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8994 elf_machine_lazy_rel): Likewise.
8995 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8996 dl_hwcap via passed in argument.
8997 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9000 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9002 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9004 2011-06-06 Roland McGrath <roland@hack.frob.com>
9007 * manual/fdl-1.1.texi: New file, verbatim from:
9008 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9009 * manual/lgpl-2.1.texi: New file, verbatim from:
9010 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9011 * manual/Makefile (licenses): New variable, list those new file names.
9013 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9015 * manual/fdl.texi: File removed.
9016 * manual/lesser.texi: File removed.
9017 * manual/libc.texinfo (Copying, Documentation License):
9018 Use new @include file names, put @appendix directive before @include.
9020 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9023 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9024 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9025 (mq_open): Add __NTH.
9027 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9030 Assume Intel Core i3/i5/i7 processor if AVX is available.
9032 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9037 2011-05-31 Andreas Schwab <schwab@redhat.com>
9039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9040 memory. Use alloca_account. Fix memory leak when retrying.
9042 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9044 * version.h (RELEASE): Bump for 2.14 release.
9045 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9047 * config.make.in (RANLIB): Remove entry.
9049 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9051 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9052 (libc.pot): Work around missing support for .ksh extension in xgettext.
9055 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9056 if both request failed.
9057 (send_dg): In case of server errors clear resplen or *resplen2.
9060 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9061 when there are multiple maps.
9062 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9063 (_dl_fini): Remove test here.
9065 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9067 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9070 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9071 bit from old_res_options.
9072 (gaih_inet): Likewise.
9075 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9078 * resolv/res_init.c (res_setoptions): Make the code more compact.
9081 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9085 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9087 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9090 * malloc/malloc.h: Declare malloc hook variables as volatile.
9092 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9096 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9097 raise in the comment.
9098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9100 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9102 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9105 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9106 grow the buffers more if it already has to be sufficient.
9107 (build_wcs_upper_buffer): Likewise.
9108 * posix/regexec.c (check_matching): Likewise.
9109 (clean_state_log_if_needed): Likewise.
9110 (extend_buffers): Don't enlarge buffers beyond size of the input
9112 Patches mostly by Emil Wojak <emil@wojak.eu>.
9113 * posix/bug-regex32.c: New file.
9114 * posix/Makefile (tests): Add bug-regex32.
9116 * locale/findlocale.c (_nl_find_locale): Return right away if
9117 _nl_explode_name failed.
9118 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9120 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9122 * debug/xtrace.sh: Unify messages.
9123 * malloc/memusage.sh: Likewise.
9126 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9127 time symbol from vDSO. Substitute with vsyscall if not available.
9128 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9131 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9132 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9133 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9134 Add sendmmsg and internal_sendmmsg.
9135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9136 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9137 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9139 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9140 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9143 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9146 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9147 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9153 * iconvdata/Makefile (tests): Add bug-iconv9.
9154 * iconvdata/bug-iconv9.c: New file.
9156 2011-05-27 Andreas Schwab <schwab@redhat.com>
9159 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9161 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9164 (struct user_regs_struct): Change intcs field back to cs.
9166 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9168 * po/ja.po: Update from translation team.
9170 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9173 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9174 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9176 2011-05-20 Andreas Schwab <schwab@redhat.com>
9178 * stdlib/longlong.h: Update from GCC.
9180 2011-05-23 Andreas Schwab <schwab@redhat.com>
9182 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9184 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9186 (__sysconf): Pass it down.
9188 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9191 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9193 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9194 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9195 add in in __libc_use_alloca calls. Adjust callers.
9196 (glob): Use malloc in some situations.
9198 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9199 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9202 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9204 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9205 and CLOCK_BOOTTIME_ALARM.
9208 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9211 * string/_strerror.c (__strerror_r): Print negative errors as signed
9215 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9216 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9217 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9219 * configure.in: Fix typo in redirection and correct removal of test
9223 * locale/setlocale.c (new_composite_name): Fix test to check for
9224 identical name of all categories.
9227 * libio/filedoalloc.c (local_isatty): New function.
9228 (_IO_file_doallocate): Use local_isatty.
9229 * stdio-common/perror.c (perror): In case a new stream is used
9230 forward the stream error.
9231 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9234 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9239 * include/alloca.h (extend_alloca_account): Define.
9242 * posix/regex.h: Fix comments with documentation of user-accessible
9243 fields after compilation and describe correct free'ing of pattern
9244 after re_compile_pattern.
9245 Patch by Reuben Thomas <rrt@sc3d.org>.
9247 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9249 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9250 and -mno-altivec to prevent the compiler from using Altivec and/or
9251 VSX instructions when the corresponding registers are not available.
9253 2011-05-19 Andreas Schwab <schwab@redhat.com>
9255 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9257 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9259 * libio/freopen.c (freopen): Use __dup2, not dup2.
9260 * libio/freopen64.c (freopen64): Likewise.
9262 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9265 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9266 * math/Makefile (tests): Add test-powl.
9267 (CFLAGS-test-powl.c): Define.
9268 * math/test-powl.c: New file.
9270 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9272 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9274 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9277 * iconvdata/gb18030.c: Update to GB18020-2005.
9279 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9281 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9282 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9283 Patch by Aharon Robbins <arnold@skeeve.com>.
9286 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9290 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9294 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9295 point to strings before performing equality test for error_one_per_line
9299 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9303 (struct user_fpregs_struct): Avoid __uint*_t types.
9306 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9307 symbol info. Use it instead of calling _dl_addr locally.
9308 (lock_and_info): New function.
9309 (tr_freehook): Call lock_and_info and pass symbol info as additional
9310 parameter to tr_where.
9311 (tr_mallochook): Likewise.
9312 (tr_reallochook): Likewise.
9313 (tr_memalignhook): Likewise.
9315 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9316 used and couldn't be at all thread-safe.
9318 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9320 * libio/freopen.c (freopen): Don't close old file descriptor
9321 before the new one is opened. Instead dup the new file descriptor
9322 to the old one after the new stream is created.
9323 * libio/freopen64.c (freopen64): Likewise.
9324 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9325 * libio/fileops.c (_IO_new_file_close_it): Handle new
9326 _IO_FLAGS2_NOCLOSE flag.
9327 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9328 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9329 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9330 _IO_FLAGS2_NOCLOSE flag.
9331 * include/unistd.h: Add hidden_proto for dup3.
9333 * io/dup3.c: Define hidden symbol.
9334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9337 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9338 when an incomplete long option is used.
9339 * posix/tst-getopt_long1.c: New file.
9340 * posix/Makefile (tests): Add tst-getopt_long1.
9343 * scripts/config.guess: Update from autoconf-2.68.
9344 * scripts/config.sub: Likewise.
9347 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9349 (has_cpuclock): ...this. New function.
9350 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9351 macro here based on has_cpuclock code.
9354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9355 First byte (not low byte) is now always NUL.
9356 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9359 Use non-cancelable interfaces.
9362 * locale/iso-639.def: Add entry for Sorani.
9365 * include/stdlib.h: Move include protection to the right place.
9366 Define abort_msg_s. Declare __abort_msg with it.
9367 * stdlib/abort.c (__abort_msg): Adjust type.
9368 * assert/assert.c (__assert_fail_base): New function. Majority
9369 of code from __assert_fail. Allocate memory for __abort_msg with
9371 (__assert_fail): Now call __assert_fail_base.
9372 * assert/assert-perr.c: Remove bulk of implementation. Use
9374 * include/assert.hL Declare __assert_fail_base.
9375 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9377 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9379 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9383 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9384 until all modules are registered in the DTV.
9385 * elf/Makefile: Add rules to build and run tst-tls19.
9386 * elf/tst-tls19.c: New file.
9387 * elf/tst-tls19mod1.c: New file.
9388 * elf/tst-tls19mod2.c: New file.
9389 * elf/tst-tls19mod3.c: New file.
9390 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9393 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9397 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9398 two-byte sequence errors.
9399 * iconvdata/Makefile (tests): Add bug-iconv8.
9400 * iconvdata/bug-iconv8.c: New file.
9403 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9406 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9409 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9410 (dummy_getcfa): New function.
9411 (init): Get _Unwind_GetCFA address, use dummy if not found.
9412 (backtrace_helper): In recursion check, also check whether CFA changes.
9413 (__backtrace): Completely initialize arg.
9415 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9416 storing incomplete byte sequence in state object. Avoid testing for
9417 guaranteed too small input if we know there is enough data available.
9419 2011-05-11 Andreas Schwab <schwab@redhat.com>
9421 * Makeconfig (+link-pie): Indent.
9422 * Rules (binaries-pie): Define if $(have-fpie) and
9424 (binaries-shared): Also filter out $(binaries-pie).
9425 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9426 * nscd/Makefile (others-pie): Add nscd.
9427 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9428 ($(objpfx)nscd): Remove command override.
9429 * login/Makefile (others-pie): Add pt_chown.
9430 ($(objpfx)pt_chown): Remove command override.
9431 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9432 remove command overrides.
9434 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9436 * libio/tst_putwc.c: Fix error messages.
9439 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9440 currently writing and seek to current position when not.
9441 * libio/Makefile (tests): Add bug-fclose1.
9442 * libio/bug-fclose1.c: New file.
9444 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9447 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9448 don't set DF_1_NODELETE here.
9449 (do_lookup_x): When entering new entry test for copy relocation
9450 and if necessary set DF_1_NODELETE flag.
9451 * elf/tst-unique4.cc: New file.
9452 * elf/tst-unique4.h: New file.
9453 * elf/tst-unique4lib.cc: New file.
9454 * elf/Makefile: Add rules to build and run tst-unique4.
9455 Patch by Piotr Bury <pbury@goahead.com>.
9457 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9460 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9463 * misc/mntent_r.c (addmntent): Flush the stream after the output
9466 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9467 (is_trusted_path_normalize): Skip initial colon. Append slash
9468 to empty buffer. Duplicate is_trusted_path code but allow
9469 constructed patch to be prefix.
9470 (is_dst): Allow $ORIGIN followed by /.
9471 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9472 Correct testing of result of is_trusted_path_normalize
9473 (decompose_rpath): Fix warning.
9475 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9478 * grp/initgroups.c (internal_getgrouplist): When we found the service
9479 list through the initgroups entry in nsswitch.conf do not always
9480 continue on a successful lookup. Don't always use the
9481 __nss_group_database value if it is set.
9482 * nss/nsswitch.conf (initgroups): Change action for successful db
9483 lookup to continue for compatibility.
9485 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9488 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9490 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9492 * iconvdata/tst-tables.sh: Likewise.
9493 * iconvdata/cp770.c: New file.
9494 * iconvdata/cp771.c: New file.
9495 * iconvdata/cp772.c: New file.
9496 * iconvdata/cp773.c: New file.
9497 * iconvdata/cp774.c: New file.
9498 * iconvdata/testdata/CP770: New file.
9499 * iconvdata/testdata/CP770..UTF8: New file.
9500 * iconvdata/testdata/CP771: New file.
9501 * iconvdata/testdata/CP771..UTF8: New file.
9502 * iconvdata/testdata/CP772: New file.
9503 * iconvdata/testdata/CP772..UTF8: New file.
9504 * iconvdata/testdata/CP773: New file.
9505 * iconvdata/testdata/CP773..UTF8: New file.
9506 * iconvdata/testdata/CP774: New file.
9507 * iconvdata/testdata/CP774..UTF8: New file.
9509 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9511 * iconvdata/gen-8bit-gap.sh: Likewise.
9512 * iconvdata/gen-8bit.sh: Likewise.
9514 * locale/iso-639.def: Add ary entry.
9517 * locale/C-translit.h.in: Add U20A1 transliteration.
9520 * locale/iso-639.def: Add wae entry.
9521 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9524 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9528 * locale/C-translit.h.in: Add entry for U20B9.
9529 Patch by pravin.d.s@gmail.com.
9531 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9534 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9535 ENAMETOOLONG use generic getcwd.
9536 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9537 in rtld. Use *stat64.
9538 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9539 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9540 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9541 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9542 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9543 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9544 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9546 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9547 * dirent/rewinddir.c: Add libc_hidden_def.
9548 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9549 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9551 * include/dirent.h (__alloc_dir): Add flags parameter.
9552 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9553 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9555 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9556 from fdopendir if O_CLOEXEC is already set.
9558 2011-03-15 Alan Modra <amodra@gmail.com>
9560 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9561 l_tls_firstbyte_offset non-zero. Save padding offset in
9562 l_tls_firstbyte_offset for later use.
9563 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9564 freeing static tls block.
9566 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9568 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9569 where #ifdef was intended. The intent is to prevent ARG_MAX from
9570 being defined by the kernel headers.
9572 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9575 * resolv/resolv.h: Define RES_NOTLDQUERY.
9576 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9577 no-tld-query and set RES_NOTLDQUERY.
9578 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9579 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9580 modern BIND to search name as TLD unless forbidden.
9582 2011-05-07 Petr Baudis <pasky@suse.cz>
9583 Ulrich Drepper <drepper@gmail.com>
9586 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9587 (is_trusted_path): ...to here.
9588 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9589 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9590 using is_trusted_path_normalize() in setuid scripts.
9592 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9594 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9595 __BEGIN/__END_DECLS.
9597 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9600 NSS_STATUS_NOTFOUND if no record was found.
9602 2011-05-05 Andreas Schwab <schwab@redhat.com>
9604 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9605 (headers-not-in-tirpc): Remove rpc/netdb.h
9606 * resolv/netdb.h: Revert last change.
9608 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9610 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9611 circular dependency between libgcc.a and libc.a.
9613 2011-05-05 Andreas Schwab <schwab@redhat.com>
9615 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9616 * nis/Makefile: Don't install rpcsvc/*.
9617 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9618 instead of <rpc/types.h>.
9619 (MAXHOSTNAMELEN): Define.
9621 2011-05-03 Andreas Schwab <schwab@redhat.com>
9623 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9625 2011-04-28 Maciej Babinski <mbabinski@google.com>
9628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9629 gethostbyname4_r when IPv6 results are possible.
9631 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9634 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9635 _PC_PIPE_BUF handling.
9637 2011-04-30 Bruno Haible <bruno@clisp.org>
9640 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9641 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9643 * inet/getnameinfo.c (getnameinfo): Likewise.
9645 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9647 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9648 to groups setting in database lookup.
9649 * nss/nsswitch.conf: Add initgroups entry.
9651 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9654 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9656 Patch by Eric Blake <eblake@redhat.com>.
9658 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9660 * sunrpc/Makefile (need-export-routines): Add svc_run.
9661 (routines): Remove svc_run.
9662 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9663 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9664 * sunrpc/svc_run.c (svc_run): Likewise.
9665 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9667 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9670 problem in reallocation in last patch.
9672 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9674 * sunrpc/Makefile: Move inclusion of Rules.
9676 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9678 * nss/nss_files/files-initgroups.c: New file.
9679 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9680 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9681 _nss_files_initgroups_dyn.
9683 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9685 * elf/elf.h (R_ARM_IRELATIVE): Define.
9687 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9689 * po/ru.po: Update from translation team.
9691 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9693 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9696 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9699 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9700 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9705 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9707 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9709 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9713 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9718 * stdlib/bug-getcontext.c: New file.
9719 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9721 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9723 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9724 instructions into .machine "z9-109".
9725 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9726 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9728 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9730 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9731 between environment variables and auxiliary vector.
9733 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9735 * Makefile: Add rules to build linkobj/libc.so.
9736 * include/libc-symbols.h: Define libc_hidden_nolink.
9737 * include/rpc/auth.h: Mark functions which are to be hidden.
9738 * include/rpc/auth_des.h: Likewise.
9739 * include/rpc/auth_unix.h: Likewise.
9740 * include/rpc/clnt.h: Likewise.
9741 * include/rpc/des_crypt.h: Likewise.
9742 * include/rpc/key_prot.h: Likewise.
9743 * include/rpc/pmap_clnt.h: Likewise.
9744 * include/rpc/pmap_prot.h: Likewise.
9745 * include/rpc/pmap_rmt.h: Likewise.
9746 * include/rpc/rpc_msg.h: Likewise.
9747 * include/rpc/svc.h: Likewise.
9748 * include/rpc/svc_auth.h: Likewise.
9749 * include/rpc/xdr.h: Likewise.
9750 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9751 * nss/Makefile: Likewise.
9752 * sunrpc/Makefile: Don't install headers. Build library with normal
9753 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9754 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9755 for the compat linking library. Remove use of INTDEF/INTUSE.
9756 * sunrpc/auth_none.c: Likewise.
9757 * sunrpc/auth_unix.c: Likewise.
9758 * sunrpc/authdes_prot.c: Likewise.
9759 * sunrpc/authuxprot.c: Likewise.
9760 * sunrpc/clnt_gen.c: Likewise.
9761 * sunrpc/clnt_perr.c: Likewise.
9762 * sunrpc/clnt_raw.c: Likewise.
9763 * sunrpc/clnt_simp.c: Likewise.
9764 * sunrpc/clnt_tcp.c: Likewise.
9765 * sunrpc/clnt_udp.c: Likewise.
9766 * sunrpc/clnt_unix.c: Likewise.
9767 * sunrpc/des_crypt.c: Likewise.
9768 * sunrpc/des_soft.c: Likewise.
9769 * sunrpc/get_myaddr.c: Likewise.
9770 * sunrpc/key_call.c: Likewise.
9771 * sunrpc/key_prot.c: Likewise.
9772 * sunrpc/netname.c: Likewise.
9773 * sunrpc/pm_getmaps.c: Likewise.
9774 * sunrpc/pm_getport.c: Likewise.
9775 * sunrpc/pmap_clnt.c: Likewise.
9776 * sunrpc/pmap_prot.c: Likewise.
9777 * sunrpc/pmap_prot2.c: Likewise.
9778 * sunrpc/pmap_rmt.c: Likewise.
9779 * sunrpc/publickey.c: Likewise.
9780 * sunrpc/rpc_cmsg.c: Likewise.
9781 * sunrpc/rpc_common.c: Likewise.
9782 * sunrpc/rpc_dtable.c: Likewise.
9783 * sunrpc/rpc_prot.c: Likewise.
9784 * sunrpc/rpc_thread.c: Likewise.
9785 * sunrpc/rtime.c: Likewise.
9786 * sunrpc/svc.c: Likewise.
9787 * sunrpc/svc_auth.c: Likewise.
9788 * sunrpc/svc_authux.c: Likewise.
9789 * sunrpc/svc_raw.c: Likewise.
9790 * sunrpc/svc_run.c: Likewise.
9791 * sunrpc/svc_simple.c: Likewise.
9792 * sunrpc/svc_tcp.c: Likewise.
9793 * sunrpc/svc_udp.c: Likewise.
9794 * sunrpc/svc_unix.c: Likewise.
9795 * sunrpc/svcauth_des.c: Likewise.
9796 * sunrpc/xcrypt.c: Likewise.
9797 * sunrpc/xdr.c: Likewise.
9798 * sunrpc/xdr_array.c: Likewise.
9799 * sunrpc/xdr_float.c: Likewise.
9800 * sunrpc/xdr_intXX_t.c: Likewise.
9801 * sunrpc/xdr_mem.c: Likewise.
9802 * sunrpc/xdr_rec.c: Likewise.
9803 * sunrpc/xdr_ref.c: Likewise.
9804 * sunrpc/xdr_sizeof.c: Likewise.
9805 * sunrpc/xdr_stdio.c: Likewise.
9807 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9810 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9811 * sysdeps/ia64/dl-tls.h: Likewise.
9812 * sysdeps/powerpc/dl-tls.h: Likewise.
9813 * sysdeps/s390/dl-tls.h: Likewise.
9814 * sysdeps/sh/dl-tls.h: Likewise.
9815 * sysdeps/sparc/dl-tls.h: Likewise.
9816 * sysdeps/x86_64/dl-tls.h: Likewise.
9817 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9819 2011-03-14 Andreas Schwab <schwab@redhat.com>
9821 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9822 rpath element also skip the following colon.
9823 (expand_dynamic_string_token): Add is_path parameter and pass
9824 down to DL_DST_REQUIRED and _dl_dst_substitute.
9825 (decompose_rpath): Call expand_dynamic_string_token with
9826 non-zero is_path. Ignore empty rpaths.
9827 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9830 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9835 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9838 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9839 Patch by Filipe David Manana <fdmanana@apache.org>.
9841 2011-04-07 Andreas Schwab <schwab@redhat.com>
9843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9844 Maintain aligned stack.
9845 (CHECK_RSP): Remove unused macro.
9847 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9849 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9850 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9852 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9854 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9856 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9858 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9861 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9862 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9863 * sysdeps/x86_64/memmove.c: New file.
9864 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9865 (memcpy): Renamed to ...
9866 (__new_memcpy): This.
9867 (memcpy): Provide GLIBC_2_14 memcpy.
9868 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9869 (memcpy): Provide GLIBC_2_2_5 memcpy.
9871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9874 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9876 2011-03-30 Andreas Schwab <schwab@redhat.com>
9878 * misc/syncfs.c: New file.
9879 * misc/Makefile (routines): Add syncfs.
9880 * posix/unistd.h: Declare syncfs.
9881 * sysdeps/unix/syscalls.list: Add syncfs.
9883 2011-04-01 Andreas Schwab <schwab@redhat.com>
9885 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9888 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9892 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9895 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9898 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9905 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9906 sync_file_range.c with -fexceptions.
9907 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9908 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9909 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9910 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9911 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9914 sync_file_range as cancellation point
9915 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9916 now a wrapper around __call_sync_file_range with cancellation handling.
9917 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9918 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9919 function name to __call_sync_file_range.
9920 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9921 Add call_sync_file_range.
9923 2011-04-01 Andreas Schwab <schwab@redhat.com>
9925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9928 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9930 * iconv/iconv.h: Fix typo in comment.
9931 * io/fcntl.h: Likewise.
9932 * libio/stdio.h: Likewise.
9933 * posix/spawn.h: Likewise.
9934 * posix/unistd.h: Likewise.
9935 * stdlib/stdlib.h: Likewise.
9936 * time/time.h: Likewise.
9937 * wcsmbs/wchar.h: Likewise.
9939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9940 open_by_handle): Add.
9941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9942 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9943 Augment a few comments.
9944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9949 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9952 * io/fcntl.h (AT_EMPTY_PATH): Define.
9954 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9956 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9957 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9958 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9960 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9961 * Versions.def: Add GLIBC_2.14.
9962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9965 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9967 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9969 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9971 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9974 * string/test-strncmp.c (do_page_test): New function.
9976 (test_main): Call check2.
9977 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9979 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9983 Handle cache information in CPU leaf 4.
9984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9986 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9989 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9990 character representation.
9991 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9993 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9995 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9996 END(__isnan) to END(__isnanf) to match function entry point/label
9997 EALIGN(__isnanf,...).
9999 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10001 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10003 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10006 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10007 copy from the symbol referenced in the relocation to initialize the
10009 Patch by Piotr Bury <pbury@goahead.com>.
10010 * elf/Makefile: Add rules to build and tst-unique3.
10011 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10012 * elf/tst-unique3.cc: New file.
10013 * elf/tst-unique3.h: New file.
10014 * elf/tst-unique3lib.cc: New file.
10015 * elf/tst-unique3lib2.cc: New file.
10017 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10019 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10021 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10022 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10025 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10027 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10028 to-be-loaded object along a path to loader is ld.so.
10030 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10031 Ulrich Drepper <drepper@gmail.com>
10033 * sysdeps/x86_64/memset.S: After aligning destination, code
10034 branches to different locations depending on the value of
10035 misalignment, when multiarch is enabled. Fix this.
10037 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10039 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10040 Set _x86_64_preferred_memory_instruction for AMD processsors.
10041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10042 Set bit_Prefer_SSE_for_memop for AMD processors.
10044 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10046 * libio/fmemopen.c (fmemopen): Optimize a bit.
10048 2011-03-03 Andreas Schwab <schwab@redhat.com>
10050 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10052 2011-03-03 Roland McGrath <roland@redhat.com>
10054 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10056 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10058 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10059 __bzero_ultra1 instead of __memset_ultra1.
10061 2011-02-23 Andreas Schwab <schwab@redhat.com>
10062 Ulrich Drepper <drepper@gmail.com>
10065 * include/link.h (struct link_map): Add l_orig_initfini.
10066 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10067 returning unsuccessfully.
10068 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10069 close of a file loaded at startup, restore the original l_initfini
10071 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10072 list, store the pointer.
10073 * elf/Makefile ($(objpfx)noload-mem): New rule.
10074 (noload-ENV): Define.
10075 (tests): Add $(objpfx)noload-mem.
10076 * elf/noload.c: Include <memcheck.h>.
10077 (main): Call mtrace. Close all opened handles.
10079 2011-02-17 Andreas Schwab <schwab@redhat.com>
10082 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10083 dependencies are missing.
10085 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10087 Fix __if_freereq crash: Unlike the generic version which uses free,
10089 * sysdeps/mach/hurd/ifreq.h: New file.
10091 2011-01-27 Petr Baudis <pasky@suse.cz>
10092 Ulrich Drepper <drepper@gmail.com>
10095 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10096 to extend_alloca().
10097 * stdio-common/bug23.c: New file.
10098 * stdio-common/Makefile (tests): Add bug23.
10100 2010-09-28 Andreas Schwab <schwab@redhat.com>
10101 Ulrich Drepper <drepper@gmail.com>
10104 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10105 before performing relro protection. At old place add assertion
10106 to make sure nothing changed.
10108 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10109 Glauber de Oliveira Costa <glommer@gmail.com>
10111 * elf/elf.h: Add new ARM TLS relocs.
10113 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10116 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10118 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10120 * sysdeps/wordsize-64/tst-writev.c: New file.
10122 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10124 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10125 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10126 insns in _dl_start to prevent a TOC reference before relocs are
10129 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10132 * Makeconfig: Remove RANLIB definition.
10133 * Makerules: Don't use RANLIB.
10134 * aclocal.m4: Remove ranlib test.
10135 * configure.in: No need to check for ranlib.
10136 * elf/rtld-Rules: Don't use RANLIB.
10138 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10140 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10142 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10143 inclusion protection macro.
10145 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10146 SIGRTMIN and SIGRTMAX and print information in that case only when
10147 SIGRTMIN is defined.
10149 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10151 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10152 arginfo fn returning -1.
10154 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10155 and thousands string is zero terminated.
10157 2011-02-03 Andreas Schwab <schwab@redhat.com>
10159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10160 sysdeps/unix/sysv/linux/bits/socket.h.
10162 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10164 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10165 (__CPU_COUNT): Remove old macros.
10166 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10167 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10168 (__CPU_ALLOC, __CPU_FREE): Add macros.
10169 (__sched_cpualloc, __sched_cpufree): Add declarations.
10171 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10173 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10174 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10175 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10176 (readdhstai): Return value of addhstaiX call.
10177 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10178 (addgrbyX): Return value returned by cache_addgr.
10179 (readdgrbyname): Return value returned by addgrbyX.
10180 (readdgrbygid): Likewise.
10181 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10182 (addpwbyX): Return value returned by cache_addpw.
10183 (readdpwbyname): Return value returned by addhstbyX.
10184 (readdpwbyuid): Likewise.
10185 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10186 (addservbyX): Return value returned by cache_addserv.
10187 (readdservbyname): Return value returned by addservbyX:
10188 (readdservbyport): Likewise.
10189 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10190 (addhstbyX): Return value returned by cache_addhst.
10191 (readdhstbyname): Return value returned by addhstbyX.
10192 (readdhstbyaddr): Likewise.
10193 (readdhstbynamev6): Likewise.
10194 (readdhstbyaddrv6): Likewise.
10195 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10196 (readdinitgroups): Return value returned by addinitgroupsX.
10197 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10198 (prune_cache): Keep track of timeout value of re-added entries.
10199 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10200 * nscd/nscd.h: Adjust prototypes of readd* functions.
10202 2011-02-04 Roland McGrath <roland@redhat.com>
10204 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10205 (nis_stats): Likewise.
10206 * nis/nis_modify.c (nis_modify): Likewise.
10207 * nis/nis_remove.c (nis_remove): Likewise.
10208 * nis/nis_add.c (nis_add): Likewise.
10210 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10212 * posix/fnmatch_loop.c: Add some consts.
10214 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10216 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10219 * config.make.in (config-cflags-novzeroupper): Define.
10220 * configure.in: Substitute libc_cv_cc_novzeroupper.
10221 * elf/Makefile (AVX-CFLAGS): Define.
10222 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10223 (CFLAGS-tst-auditmod4a.c): Likewise.
10224 (CFLAGS-tst-auditmod4b.c): Likewise.
10225 (CFLAGS-tst-auditmod6b.c): Likewise.
10226 (CFLAGS-tst-auditmod6c.c): Likewise.
10227 (CFLAGS-tst-auditmod7b.c): Likewise.
10228 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10230 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10232 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10233 function to the callback.
10234 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10236 2011-02-02 Andreas Schwab <schwab@redhat.com>
10238 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10241 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10244 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10246 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10248 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10251 * elf/Makefile: Add rules to build and run new test.
10252 * elf/tst-initorder.c: New file.
10253 * elf/tst-initorder.exp: New file.
10254 * elf/tst-initordera1.c: New file.
10255 * elf/tst-initordera2.c: New file.
10256 * elf/tst-initordera3.c: New file.
10257 * elf/tst-initordera4.c: New file.
10258 * elf/tst-initorderb1.c: New file.
10259 * elf/tst-initorderb2.c: New file.
10260 * elf/tst-order-a1.c: New file.
10261 * elf/tst-order-a2.c: New file.
10262 * elf/tst-order-a3.c: New file.
10263 * elf/tst-order-a4.c: New file.
10264 * elf/tst-order-b1.c: New file.
10265 * elf/tst-order-b2.c: New file.
10266 * elf/tst-order-main.c: New file.
10267 New test case by George Gensure <werkt0@gmail.com>.
10269 2010-10-01 Andreas Schwab <schwab@redhat.com>
10271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10272 decoding ACE if AI_CANONIDN.
10274 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10276 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10278 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10280 * version.h (RELEASE): Bump for 2.13 release.
10281 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10283 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10287 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10294 * posix/getconf.c: Update copyright year.
10295 * catgets/gencat.c: Likewise.
10296 * csu/version.c: Likewise.
10297 * debug/catchsegv.sh: Likewise.
10298 * debug/xtrace.sh: Likewise.
10299 * elf/ldconfig.c: Likewise.
10300 * elf/ldd.bash.in: Likewise.
10301 * elf/sprof.c (print_version): Likewise.
10302 * iconv/iconv_prog.c: Likewise.
10303 * iconv/iconvconfig.c: Likewise.
10304 * locale/programs/locale.c: Likewise.
10305 * locale/programs/localedef.c: Likewise.
10306 * malloc/memusage.sh: Likewise.
10307 * malloc/mtrace.pl: Likewise.
10308 * nscd/nscd.c (print_version): Likewise.
10309 * nss/getent.c: Likewise.
10311 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10312 PF_CAIF, and PF_ALG.
10313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10315 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10317 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10318 (modules-names): Use them.
10319 (ifunc-test-modules, ifunc-pie-tests): Define.
10320 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10321 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10322 (test-extras): Likewise.
10323 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10324 $(compile-command.c).
10325 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10326 (all-built-dso): Define.
10327 (check-textrel.out, check-execstack.out): Depend on it.
10329 * configure.in: Don't override --enable-multi-arch.
10331 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10334 * nscd/hstcache.c (tryagain): Define.
10335 (cache_addhst): Return tryagain not notfound for temporary errors.
10336 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10339 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10343 to make the syscall.
10344 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10347 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10348 and fall back to matching as normal character if the string ends before
10349 the matching ']' is found. This is what POSIX requires.
10350 * posix/testfnm.c: Adjust test result.
10351 * posix/globtest.sh: Adjust test result. Add new test.
10352 * posix/tst-fnmatch.input: Likewise.
10353 * posix/tst-fnmatch2.c: Add new test.
10355 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10357 * elf/Makefile (check-execstack): Revert last change. Depend on
10359 (check-execstack.h): New target.
10360 (generated): Add check-execstack.h.
10361 * elf/check-execstack.c: Include "check-execstack.h".
10362 (main): Revert last change.
10363 (handle_file): Return zero if GNU_STACK is absent and
10364 DEFAULT_STACK_PERMS doesn't include PF_X.
10366 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10368 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10369 in child fails because the descriptor is already closed.
10370 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10371 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10372 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10375 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10379 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10380 temporary buffer used to handle multi lookups locally.
10381 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10383 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10385 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10388 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10390 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10391 alignment for SSE2.
10393 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10396 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10397 characters. When rounding increased number of integer digits recompute
10399 * stdio-common/tst-grouping.c: New file.
10400 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10402 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10404 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10405 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10407 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10409 * bits/select.h: Likewise.
10411 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10413 * po/ja.po: Update from translation team.
10415 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10418 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10419 implementation just like for lxstat, fxstatat, et al.
10421 2010-12-27 Jim Meyering <meyering@redhat.com>
10424 * posix/regexec.c (build_trtable): Return failure indication upon
10425 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10427 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10430 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10431 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10432 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10433 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10436 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10439 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10440 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10442 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10444 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10445 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10446 script has SORT_BY_INIT_PRIORITY.
10447 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10448 NO_CTORS_DTORS_SECTIONS is defined.
10449 * elf/soinit.c: Likewise.
10450 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10451 NO_CTORS_DTORS_SECTIONS is defined.
10452 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10453 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10454 * sysdeps/sh/init-first.c: Likewise.
10455 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10457 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10459 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10460 always use the slow path.
10462 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10464 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10465 similar rule which adds the sysdep directories to the header search in
10466 order to pick up the correct platform stackinfo.h.
10467 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10468 perform test if it is, otherwise return successfully without testing.
10469 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10470 DEFAULT_STACK_PERMS define in stackinfo.h.
10471 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10472 defined in stackinfo.h.
10473 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10474 DEFAULT_STACK_PERMS defined in stackinfo.h.
10475 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10476 * sysdeps/ia64/stackinfo.h: Likewise.
10477 * sysdeps/s390/stackinfo.h: Likewise.
10478 * sysdeps/sh/stackinfo.h: Likewise.
10479 * sysdeps/sparc/stackinfo.h: Likewise.
10480 * sysdeps/x86_64/stackinfo.h: Likewise.
10481 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10482 PF_X for powerpc64. Retain PF_X for powerpc32.
10484 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10486 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10488 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10489 GETDENTS_64BIT_ALIGNED.
10491 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10493 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10495 2010-12-10 Andreas Schwab <schwab@redhat.com>
10497 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10500 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10501 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10503 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10504 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10506 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10509 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10512 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10514 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10516 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10518 * po/it.po: Update from translation team.
10520 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10525 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10527 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10529 2010-11-24 Andreas Schwab <schwab@redhat.com>
10531 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10533 (gaih_getanswer_slice): Likewise.
10535 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10539 2010-05-31 Petr Baudis <pasky@suse.cz>
10542 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10543 silently even in the chroot mode.
10545 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10547 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10548 last patch a bit. Pretty printing
10550 2010-05-31 Petr Baudis <pasky@suse.cz>
10553 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10554 initialization of skip_initgroups_dyn.
10556 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10561 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10563 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10565 2010-11-11 Andreas Schwab <schwab@redhat.com>
10567 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10568 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10569 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10570 ($(objpfx)tst-fnmatch-mem): New rule.
10571 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10572 * posix/tst-fnmatch.c (main): Call mtrace.
10574 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10577 Support Intel processor model 6 and model 0x2c.
10579 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10581 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10584 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10587 * string/test-strncasecmp.c (check_result): New function.
10588 (do_one_test): Use it.
10589 (check1): New function.
10590 (test_main): Use it.
10591 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10592 Support strcasecmp and strncasecmp.
10594 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10597 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10600 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10602 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10606 * sysdeps/x86_64/multiarch/bzero.S: New file.
10607 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10608 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10609 * sysdeps/x86_64/multiarch/memset.S: New file.
10610 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10612 Set bit_Prefer_SSE_for_memop for Intel processors.
10613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10615 (index_Prefer_SSE_for_memop): Define.
10616 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10618 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10620 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10621 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10623 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10626 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10627 (__x86_64_raw_data_cache_size_half): Likewise.
10628 (__x86_64_raw_shared_cache_size): Likewise.
10629 (__x86_64_raw_shared_cache_size_half): Likewise.
10631 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10632 (__x86_64_raw_data_cache_size_half): Likewise.
10633 (__x86_64_raw_shared_cache_size): Likewise.
10634 (__x86_64_raw_shared_cache_size_half): Likewise.
10635 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10636 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10637 and __x86_64_raw_shared_cache_size_half. Round
10638 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10639 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10640 to multiple of 256 bytes.
10642 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10646 of inacessible symlinks. Verify result of symlink before returning it.
10647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10648 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10650 2010-10-28 Erich Ritz <erichritz@gmail.com>
10652 * math/math.h (isinf): Fix typo in comment.
10654 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10656 * po/da.po: Update from translation team.
10658 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10660 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10661 is added to the list.
10663 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10664 Ulrich Drepper <drepper@gmail.com>
10666 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10667 the global list here. Move code to...
10668 (_dl_add_to_namespace_list): ...here. New function.
10669 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10670 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10671 * elf/dl-load.c (lose): Don't remove the element from the list.
10672 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10673 (_dl_map_object): Likewise.
10675 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10678 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10679 into all bytes of SSE register.
10680 Patch by Richard Li <richardpku@gmail.com>.
10682 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10685 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10688 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10690 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10691 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10692 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10693 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10698 2010-10-22 Andreas Schwab <schwab@redhat.com>
10700 * include/dlfcn.h (__RTLD_SECURE): Define.
10701 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10702 mode & __RTLD_SECURE instead.
10703 (open_path): Rename preloaded parameter to secure.
10704 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10705 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10706 * elf/dl-deps.c (openaux): Likewise.
10707 * elf/rtld.c (struct map_args): Remove is_preloaded.
10708 (map_doit): Don't use it.
10709 (dl_main): Likewise.
10710 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10711 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10713 2010-09-09 Andreas Schwab <schwab@redhat.com>
10715 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10716 (sysd-rules-targets): Remove duplicates.
10717 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10718 rtld-%.$o dependency.
10720 2010-10-18 Andreas Schwab <schwab@redhat.com>
10722 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10723 _dl_map_object do it.
10725 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10727 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10728 fast fma builtins, define the macros in the C99 standard.
10729 (FP_FAST_FMAF): Likewise.
10730 (FP_FAST_FMAL): Likewise.
10731 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10733 * bits/mathdef.h: Update copyright year.
10734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10736 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10738 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10739 builtins, define the macros in the C99 standard.
10740 (FP_FAST_FMAF): Likewise.
10741 (FP_FAST_FMAL): Likewise.
10742 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10744 (FP_FAST_FMAF): Likewise.
10746 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10749 * math/libm-test.inc (fma_test): Some new testcases.
10750 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10752 y and infinite z. Do multiplication by C already in long double.
10753 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10755 y and infinite z. Do bitwise or of inexact bit into u.d.
10756 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10757 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10758 * sysdeps/i386/fpu/s_fma.S: Removed.
10759 * sysdeps/i386/fpu/s_fmal.S: Removed.
10761 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10764 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10766 computation is not scheduled after fetestexcept. Fix value
10767 of minimum denormal long double.
10769 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10772 * math/libm-test.inc (fma_test): Add some more tests.
10773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10776 2010-10-15 Andreas Schwab <schwab@redhat.com>
10778 * scripts/data/localplt-s390-linux-gnu.data: New file.
10779 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10781 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10784 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10785 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10787 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10789 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10791 if one of x and y is very large and the other is subnormal.
10792 * sysdeps/s390/fpu/s_fmaf.c: New file.
10793 * sysdeps/s390/fpu/s_fma.c: New file.
10794 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10795 * sysdeps/powerpc/fpu/s_fma.S: New file.
10796 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10797 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10798 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10800 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10803 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10806 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10807 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10808 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10809 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10810 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10813 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10816 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10817 * posix/bug-regex31.input: Add test case.
10819 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10821 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10822 * posix/bug-regex31.input: New file.
10825 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10826 (parse_sub_exp): Fix last change, use postorder.
10828 * posix/bug-regex31.c: New file.
10829 * posix/Makefile: Add rules to build and run bug-regex31.
10831 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10834 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10837 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10838 to have entries in sys_siglist.
10841 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10844 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10847 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10848 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10849 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10850 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10851 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10852 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10853 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10854 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10855 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10856 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10857 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10858 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10859 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10860 * math/ftestexcept.c (fetestexcept): Likewise.
10861 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10862 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10863 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10864 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10865 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10866 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10869 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10872 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10875 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10877 * string/bug-strstr1.c: New file.
10878 * string/Makefile: Add rules to build and run bug-strstr1.
10880 2010-10-05 Eric Blake <eblake@redhat.com>
10883 * string/str-two-way.h (two_way_long_needle): Always clear memory
10884 when skipping input due to the shift table.
10886 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10889 * malloc/mcheck.c: Handle large requests.
10892 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10893 for strncmp and strncasecmp.
10894 * string/stratcliff.c: Add tests for strcmp and strncmp.
10895 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10897 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10899 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10902 2010-09-30 Andreas Jaeger <aj@suse.de>
10904 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10905 (CGROUP_SUPER_MAGIC): Define.
10906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10907 Handle btrfs and cgroup file systems.
10908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10911 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10913 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10914 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10916 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10919 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10920 trying to locate the ELF header.
10922 2010-09-27 Andreas Schwab <schwab@redhat.com>
10925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10926 Mask out sign-bit copies when constructing f_fsid.
10928 2010-09-24 Petr Baudis <pasky@suse.cz>
10930 * debug/stack_chk_fail_local.c: Add missing licence exception.
10931 * debug/warning-nop.c: Likewise.
10933 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10936 implementing getdents64 using getdents syscall, set d_type if
10937 __ASSUME_GETDENTS32_D_TYPE.
10939 2010-09-16 Andreas Schwab <schwab@redhat.com>
10941 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10942 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10944 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10947 * posix/unistd.h: Undo change of feature selection for ftruncate from
10950 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10952 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10955 2010-09-20 Andreas Schwab <schwab@redhat.com>
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10961 2010-09-14 Andreas Schwab <schwab@redhat.com>
10963 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10964 variables after CHECK_SP call.
10965 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10967 2010-09-13 Andreas Schwab <schwab@redhat.com>
10968 Ulrich Drepper <drepper@redhat.com>
10970 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10971 re-relocationg ld.so.
10972 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10973 _dl_init_paths call.
10974 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10977 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10979 * resolv/res_init.c (__res_vinit): Count the default server we added.
10981 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10982 Ulrich Drepper <drepper@redhat.com>
10985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10986 (____longjmp_chk): Use %ebx for saving value across system call.
10989 2010-09-06 Andreas Schwab <schwab@redhat.com>
10991 * manual/Makefile: Don't mix pattern rules with normal rules.
10993 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10995 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10997 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10998 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10999 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11000 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11004 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11007 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11008 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11010 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11012 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11013 * sysdeps/x86_64/addmul_1.S: Likewise.
11014 * sysdeps/x86_64/lshift.S: Likewise.
11015 * sysdeps/x86_64/mul_1.S: Likewise.
11016 * sysdeps/x86_64/rshift.S: Likewise.
11017 * sysdeps/x86_64/sub_n.S: Likewise.
11018 * sysdeps/x86_64/submul_1.S: Likewise.
11020 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11022 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11023 Define __sched_param instead of SCHED_* and sched_param when
11024 <bits/sched.h> is included with __need_schedparam defined.
11025 * bits/sched.h [__need_schedparam]
11026 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11027 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11028 (__defined_schedparam): Define to 1.
11029 (__sched_param): New structure, identical to sched_param.
11030 (__need_schedparam): Undefine.
11032 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11035 (epoll_create1): Declare.
11037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11039 2010-08-31 Andreas Schwab <schwab@redhat.com>
11042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11043 shifting retval into place.
11045 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11047 * nis/rpcsvc/nis.h: Update copyright notice.
11048 * nis/rpcsvc/nis.x: Likewise.
11049 * nis/rpcsvc/nis_callback.h: Likewise.
11050 * nis/rpcsvc/nis_callback.x: Likewise.
11051 * nis/rpcsvc/nis_object.x: Likewise.
11052 * nis/rpcsvc/nis_tags.h: Likewise.
11053 * nis/rpcsvc/yp.h: Likewise.
11054 * nis/rpcsvc/yp.x: Likewise.
11055 * nis/rpcsvc/ypupd.h: Likewise.
11056 * nis/yp_xdr.c: Likewise.
11057 * nis/ypupdate_xdr.c: Likewise.
11059 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11060 mainly the body of pmap_getport. Add parameters to specify timeouts.
11061 (pmap_getport): Use __libc_rpc_getport.
11062 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11063 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11064 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11066 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11071 2010-08-27 Roland McGrath <roland@redhat.com>
11073 * sysdeps/i386/i686/multiarch/Makefile
11074 (CFLAGS-varshift.c): New variable.
11076 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11078 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11079 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11083 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11085 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11087 * sysdeps/x86_64/strlen.S: Unroll the loop.
11088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11089 strlen-sse2 strlen-sse2-bsf.
11090 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11091 __strlen_no_bsf if bit_Slow_BSF is set.
11092 (__strlen_sse42): Removed.
11093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11094 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11096 2010-08-25 Roland McGrath <roland@redhat.com>
11098 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11099 * sysdeps/x86_64/multiarch/varshift.c: New file.
11100 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11101 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11102 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11103 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11105 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11108 strlen-sse2 strlen-sse2-bsf.
11109 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11110 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11111 (__strlen_sse2): Removed.
11112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11115 bit_Slow_BSF for Atom.
11116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11117 (index_Slow_BSF): Define.
11118 (HAS_SLOW_BSF): Define.
11120 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11123 * resolv/res_init.c (__res_vinit): When no server address at all
11124 is given default to loopback.
11126 2010-08-24 Roland McGrath <roland@redhat.com>
11128 * configure.in: Remove config-name.h generation.
11129 * configure: Regenerated.
11130 * config-name.in: File removed.
11131 * scripts/config-uname.sh: New file.
11132 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11133 ($(objdir)config-name.h): New target.
11135 * sunrpc/rpc_parse.h: Avoid nested comment.
11137 2010-08-24 Richard Henderson <rth@redhat.com>
11138 Ulrich Drepper <drepper@redhat.com>
11139 H.J. Lu <hongjiu.lu@intel.com>
11141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11143 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11144 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11145 _mm_alignr_epi8 with _mm_loadu_si128.
11146 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11147 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11148 (__m128i_shift_right): Removed.
11149 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11150 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11151 * sysdeps/x86_64/multiarch/varshift.h: New file.
11152 * sysdeps/x86_64/multiarch/varshift.S: New file.
11154 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11156 * configure.in: Move assembler checks to before sysdep dir checking.
11158 2010-08-20 Petr Baudis <pasky@suse.cz>
11160 * LICENSES: Sync the sunrpc license.
11162 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11164 * sunrpc/auth_des.c: Update copyright notice once again.
11165 * sunrpc/auth_none.c: Likewise.
11166 * sunrpc/auth_unix.c: Likewise.
11167 * sunrpc/authdes_prot.c: Likewise.
11168 * sunrpc/authuxprot.c: Likewise.
11169 * sunrpc/bindrsvprt.c: Likewise.
11170 * sunrpc/clnt_gen.c: Likewise.
11171 * sunrpc/clnt_perr.c: Likewise.
11172 * sunrpc/clnt_raw.c: Likewise.
11173 * sunrpc/clnt_simp.c: Likewise.
11174 * sunrpc/clnt_tcp.c: Likewise.
11175 * sunrpc/clnt_udp.c: Likewise.
11176 * sunrpc/clnt_unix.c: Likewise.
11177 * sunrpc/des_crypt.c: Likewise.
11178 * sunrpc/des_soft.c: Likewise.
11179 * sunrpc/get_myaddr.c: Likewise.
11180 * sunrpc/getrpcport.c: Likewise.
11181 * sunrpc/key_call.c: Likewise.
11182 * sunrpc/key_prot.c: Likewise.
11183 * sunrpc/openchild.c: Likewise.
11184 * sunrpc/pm_getmaps.c: Likewise.
11185 * sunrpc/pm_getport.c: Likewise.
11186 * sunrpc/pmap_clnt.c: Likewise.
11187 * sunrpc/pmap_prot.c: Likewise.
11188 * sunrpc/pmap_prot2.c: Likewise.
11189 * sunrpc/pmap_rmt.c: Likewise.
11190 * sunrpc/rpc/auth.h: Likewise.
11191 * sunrpc/rpc/auth_unix.h: Likewise.
11192 * sunrpc/rpc/clnt.h: Likewise.
11193 * sunrpc/rpc/des_crypt.h: Likewise.
11194 * sunrpc/rpc/key_prot.h: Likewise.
11195 * sunrpc/rpc/netdb.h: Likewise.
11196 * sunrpc/rpc/pmap_clnt.h: Likewise.
11197 * sunrpc/rpc/pmap_prot.h: Likewise.
11198 * sunrpc/rpc/pmap_rmt.h: Likewise.
11199 * sunrpc/rpc/rpc.h: Likewise.
11200 * sunrpc/rpc/rpc_des.h: Likewise.
11201 * sunrpc/rpc/rpc_msg.h: Likewise.
11202 * sunrpc/rpc/svc.h: Likewise.
11203 * sunrpc/rpc/svc_auth.h: Likewise.
11204 * sunrpc/rpc/types.h: Likewise.
11205 * sunrpc/rpc/xdr.h: Likewise.
11206 * sunrpc/rpc_clntout.c: Likewise.
11207 * sunrpc/rpc_cmsg.c: Likewise.
11208 * sunrpc/rpc_common.c: Likewise.
11209 * sunrpc/rpc_cout.c: Likewise.
11210 * sunrpc/rpc_dtable.c: Likewise.
11211 * sunrpc/rpc_hout.c: Likewise.
11212 * sunrpc/rpc_main.c: Likewise.
11213 * sunrpc/rpc_parse.c: Likewise.
11214 * sunrpc/rpc_parse.h: Likewise.
11215 * sunrpc/rpc_prot.c: Likewise.
11216 * sunrpc/rpc_sample.c: Likewise.
11217 * sunrpc/rpc_scan.c: Likewise.
11218 * sunrpc/rpc_scan.h: Likewise.
11219 * sunrpc/rpc_svcout.c: Likewise.
11220 * sunrpc/rpc_tblout.c: Likewise.
11221 * sunrpc/rpc_util.c: Likewise.
11222 * sunrpc/rpc_util.h: Likewise.
11223 * sunrpc/rpcinfo.c: Likewise.
11224 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11225 * sunrpc/rpcsvc/key_prot.x: Likewise.
11226 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11227 * sunrpc/rpcsvc/mount.x: Likewise.
11228 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11229 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11230 * sunrpc/rpcsvc/rex.x: Likewise.
11231 * sunrpc/rpcsvc/rstat.x: Likewise.
11232 * sunrpc/rpcsvc/rusers.x: Likewise.
11233 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11234 * sunrpc/rpcsvc/spray.x: Likewise.
11235 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11236 * sunrpc/rtime.c: Likewise.
11237 * sunrpc/svc.c: Likewise.
11238 * sunrpc/svc_auth.c: Likewise.
11239 * sunrpc/svc_authux.c: Likewise.
11240 * sunrpc/svc_raw.c: Likewise.
11241 * sunrpc/svc_run.c: Likewise.
11242 * sunrpc/svc_simple.c: Likewise.
11243 * sunrpc/svc_tcp.c: Likewise.
11244 * sunrpc/svc_udp.c: Likewise.
11245 * sunrpc/svc_unix.c: Likewise.
11246 * sunrpc/svcauth_des.c: Likewise.
11247 * sunrpc/xcrypt.c: Likewise.
11248 * sunrpc/xdr.c: Likewise.
11249 * sunrpc/xdr_array.c: Likewise.
11250 * sunrpc/xdr_float.c: Likewise.
11251 * sunrpc/xdr_mem.c: Likewise.
11252 * sunrpc/xdr_rec.c: Likewise.
11253 * sunrpc/xdr_ref.c: Likewise.
11254 * sunrpc/xdr_sizeof.c: Likewise.
11255 * sunrpc/xdr_stdio.c: Likewise.
11257 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11260 2010-08-19 Andreas Schwab <schwab@redhat.com>
11262 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11264 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11266 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11267 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11268 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11269 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11270 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11271 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11272 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11273 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11275 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11276 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11277 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11278 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11279 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11281 2010-07-26 Anton Blanchard <anton@samba.org>
11283 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11284 * malloc/arena.c (heap_trim): Likewise.
11286 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11288 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11291 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11293 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11295 * sysdeps/i386/elf/Makefile: New file.
11297 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11299 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11300 from fanotify_init.
11301 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11304 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11306 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11308 * sysdeps/multiarch/strcmp.S: Likewise.
11310 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11313 strncase_l-nonascii.
11314 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11315 Add strncase_l-ssse3.
11316 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11317 * sysdeps/x86_64/strcmp.S: Likewise.
11318 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11319 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11320 * sysdeps/x86_64/strncase.S: New file.
11321 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11322 * sysdeps/x86_64/strncase_l.S: New file.
11323 * string/Makefile (strop-tests): Add strncasecmp.
11324 * string/test-strncasecmp.c: New file.
11326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11329 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11330 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11332 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11334 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11336 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11338 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11342 2010-05-01 Alan Modra <amodra@gmail.com>
11344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11345 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11346 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11347 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11348 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11349 tidying. Don't tail-call __sigjmp_save for static lib.
11350 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11352 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11353 (CALL_MCOUNT): Add eh info, and nop after bl.
11354 (TAIL_CALL_SYSCALL_ERROR): New macro.
11355 (PSEUDO_RET): Use it.
11356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11357 Correct save location of integer regs and cr.
11358 (_dl_profile_resolve): Correct cr save location. Delete nops
11359 after bl when SHARED. Reduce cfi size a little by better
11360 placement of cfi directives.
11361 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11362 make a stack frame. Instead use parm save area as a temp.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11364 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11366 Don't make a stack frame for parent, use parm save area.
11367 Increase child stack frame to 112 bytes. Don't save unused reg,
11368 and adjust reg usage. Set up cfi on error recovery and
11369 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11371 (__makecontext): Add dummy nop after jump to exit.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11373 Use correct parm save area and cr save, reduce stack frame.
11374 Correct cfi for possible PSEUDO_RET frame setup.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11376 Branch to local label emitted by PSEUDO_RET rather than
11379 2010-08-12 Andreas Schwab <schwab@redhat.com>
11382 * locale/programs/locale.c (print_assignment): New function.
11383 (show_locale_vars): Use it.
11385 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11387 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11389 (struct statfs64): Likewise.
11390 (_STATFS_F_FLAGS): Define.
11391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11393 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11394 (ST_VALID): Define locally.
11395 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11396 __statvfs_getflags, use the provided value.
11397 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11398 __ASSUME_STATFS_F_FLAGS.
11400 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11402 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11403 Add sys/fanotify.h.
11404 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11405 fanotify_mask for GLIBC_2.13.
11406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11407 fanotify_init and fanotify_mark.
11408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11409 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11411 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11413 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11414 prlimit64 for GLIBC_2.13.
11415 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11421 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11425 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11428 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11429 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11431 * nss/Makefile: Add rules to build and run tst-nss-test1.
11432 * shlib-versions: Add entry for libnss_test1.
11433 * nss/nss_test1.c: New file.
11434 * nss/tst-nss-test1.c: New file.
11436 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11437 (__nss_configure_lookup): Set appropriate entry in
11438 __nss_configure_lookup to true.
11439 * nss/nsswitch.h: Define enum with indeces of databases in
11440 databases and __nss_database_custom arrays. Declare
11441 __nss_database_custom.
11442 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11443 to avoid using nscd when custom rules are installed.
11444 * nss/getXXbyYY_r.c: Likewise.
11445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11447 * nss/nss_files/files-parse.c: Whitespace fixes.
11449 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11452 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11453 * posix/fnmatch_loop.c: Likewise.
11455 2010-07-17 Andi Kleen <ak@linux.intel.com>
11457 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11458 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11459 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11460 * Versions.def [GLIBC_2.13]: Add.
11462 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11465 Also fail if tpwd after pwuid call is NULL.
11467 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11469 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11470 when converting to ms.
11472 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11474 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11475 EOPNOTSUPP errors with ENOTTY.
11476 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11477 EOPNOTSUPP errors with ENOTTY.
11479 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11481 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11482 Add strcasecmp_l-ssse3.
11483 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11485 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11489 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11491 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11493 * string/Makefile (strop-tests): Add strcasecmp.
11494 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11495 strcasecmp_l-nonascii.
11496 (gen-as-const-headers): Add locale-defines.sym.
11497 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11498 * sysdeps/x86_64/strcasecmp.S: New file.
11499 * sysdeps/x86_64/strcasecmp_l.S: New file.
11500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11501 * sysdeps/x86_64/locale-defines.sym: New file.
11502 * string/test-strcasecmp.c: New file.
11504 * string/test-strcasestr.c: Test both ends of the range of characters.
11505 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11507 2010-07-29 Roland McGrath <roland@redhat.com>
11510 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11512 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11514 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11517 2010-07-27 Andreas Schwab <schwab@redhat.com>
11519 * manual/memory.texi (Malloc Tunable Parameters): Document
11522 2010-07-26 Roland McGrath <roland@redhat.com>
11525 * configure.in (-fgnu89-inline check): Set and substitute
11526 gnu89_inline, not libc_cv_gnu89_inline.
11527 * configure: Regenerated.
11528 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11530 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11532 * string/test-strnlen.c: New file.
11533 * string/Makefile (strop-tests): Add strnlen.
11534 * string/tester.c (test_strnlen): Add a few more test cases.
11535 * string/tst-strlen.c: Better error reporting.
11537 * sysdeps/x86_64/strnlen.S: New file.
11539 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11542 lower-latency instructions.
11544 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11546 * string/test-strcasestr.c: New file.
11547 * string/test-strstr.c: New file.
11548 * string/Makefile (strop-tests): Add strstr and strcasestr.
11549 * string/str-two-way.h: Don't undefine MAX.
11550 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11552 2010-07-21 Andreas Schwab <schwab@redhat.com>
11554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11555 strcasestr-nonascii.
11556 (CFLAGS-strcasestr-nonascii.c): Define.
11557 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11558 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11559 Remove unused attribute.
11561 2010-07-20 Roland McGrath <roland@redhat.com>
11563 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11564 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11565 ld.so.cache was broken. With it, there is no way to disable dsocaps
11566 like LD_HWCAP_MASK can disable hwcaps.
11568 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11570 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11572 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11574 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11575 call in strcasestr.
11576 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11577 __strcasestr_sse42_nonascii.
11578 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11579 strcasestr-nonascii.c.
11580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11582 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11587 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11589 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11594 2010-07-06 Andreas Schwab <schwab@redhat.com>
11597 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11600 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11603 _PC_PIPE_BUF using F_GETPIPE_SZ.
11605 2010-07-05 Roland McGrath <roland@redhat.com>
11607 * manual/arith.texi (Rounding Functions): Fix rint description
11608 implicit in round description.
11610 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11612 * elf/Makefile: Fix linking for a few tests to make recent linker
11615 2010-06-30 Andreas Schwab <schwab@redhat.com>
11617 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11618 $(common-objpfx)libc_nonshared.a.
11620 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11622 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11623 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11624 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11625 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11626 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11627 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11628 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11629 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11644 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11645 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11646 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11647 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11648 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11649 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11650 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11651 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11652 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11653 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11654 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11655 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11671 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11673 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11674 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11675 * string/memmove.c (memmove): Renamed to ...
11676 (MEMMOVE): ...this. Default to memmove.
11677 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11678 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11681 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11682 mempcpy-ssse3-back memmove-ssse3-back.
11683 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11686 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11687 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11688 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11689 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11690 * sysdeps/x86_64/multiarch/memmove.c: New file.
11691 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11692 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11693 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11694 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11695 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11696 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11698 (index_Fast_Copy_Backward): Define.
11699 (HAS_ARCH_FEATURE): Define.
11700 (HAS_FAST_REP_STRING): Define.
11701 (HAS_FAST_COPY_BACKWARD): Define.
11703 2010-06-21 Andreas Schwab <schwab@redhat.com>
11705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11706 Restore proper fallback handling.
11708 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11711 * posix/group_member.c (__group_member): Correct checking loop.
11713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11714 OOM in getpwuid_r correctly. Return error number when the caller
11715 should return, otherwise -1.
11716 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11717 call returning > 0 value.
11718 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11720 2010-06-07 Andreas Schwab <schwab@redhat.com>
11722 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11723 libc_nonshared.a from targets in modules-names.
11725 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11727 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11730 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11737 2010-06-02 Andreas Schwab <schwab@redhat.com>
11739 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11741 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11752 2010-06-14 Roland McGrath <roland@redhat.com>
11754 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11756 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11758 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11759 __REDIRECT followed by __THROW.
11760 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11761 * posix/getopt.h (getopt): Likewise.
11763 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11765 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11766 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11767 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11769 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11770 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11772 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11774 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11776 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11780 Properly check family and model.
11782 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11784 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11786 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11788 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11790 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11792 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11795 2010-05-19 Andreas Schwab <schwab@redhat.com>
11797 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11800 2010-05-21 Andreas Schwab <schwab@redhat.com>
11802 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11803 and internal_recvmmsg.
11804 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11805 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11807 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11809 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11810 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11811 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11813 2010-05-20 Andreas Schwab <schwab@redhat.com>
11815 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11817 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11819 POWER7 optimizations.
11820 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11821 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11823 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11825 * version.h: Update for 2.13 development version.
11827 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11829 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11830 exceptions. Return 0.
11832 2010-05-07 Roland McGrath <roland@redhat.com>
11834 * elf/ldconfig.c (main): Add a const.
11836 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11838 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11839 (args_options): Add no-idn option.
11840 (ahosts_keys_int): Add idn_flags to ai_flags.
11841 (parse_option): Handle 'i' option to clear idn_flags.
11843 * malloc/malloc.c (_int_free): Possible race in the most recently
11844 added check. Only act on the data if no current modification
11847 See ChangeLog.17 for earlier changes.