1 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5 * configure: Regenerated.
6 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8 * config.make.in (libgcc_s_suffix): Remove variable.
10 2012-04-23 Joseph Myers <joseph@codesourcery.com>
12 * sysdeps/unix/sysv/gethostname.c: Move to ...
13 * sysdeps/posix/gethostname.c: ... here.
15 * sysdeps/unix/execve.S: Remove file.
17 * sysdeps/unix/_exit.S: Remove file.
19 2012-04-23 Andreas Jaeger <aj@suse.de>
22 * manual/Makefile: Remove make dist support, there's no
23 need for a stand-alone documentation tar ball.
24 (TEXI2DVI): Define always, it's not in Makeconfig.
28 (glibc-doc-$(edition).tar): Removed
32 (ETAGS): Remove, it's in Makeconfig.
33 (move-if-change): Remove, it's in Makeconfig.
35 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
38 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41 (strtod_l, strtof_l, strtold_l): Remove __wur.
42 It is not necessarily an error to ignore strtol's return value.
43 One can reliably look at the stored endptr to decide whether
44 the number had valid syntax.
46 2012-04-21 Andreas Jaeger <aj@suse.de>
49 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54 * sysdeps/unix/sysv/Versions: Remove file.
56 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
59 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
64 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67 2012-04-20 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/unix/common/lxstat.c: Remove file.
70 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72 * sysdeps/unix/sysv/Makefile: Remove file.
74 * sysdeps/unix/sysv/direct.h: Remove file.
76 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79 * sysdeps/unix/sysv/bits/signum.h: Likewise.
80 * sysdeps/unix/sysv/bits/stat.h: Likewise.
81 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84 * sysdeps/unix/sysv/setrlimit.c: Remove file.
86 * sysdeps/unix/xmknod.c: Remove file.
87 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
89 * sysdeps/unix/sysv/settimeofday.c: Remove file.
91 * sysdeps/unix/sysv/i386/time.S: Remove file.
93 * sysdeps/unix/fxstat.c: Remove file.
94 * sysdeps/unix/xstat.c: Likewise.
95 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
97 * sysdeps/unix/sysv/sigaction.c: Remove file.
99 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
100 (sysdep_headers): Remove variable.
101 [termio.h not in sysdep_headers] (generated): Likewise.
102 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
103 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
104 * sysdeps/unix/sysv/tcdrain.c: Likewise.
105 * sysdeps/unix/sysv/tcflow.c: Likewise.
106 * sysdeps/unix/sysv/tcflush.c: Likewise.
107 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
108 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
109 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
110 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
111 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
113 * sysdeps/unix/siglist.c: Remove file.
115 * sysdeps/unix/getppid.S: Remove file.
117 * sysdeps/unix/mkdir.c: Remove file.
118 * sysdeps/unix/rmdir.c: Likewise.
120 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
122 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
125 errlist-compat value.
127 2012-04-18 David S. Miller <davem@davemloft.net>
129 * sysdeps/generic/memcopy.h (reg_char): Delete.
130 * debug/strcat_chk.c: Use char, not reg_char.
131 * debug/strcpy_chk.c: Likewise.
132 * debug/strncat_chk.c: Likewise.
133 * debug/strncpy_chk.c: Likewise.
134 * string/memchr.c: Likewise.
135 * string/memrchr.c: Likewise.
136 * string/rawmemchr.c: Likewise.
137 * string/strcat.c: Likewise.
138 * string/strchr.c: Likewise.
139 * string/strchrnul.c: Likewise.
140 * string/strcmp.c: Likewise.
141 * string/strcpy.c: Likewise.
142 * string/strncat.c: Likewise.
143 * string/strncmp.c: Likewise.
144 * string/strncpy.c: Likewise.
146 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
148 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
149 __builtin_memcopy is called when src and dest ranges are known to not
152 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
154 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
155 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
156 fwd_align_merge macro call.
157 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
158 bwd_align_merge macro call.
159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
161 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
164 bwd_align_merge macros.
165 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
166 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
169 2012-04-18 David S. Miller <davem@davemloft.net>
171 * sysdeps/sparc/sparc64/memcopy.h: Delete.
173 2012-04-18 Andreas Jaeger <aj@suse.de>
176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
177 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
181 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
184 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
185 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
186 Adjust for changed ldbl-128 files.
188 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
189 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
192 2012-04-17 David S. Miller <davem@davemloft.net>
194 * sysdeps/sparc/sparc32/memcopy.h: Delete.
196 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
198 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
199 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
200 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
201 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
202 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
203 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
205 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
209 * math/libm-test.inc: Add ilogb errno and exception tests.
210 * math/w_ilogb.c: New file: ilogb wrapper.
211 * math/w_ilogbf.c: New file: ilogbf wrapper.
212 * math/w_ilogbl.c: New file: ilogbl wrapper.
213 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
214 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
215 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
216 exception being thrown with 0.0 as argument.
217 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
218 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
219 exception being thrown with 0.0 as argument.
220 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
221 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
222 exception being thrown with 0.0 as argument.
223 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
224 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
225 exception being thrown with 0.0 as argument.
226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
227 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
229 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
230 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
231 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
232 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
233 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
234 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
236 2012-04-17 Petr Baudis <pasky@ucw.cz>
238 * include/sys/uio.h: Change __vector to __iovec to avoid clash
241 2012-04-16 Marek Polacek <polacek@redhat.com>
243 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
245 2012-04-16 Marek Polacek <polacek@redhat.com>
247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
248 operands of fdivp instruction.
250 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
252 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
253 * elf/tst-auditmod3b.c: Likewise.
254 * elf/tst-auditmod4b.c: Likewise.
255 * elf/tst-auditmod5b.c: Likewise.
256 * elf/tst-auditmod6b.c: Likewise.
257 * elf/tst-auditmod6c.c: Likewise.
258 * elf/tst-auditmod7b.c: Likewise.
259 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
260 * sysdeps/x86_64/preconfigure.in: Likewise.
261 * sysdeps/x86_64/preconfigure: Regenerated.
263 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
265 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
268 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
271 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
273 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
276 * locale/iso-639.def: Fix gl language name. Spotted by
279 2012-04-12 Roland McGrath <roland@hack.frob.com>
282 * libio/libio.h (__io_write_fn): Update comment.
284 2012-04-12 Petr Baudis <pasky@ucw.cz>
287 * stdio.texi (Hook Functions): The user provided writer function
288 is not allowed to return -1.
290 2012-04-11 David S. Miller <davem@davemloft.net>
292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
294 2012-04-11 Mike Frysinger <vapier@gentoo.org>
296 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
297 Add a leading slash to rtkaio.
299 2012-04-11 Jim Meyering <meyering@redhat.com>
302 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
303 It is not necessarily an error to ignore fwrite's return
304 value. One can reliably use ferror to test for errors after
307 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
309 * bits/types.h (__snseconds_t): New type.
310 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
312 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
314 (__SNSECONDS_T_TYPE): Likewise.
315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
316 (__SNSECONDS_T_TYPE): Likewise.
317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
318 (__SNSECONDS_T_TYPE): Likewise.
320 2012-04-10 Andreas Jaeger <aj@suse.de>
323 * manual/time.texi (Processor Time): Return type of times is
324 elapsed real time since an arbitrary point in the past.
325 (CPU Time): Move CLK_TCK from here...
326 (Processor Time): ...to here. Correct description.
327 * manual/conf.texi (Constants for Sysconf): Correct description of
330 2012-04-10 David S. Miller <davem@davemloft.net>
333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
334 where the is a gap between DT_REL(A) and DT_JMPREL.
336 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
342 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
344 * elf/dl-support.c (_dl_inhibit_cache): New variable.
345 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
346 (dl_main): Handle --inhibit-cache.
347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
349 * elf/dl-load.c (_dl_map_object): Use it.
350 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
352 2012-04-09 Joseph Myers <joseph@codesourcery.com>
355 * sysdeps/i386/fpu/e_powl.S (p78): New object.
356 (__ieee754_powl): Saturate large exponents rather than testing for
357 overflow of y*log2(x).
358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
359 * math/libm-test.inc (pow_test): Do not permit spurious overflow
363 * math/s_ctan.c: Include <float.h>.
364 (__ctan): Avoid internal overflow or cancellation in calculating
366 * math/s_ctanf.c: Likewise.
367 * math/s_ctanl.c: Likewise.
368 * math/s_ctanh.c: Likewise.
369 * math/s_ctanhf.c: Likewise.
370 * math/s_ctanhl.c: Likewise.
371 * math/libm-test.inc (ctan_test): Add more tests.
372 (ctanh_test): Likewise.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
376 2012-04-09 Andreas Jaeger <aj@suse.de>
379 * manual/filesys.texi (Directory Entries): Mention that d_namlen
380 is an optional BSD extension.
383 * manual/stdio.texi (Opening Streams): Document additional fopen
386 2012-04-09 Roland McGrath <roland@hack.frob.com>
388 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
389 %eax without telling the compiler.
391 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
394 * manual/install.texi: Use sourceware.org.
396 2012-04-09 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
400 (__ieee754_pow): Generate overflow and underflow using huge*huge
401 and tiny*tiny rather than just returning constant infinity or zero
403 * math/libm-test.inc (pow_test): Require overflow exceptions for
404 applicable cases of large exponents.
407 * sysdeps/i386/fpu/e_pow.S (p10): New object.
408 (__ieee754_pow): Use iterative multiplication algorithm only for
409 integer exponents with absolute value below 1024. Check for odd
410 integer exponents when using algorithm for real exponents.
411 * math/libm-test.inc (pow_test): Add more tests.
412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
414 2012-04-08 Joseph Myers <joseph@codesourcery.com>
417 * math/libm-test.inc (exp_test): Do not allow overflow exception
420 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
423 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
424 instead of __kernel_standard_f.
426 2012-04-08 Mike Frysinger <vapier@gentoo.org>
428 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
429 * sysdeps/x86_64/memset_chk.S: Likewise.
431 2012-04-08 Andreas Jaeger <aj@suse.de>
434 * manual/startup.texi (Environment Access): Describe return value
435 for putenv and setenv.
438 * manual/filesys.texi (Directory Entries): Add description for
442 * manual/filesys.texi (Directory Entries): Clarify that it's file
443 system not operating system in the description of DT_UNKNOWN.
446 * manual/syslog.texi (closelog): Fix reference, it's openlog.
448 2012-04-08 Stephen Compall <s11@member.fsf.org>
451 * manual/llio.texi (Opening and Closing Files): Add cross
452 reference to explain mode argument.
454 2012-04-07 Mike Frysinger <vapier@gentoo.org>
456 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
457 * sysdeps/x86_64/memset_chk.S: Likewise.
459 2012-04-07 David S. Miller <davem@davemloft.net>
461 * elf/elf.h (R_SPARC_WDISP10): Define.
462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
465 R_SPARC_SIZE64 and R_SPARC_H34.
467 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
470 conditions and remove no longer applicable assertion.
472 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
474 * bits/byteswap.h: Include <features.h>.
475 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
476 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
478 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
480 * bits/byteswap.h (__bswap_16): Removed.
481 Include <bits/byteswap-16.h> to get __bswap_16.
482 * sysdeps/i386/bits/byteswap.h: Likewise.
483 * sysdeps/s390/bits/byteswap.h: Likewise.
484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
485 * bits/byteswap-16.h: New file.
486 * sysdeps/i386/bits/byteswap-16.h: Likewise.
487 * sysdeps/s390/bits/byteswap-16.h: Likewise.
488 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
489 * string/Makefile (headers): Add bits/byteswap-16.h.
491 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
494 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
496 * nss/Makefile (tests-static, tests): Add tst-nss-static.
497 * nss/tst-nss-static.c: New.
499 2012-04-06 Robert Millan <rmh@gnu.org>
502 * manual/llio.texi (File Position Primitive): lseek
503 refers to WHENCE when it really means OFFSET.
505 2012-04-06 Andreas Jaeger <aj@suse.de>
507 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
508 strncmp declarations.
510 * abilist/libc.abilist: Add __poll and __ppoll.
512 2012-04-05 David S. Miller <davem@davemloft.net>
514 * scripts/check-local-headers.sh: Accept a host triplet in the
515 path matched by the exclude regexp.
517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
519 * sysdeps/powerpc/powerpc32/dl-machine.h
520 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
521 * sysdeps/s390/s390-32/dl-machine.h
522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
523 * sysdeps/sparc/sparc32/dl-machine.h
524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
525 * sysdeps/sparc/sparc64/dl-machine.h
526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
528 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
530 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
531 undefined symbol errors.
533 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
536 2012-04-05 Michael Matz <matz@suse.de>
539 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
541 2012-04-05 Andreas Jaeger <aj@suse.de>
544 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
547 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
550 which ROUND is no valid rounding mode.
552 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
554 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
556 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
560 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
561 an exception using FPU order intentionally.
563 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
565 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
566 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
567 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
568 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
570 2012-04-05 Simon Josefsson <simon@josefsson.org>
573 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
574 EINVAL when BUFLEN is too smal.
576 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
579 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
580 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
582 2012-04-03 Andreas Jaeger <aj@suse.de>
585 * manual/setjmp.texi (System V contexts): Fix sentence.
588 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
589 New macro for this case.
590 [!__GNUC__] (__bswap_64): New inline function for this case.
591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
592 * bits/byteswap.h: Likewise.
593 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
594 ull, guard with __GLIBC_HAVE_LONG_LONG.
596 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
597 __GLIBC_HAVE_LONG_LONG.
599 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
600 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
602 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
605 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
606 inptr and inend, rather than using last_ch.
608 2012-04-02 David S. Miller <davem@davemloft.net>
610 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
611 * stdio-common/printf-parse.h (read_int): Change return type to
612 'int', return -1 on INT_MAX overflow.
613 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
614 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
615 overflows INT_MAX. Check for overflow of in-format-string precision
616 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
617 SIZE_MAX not INT_MAX for integer overflow test.
618 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
619 skip the construct in the format string but do not record anything.
620 * stdio-common/bug22.c: Adjust to test both width/prevision
621 INT_MAX overflow as well as total length INT_MAX overflow. Check
622 explicitly for proper errno values.
624 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
626 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
628 * string/test-strcmp.c [! WIDE]: Likewise.
629 * time/tst-mktime2.c: Likewise for INT_MAX.
630 * string/test-string.h: #include <sys/param.h> for MIN.
632 * csu/init-first.c (__libc_init_first): Call __ctype_init.
633 * sysdeps/i386/init-first.c (init): Likewise.
634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
635 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
636 * sysdeps/sh/init-first.c (init): Likewise.
638 2012-04-01 Ulrich Drepper <drepper@gmail.com>
640 * po/ru.po: Update from translation team.
641 * po/vi.po: Likewise.
643 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
645 * resolv/nss_dns/dns-host.c: Merge copyright years.
647 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
650 Optimize memcpy with prefetch if
651 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
652 src, dst pointers have unequal 16 byte alignments.
654 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
657 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
658 from a CNAME entry and return the minimum ttl for the query.
659 (gaih_getanswer_slice): Likewise.
661 2012-03-30 Jeff Law <law@redhat.com>
663 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
665 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
666 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
668 * resolv/nss_dns/dns-host.c: Update copyright year.
670 2012-03-30 Ulrich Drepper <drepper@gmail.com>
672 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
673 requests to save a system call. Fix check that all bytes are sent.
675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
676 comments for sendmmsg.
678 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
682 with only 1 character between 0x0041 and 0x01b0.
683 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
684 * wcsmbs/tst-mbsnrtowcs.c: New file.
686 2012-03-29 David S. Miller <davem@davemloft.net>
688 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
689 small copies by hand.
691 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
694 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
695 _nss_compat_initgroups_dyn): Fall back to malloc/free
696 for large group memberships.
698 2012-03-28 David S. Miller <davem@davemloft.net>
700 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
701 that branches into memcpy.
702 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
705 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
708 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
710 * sysdeps/sparc/mempcpy.S: New file.
712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
713 the IFUNC routine in the libc case.
714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
717 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
718 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
719 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
720 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
721 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
722 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
723 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
725 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
726 loop to 256 bytes instead of 64 bytes and fix test signedness.
728 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
729 * sysdeps/sparc/sparc32/Makefile: rather than here...
730 * sysdeps/sparc/sparc64/Makefile: and here.
732 2012-03-28 Ulrich Drepper <drepper@gmail.com>
734 * malloc/mallocbug.c: Avoid warnings about unused variables.
736 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
739 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
740 in the right place. Discard and retry query if response is
741 larger than input buffer size.
743 2012-03-28 Joseph Myers <joseph@codesourcery.com>
748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
749 x for large integer exponent.
750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
752 sign of result as needed afterwards.
753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
754 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
755 result for underflowing pow the same as for overflow.
756 (__kernel_standard_l): Handle powl overflow and underflow here
757 rather than calling __kernel_standard.
758 * math/libm-test.inc (pow_test): Add more tests.
773 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
774 * sysdeps/ieee754/k_standard.c: Include <float.h>.
775 (__kernel_standard_l): New function.
776 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
778 * math/w_acosl.c (__acosl): Likewise.
779 * math/w_asinl.c (__asinl): Likewise.
780 * math/w_atan2l.c (__atan2l): Likewise.
781 * math/w_atanhl.c (__atanhl): Likewise.
782 * math/w_coshl.c (__coshl): Likewise.
783 * math/w_exp10l.c (__exp10l): Likewise.
784 * math/w_exp2l.c (__exp2l): Likewise.
785 * math/w_fmodl.c (__fmodl): Likewise.
786 * math/w_hypotl.c (__hypotl): Likewise.
787 * math/w_j0l.c (__j0l, __y0l): Likewise.
788 * math/w_j1l.c (__j1l, __y1l): Likewise.
789 * math/w_jnl.c (__jnl, __ynl): Likewise.
790 * math/w_lgammal.c (__lgammal): Likewise.
791 * math/w_log10l.c (__log10l): Likewise.
792 * math/w_log2l.c (__log2l): Likewise.
793 * math/w_logl.c (__logl): Likewise.
794 * math/w_powl.c (__powl): Likewise.
795 * math/w_remainderl.c (__remainderl): Likewise.
796 * math/w_scalbl.c (sysv_scalbl): Likewise.
797 * math/w_sinhl.c (__sinhl): Likewise.
798 * math/w_sqrtl.c (__sqrtl): Likewise.
799 * math/w_tgammal.c (__tgammal): Likewise.
800 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
801 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
802 * math/libm-test.inc (acos_test): Add more tests.
803 (acosh_test): Likewise.
804 (asin_test): Likewise.
805 (atanh_test): Likewise.
806 (exp_test): Likewise.
807 (exp10_test): Likewise.
808 (exp2_test): Likewise.
809 (expm1_test): Likewise.
810 (lgamma_test): Likewise.
811 (log_test): Likewise.
812 (log10_test): Likewise.
813 (log1p_test): Likewise.
814 (log2_test): Likewise.
815 (pow_test): Do not allow some spurious overflow exceptions.
816 (sqrt_test): Add more tests.
817 (tgamma_test): Likewise.
822 2012-03-27 Anton Blanchard <anton@samba.org>
824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
826 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
830 2012-03-27 David S. Miller <davem@davemloft.net>
832 * conform/Makefile: Run run-conformtest.sh using $(BASH).
834 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
837 2012-03-27 Andreas Jaeger <aj@suse.de>
839 * sysdeps/x86_64/elf/configure.in: Moved to ...
840 * sysdeps/x86_64/configure.in: ... here.
841 * sysdeps/x86_64/elf/start.S: Moved to ...
842 * sysdeps/x86_64/start.S: ... here.
843 * sysdeps/x86_64/elf/configure: Delete.
845 * sysdeps/x86_64/configure.in: Merge contents from
846 sysdeps/i386/configure.in (without i686 check).
848 * sysdeps/i386/elf/Versions: Merge into ...
849 * sysdeps/i386/Versions: ... this.
850 * sysdeps/i386/elf/Versions: Delete file.
851 * sysdeps/i386/elf/start.S: Moved to ...
852 * sysdeps/i386/start.S: ...here.
853 * sysdeps/i386/elf/configure.in: Merge into...
854 * sysdeps/i386/configure.in: ...here.
855 * sysdeps/i386/elf/configure.in: Delete file.
856 * sysdeps/i386/elf/configure: Delete file.
858 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
859 * debug/backtracesyms.c: ... here.
860 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
861 * debug/backtracesymsfd.c: ... here.
862 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
863 * sysdeps/generic/ifunc-sel.h: ... here.
865 * sysdeps/unix/i386/start.c: Delete file.
866 * sysdeps/unix/sparc/start.c: Delete file.
867 * sysdeps/unix/start.c: Delete file.
869 * sysdeps/sh/elf/configure.in: Moved to ...
870 * sysdeps/sh/configure.in: ... here.
871 * sysdeps/sh/elf/start.S: Moved to ...
872 * sysdeps/sh/start.S: ... here.
873 * sysdeps/sh/elf/configure: Delete file.
875 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
876 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
877 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
878 * sysdeps/powerpc/powerpc64/entry.h: ... here.
879 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
880 * sysdeps/powerpc/powerpc64/start.S: here.
881 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
882 * sysdeps/powerpc/powerpc64/Makefile: ... this.
883 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
884 * sysdeps/powerpc/powerpc64/configure.in: ... this.
885 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
887 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
888 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
889 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
890 * sysdeps/powerpc/powerpc32/start.S: ... here.
891 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
892 * sysdeps/powerpc/powerpc32/configure.in: ... this.
893 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
895 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
896 * sysdeps/powerpc/ifunc-sel.h: ... here.
897 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
898 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
900 * sysdeps/sparc/elf/configure.in: Moved to ...
901 * sysdeps/sparc/configure.in: ... here.
902 * sysdeps/sparc/elf/configure: Delete file.
903 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
904 * sysdeps/sparc/sparc32/start.S: ... here.
905 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
906 * sysdeps/sparc/sparc64/start.S: ... here.
907 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
908 * sysdeps/sparc/sparc32/Makefile: ... this.
909 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
910 * sysdeps/sparc/sparc64/Makefile: ... this.
912 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
913 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
914 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
915 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
916 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
917 * sysdeps/s390/s390-32/setjmp.S: ... here.
918 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
919 * sysdeps/s390/s390-32/configure.in: ... here.
920 * sysdeps/s390/s390-32/elf/configure: Delete file.
921 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
922 * sysdeps/s390/s390-32/start.S: ... here.
924 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
925 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
926 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
927 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
928 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
929 * sysdeps/s390/s390-64/setjmp.S: ... here.
930 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
931 * sysdeps/s390/s390-64/configure.in: ... here
932 * sysdeps/s390/s390-64/elf/configure: Delete file.
933 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
934 * sysdeps/s390/s390-64/start.S: ... here.
935 * sysdeps/s390/s390-64/elf/configure: Delete.
937 * configure.in: Remove support for elf directories in sysdeps.
939 * configure: Regenerated.
940 * sysdeps/i386/configure: Regenerated.
941 * sysdeps/powerpc/powerpc32/configure: Regenerated.
942 * sysdeps/powerpc/powerpc64/configure: Regenerated.
943 * sysdeps/s390/s390-32/configure: Regenerated.
944 * sysdeps/s390/s390-64/configure: Regenerated.
945 * sysdeps/sh/configure: Regenerated.
946 * sysdeps/sparc/configure: Regenerated.
947 * sysdeps/x86_64/configure: Regenerated.
949 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
954 denormal result into account.
956 2012-03-25 Roland McGrath <roland@hack.frob.com>
958 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
959 Reported by Allan McRae <allan@archlinux.org>.
961 2012-03-23 Jeff Law <law@redhat.com>
963 * nss/getnssent.c (__nss_getent): Fix typo.
965 2012-03-23 David S. Miller <davem@davemloft.net>
967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
969 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
971 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
972 to pad to uint64_t for each field.
973 (dl_tls_index): Replace unsigned long with uint64_t.
975 2012-03-23 Daniel Jacobowitz <dmj@google.com>
976 Paul Pluzhnikov <ppluzhnikov@google.com>
979 * grp/Makefile (otherlibs): Don't set it.
980 * inet/Makefile (otherlibs): Likewise.
981 * login/Makefile (otherlibs): Likewise.
982 * nscd/Makefile (otherlibs): Likewise.
983 * posix/Makefile (otherlibs): Likewise.
984 * pwd/Makefile (otherlibs): Likewise.
985 * rt/Makefile (otherlibs): Likewise.
986 * sunrpc/Makefile (otherlibs): Likewise.
987 * nss/Makefile (otherlibs): Likewise.
988 Add libnss_files to routines and static-only-routines.
989 ($(objpfx)getent): Remove rule.
990 * resolv/Makefile: Add libnss_dns and libresolv to routines and
991 static-only-routines.
993 2012-03-22 Joseph Myers <joseph@codesourcery.com>
996 * math/s_cexp.c: Include <float.h>.
997 (__cexp): Handle exp result overflowing not necessarily
998 overflowing both real and imaginary parts of result.
999 * math/s_cexpf.c: Likewise.
1000 * math/s_cexpl.c: Likewise.
1001 * math/libm-test.inc (cexp_test): Add more tests.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1005 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1007 * include/link.h (ELFW): New macro.
1008 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1009 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1013 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1016 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1018 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1020 (struct La_x32_retval): Likewise.
1022 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1024 * sysdeps/x86_64/preconfigure.in: New file.
1025 * sysdeps/x86_64/preconfigure: New generated file.
1027 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1030 * math/e_exp2l.c: Include <float.h>.
1031 (__ieee754_exp2l): Handle overflow and underflow cases
1032 separately. Only pass fractional part of argument to
1034 * math/libm-test.inc (exp2_test): Add more tests.
1036 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1037 negating x to take absolute value.
1038 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1040 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1041 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1043 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1044 computing low part if x was negated.
1045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1047 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1049 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1051 (pltexit): Cast int_retval to ptrdiff_t.
1052 * elf/tst-auditmod3b.c: Likewise.
1053 * elf/tst-auditmod4b.c: Likewise.
1054 * elf/tst-auditmod5b.c: Likewise.
1055 * elf/tst-auditmod6b.c: Likewise.
1056 * elf/tst-auditmod6c.c: Likewise.
1057 * elf/tst-auditmod7b.c: Likewise.
1059 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1060 and x32_gnu_pltexit.
1062 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1064 (La_x32_regs): New macro.
1065 (La_x32_retval): Likewise.
1066 (la_x32_gnu_pltenter): New function prototype.
1067 (la_x32_gnu_pltexit): Likewise.
1069 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1076 * configure.in (libc_cv_cc_nofma): Check for option to disable
1077 generation of FMA instructions.
1078 * configure: Regenerate.
1079 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1080 * sysdeps/ieee754/dbl-64/Makefile: New file.
1081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1082 Remove brandred-fma4.
1083 (CFLAGS-brandred-fma4.c): Remove.
1084 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1090 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1093 LLONG_MAX != LONG_MAX.
1094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1095 (_fitoa_word): Likewise.
1096 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1097 LLONG_MAX != LONG_MAX.
1098 * stdio-common/_itowa.h: Include <_itoa.h>.
1099 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1100 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1101 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1102 only if not defined.
1103 (_ITOA_WORD_TYPE): Likewise.
1104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1105 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1107 2012-03-21 David S. Miller <davem@davemloft.net>
1109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1111 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1113 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1114 of x86_64 when setting libc_cv_slibdir, libdir and
1116 * sysdeps/unix/sysv/linux/configure: Regenerated.
1118 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1120 * manual/lang.texi (Old Varargs): Remove section.
1121 (How Variadic): Update menu.
1122 (va_start): Do not mention varargs.h.
1124 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1125 Joseph Myers <joseph@codesourcery.com>
1127 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1129 * configure: Regenerated.
1131 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1133 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1134 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1137 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1140 * Makefile (files-for-dist): Remove NOTES.
1141 (NOTES): Remove rule.
1142 * README: Don't refer to NOTES.
1143 * manual/creature.texi: Don't include macros.texi.
1144 * manual/intro.texi (creature.texi): Remove comment referring to
1147 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1148 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1149 * configure: Regenerated.
1150 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1152 (libc_cv_as_i686): Likewise.
1153 (libc_cv_cc_avx): Likewise.
1154 (libc_cv_cc_sse2avx): Likewise.
1155 (libc_cv_cc_fma4): Likewise.
1156 (libc_cv_cc_novzeroupper): Likewise.
1157 * sysdeps/i386/configure: Regenerated.
1160 * sysdeps/i386/fpu/s_cexp.S: Remove.
1161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1163 * math/libm-test.inc (cexp_test): Add more tests.
1164 * sysdeps/i386/fpu/libm-test-ulps: Update.
1165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167 2012-03-21 Allan McRae <allan@archlinux.org>
1169 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1171 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1174 * math/w_exp2.c: Do not include <float.h>.
1175 (o_threshold, u_threshold): Remove.
1176 (__exp2): Calculate result before checking finiteness and calling
1178 * math/w_exp2f.c: Likewise.
1179 * math/w_exp2l.c: Likewise.
1180 * math/libm-test.inc (exp2_test): Require overflow exception for
1184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1185 range of signed 64-bit integers before using fistpll. Remove
1186 checks for whether integers fit in mantissa bits.
1187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1188 the range of signed 32-bit integers before using fistpl. Remove
1189 checks for whether integers fit in mantissa bits.
1190 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1191 (__ieee754_powl): Test for y outside the range of signed 64-bit
1192 integers before using fistpll. Reduce 64-bit values to 63-bit
1194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1195 divide-by-zero is raised for zero to large negative powers.
1196 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1197 (__ieee754_powl): Test for y outside the range of signed 64-bit
1198 integers before using fistpll. Reduce 64-bit values to 63-bit
1200 * math/libm-test.inc (pow_test): Add more tests.
1202 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1204 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1205 <stdio-common/_itoa.h>.
1206 * debug/segfault.c: Likewise.
1207 * elf/dl-cache.c: Likewise.
1208 * elf/dl-minimal.c: Likewise.
1209 * elf/dl-misc.c: Likewise.
1210 * elf/dl-sysdep.c: Likewise.
1211 * elf/dl-version.c: Likewise.
1212 * elf/rtld.c: Likewise.
1213 * hurd/hurdsock.c: Likewise.
1214 * hurd/lookup-retry.c: Likewise.
1215 * malloc/malloc.c: Likewise.
1216 * malloc/mtrace.c: Likewise.
1217 * nscd/nscd_getgr_r.c: Likewise.
1218 * nscd/nscd_getpw_r.c: Likewise.
1219 * nscd/nscd_getserv_r.c: Likewise.
1220 * posix/getopt_init.c: Likewise.
1221 * posix/wordexp.c: Likewise.
1222 * stdio-common/_itoa.c: Likewise.
1223 * stdio-common/printf_fphex.c: Likewise.
1224 * stdio-common/vfprintf.c: Likewise.
1225 * string/_strerror.c: Likewise.
1226 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1227 * sysdeps/i386/i686/hp-timing.h: Likewise.
1228 * sysdeps/mach/_strerror.c: Likewise.
1229 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1230 * sysdeps/mach/hurd/sethostid.c: Likewise.
1231 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1232 * sysdeps/mach/xpg-strerror.c: Likewise.
1233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1235 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1236 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1237 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1238 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1239 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1240 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1241 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1242 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1243 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1244 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1245 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1247 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1251 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1252 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1253 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1255 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1257 * stdio-common/_itoa.h: Moved to ...
1258 * sysdeps/generic/_itoa.h: Here.
1260 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1262 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1263 instead of "_itoa.h" and "_itowa.h".
1264 * stdio-common/vfprintf.: Likewise.
1266 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1268 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1270 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1271 (__signbit): Likwise.
1275 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1277 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1280 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1282 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1283 OVERFLOW_EXCEPTION_OK.
1284 * math/libm-test.inc ("Philosophy"): Update comment about
1286 (OVERFLOW_EXCEPTION): Define.
1287 (OVERFLOW_EXCEPTION_OK): Likewise.
1288 (INVALID_EXCEPTION_OK): Renumber.
1289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1290 (IGNORE_ZERO_INF_SIGN): Likewise.
1291 (test_exceptions): Handle FE_OVERFLOW.
1292 (exp10_test): Expect overflow exceptions.
1293 (exp2_test): Likewise.
1294 (expm1_test): Likewise.
1295 (nextafter_test): Likewise.
1296 (pow_test): Likewise.
1297 (scalbn_test): Likewise.
1298 (scalbln_test): Likewise.
1300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1302 * sysdeps/x86_64/bits/atomic.h
1303 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1305 (atomic_exchange_acq): Likewise.
1306 (__arch_exchange_and_add_body): Likewise.
1307 (__arch_add_body): Likewise.
1308 (atomic_add_negative): Likewise.
1309 (atomic_add_zero): Likewise.
1311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1313 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1314 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1316 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1318 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1319 Check __x86_64__ instead of __WORDSIZE.
1321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1323 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1325 2012-03-19 David S. Miller <davem@davemloft.net>
1327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1329 * sysdeps/sparc/fpu/fenv_private.h: New file.
1330 * sysdeps/sparc/fpu/math_private.h: Use it.
1331 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1333 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1334 (libc_feholdexcept_setroundl): Remove.
1335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1337 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1338 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1340 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1342 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1343 int64_t instead of long int.
1344 (INSERT_WORDS64): Likwise.
1346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1348 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1349 _Unwind_GetCFA return to _Unwind_Ptr first.
1351 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1354 * math/s_clog.c: Include <float.h>.
1355 (__clog): Scale large or subnormal inputs.
1356 * math/s_clogf.c: Likewise.
1357 * math/s_clogl.c: Likewise.
1358 * math/s_clog10.c: Include <float.h>.
1359 (M_LOG10_2): Define.
1360 (__clog10): Scale large or subnormal inputs.
1361 * math/s_clog10f.c: Likewise.
1362 * math/s_clog10l.c: Likewise.
1363 * math/libm-test.inc (clog_test): Add more tests.
1364 (clog10_test): Likewise.
1365 * sysdeps/i386/fpu/libm-test-ulps: Update.
1366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1371 * math/libm-test.inc (atan2_test): Add another test.
1373 * Makerules (common-objdir-compile): Remove.
1374 * sysdeps/unix/Makefile (config-generated): Do not add
1375 $(unix-generated) to variable.
1376 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1377 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1379 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1381 [generic bits/local_lim.h] (before-compile): Do not append to
1383 [generic bits/local_lim.h] (common-generated): Likewise.
1384 [generic sys/param.h] (before-compile): Do not append to variable.
1385 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1386 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1387 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1388 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1390 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1391 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1392 [generic sys/param.h] ($(addprefix
1393 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1394 [generic sys/param.h] (common-generated): Do not append to
1396 [generic sys/param.h] (sysdep_headers): Likewise.
1397 [generic bits/errno.h] (before-compile): Do not append to
1399 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1401 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1402 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1403 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1404 [generic bits/errno.h] (common-generated): Do not append to
1406 [generic bits/ioctls.h] (before-compile): Do not append to
1408 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1410 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1411 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1414 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1415 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1416 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1417 [generic bits/ioctls.h] (common-generated): Do not append to
1419 [generic sys/syscall.h] (syscall.h): Remove variable.
1420 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1422 [generic sys/syscall.h] (before-compile): Do not append to
1424 [generic sys/syscall.h] (common-generated): Likewise.
1425 * sysdeps/unix/errnos-tmpl.c: Remove file.
1426 * sysdeps/unix/errnos.awk: Likewise.
1427 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1428 * sysdeps/unix/ioctls.awk: Likewise.
1429 * sysdeps/unix/mk-local_lim.c: Likewise.
1430 * sysdeps/unix/snarf-ioctls: Likewise.
1432 2012-03-19 Richard Henderson <rth@twiddle.net>
1434 * sysdeps/i386/fpu/fenv_private.h: New file.
1435 * sysdeps/i386/fpu/math_private.h: Use it.
1436 (math_opt_barrier, math_force_eval): Remove.
1437 (libc_feholdexcept_setround_53bit): Remove.
1438 (libc_feupdateenv_53bit): Remove.
1439 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1440 (math_opt_barrier, math_force_eval): Remove.
1441 (libc_feholdexcept): Remove.
1442 (libc_feholdexcept_setround): Remove.
1443 (libc_fetestexcept, libc_fesetenv): Remove.
1444 (libc_feupdateenv_test): Remove.
1445 (libc_feupdateenv, libc_feholdsetround): Remove.
1446 (libc_feresetround): Remove.
1448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1449 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1451 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1452 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1453 (libc_feupdateenv_testl): New.
1454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1455 (libc_feupdateenv_testf): New.
1456 (libc_feupdateenv): Use libc_feupdateenv_test.
1457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1460 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1461 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1462 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1463 (libc_feresetround_noex): New.
1464 (libc_feresetround_noexf): New.
1465 (libc_feresetround_noexl): New.
1466 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1467 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1468 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1474 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1475 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1476 SET_RESTORE_ROUND_NOEX.
1477 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1478 SET_RESTORE_ROUND_NOEXF.
1479 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1480 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1481 (libc_feholdsetroundf): New.
1482 (libc_feresetround, libc_feresetroundf): New.
1484 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1485 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1486 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1488 * sysdeps/generic/math_private.h: Include <fenv.h>.
1489 (default_libc_feholdexcept): New.
1490 (default_libc_feholdexcept_setround): New.
1491 (default_libc_fesetenv, default_libc_feupdateenv): New.
1492 (libc_feholdexcept): Only define if undefined.
1493 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1494 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1495 (libc_feholdexcept_setroundl): Likewise.
1496 (libc_feholdexcept_setround_53bit): Likewise.
1497 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1498 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1499 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1500 (libc_feupdateenv_53bit): Likewise.
1501 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1502 (libc_feholdexcept): Convert from macro to inline function.
1503 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1504 (libc_fesetenv, libc_feupdateenv): Likewise.
1506 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1507 not previously defined.
1508 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1509 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1510 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1511 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1512 * sysdeps/ieee754/flt-32/math_private.h: New file.
1513 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1514 math_private.h below SET_FLOAT_WORD.
1515 (__isnan, __isinf_ns, __finite): Remove.
1516 (__isnanf, __isinf_nsf, __finitef): Remove.
1518 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1522 2012-03-17 David S. Miller <davem@davemloft.net>
1525 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1528 2012-03-16 David S. Miller <davem@davemloft.net>
1530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1536 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1537 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1538 sysdep_routines when subdir is sysvipc.
1539 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1542 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1546 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1549 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1552 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1553 (__lround): Renamed to ...
1554 (__llround): This. Replace long int with long long int.
1555 Define lround functions as aliases of llround functions.
1556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1558 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1560 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1561 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1562 adresses to uintptr_t. Replace "long int" and "unsigned long
1563 int" with "greg_t" on va_arg.
1565 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1567 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1568 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1570 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1571 Move e_machine check before EI_CLASS check. Handle x32
1572 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1573 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1574 SKIP_EM_IA_64 and include
1575 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1577 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1578 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1579 (add_system_dir): New macro.
1581 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1582 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1584 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1595 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1597 * math/w_j0f.c (j0f): Likewise.
1599 * math/w_j0l.c (__j0l): Likewise.
1601 * math/w_j1.c (j1): Likewise.
1603 * math/w_j1f.c (j1f): Likewise.
1605 * math/w_j1l.c (__j1l): Likewise.
1607 * math/w_jn.c (jn): Likewise.
1609 * math/w_jnf.c (jnf): Likewise.
1611 * math/w_jnl.c (__jnl): Likewise.
1613 * math/libm-test.inc (j0_test): Add more tests.
1614 (j1_test): Likewise.
1615 (jn_test): Likewise. Add trailing semicolon to existing test.
1616 (y0_test): Likewise.
1617 (y1_test): Likewise.
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1624 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1625 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1627 (__tanl): Set errno for infinite argument.
1628 * sysdeps/i386/fpu/mptan.c: Remove.
1629 * sysdeps/i386/fpu/s_tan.S: Likewise.
1630 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1631 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1632 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1633 * math/libm-test.inc (tan_test): Add more tests and enable more
1634 tests for double and long double.
1635 * sysdeps/i386/fpu/libm-test-ulps: Update.
1636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1638 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1640 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1641 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1643 2012-03-16 Roland McGrath <roland@hack.frob.com>
1645 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1646 * configure.in: Use it for both main tree and add-ons.
1647 * configure: Regenerated.
1649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1651 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1653 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1655 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1659 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1660 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1665 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1668 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1669 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1670 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1671 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1672 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1673 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1674 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1675 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1676 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1677 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1678 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1679 * math/libm-test.inc (cos_test): Add more tests and enable more
1680 tests for long double.
1681 (sin_test): Likewise.
1682 (sincos_test): Likewise.
1683 * sysdeps/i386/fpu/libm-test-ulps: Update.
1684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1686 2012-03-16 David S. Miller <davem@davemloft.net>
1688 * sysdeps/sparc/fpu/math_private.h: New file.
1690 2012-03-15 David S. Miller <davem@davemloft.net>
1692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1706 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1707 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1709 * sysdeps/sparc/sparc-ifunc.h: New file.
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1755 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1757 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1761 2012-03-15 Andreas Jaeger <aj@suse.de>
1764 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1765 ieee754/flt-32 implementation for sin, cos and sincos.
1766 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1767 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1768 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1769 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1770 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1771 ieee754/flt-32 implementation for tan.
1773 * math/libm-test.inc (cos_test): Enable some large input tests for
1775 (sin_test): Likewise.
1776 (sincos_test): Likewise.
1777 (tan_test): Add tests for large input.
1779 * sysdeps/i386/fpu/libm-test-ulps: Update.
1781 2012-03-15 Andreas Jaeger <aj@suse.de>
1784 * math/libm-test.inc (cos_test): Add more test cases.
1785 (sin_test): Likewise.
1786 (sincos_test): Likewise.
1788 2012-03-15 Andreas Jaeger <aj@suse.de>
1791 * math/libm-test.inc (cos_test): Add a test case for large input
1793 (sin_test): Likewise.
1794 (sincos_test): Likewise.
1796 2012-03-15 Andreas Jaeger <aj@suse.de>,
1797 Joseph Myers <joseph@codesourcery.com>
1800 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1801 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1802 * sysdeps/i386/fpu/branred.c: Likewise.
1803 * sysdeps/i386/fpu/dosincos.c: Likewise.
1804 * sysdeps/i386/fpu/mpa.c: Likewise.
1805 * sysdeps/i386/fpu/s_cos.S: Likewise.
1806 * sysdeps/i386/fpu/s_sin.S: Likewise.
1807 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1808 * sysdeps/i386/fpu/sincos32.c: Likewise.
1810 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1812 (libc_feupdateenv_53bit): Define.
1813 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1815 (libc_feupdateenv_53bit): Define.
1817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1818 53 bit (without extend i386 double precision).
1820 * math/libm-test.inc (sincos_test): Add tests for large input.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1826 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1830 2012-03-15 David S. Miller <davem@davemloft.net>
1832 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1833 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1834 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1835 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1860 fmin/fmax sysdep routines.
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1863 2012-03-14 David S. Miller <davem@davemloft.net>
1865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1942 * sysdeps/sparc/configure.in: New file.
1943 * sysdeps/sparc/configure: Generate.
1944 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1945 * configure: Regenerate.
1946 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1947 * config.make.in (have-as-vis3): New.
1948 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1949 available use -Av9d instead of -Av9a.
1950 * sysdeps/sparc/sparc64/Makefile: Likewise.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1967 fzeros/fnegs to load 0x80000000 into a float register instead of
1969 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1971 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1975 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1976 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1977 ($(inst_includedir)/bits/syscall.h): Remove rule.
1978 ($(objpfx)bits/syscall.d): Include instead of
1979 $(objpfx)syscall-list.d.
1980 (generated): Change syscall-list.h and syscall-list.d to
1981 bits/syscall.h and bits/syscall.d.
1983 2012-03-14 Roland McGrath <roland@hack.frob.com>
1986 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1988 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1991 * math/s_csqrt.c: Include <float.h>.
1992 (__csqrt): Scale large or subnormal inputs.
1993 * math/s_csqrtf.c: Likewise.
1994 * math/s_csqrtl.c: Likewise.
1995 * math/libm-test.inc (csqrt_test): Add more tests.
1996 * sysdeps/i386/fpu/libm-test-ulps: Update.
1997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000 * math/libm-test.inc (hypot_test): Add more tests.
2002 2012-03-13 David S. Miller <davem@davemloft.net>
2005 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2006 double-precision for the calculation instead of scaling.
2008 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2011 manipulate bits before adding and subtracting TWO52[sx].
2012 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2017 2012-03-13 David S. Miller <davem@davemloft.net>
2019 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2020 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2022 rtld-global-offsets.h
2023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2030 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2031 'err' in the ifdef scope in which it is actually used.
2033 * nss/nss_db/db-init.c: Include string.h
2035 2012-03-12 David S. Miller <davem@davemloft.net>
2037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2038 masking out of the most significant byte of random value used.
2039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2040 Fix coding style in previous change.
2042 * sysdeps/unix/sysv/linux/kernel-features.h
2043 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2044 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2046 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2049 2012-03-11 David S. Miller <davem@davemloft.net>
2051 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2052 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2054 for 'resultvar' otherwise things get truncated on 64-bit.
2056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2057 Fix masking out of the most significant byte of random value used.
2059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2061 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2065 2012-03-09 David S. Miller <davem@davemloft.net>
2067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2068 variables with appropriate CPP guards.
2069 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2070 frame pointer, not the stack pointer. Correct layout comments. Fix test
2071 on resulting framesize and the management of the outregs buffer for pltexit.
2072 Preserve floating point return values across _dl_call_pltexit call.
2073 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2074 framesize and the management of the outregs buffer for pltexit.
2075 Preserve floating point return values across _dl_call_pltexit
2077 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2078 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2079 (print_exit): Fix format string for return register value.
2081 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2083 * sunrpc/Makefile (others): Add rpcgen.
2084 ($(objpfx)rpcgen): Remove special build rule and dependency on
2086 * sunrpc/rpcgen.c: New file.
2088 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2091 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2092 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2093 * sysdeps/i386/crti.S: Likewise.
2094 * sysdeps/i386/crtn.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2099 * sysdeps/sh/crti.S: Likewise.
2100 * sysdeps/sh/crtn.S: Likewise.
2101 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2104 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2106 * locale/programs/locfile-kw.gperf: Likewise.
2107 * locale/programs/charmap-kw.h: Regenerated.
2108 * locale/programs/locfile-kw.h: Likewise.
2111 * intl/plural.y: Replace FSF snail mail address with URL.
2112 * intl/plural.c: Regenerated.
2114 2012-03-09 Richard Henderson <rth@twiddle.net>
2116 * include/math_private.h: Remove file.
2117 * math/math_private.h: Move file ...
2118 * sysdeps/generic/math_private.h: ... here.
2120 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2121 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2122 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2124 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2125 and <math_private.h>.
2126 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2127 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2128 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2129 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2130 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2131 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2132 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2135 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2141 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2176 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2178 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2180 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2181 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2214 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2217 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2219 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2220 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2221 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2222 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2223 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2224 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2225 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2226 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2227 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2228 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2231 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2232 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2234 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2236 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2237 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2238 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2240 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2245 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2246 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2247 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2248 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2249 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2251 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2253 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2254 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2255 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2256 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2257 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2258 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2259 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2260 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2261 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2262 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2263 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2264 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2265 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2266 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2267 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2268 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2269 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2270 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2271 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2272 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2273 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2274 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2275 * sysdeps/ieee754/k_standard.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2391 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2395 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2398 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2403 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2408 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2425 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2436 * sysdeps/ieee754/s_lib_version.c: Likewise.
2437 * sysdeps/ieee754/s_matherr.c: Likewise.
2438 * sysdeps/ieee754/s_signgam.c: Likewise.
2439 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2441 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2442 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2443 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2444 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2445 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2446 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2447 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2448 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2449 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2450 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2451 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2452 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2453 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2454 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2456 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2461 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2463 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2464 * sunrpc/rpc_main.c: Likewise.
2465 * sunrpc/rpc_svcout.c: Likewise.
2467 2012-03-09 David S. Miller <davem@davemloft.net>
2469 * include/math_private.h: New file.
2471 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2473 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2474 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2475 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2476 from <bits/socket_type.h>.
2477 (enum __socket_type): Don't define here.
2478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2483 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2486 * Makerules ($(inst_includedir)/%.h): New rule.
2487 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2488 (install-others): Remove variable setting.
2489 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2491 2012-03-08 Richard Henderson <rth@twiddle.net>
2493 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2494 from macro to inline function; merge with the
2495 !__LIBC_INTERNAL_MATH_INLINES version.
2496 (__ieee754_sqrtf): Likewise.
2498 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2500 (__rintf, __floor, __floorf): Likewise.
2502 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2503 macro to inline function.
2504 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2507 not <math/math_private.h>.
2509 2012-03-08 David S. Miller <davem@davemloft.net>
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2513 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2515 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2517 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2519 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2520 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2522 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2524 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2525 be defined individually, they must be defined as a block. Define
2526 S for printing a string instead of hidint the different by using a
2527 macro for adding the 'l'.
2528 * stdio-common/tst-fphex-wide.c: Adjust.
2530 2012-03-07 Marek Polacek <polacek@redhat.com>
2532 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2534 2012-03-08 Marek Polacek <polacek@redhat.com>
2537 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2538 * stdio-common/tst-fphex.c: Define a few macros to make the
2539 test reusable. Use them.
2540 * stdio-common/tst-fphex-wide.c: New file.
2542 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2545 * manual/macros.texi (gnusystems): New macro.
2546 (nongnusystems): Likewise.
2547 (gnulinuxhurdsystems): Likewise.
2548 (gnuhurdsystems): Likewise..
2549 (gnulinuxsystems): Likewise.
2550 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2551 variants of the GNU system, not "GNU system".
2552 * manual/conf.texi: Likewise.
2553 * manual/errno.texi: Likewise. Update example of errno macro
2555 * manual/filesys.texi: Likewise.
2556 (getumask): Document as specific to GNU/Hurd.
2557 * manual/install.texi: Likewise. Reword some references to
2559 * manual/intro.texi: Likewise.
2560 * manual/io.texi: Likewise.
2561 (File Name Portability): Detail which constraints are inapplicable
2562 to all GNU systems and which are only inapplicable to GNU/Hurd.
2563 * manual/job.texi: Likewise.
2564 * manual/llio.texi: Likewise.
2565 (O_NOCTTY): Document as present on GNU/Linux.
2566 * manual/maint.texi: Likewise.
2567 * manual/memory.texi: Likewise.
2568 * manual/pattern.texi: Likewise.
2569 * manual/pipe.texi: Likewise.
2570 * manual/process.texi: Likewise.
2571 * manual/resource.texi: Likewise.
2572 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2574 * manual/setjmp.texi: Likewise.
2575 * manual/signal.texi: Likewise.
2576 * manual/startup.texi: Likewise.
2577 * manual/stdio.texi: Likewise.
2578 * manual/terminal.texi: Likewise.
2579 (ONLCR): Document as POSIX.
2580 (OXTABS): Document availability on GNU/Linux as XTABS.
2581 (ONOEOT): Document availability separately from other bits.
2582 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2583 * manual/time.texi: Likewise.
2584 * manual/users.texi: Likewise.
2585 * INSTALL: Regenerated.
2586 * sysdeps/gnu/errlist.c: Regenerated.
2588 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2589 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2590 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2592 * configure: Regenerated.
2594 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2596 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2597 default includes instead of AC_HEADER_CHECK.
2598 * sysdeps/i386/configure: Regenerated.
2601 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2602 * math/s_cacoshf.c (__cacoshf): Likewise.
2603 * math/s_cacoshl.c (__cacoshl): Likewise.
2604 * math/s_casinh.c (__casinh): Set signs of result from argument.
2605 * math/s_casinhf.c (__casinhf): Likewise.
2606 * math/s_casinhl.c (__casinhl): Likewise.
2607 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2608 (casinh_test): Add more tests.
2609 * sysdeps/i386/fpu/libm-test-ulps: Update.
2610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2612 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2614 * po/zh_TW.po: Update from translation team.
2616 * login/Makefile (distribute): Remove variable.
2617 * catgets/Makefile: Likewise.
2618 * mach/Makefile: Likewise.
2619 * malloc/Makefile: Likewise.
2620 * misc/Makefile: Likewise.
2621 * iconv/Makefile: Likewise.
2622 * nscd/Makefile: Likewise.
2623 * hurd/Makefile: Likewise.
2624 * manual/Makefile: Likewise.
2625 * locale/Makefile: Likewise.
2626 * intl/Makefile: Likewise.
2627 * conform/Makefile: Likewise.
2628 * nss/Makefile: Likewise.
2629 * time/Makefile: Likewise.
2630 * soft-fp/Makefile: Likewise.
2631 * dirent/Makefile: Likewise.
2632 * gmon/Makefile: Likewise.
2633 * po/Makefile: Likewise.
2634 * rt/Makefile: Likewise.
2635 * socket/Makefile: Likewise.
2636 * math/Makefile: Likewise.
2637 * signal/Makefile: Likewise.
2638 * debug/Makefile: Likewise.
2639 * elf/Makefile: Likewise.
2640 * timezone/Makefile: Likewise.
2641 * stdlib/Makefile: Likewise.
2642 * iconvdata/Makefile: Likewise.
2643 * sunrpc/Makefile: Likewise.
2644 * io/Makefile: Likewise.
2645 * argp/Makefile: Likewise.
2646 * inet/Makefile: Likewise.
2647 * hesiod/Makefile: Likewise.
2648 * grp/Makefile: Likewise.
2649 * csu/Makefile: Likewise.
2650 * wctype/Makefile: Likewise.
2651 * crypt/Makefile: Likewise.
2652 * libio/Makefile: Likewise.
2653 * string/Makefile: Likewise.
2654 * nis/Makefile: Likewise.
2655 * resolv/Makefile: Likewise.
2656 * stdio-common/Makefile: Likewise.
2657 * wcsmbs/Makefile: Likewise.
2658 * dlfcn/Makefile: Likewise.
2659 * posix/Makefile: Likewise.
2661 * timezone/Makefile: Don't install timezone files, just the programs
2664 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2666 * nss/databases.def: Add missing gshadow entry.
2668 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2670 2012-03-06 Marek Polacek <polacek@redhat.com>
2673 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2674 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2675 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2676 * stdio-common/tst-long-dbl-fphex.c: New file.
2678 2012-03-06 David S. Miller <davem@davemloft.net>
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2681 (set_obp_int): New function.
2682 (get_obp_int): New function.
2683 (__get_clockfreq_via_dev_openprom): Likewise.
2684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2685 Avoid unused variable warnings on 'val' and use builtin_expect.
2686 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2688 (INLINE_CLONE_SYSCALL): Likewise.
2690 2012-03-05 David S. Miller <davem@davemloft.net>
2692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2694 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2698 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2702 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2705 Replace gettimeofday with __vdso_gettimeofday.
2707 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2708 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2709 __vdso_clock_gettime and __vdso_getcpu.
2711 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2712 time with __vdso_time.
2714 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2716 * manual/lang.texi (size_t): Note types to which size_t may be
2717 equivalent with the GNU C Library, but do not describe when
2718 differences between them are significant.
2720 2012-03-05 Andreas Jaeger <aj@suse.de>
2722 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2727 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2728 (__ieee754_pow): Save and restore rounding mode and use
2729 round-to-nearest for main computations.
2730 * math/libm-test.inc (pow_test_tonearest): New function.
2731 (pow_test_towardzero): Likewise.
2732 (pow_test_downward): Likewise.
2733 (pow_test_upward): Likewise.
2734 (main): Call the new functions.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2739 * math/libm-test.inc (cosh_test_tonearest): New function.
2740 (cosh_test_towardzero): Likewise.
2741 (cosh_test_downward): Likewise.
2742 (cosh_test_upward): Likewise.
2743 (sinh_test_tonearest): Likewise.
2744 (sinh_test_towardzero): Likewise.
2745 (sinh_test_downward): Likewise.
2746 (sinh_test_upward): Likewise.
2747 (main): Call the new functions.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2751 2012-03-05 Tom de Vries <tom@codesourcery.com>
2753 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2754 default stack guard is set in last bytes.
2755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2757 2012-03-05 Kees Cook <keescook@chromium.org>
2759 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2762 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2763 possibly allocate from heap instead of stack.
2764 * stdio-common/bug-vfprintf-nargs.c: New file.
2765 * stdio-common/Makefile (tests): Add nargs overflow test.
2767 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2771 2012-03-03 Marek Polacek <polacek@redhat.com>
2773 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2774 * math/math_private.h: Likewise.
2775 * stdlib/tst-strtod.c: Likewise.
2776 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2777 * sysdeps/x86_64/bits/atomic.h: Likewise.
2779 2012-03-02 David S. Miller <davem@davemloft.net>
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2786 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2787 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2788 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2790 2012-03-02 Roland McGrath <roland@hack.frob.com>
2793 * manual/examples/README: New file, says the example source files
2794 can be used under GPL>=2.
2795 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2796 line containing just "*/".
2797 * manual/examples/add.c: Add copyright header (GPL>=2).
2798 * manual/examples/argp-ex1.c: Likewise.
2799 * manual/examples/argp-ex2.c: Likewise.
2800 * manual/examples/argp-ex3.c: Likewise.
2801 * manual/examples/argp-ex4.c: Likewise.
2802 * manual/examples/atexit.c: Likewise.
2803 * manual/examples/db.c: Likewise.
2804 * manual/examples/dir.c: Likewise.
2805 * manual/examples/dir2.c: Likewise.
2806 * manual/examples/execinfo.c: Likewise.
2807 * manual/examples/filecli.c: Likewise.
2808 * manual/examples/filesrv.c: Likewise.
2809 * manual/examples/fmtmsgexpl.c: Likewise.
2810 * manual/examples/genpass.c: Likewise.
2811 * manual/examples/inetcli.c: Likewise.
2812 * manual/examples/inetsrv.c: Likewise.
2813 * manual/examples/isockad.c: Likewise.
2814 * manual/examples/longopt.c: Likewise.
2815 * manual/examples/memopen.c: Likewise.
2816 * manual/examples/memstrm.c: Likewise.
2817 * manual/examples/mkfsock.c: Likewise.
2818 * manual/examples/mkisock.c: Likewise.
2819 * manual/examples/mygetpass.c: Likewise.
2820 * manual/examples/pipe.c: Likewise.
2821 * manual/examples/popen.c: Likewise.
2822 * manual/examples/rprintf.c: Likewise.
2823 * manual/examples/search.c: Likewise.
2824 * manual/examples/select.c: Likewise.
2825 * manual/examples/setjmp.c: Likewise.
2826 * manual/examples/sigh1.c: Likewise.
2827 * manual/examples/sigusr.c: Likewise.
2828 * manual/examples/stpcpy.c: Likewise.
2829 * manual/examples/strdupa.c: Likewise.
2830 * manual/examples/strftim.c: Likewise.
2831 * manual/examples/strncat.c: Likewise.
2832 * manual/examples/subopt.c: Likewise.
2833 * manual/examples/swapcontext.c: Likewise.
2834 * manual/examples/termios.c: Likewise.
2835 * manual/examples/testopt.c: Likewise.
2836 * manual/examples/testpass.c: Likewise.
2837 * manual/examples/timeval_subtract.c: Likewise.
2840 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2842 * manual/timeval_subtract.c.texi: ... here, new file.
2844 2012-03-02 David S. Miller <davem@davemloft.net>
2846 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2848 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2851 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2852 (__sin): Save and restore rounding mode and use round-to-nearest
2853 for all computations.
2854 (__cos): Save and restore rounding mode and use round-to-nearest
2855 for all computations.
2856 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2858 (tan): Save and restore rounding mode and use round-to-nearest for
2860 * math/libm-test.inc (cos_test_tonearest): New function.
2861 (cos_test_towardzero): Likewise.
2862 (cos_test_downward): Likewise.
2863 (cos_test_upward): Likewise.
2864 (sin_test_tonearest): Likewise.
2865 (sin_test_towardzero): Likewise.
2866 (sin_test_downward): Likewise.
2867 (sin_test_upward): Likewise.
2868 (tan_test_tonearest): Likewise.
2869 (tan_test_towardzero): Likewise.
2870 (tan_test_downward): Likewise.
2871 (tan_test_upward): Likewise.
2872 (main): Call the new functions.
2873 * sysdeps/i386/fpu/libm-test-ulps: Update.
2874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2877 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2878 small n, then large n, before computing and testing k+n.
2879 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2884 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2885 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2886 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2887 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2890 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2891 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2892 * math/libm-test.inc (scalbn_test): Add more tests.
2893 (scalbln_test): Likewise.
2895 * manual/filesys.texi (mode_t): Describe constraints on size and
2896 signedness, not exact equivalence to a particular type.
2898 (ino64_t): Likewise.
2900 (nlink_t): Likewise.
2901 (blkcnt_t): Likewise.
2902 (blkcnt64_t): Likewise.
2903 * manual/llio.texi (off_t): Likewise.
2906 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2907 (__ieee754_exp): Save and restore rounding mode and use
2908 round-to-nearest for all computations.
2909 * math/libm-test.inc (exp_test_tonearest): New function.
2910 (exp_test_towardzero): Likewise.
2911 (exp_test_downward): Likewise.
2912 (exp_test_upward): Likewise.
2913 (main): Call the new functions.
2914 * sysdeps/i386/fpu/libm-test-ulps: Update.
2915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917 2012-03-01 Chris Demetriou <cgd@google.com>
2919 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2920 have predictable order.
2922 2012-03-01 David S. Miller <davem@davemloft.net>
2924 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2926 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2927 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2928 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2929 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2931 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2932 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2933 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2935 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2943 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2944 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2945 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2947 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2948 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2949 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2950 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2951 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2954 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2955 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2956 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2957 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2963 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2964 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2965 * sysdeps/sparc/elf/configure: Regenerated.
2967 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2969 * configure.in (AS, LD): Require binutils 2.20 or later.
2970 * configure: Regenerated.
2971 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2972 as required minimum version.
2973 * INSTALL: Regenerated.
2977 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2978 before squaring exponent.
2979 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2980 bottom long double and 27 bits of top long double before squaring
2982 * math/libm-test.inc (erfc_test): Add more tests.
2983 * sysdeps/i386/fpu/libm-test-ulps: Update.
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987 2012-03-01 Kai Tietz <ktietz@redhat.com>
2989 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2990 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2991 containing bit-fields.
2992 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2993 * soft-fp/single.h (_FP_UNION_S): Likewise.
2994 * soft-fp/double.h (_FP_UNION_D): Likewise.
2996 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2999 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3000 not include ../strcmp.S.
3001 [USE_AS_STRNCASECMP_L]: Likewise.
3002 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3003 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3004 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3005 (__strncasecmp_l_ia32): Define as alias to
3006 __strncasecmp_l_nonascii.
3009 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3010 * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3013 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016 2012-02-29 Jeff Law <law@redhat.com>
3018 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3021 2012-02-29 Marek Polacek <polacek@redhat.com>
3024 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3025 * elf/Makefile: Add rules to run tst-unused-dep.out.
3027 2012-02-28 David S. Miller <davem@davemloft.net>
3029 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3030 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3033 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3034 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3036 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3038 * math/libm-test.inc (llround_test): Move one test from
3039 lround_test. Use TEST_f_L in moved test.
3040 (lround_test): Move misplaced test to llround_test. Add testcase
3043 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3045 * sysdeps/x86_64/fpu/e_expf.S: New file.
3046 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3048 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3051 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3052 of remain_len that may cause incomplete multi-byte character and
3054 * posix/bug-regex33.c: New file.
3055 * posix/Makefile (tests): Add bug-regex33.
3057 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3059 * manual/macros.texi: New file.
3060 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3061 * manual/libc.texinfo: Include macros.texi.
3062 * manual/creatute.texi: Likewise.
3063 * manual/install.texi: Likewise.
3064 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3065 @glibcadj{} in references to the GNU C Library.
3066 * manual/charset.texi: Likewise.
3067 * manual/conf.texi: Likewise.
3068 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3069 when not using those macros.
3070 * manual/creature.texi: Likewise.
3071 * manual/crypt.texi: Likewise.
3072 * manual/errno.texi: Likewise.
3073 * manual/filesys.texi: Likewise.
3074 * manual/header.texi: Likewise.
3075 * manual/install.texi: Likewise.
3076 * manual/intro.texi: Likewise.
3077 * manual/io.texi: Likewise.
3078 * manual/job.texi: Likewise.
3079 * manual/lang.texi: Likewise.
3080 * manual/libc.texiinfo: Likewise.
3081 * manual/llio.texi: Likewise.
3082 * manual/locale.texi: Likewise.
3083 * manual/maint.texi: Likewise.
3084 * manual/math.texi: Likewise.
3085 * manual/memory.texi: Likewise.
3086 * manual/message.texi: Likewise.
3087 * manual/nss.texi: Likewise.
3088 * manual/pattern.texi: Likewise.
3089 * manual/process.texi: Likewise.
3090 * manual/resource.texi: Likewise.
3091 * manual/search.texi: Likewise.
3092 * manual/setjmp.texi: Likewise.
3093 * manual/signal.texi: Likewise.
3094 * manual/socket.texi: Likewise.
3095 * manual/startup.texi: Likewise.
3096 * manual/stdio.texi: Likewise.
3097 * manual/string.texi: Likewise.
3098 * manual/sysinfo.texi: Likewise.
3099 * manual/syslog.texi: Likewise.
3100 * manual/terminal.texi: Likewise.
3101 * manual/time.texi: Likewise.
3102 * manual/users.texi: Likewise.
3103 * INSTALL: Regenerated.
3104 * NOTES: Regenerated.
3105 * sysdeps/gnu/errlist.c: Regenerated.
3107 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3109 * include/dirent.h: Include <dirstream.h> before
3112 2012-02-28 David S. Miller <davem@davemloft.net>
3114 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3115 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3116 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3117 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3119 2012-02-27 David S. Miller <davem@davemloft.net>
3121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3123 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3124 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3127 frame pointer instead of stack pointer relative arg slot.
3128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3132 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3135 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3137 2012-02-27 David S. Miller <davem@davemloft.net>
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3145 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3146 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3148 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3150 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3151 later. Allow versions 5-9.
3152 * configure: Regenerated.
3153 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3154 required minimum version and 4.6 as recommended version. Do not
3155 mention bugs in GCC 2.7 and 2.8.
3156 * INSTALL: Regenerated.
3158 2012-02-27 David S. Miller <davem@davemloft.net>
3160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3164 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3165 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3166 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3167 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3170 manipulate bits before adding and subtracting TWO112[sx].
3171 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3173 2012-02-27 Roland McGrath <roland@hack.frob.com>
3176 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3177 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3178 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3179 being in POSIX, because they are in 1003.1-2008.
3181 * rt/tst-aio.c: Include <fcntl.h>.
3182 * rt/tst-aio7.c: Likewise.
3183 * rt/tst-aio64.c: Likewise.
3185 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3187 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3189 * manual/install.texi (--with-headers): Describe headers as
3190 interface headers, not private headers.
3191 (Specific advice for GNU/Linux systems): Describe use of headers
3192 from "make headers_install", not private headers from older
3194 * INSTALL: Regenerated.
3195 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3197 * sysdeps/unix/sysv/linux/configure: Regenerated.
3199 * manual/llio.texi (fclean): Remove documentation.
3201 * manual/Makefile (libc-texi-generated): New variable. Include
3203 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3204 $(libc-texi-generated), not duplicated list of files.
3205 (version.texi, stamp-version): New rules.
3206 (realclean): Remove $(libc-texi-generated), not individual files
3207 from that list. Do not remove dir-add.texinfo.
3208 * manual/libc.texinfo: Comment out uses of edition numbers and
3209 references to printed manual. Remove last-updated dates.
3210 (EDITION): Comment out.
3212 (VERSION, UPDATED): Remove.
3213 (version.texi): Include.
3215 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3217 * sysdeps/posix/spawni.c: Include <signal.h>.
3218 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3219 * sysdeps/pthread/aio_fsync.c: Likewise.
3221 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3223 * conform/Makefile (tests): Run only when not cross-compiling and
3224 when fast-check is not defined.
3226 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3227 * conform/data/limits.h-data: Fixes for POSIX2008.
3228 * conform/run-conformtest.sh: Run all tests.
3229 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3231 * include/bits/dlfcn.h: Likewise.
3232 * include/langinfo.h: Likewise.
3233 * include/monetary.h: Likewise.
3234 * include/sys/poll.h: Likewise.
3236 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3238 * posix/spawn.h: Define __need_sigset_t.
3239 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3240 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3241 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3242 to get sigevent_t only.
3243 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3246 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3247 process_vm_writev only for __USE_GNU.
3248 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3250 * conform/Makefile: For now ignore errors from run-conformtest.
3251 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3252 POSIX to avoid namespace pollution. Don't prepend headers.
3253 * conform/data/aio.h-data: Fixes for POSIX testing.
3254 * conform/data/fcntl.h-data: Likewise.
3255 * conform/data/glob.h-data: Likewise.
3256 * conform/data/grp.h-data: Likewise.
3257 * conform/data/pthread.h-data: Likewise.
3258 * conform/data/pwd.h-data: Likewise.
3259 * conform/data/signal.h-data: Likewise.
3260 * conform/data/spawn.h-data: Likewise.
3261 * conform/data/stdio.h-data: Likewise.
3262 * conform/data/stdlib.h-data: Likewise.
3263 * conform/data/stropts.h-data: Likewise.
3264 * conform/data/sys/mman.h-data: Likewise.
3265 * conform/data/sys/stat.h-data: Likewise.
3266 * conform/data/sys/types.h-data: Likewise.
3267 * conform/data/sys/wait.h-data: Likewise.
3268 * conform/data/time.h-data: Likewise.
3269 * conform/data/unistd.h-data: Likewise.
3270 * conform/data/utime.h-data: Likewise.
3272 * io/sys/stat.h: fchmod was always in POSIX.
3273 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3274 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3275 * rt/aio.h: Define __need_timespec before including <time.h>.
3276 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3277 struct. Add forward declaration of pthread_attr_t and use it in
3279 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3281 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3282 always remove CLK_TCK definition.
3284 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3286 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3288 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3290 * conform/run-conformtest.sh: New file.
3291 * conform/Makefile: Run run-conformtest for tests.
3292 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3295 * conform/data/uchar.h-data: New file.
3296 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3297 * conform/data/arpa/inet.h-data: Likewise.
3298 * conform/data/assert.h-data: Likewise.
3299 * conform/data/complex.h-data: Likewise.
3300 * conform/data/cpio.h-data: Likewise.
3301 * conform/data/ctype.h-data: Likewise.
3302 * conform/data/dirent.h-data: Likewise.
3303 * conform/data/dlfcn.h-data: Likewise.
3304 * conform/data/errno.h-data: Likewise.
3305 * conform/data/fcntl.h-data: Likewise.
3306 * conform/data/float.h-data: Likewise.
3307 * conform/data/fmtmsg.h-data: Likewise.
3308 * conform/data/fnmatch.h-data: Likewise.
3309 * conform/data/ftw.h-data: Likewise.
3310 * conform/data/glob.h-data: Likewise.
3311 * conform/data/grp.h-data: Likewise.
3312 * conform/data/iconv.h-data: Likewise.
3313 * conform/data/inttypes.h-data: Likewise.
3314 * conform/data/langinfo.h-data: Likewise.
3315 * conform/data/libgen.h-data: Likewise.
3316 * conform/data/limits.h-data: Likewise.
3317 * conform/data/locale.h-data: Likewise.
3318 * conform/data/math.h-data: Likewise.
3319 * conform/data/monetary.h-data: Likewise.
3320 * conform/data/mqueue.h-data: Likewise.
3321 * conform/data/ndbm.h-data: Likewise.
3322 * conform/data/net/if.h-data: Likewise.
3323 * conform/data/netdb.h-data: Likewise.
3324 * conform/data/netinet/in.h-data: Likewise.
3325 * conform/data/nl_types.h-data: Likewise.
3326 * conform/data/poll.h-data: Likewise.
3327 * conform/data/pthread.h-data: Likewise.
3328 * conform/data/pwd.h-data: Likewise.
3329 * conform/data/regex.h-data: Likewise.
3330 * conform/data/sched.h-data: Likewise.
3331 * conform/data/search.h-data: Likewise.
3332 * conform/data/semaphore.h-data: Likewise.
3333 * conform/data/setjmp.h-data: Likewise.
3334 * conform/data/signal.h-data: Likewise.
3335 * conform/data/spawn.h-data: Likewise.
3336 * conform/data/stdarg.h-data: Likewise.
3337 * conform/data/stdio.h-data: Likewise.
3338 * conform/data/stdlib.h-data: Likewise.
3339 * conform/data/string.h-data: Likewise.
3340 * conform/data/strings.h-data: Likewise.
3341 * conform/data/stropts.h-data: Likewise.
3342 * conform/data/sys/ipc.h-data: Likewise.
3343 * conform/data/sys/mman.h-data: Likewise.
3344 * conform/data/sys/msg.h-data: Likewise.
3345 * conform/data/sys/resource.h-data: Likewise.
3346 * conform/data/sys/select.h-data: Likewise.
3347 * conform/data/sys/sem.h-data: Likewise.
3348 * conform/data/sys/shm.h-data: Likewise.
3349 * conform/data/sys/socket.h-data: Likewise.
3350 * conform/data/sys/stat.h-data: Likewise.
3351 * conform/data/sys/statvfs.h-data: Likewise.
3352 * conform/data/sys/time.h-data: Likewise.
3353 * conform/data/sys/timeb.h-data: Likewise.
3354 * conform/data/sys/times.h-data: Likewise.
3355 * conform/data/sys/types.h-data: Likewise.
3356 * conform/data/sys/uio.h-data: Likewise.
3357 * conform/data/sys/un.h-data: Likewise.
3358 * conform/data/sys/utsname.h-data: Likewise.
3359 * conform/data/sys/wait.h-data: Likewise.
3360 * conform/data/syslog.h-data: Likewise.
3361 * conform/data/tar.h-data: Likewise.
3362 * conform/data/termios.h-data: Likewise.
3363 * conform/data/utime.h-data: Likewise.
3364 * conform/data/utmpx.h-data: Likewise.
3365 * conform/data/varargs.h-data: Likewise.
3366 * conform/data/wchar.h-data: Likewise.
3367 * conform/data/wctype.h-data: Likewise.
3368 * conform/data/wordexp.h-data: Likewise.
3370 * include/stropts.h: New file.
3371 * include/uchar.h: New file.
3372 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3373 * include/assert.h: Likewise.
3374 * include/ctype.h: Likewise.
3375 * include/dirent.h: Likewise.
3376 * include/dlfcn.h: Likewise.
3377 * include/fcntl.h: Likewise.
3378 * include/fnmatch.h: Likewise.
3379 * include/glob.h: Likewise.
3380 * include/grp.h: Likewise.
3381 * include/libio.h: Likewise.
3382 * include/locale.h: Likewise.
3383 * include/math.h: Likewise.
3384 * include/net/if.h: Likewise.
3385 * include/netdb.h: Likewise.
3386 * include/netinet/in.h: Likewise.
3387 * include/pthread.h: Likewise.
3388 * include/pwd.h: Likewise.
3389 * include/regex.h: Likewise.
3390 * include/sched.h: Likewise.
3391 * include/search.h: Likewise.
3392 * include/setjmp.h: Likewise.
3393 * include/signal.h: Likewise.
3394 * include/stdio.h: Likewise.
3395 * include/stdlib.h: Likewise.
3396 * include/string.h: Likewise.
3397 * include/sys/cdefs.h: Likewise.
3398 * include/sys/mman.h: Likewise.
3399 * include/sys/msg.h: Likewise.
3400 * include/sys/resource.h: Likewise.
3401 * include/sys/select.h: Likewise.
3402 * include/sys/socket.h: Likewise.
3403 * include/sys/stat.h: Likewise.
3404 * include/sys/statvfs.h: Likewise.
3405 * include/sys/time.h: Likewise.
3406 * include/sys/times.h: Likewise.
3407 * include/sys/uio.h: Likewise.
3408 * include/sys/utsname.h: Likewise.
3409 * include/sys/wait.h: Likewise.
3410 * include/termios.h: Likewise.
3411 * include/time.h: Likewise.
3412 * include/ulimit.h: Likewise.
3413 * include/unistd.h: Likewise.
3414 * include/utime.h: Likewise.
3415 * include/wchar.h: Likewise.
3416 * include/wctype.h: Likewise.
3417 * include/wordexp.h: Likewise.
3419 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3421 * time/time.h: TIME_UTC must be a macro.
3422 Make timespec_get available for ISO C11 only as well.
3424 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3426 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3427 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3429 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3431 * configure.in: Use -o not -a in test for unsupported multi-arch.
3433 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3435 * manual/texinfo.tex: Update to version 2012-01-19.16.
3437 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3439 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3441 2012-02-24 Roland McGrath <roland@hack.frob.com>
3444 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3445 * manual/fdl-1.3.texi: New file.
3446 * manual/fdl-1.1.texi: File removed.
3449 * manual/libc.texinfo (FDL_VERSION): New @set.
3450 Use it for mention of FDL in cover text.
3451 (Documentation License): Use it in @include file name.
3453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3454 Roland McGrath <roland@hack.frob.com>
3457 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3458 not LONG_LONG_MAX and LONG_LONG_MIN.
3459 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3460 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3462 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3464 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3469 manipulate bits before adding and subtracting TWO23[sx].
3470 * math/libm-test.inc (nearbyint_test): Add more tests.
3472 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3475 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3476 bits before adding and subtracting TWO23[sx].
3477 * math/libm-test.inc (rint_test): Add more tests.
3478 (rint_test_tonearest): Likewise.
3479 (rint_test_towardzero): Likewise.
3480 (rint_test_downward): Likewise.
3481 (rint_test_upward: Likewise.
3483 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3486 * include/stdc-predef.h: New file. Extracted from features.h.
3487 * include/features.h: Include stdc-predef.h.
3488 * Makefile (headers): Add stdc-predef.h.
3489 * CONFORMANCE (Compiler limitations): Update.
3491 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3493 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3495 2012-02-21 David S. Miller <davem@davemloft.net>
3497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3498 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3500 2012-02-20 David S. Miller <davem@davemloft.net>
3502 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3503 using a normal save/restore sequence, rather than allocating a
3504 dummy stack frame just to store a frame pointer and restore.
3505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3507 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3509 * manual/install.texi: Fix stray word in line-wrapped comment.
3511 2012-02-20 David S. Miller <davem@davemloft.net>
3513 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3514 both binutils and gcc support GOTDATA.
3516 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3517 "rd %pc" in the PIC register setup sequences.
3519 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3520 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3521 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3522 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3523 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3528 (SYSCALL_ERROR_HANDLER): Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3532 (SYSCALL_ERROR_HANDLER): Likewise.
3534 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3535 (HAVE_GCC_GOTDATA): New.
3536 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3537 relocation support in both binutils and gcc.
3538 * sysdeps/sparc/elf/configure: Regenerate.
3540 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3541 * sysdeps/sparc/sparc32/elf/configure: Delete.
3542 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3543 * sysdeps/sparc/sparc64/elf/configure: Delete.
3544 * sysdeps/sparc/elf/configure.in: New file.
3545 * sysdeps/sparc/elf/configure: Generate.
3547 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3548 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3549 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3550 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3551 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3553 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3555 * manual/install.texi: Do not mention specific glibc version
3557 * manual/libc.texinfo (VERSION, UPDATED): Update.
3558 (@copying): Use @copyright{} and range of years.
3560 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3563 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3564 [crti.S not in sysdirs] (generated): Do not append.
3565 [crti.S not in sysdirs] (omit-deps): Likewise.
3566 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3567 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3568 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3569 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3570 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3572 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3573 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3574 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3575 * csu/defs.awk: Remove file.
3576 * sysdeps/generic/initfini.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3579 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3582 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3584 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3585 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3586 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3588 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3589 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3591 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3592 (__EPOLL_PACKED): Define to empty if not defined by
3594 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3598 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3600 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3601 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3603 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3605 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3609 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3611 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3613 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3614 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3623 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3625 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3626 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3628 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3630 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3633 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3635 * math/w_acos.c: Use non-signaling floating-point comparisons.
3636 * math/w_acosf.c: Likewise.
3637 * math/w_acosh.c: Likewise.
3638 * math/w_acoshf.c: Likewise.
3639 * math/w_acoshl.c: Likewise.
3640 * math/w_acosl.c: Likewise.
3641 * math/w_asin.c: Likewise.
3642 * math/w_asinf.c: Likewise.
3643 * math/w_asinl.c: Likewise.
3644 * math/w_atanh.c: Likewise.
3645 * math/w_atanhf.c: Likewise.
3646 * math/w_atanhl.c: Likewise.
3647 * math/w_exp2.c: Likewise.
3648 * math/w_exp2f.c: Likewise.
3649 * math/w_exp2l.c: Likewise.
3650 * math/w_j0.c: Likewise.
3651 * math/w_j0f.c: Likewise.
3652 * math/w_j0l.c: Likewise.
3653 * math/w_j1.c: Likewise.
3654 * math/w_j1f.c: Likewise.
3655 * math/w_j1l.c: Likewise.
3656 * math/w_jn.c: Likewise.
3657 * math/w_jnf.c: Likewise.
3658 * math/w_log.c: Likewise.
3659 * math/w_log10.c: Likewise.
3660 * math/w_log10f.c: Likewise.
3661 * math/w_log10l.c: Likewise.
3662 * math/w_log2.c: Likewise.
3663 * math/w_log2f.c: Likewise.
3664 * math/w_log2l.c: Likewise.
3665 * math/w_logf.c: Likewise.
3666 * math/w_logl.c: Likewise.
3667 * math/w_sqrt.c: Likewise.
3668 * math/w_sqrtf.c: Likewise.
3669 * math/w_sqrtl.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3676 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3679 * manual/string.texi (strnlen): Use correct parameter name in
3680 equivalent expression.
3682 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3685 * manual/users.texi (seteuid): Consistently use neweuid for
3688 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3691 * manual/nss.texi (Services in the NSS configuration): Correct
3692 list of services in example configuration file.
3694 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3697 * manual/arith.texi: Remove statements about negative zero
3698 behaving identically to zero.
3700 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3703 * manual/install.texi: Do not document upgrading from libc5.
3705 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3708 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3710 2012-02-18 David S. Miller <davem@davemloft.net>
3712 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3713 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3714 %o7 across the call.
3715 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3720 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3721 * sysdeps/sparc/crtn.S: Likewise.
3723 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3725 * aout/Makefile: Remove.
3727 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3730 * manual/examples/argp-ex1.c (main): Format definition in GNU
3732 * manual/examples/argp-ex2.c (main): Likewise.
3733 * manual/examples/argp-ex3.c (main): Likewise.
3734 * manual/examples/argp-ex4.c (main): Likewise.
3735 * manual/examples/longopt.c (main): Use new-style prototype
3737 * manual/examples/strncat.c (main): Specify return type and use
3738 (void) for arguments.
3739 * manual/examples/subopt.c (main): Use char **argv argument.
3741 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3744 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3747 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3750 * manual/string.texi (strchr): Change when strchrnul is
3753 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3756 * manual/locale.texi (setlocale): Document LOCPATH.
3758 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3761 * manual/process.texi (execle): Move @dots{} before last argument.
3763 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3766 * manual/charset.texi (Generic Charset Conversion): Fix typo
3767 (LC_TYPE -> LC_CTYPE).
3769 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3772 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3773 (scalbnf): Likewise.
3774 (scalbnl): Likewise.
3775 (scalbln): Likewise.
3776 (scalblnf): Likewise.
3777 (scalblnl): Likewise.
3778 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3782 * manual/filesys.texi (telldir): Use braces around return type.
3783 * manual/llio.texi (mmap): Add space after comma.
3785 * manual/math.texi (jn): Use @var{} on parameter names.
3791 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3793 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3795 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3796 (sched_get_priority_max): Likewise.
3797 * manual/signal.texi (sigvec): Add space after comma.
3798 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3800 (if_indextoname): Likewise.
3801 (if_freenameindex): Likewise.
3802 (sendto): Use ',' instead of '.' in prototype.
3803 * manual/startup.texi (syscall): Use @dots{} instead of literal
3805 * manual/stdio.texi (__fpending): Separate initial words of
3806 paragraph from @deftypefun line.
3807 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3809 (vsyslog): Use @var{} on parameter names.
3810 * manual/terminal.texi (stty): Use @var{} on parameter names.
3811 * manual/users.texi (getutmp): Use @var{} on parameter names.
3812 (getutmpx): Likewise.
3814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3817 * manual/stdio.texi (fopen): Fix typos in description of
3820 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3823 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3824 get clock_id definition.
3826 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3829 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3830 (madvise): Cast every argument to void on its own.
3832 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3835 * manual/startup.texi (Exit Status): Fix typo.
3837 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3840 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3841 * manual/examples/argp-ex2.c: Likewise.
3842 * manual/examples/argp-ex3.c: Likewise.
3844 2012-02-16 Richard Henderson <rth@redhat.com>
3846 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3847 * sysdeps/s390/s390-32/initfini.c: Remove.
3848 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3849 * sysdeps/s390/s390-64/initfini.c: Remove.
3851 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3853 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3854 compiler output for sysdeps/generic/initfini.c.
3855 * sysdeps/sh/elf/initfini.c: Remove file.
3857 2012-02-16 David S. Miller <davem@davemloft.net>
3860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3862 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3863 * sysdeps/sparc/crti.S: New file.
3864 * sysdeps/sparc/crtn.S: New file.
3865 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3866 * sysdeps/sparc/sparc64/Makefile: Likewise.
3868 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3871 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3873 2012-02-15 Roland McGrath <roland@hack.frob.com>
3876 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3878 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3879 (write, read, close): Likewise.
3880 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3882 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3884 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3885 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3887 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3889 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3893 2012-02-14 Marek Polacek <polacek@redhat.com>
3895 * sysdeps/x86_64/crti.S: New file.
3896 * sysdeps/x86_64/crtn.S: New file.
3897 * sysdeps/x86_64/elf/initfini.c: Remove file.
3899 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3901 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3902 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3904 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3906 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3910 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3912 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3913 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3915 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3917 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3921 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3923 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3924 __feraiseexcept instead of feraiseexcept.
3926 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3927 nanosleep invocations.
3928 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3929 strings, and add error checking for a nanosleep invocations.
3931 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3933 Replace FSF snail mail address with URLs, as per GNU coding standards.
3934 Most of the snail mail addresses were wrong anyway, and omitting
3935 them makes the source code easier to maintain. Almost all of the
3936 changes are to license notices and to locale LC_IDENTIFICATION
3937 addresses, except for this one:
3938 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3939 not its snail mail address.
3941 2012-02-09 Richard Henderson <rth@twiddle.net>
3943 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3944 of kernel-features.h.
3946 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3948 2012-02-08 Marek Polacek <polacek@redhat.com>
3950 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3951 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3952 * sysdeps/gnu/_G_config.h: Likewise.
3953 * sysdeps/generic/_G_config.h: Likewise.
3955 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3957 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961 * sysdeps/powerpc/powerpc32/crti.S: New file.
3962 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3963 * sysdeps/powerpc/powerpc64/crti.S: New file.
3964 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3966 * Makeconfig (have-initfini): Don't set.
3967 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3968 * configure.in (nopic_initfini): Don't substitute.
3969 * config.h.in (HAVE_INITFINI): Don't #undef.
3970 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3971 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3973 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3975 Support crti.S and crtn.S provided directly by architectures.
3976 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3977 [crti.S in sysdirs] (omit-deps): Likewise.
3978 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3979 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3980 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3981 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3982 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3983 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3984 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3985 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3986 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3987 compiler output for sysdeps/generic/initfini.c.
3988 * sysdeps/i386/elf/Makefile: Remove file.
3989 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3991 2012-02-07 Marek Polacek <polacek@redhat.com>
3993 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3994 * sysdeps/gnu/_G_config.h: Likewise.
3995 * sysdeps/mach/hurd/_G_config.h: Likewise.
3997 2012-02-07 Marek Polacek <polacek@redhat.com>
3999 * math/Makefile (tests): Add tst-CMPLX2.
4000 * math/tst-CMPLX2.c: New file.
4002 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4004 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4006 * math/libm-test.inc (jn_test): Add missing L suffix.
4008 2012-02-06 Marek Polacek <polacek@redhat.com>
4010 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4011 * sysdeps/i386/fpu/e_powf.S: Likewise.
4012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4013 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4014 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4015 * sysdeps/i386/fpu/e_pow.S: Likewise.
4016 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4017 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4018 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4019 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4020 * sysdeps/i386/fpu/e_log2.S: Likewise.
4021 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4023 * sysdeps/i386/fpu/e_powl.S: Likewise.
4024 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4025 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4026 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4027 * sysdeps/i386/fpu/e_logl.S: Likewise.
4028 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4029 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4030 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4031 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4032 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4033 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4034 * sysdeps/i386/fpu/e_log.S: Likewise.
4035 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4036 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4037 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4038 * sysdeps/i386/fpu/e_logf.S: Likewise.
4039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4041 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4042 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4043 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4044 * sysdeps/i386/fpu/e_log10.S: Likewise.
4045 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4046 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4047 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4048 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4049 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4050 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4051 * sysdeps/i386/asm-syntax.h: Likewise.
4052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4055 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4056 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4057 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4058 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4059 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4060 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4061 * sysdeps/powerpc/sysdep.h: Likewise.
4062 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4063 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4065 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4068 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4070 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4072 * sysdeps/i386/sysdep.h: Include <features.h>.
4073 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4076 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4080 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4083 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4085 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4086 (SETUP_PIC_REG): Use GET_PC_THUNK.
4087 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4090 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4092 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4093 for non-PIC compilation.
4094 (SETUP_PIC_REG): Add .p2align directive.
4095 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4096 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4097 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4098 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4099 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4100 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4102 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4110 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4111 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4114 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4118 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4121 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4122 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4123 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4124 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4125 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4126 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4128 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4129 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4130 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4131 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4132 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4133 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4134 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4135 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4137 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4139 * math/tst-CMPLX.c: Include <stdio.h>.
4141 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4143 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4145 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4146 * sysdeps/sparc/bits/mathdef.h: Likewise.
4148 2012-01-31 Marek Polacek <polacek@redhat.com>
4150 * libio/libio.h: Don't define _PARAMS.
4151 * locale/programs/config.h: Don't define PARAMS.
4152 * stdlib/strtol_l.c: Likewise.
4153 (__strtol_l): Remove PARAMS from the prototype.
4155 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4157 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4158 names. Just use the correct names. Remove unnecessary wrapper
4160 * malloc/arena.c: Likewise.
4161 * malloc/hooks.c: Likewise.
4163 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4164 ARENA_TEST says not to. Simplify test for creation of a new arena.
4165 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4167 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4169 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4171 (update_get_addr): New function.
4172 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4173 GET_ADDR_MODULE parameter.
4175 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4177 * crypt/cert.c: Remove __STDC__ conditionals.
4178 * crypt/crypt-entry.c: Likewise.
4179 * crypt/crypt_util.c: Likewise.
4180 * libio/filedoalloc.c: Likewise.
4181 * libio/fileops.c: Likewise.
4182 * libio/genops.c: Likewise.
4183 * libio/iofclose.c: Likewise.
4184 * libio/iofdopen.c: Likewise.
4185 * libio/iofopen.c: Likewise.
4186 * libio/iofopen64.c: Likewise.
4187 * libio/iogetdelim.c: Likewise.
4188 * libio/iopopen.c: Likewise.
4189 * libio/obprintf.c: Likewise.
4190 * libio/oldfileops.c: Likewise.
4191 * libio/oldiofclose.c: Likewise.
4192 * libio/oldiofdopen.c: Likewise.
4193 * libio/oldiofopen.c: Likewise.
4194 * libio/oldiopopen.c: Likewise.
4195 * libio/wfiledoalloc.c: Likewise.
4196 * libio/wgenops.c: Likewise.
4197 * locale/programs/xmalloc.c: Likewise.
4198 * misc/syslog.c: Likewise.
4199 * stdio-common/xbug.c: Likewise.
4200 * string/memchr.c: Likewise.
4201 * string/memcmp.c: Likewise.
4202 * string/memrchr.c: Likewise.
4203 * string/rawmemchr.c: Likewise.
4204 * sysdeps/posix/getcwd.c: Likewise.
4205 * time/strftime_l.c: Likewise.
4207 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4209 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4210 * config.make.in (config-cflags-sse2avx): Define.
4211 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4214 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4216 * scripts/config.guess: Update from upstream config git repository.
4217 * scripts/config.sub: Likewise.
4219 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4221 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4223 (R_TILEPRO_*, R_TILEGX_*): New macros.
4225 * scripts/firstversions.awk: Fix bug in version range handling.
4227 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4229 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4231 * include/sys/epoll.h: New file.
4232 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4235 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4237 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4238 Avoid unnecessary __WORDSIZE == 64 test.
4239 (fmaxf): Use VEX format if possible.
4244 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4245 * math/math_private.h: Remove libc_fegetround* and
4247 * sysdeps/i386/configure.in: Check for -msse2avx.
4248 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4249 also if SSE2AVX is defined.
4250 Remove libc_fegetround* and libc_fesetround*.
4251 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4252 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4261 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4263 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4267 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4269 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4272 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4274 * Makeconfig (libm): Define.
4275 * elf/Makefile: Add rules to build and run tst-relsort1.
4276 * elf/tst-relsort1.c: New file.
4277 * elf/tst-relsort1mod1.c: New file.
4278 * elf/tst-relsort1mod2.c: New file.
4280 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4282 * math/s_ldexp.c: Remove __STDC__ conditionals.
4283 * math/s_ldexpf.c: Likewise.
4284 * math/s_ldexpl.c: Likewise.
4285 * math/s_nextafter.c: Likewise.
4286 * math/s_nexttowardf.c: Likewise.
4287 * math/s_significand.c: Likewise.
4288 * math/s_significandf.c: Likewise.
4289 * math/s_significandl.c: Likewise.
4290 * math/w_jnl.c: Likewise.
4291 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4292 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4293 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4294 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4295 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4310 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4311 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4313 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4315 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4320 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4321 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4331 * sysdeps/ieee754/k_standard.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4406 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4407 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4411 * sysdeps/ieee754/s_matherr.c: Likewise.
4412 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4413 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4417 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4419 * crypt/md5.h: Remove __STDC__ conditionals.
4420 * libio/libioP.h: Likewise.
4421 * locale/programs/config.h: Likewise.
4422 * sysdeps/generic/sysdep.h: Likewise.
4423 * sysdeps/i386/asm-syntax.h: Likewise.
4424 * sysdeps/s390/asm-syntax.h: Likewise.
4425 * sysdeps/unix/sysdep.h: Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4429 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4431 * libio/libio.h: Remove __STDC__ conditionals.
4432 * malloc/obstack.h: Likewise.
4433 * math/complex.h: Likewise.
4434 * math/math.h: Likewise.
4435 * sysdeps/generic/_G_config.h: Likewise.
4436 * sysdeps/gnu/_G_config.h: Likewise.
4437 * sysdeps/mach/hurd/_G_config.h: Likewise.
4438 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4439 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4440 * sysdeps/sparc/bits/mathdef.h: Likewise.
4442 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4445 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4446 Clean up HAS_* macros.
4447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4448 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4458 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4460 * elf/tst-unique3.cc (gets): Remove declaration.
4461 * elf/tst-unique3lib.cc (gets): Likewise.
4462 * elf/tst-unique3lib2.cc (gets): Likewise.
4463 * elf/tst-unique4.cc (gets): Likewise.
4465 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4467 * include/stdio.h: Add C++ protection. Add gets declarations and
4469 * debug/tst-chk1.c: Don't declare gets here.
4470 * stdio-common/tst-gets.c: Likewise.
4472 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4474 * posix/glob: Remove directory.
4476 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4478 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4480 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4482 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4483 of the non-standard EPFNOSUPPORT.
4485 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4487 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4488 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4489 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4491 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4493 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4495 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4497 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4499 * nscd/grpcache.c (cache_addgr): Likewise.
4500 * nscd/hstcache.c (cache_addhst): Likewise.
4501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4502 * nscd/pwdcache.c (cache_addpw): Likewise.
4503 * nscd/servicescache.c (cache_addserv): Likewise.
4505 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4507 * malloc/malloc.c: Various cleanups.
4508 * malloc/hooks.c: Likewise.
4510 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4511 * stdlib/bug-fmtmsg1.c: New file.
4513 * stdlib/fmtmsg.c (init): Add missing unlock.
4514 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4516 2012-01-12 Marek Polacek <polacek@redhat.com>
4518 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4521 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4523 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4524 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4525 macro to ensure uniqueness of label name.
4526 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4527 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4529 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4531 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4534 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4538 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4542 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4543 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4544 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4546 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4548 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4549 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4553 * math/bits/math-finite.h: Add ldexp support.
4555 2012-01-10 Marek Polacek <polacek@redhat.com>
4557 * locale/programs/localedef.h (show_archive_content): Add noreturn
4560 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4562 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4564 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4566 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4568 * io/Makefile (headers): Add bits/poll2.h.
4570 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4573 typo #include statement.
4575 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4577 * include/sys/cdefs.h: Define __attribute_alloc_size.
4578 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4579 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4580 * elf/pldd.c: Likewise.
4581 * iconv/iconv_charmap.c: Likewise.
4582 * iconv/iconvconfig.c: Likewise.
4583 * iconv/strtab.c: Likewise.
4584 * locale/programs/locale.c: Likewise.
4585 * locale/programs/localedef.h: Likewise.
4586 * locale/programs/simple-hash.c: Likewise.
4587 * nscd/nscd.h: Likewise.
4588 * nss/makedb.c: Likewise.
4589 * sysdeps/generic/ldconfig.h: Likewise.
4590 * locale/programs/localedef.c: Remove xmalloc prototype.
4591 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4593 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4595 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4598 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4600 * math/Makefile (tests): Add tst-CMPLX.
4601 * math/tst-CMPLX.c: New file.
4603 * math/complex.h (CMPLXL): Fix typo.
4605 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4606 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4608 * debug/tst-chk1.c: Add poll and ppoll tests.
4609 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4610 * include/sys/poll.h: Add hidden proto for ppoll.
4611 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4612 * sysdeps/mach/hurd/ppoll.c: Likewise.
4613 * io/ppoll.c: Likewise.
4614 * debug/poll_chk.c: New file.
4615 * debug/ppoll_chk.c: New file.
4616 * include/bits/poll2.h: New file.
4617 * io/bits/poll2.h: New file.
4620 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4622 * configure.in: static is always set to yes. Remove.
4623 * config.make.in: Don't set build-static.
4624 * Makeconfig: Remove use of build-static.
4625 * dlfcn/Makefile: Likewise.
4626 * elf/Makefile: Likewise.
4627 * math/Makefile: Likewise.
4628 * misc/Makefile: Likewise.
4629 * nptl/Makefile: Likewise.
4630 * sysdeps/mach/hurd/Makefile: Likewise.
4632 * configure.in: PWD_P is not used anymore.
4633 * config.make.in: Remove PWD_P entry.
4635 * configure.in: Remove last remnants of RANLIB.
4636 No need to check for signed size_t anymore.
4637 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4639 Remove __builtin_expect test because we require at least gcc 3.4.
4640 * aclocal.m4: Likewise.
4642 * wcsmbs/mbrtoc16.c: Implement using towc function.
4643 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4644 * wcsmbs/wcsmbsload.c: Likewise.
4645 * iconv/gconv_simple.c: Likewise.
4646 * iconv/gconv_int.h: Likewise.
4647 * iconv/gconv_builtin.h: Likewise.
4648 * iconv/iconv_prog.c: Remove CHAR16 handling.
4650 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4652 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4654 * configure.in: Remove --with-elf and --enable-bounded options.
4655 Dont set base_machine for ia64. More non-ELF conditions removed.
4656 Remove testing and setting of leading underscore information.
4657 * config.make.in (build-bounded): Set to no.
4658 * config.h.in: Remove NO_UNDERSCORES entry.
4659 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4661 * csu/start.c: Remove !NO_UNDERSCORE code.
4662 * locale/localeinfo.h: Likewise.
4663 * sysdeps/generic/machine-gmon.h: Likewise.
4664 * sysdeps/generic/sysdep.h: Likewise.
4665 * sysdeps/i386/sysdep.h: Likewise.
4666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4667 * sysdeps/mach/sysdep.h: Likewise.
4668 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4670 * sysdeps/sh/sysdep.h: Likewise.
4671 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4672 * sysdeps/unix/i386/sysdep.S: Likewise.
4673 * sysdeps/unix/sparc/start.c: Likewise.
4674 * sysdeps/unix/sparc/sysdep.S: Likewise.
4675 * sysdeps/unix/sparc/sysdep.h: Likewise.
4676 * sysdeps/unix/start.c: Likewise.
4677 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4678 * sysdeps/x86_64/sysdep.h: Likewise.
4680 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4683 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4685 * argp/argp-fmtstream.h: Use const instead __const.
4686 * argp/argp.h: Likewise.
4687 * assert/assert.h: Likewise.
4688 * bits/fenv.h: Likewise.
4689 * bits/sched.h: Likewise.
4690 * bits/sigset.h: Likewise.
4691 * bits/sigthread.h: Likewise.
4692 * catgets/nl_types.h: Likewise.
4693 * conform/data/pthread.h-data: Likewise.
4694 * crypt/crypt-private.h: Likewise.
4695 * crypt/crypt.h: Likewise.
4696 * crypt/crypt_util.c: Likewise.
4697 * ctype/ctype.h: Likewise.
4698 * debug/execinfo.h: Likewise.
4699 * debug/mbsnrtowcs_chk.c: Likewise.
4700 * debug/mbsrtowcs_chk.c: Likewise.
4701 * debug/wcsnrtombs_chk.c: Likewise.
4702 * debug/wcsrtombs_chk.c: Likewise.
4703 * debug/wcstombs_chk.c: Likewise.
4704 * dirent/dirent.h: Likewise.
4705 * dlfcn/dlfcn.h: Likewise.
4706 * elf/neededtest4.c: Likewise.
4707 * grp/grp.h: Likewise.
4708 * gshadow/gshadow.h: Likewise.
4709 * iconv/gconv.h: Likewise.
4710 * iconv/gconv_int.h: Likewise.
4711 * iconv/gconv_simple.c: Likewise.
4712 * iconv/iconv.h: Likewise.
4713 * iconv/loop.c: Likewise.
4714 * iconv/skeleton.c: Likewise.
4715 * include/aio.h: Likewise.
4716 * include/aliases.h: Likewise.
4717 * include/argz.h: Likewise.
4718 * include/arpa/inet.h: Likewise.
4719 * include/assert.h: Likewise.
4720 * include/dirent.h: Likewise.
4721 * include/dlfcn.h: Likewise.
4722 * include/execinfo.h: Likewise.
4723 * include/fcntl.h: Likewise.
4724 * include/fenv.h: Likewise.
4725 * include/glob.h: Likewise.
4726 * include/grp.h: Likewise.
4727 * include/libintl.h: Likewise.
4728 * include/mntent.h: Likewise.
4729 * include/netdb.h: Likewise.
4730 * include/pwd.h: Likewise.
4731 * include/rpc/netdb.h: Likewise.
4732 * include/sched.h: Likewise.
4733 * include/search.h: Likewise.
4734 * include/shadow.h: Likewise.
4735 * include/signal.h: Likewise.
4736 * include/stdio.h: Likewise.
4737 * include/stdlib.h: Likewise.
4738 * include/string.h: Likewise.
4739 * include/sys/socket.h: Likewise.
4740 * include/sys/stat.h: Likewise.
4741 * include/sys/statfs.h: Likewise.
4742 * include/sys/statvfs.h: Likewise.
4743 * include/sys/syslog.h: Likewise.
4744 * include/sys/time.h: Likewise.
4745 * include/sys/uio.h: Likewise.
4746 * include/time.h: Likewise.
4747 * include/unistd.h: Likewise.
4748 * include/utmp.h: Likewise.
4749 * include/wchar.h: Likewise.
4750 * include/wctype.h: Likewise.
4751 * inet/aliases.h: Likewise.
4752 * inet/arpa/inet.h: Likewise.
4753 * inet/netinet/ether.h: Likewise.
4754 * inet/netinet/in.h: Likewise.
4755 * intl/libintl.h: Likewise.
4756 * io/bits/fcntl2.h: Likewise.
4757 * io/fcntl.h: Likewise.
4758 * io/ftw.h: Likewise.
4759 * io/sys/poll.h: Likewise.
4760 * io/sys/stat.h: Likewise.
4761 * io/sys/statfs.h: Likewise.
4762 * io/sys/statvfs.h: Likewise.
4763 * io/utime.h: Likewise.
4764 * libio/bits/stdio.h: Likewise.
4765 * libio/bits/stdio2.h: Likewise.
4766 * libio/libio.h: Likewise.
4767 * libio/libioP.h: Likewise.
4768 * libio/stdio.h: Likewise.
4769 * locale/lc-ctype.c: Likewise.
4770 * locale/locale.h: Likewise.
4771 * login/utmp.h: Likewise.
4772 * malloc/arena.c: Likewise.
4773 * malloc/malloc.c: Likewise.
4774 * malloc/malloc.h: Likewise.
4775 * malloc/mcheck.c: Likewise.
4776 * malloc/mtrace.c: Likewise.
4777 * math/bits/mathcalls.h: Likewise.
4778 * math/fenv.h: Likewise.
4779 * math/math_private.h: Likewise.
4780 * misc/bits/error.h: Likewise.
4781 * misc/bits/syslog.h: Likewise.
4782 * misc/err.h: Likewise.
4783 * misc/error.h: Likewise.
4784 * misc/fstab.h: Likewise.
4785 * misc/mntent.h: Likewise.
4786 * misc/regexp.h: Likewise.
4787 * misc/search.h: Likewise.
4788 * misc/sgtty.h: Likewise.
4789 * misc/sys/mman.h: Likewise.
4790 * misc/sys/syslog.h: Likewise.
4791 * misc/sys/uio.h: Likewise.
4792 * misc/sys/xattr.h: Likewise.
4793 * misc/ttyent.h: Likewise.
4794 * nis/rpcsvc/ypclnt.h: Likewise.
4795 * nss/nss.h: Likewise.
4796 * posix/bits/unistd.h: Likewise.
4797 * posix/fnmatch.h: Likewise.
4798 * posix/glob.h: Likewise.
4799 * posix/sched.h: Likewise.
4800 * posix/spawn.h: Likewise.
4801 * posix/sys/wait.h: Likewise.
4802 * posix/unistd.h: Likewise.
4803 * posix/wordexp.h: Likewise.
4804 * pwd/pwd.h: Likewise.
4805 * resolv/netdb.h: Likewise.
4806 * resource/sys/resource.h: Likewise.
4807 * rt/aio.h: Likewise.
4808 * rt/bits/mqueue2.h: Likewise.
4809 * rt/mqueue.h: Likewise.
4810 * shadow/shadow.h: Likewise.
4811 * signal/signal.h: Likewise.
4812 * socket/send.c: Likewise.
4813 * socket/sendto.c: Likewise.
4814 * socket/sys/socket.h: Likewise.
4815 * stdio-common/printf.h: Likewise.
4816 * stdlib/bits/stdlib.h: Likewise.
4817 * stdlib/fmtmsg.h: Likewise.
4818 * stdlib/monetary.h: Likewise.
4819 * stdlib/stdlib.h: Likewise.
4820 * stdlib/ucontext.h: Likewise.
4821 * streams/stropts.h: Likewise.
4822 * string/argz.h: Likewise.
4823 * string/bits/string2.h: Likewise.
4824 * string/string.h: Likewise.
4825 * string/strings.h: Likewise.
4826 * sunrpc/rpc/auth.h: Likewise.
4827 * sunrpc/rpc/auth_des.h: Likewise.
4828 * sunrpc/rpc/clnt.h: Likewise.
4829 * sunrpc/rpc/netdb.h: Likewise.
4830 * sunrpc/rpc/pmap_clnt.h: Likewise.
4831 * sunrpc/rpc/xdr.h: Likewise.
4832 * sysdeps/generic/inttypes.h: Likewise.
4833 * sysdeps/generic/net/if.h: Likewise.
4834 * sysdeps/generic/sys/swap.h: Likewise.
4835 * sysdeps/gnu/net/if.h: Likewise.
4836 * sysdeps/gnu/utmpx.h: Likewise.
4837 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4838 * sysdeps/i386/i486/bits/string.h: Likewise.
4839 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4840 * sysdeps/s390/bits/string.h: Likewise.
4841 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4842 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4843 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4844 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4845 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4846 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4847 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4848 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4849 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4850 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4851 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4852 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4853 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4854 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4855 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4857 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4859 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4862 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4863 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4864 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4865 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4866 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4867 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4869 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4870 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4871 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4872 * sysvipc/sys/ipc.h: Likewise.
4873 * sysvipc/sys/msg.h: Likewise.
4874 * sysvipc/sys/sem.h: Likewise.
4875 * sysvipc/sys/shm.h: Likewise.
4876 * termios/termios.h: Likewise.
4877 * time/sys/time.h: Likewise.
4878 * time/time.h: Likewise.
4879 * wcsmbs/bits/wchar2.h: Likewise.
4880 * wcsmbs/uchar.h: Likewise.
4881 * wcsmbs/wchar.h: Likewise.
4882 * wctype/wctype.h: Likewise.
4885 * Makeconfig: Remove all but ELF support including AIX support.
4886 * Makerules: Likewise.
4887 * config.h.in: Likewise.
4888 * config.make.in: Likewise.
4889 * configure: Likewise.
4890 * configure.in: Likewise.
4891 * csu/Makefile: Likewise.
4892 * csu/version.c: Likewise.
4893 * debug/Makefile: Likewise.
4894 * dlfcn/Makefile: Likewise.
4895 * elf/Makefile: Likewise.
4896 * extra-lib.mk: Likewise.
4897 * iconv/Makefile: Likewise.
4898 * include/libc-symbols.h: Likewise.
4899 * include/shlib-compat.h: Likewise.
4900 * resolv/Makefile: Likewise.
4901 * resolv/res_libc.c: Likewise.
4902 * rt/Makefile: Likewise.
4903 * sysdeps/i386/asm-syntax.h: Likewise.
4904 * sysdeps/i386/sysdep.h: Likewise.
4905 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4906 * sysdeps/mach/sysdep.h: Likewise.
4907 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4908 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4909 * sysdeps/s390/asm-syntax.h: Likewise.
4910 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4912 * sysdeps/sh/sysdep.h: Likewise.
4913 * sysdeps/unix/sparc/sysdep.h: Likewise.
4914 * sysdeps/wordsize-32/divdi3.c: Likewise.
4915 * sysdeps/x86_64/sysdep.h: Likewise.
4917 * argp/Versions: Remove _argp_unlock_xxx.
4920 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4921 * abilist/libBrokenLocale.abilist: Likewise.
4922 * abilist/libanl.abilist: Likewise.
4923 * abilist/libc.abilist: Likewise.
4924 * abilist/libcrypt.abilist: Likewise.
4925 * abilist/libdl.abilist: Likewise.
4926 * abilist/libm.abilist: Likewise.
4927 * abilist/libnsl.abilist: Likewise.
4928 * abilist/libpthread.abilist: Likewise.
4929 * abilist/libresolv.abilist: Likewise.
4930 * abilist/librt.abilist: Likewise.
4931 * abilist/libthread_db.abilist: Likewise.
4932 * abilist/libutil.abilist: Likewise.
4933 * abilist/libnss_db.abilist: New file.
4935 * scripts/abilist.awk: Add support for indirect functions.
4937 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4939 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4941 * shlib-versions: Remove entries for ports architectures.
4943 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4945 * elf/stackguard-macros.h: Remove support for IA-64.
4946 * elf/tst-auditmod1.c: Likewise.
4947 * sysdeps/generic/ldsodefs.h: Likewise.
4949 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4950 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4954 * configure.in: Remove --enable-omitfp support.
4956 * config.make.in: Likewise.
4957 * Makeconfig: Likewise.
4958 * manual/install.texi: Likewise.
4960 In case anyone cares, the IA-64 architecture could move to ports.
4961 * sysdeps/ia64/*: Removed.
4962 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4963 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4966 * configure.in: Remove entries for unsupported architectures.
4969 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4970 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4972 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4973 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4974 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4975 fall back to using wcrtomb.
4976 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4977 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4979 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4980 * wcsmbs/tst-c16c32-1.c: New file.
4982 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4985 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4987 * elf/tst-unique3.cc: Add explicit declaration of gets.
4988 * elf/tst-unique3lib.cc: Likewise.
4989 * elf/tst-unique3lib2.cc: Likewise.
4990 * elf/tst-unique4.cc: Likewise.
4992 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4994 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4997 * assert/assert.h (static_assert): Don't define for C++.
4998 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4999 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5001 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5003 * iconv/loop.c (single loop): Fix assertion in storing of
5006 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5008 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5010 * posix/getconf.c: Update copyright year.
5011 * nss/getent.c: Likewise.
5012 * nss/makedb.c: Likewise.
5013 * iconv/iconvconfig.c: Likewise.
5014 * iconv/iconv_prog.c: Likewise.
5015 * elf/ldconfig.c: Likewise.
5016 * elf/pldd.c: Likewise.
5017 * elf/sotruss.ksh: Likewise.
5018 * catgets/gencat.c: Likewise.
5019 * csu/version.c: Likewise.
5020 * elf/ldd.bash.in: Likewise.
5021 * elf/sprof.c (print_version): Likewise.
5022 * locale/programs/locale.c: Likewise.
5023 * locale/programs/localedef.c: Likewise.
5024 * login/programs/pt_chown.c: Likewise.
5025 * nscd/nscd.c (print_version): Likewise.
5026 * debug/xtrace.sh: Likewise.
5027 * malloc/memusage.sh: Likewise.
5028 * malloc/mtrace.pl: Likewise.
5029 * debug/catchsegv.sh: Likewise.
5031 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5033 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5036 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5039 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5040 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5042 * iconv/gconv_int.h: Likewise.
5043 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5044 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5045 from libc for GLIBC_2.16.
5046 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5047 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5048 * wcsmbs/uchar.h: Really define mbstate_t.
5049 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5050 * wcsmbs/c16rtomb.c: New file.
5051 * wcsmbs/mbrtoc16.c: New file.
5052 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5054 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5055 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5057 * wcsmbs/wchar.h: Add missing __restrict.
5059 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5062 * time/Makefile (routines): Add timespec_get.
5063 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5064 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5065 timespec for ISO C11.
5066 * time/timespec_get.c: New file.
5067 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5068 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5071 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5072 * stdlib/stdlib.h: Declare aligned_alloc.
5073 * Versions.def: Add GLIBC_2.16 for libc.
5074 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5077 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5080 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5084 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5087 * assert/assert.h (static_assert): Define.
5089 * version.h: Update for 2.16 development version.
5092 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5095 * version.h (RELEASE): Bump for 2.15 release.
5096 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5098 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5099 Patch by Marek Polacek <mpolacek@redhat.com>.
5101 * bits/byteswap.h: Protect long long constants with __extension__.
5102 * sysdeps/i386/bits/byteswap.h: Likewise.
5103 * sysdeps/ia64/bits/byteswap.h: Likewise.
5104 * sysdeps/s390/bits/byteswap.h: Likewise.
5105 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5107 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5110 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5112 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5114 2011-12-23 Marek Polacek <polacek@redhat.com>
5116 * elf/dl-addr.c (determine_info): Add inline keyword.
5117 * elf/tst-auditmod4b.c (check_avx): Likewise.
5118 * elf/tst-auditmod6b.c (check_avx): Likewise.
5119 * elf/tst-auditmod6c.c (check_avx): Likewise.
5120 * elf/tst-auditmod7b.c (check_avx): Likewise.
5122 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5124 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5127 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5130 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5131 processing for last bytes.
5133 2011-08-06 Bruno Haible <bruno@clisp.org>
5136 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5137 U+0385, not to U+1FEE.
5140 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5141 entry for U+00A5 U+0301.
5143 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5146 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5147 buffer for the output is too small.
5149 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5153 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5154 SSE flags if possible.
5156 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5160 processing for last bytes.
5162 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5164 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5165 (syscall-list-default-options, syscall-list-default-condition)
5166 (syscall-list-includes): Define.
5167 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5168 list of ABIs and options and #if conditions for each ABI. Do not
5169 handle common syscalls between ABIs specially.
5170 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5172 (syscall-list-variants, syscall-list-32bit-options)
5173 (syscall-list-32bit-condition, syscall-list-64bit-options)
5174 (syscall-list-64bit-condition): Define.
5175 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5176 (syscall-list-variants, syscall-list-32bit-options)
5177 (syscall-list-32bit-condition, syscall-list-64bit-options)
5178 (syscall-list-64bit-condition): Define.
5179 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5181 (syscall-list-variants, syscall-list-32bit-options)
5182 (syscall-list-32bit-condition, syscall-list-64bit-options)
5183 (syscall-list-64bit-condition): Define.
5184 * sysdeps/unix/sysv/linux/x86_64/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.
5190 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5192 * locale/iso-639.def: Add brx entry.
5195 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5196 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5198 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5199 __feraiseexcept_renamed.
5201 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5204 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5205 EPOLLET with unsigned values.
5206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5209 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5210 to large cancellation.
5211 * math/s_cacoshf.c: Likewise.
5212 * math/s_cacoshl.c: Likewise.
5214 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5218 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5219 * math/s_cacoshf.c: Likewise.
5220 * math/s_cacoshl.c: Likewise.
5222 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5225 * iconv/gconv.h: Define __GCONV_SWAP.
5226 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5227 * iconvdata/utf-16.c: Likewise.
5228 * iconvdata/utf-32.c: Likewise.
5230 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5234 numerator after shifting it by one limb.
5236 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5238 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5239 under [__USE_EXTERN_INLINES].
5241 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5244 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5246 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5248 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5249 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5251 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5252 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5253 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5254 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5255 for strncasecmp/strncasecmp_l compilation.
5256 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5257 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5259 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5262 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5265 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5268 * time/tzfile.c (__tzfile_read): Check values from file header.
5270 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5272 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5273 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5274 * powerpc/powerpc32/dl-start.S: Likewise.
5275 * powerpc/powerpc32/elf/start.S: Likewise.
5276 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5277 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5278 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5279 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5280 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5281 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5282 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5283 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5284 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5285 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5286 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5287 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5288 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5289 * powerpc/powerpc32/memset.S: Likewise.
5290 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5291 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5292 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5293 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5294 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5295 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5296 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5297 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5298 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5299 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5300 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5301 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5302 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5304 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306 * math/libm-test.inc: Added more nearbyint tests.
5307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5308 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5312 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5314 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5317 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5319 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5320 Add wcscpy-ssse3 wcscpy-c.
5321 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5322 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5323 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5324 * sysdeps/x86_64/wcschr.S: New file.
5325 * sysdeps/x86_64/wcsrchr.S: New file.
5326 * string/test-strcmp.c: Remove checking of wcscmp function for
5328 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5329 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5330 wcsrchr-sse2 wcsrchr-c.
5331 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5332 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5333 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5334 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5335 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5336 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5337 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5338 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5339 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5340 * wcsmbc/wcschr.c (WCSCHR): New macro.
5342 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5344 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5345 * wcsmbs/test-wcsrchr.c: New file.
5346 * string/test-strrchr.c: Add wcsrchr support.
5348 * wcsmbs/test-wcscpy.c: New file.
5349 * string/test-strcpy.c: Add wcscpy support.
5352 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5357 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5360 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5362 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5364 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5365 Minor optimizations.
5367 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5368 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5369 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5371 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5373 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5374 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5375 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5376 for gcc to avoid warnings.
5377 * inet/Makefile (tests): Add tst-checks.
5378 * inet/tst-checks.c: New file.
5380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5383 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5386 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5387 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5389 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5391 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5393 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5396 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5398 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5400 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5401 conditional on GCC version.
5402 (__arch_compare_and_exchange_val_8_acq)
5403 (__arch_compare_and_exchange_val_16_acq)
5404 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5405 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5406 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5408 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5410 * sysdeps/sh/backtrace.c: New file.
5412 2011-12-02 Andreas Schwab <schwab@redhat.com>
5414 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5417 2011-12-01 Andreas Schwab <schwab@redhat.com>
5419 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5420 falling back to utime.
5422 2011-11-30 Andreas Schwab <schwab@redhat.com>
5424 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5425 expectations for float.
5427 2011-11-29 Andreas Schwab <schwab@redhat.com>
5429 * locale/weight.h (findidx): Add parameter len.
5430 * locale/weightwc.h (findidx): Likewise.
5431 * posix/fnmatch_loop.c (FCT): Adjust caller.
5432 * posix/regcomp.c (build_equiv_class): Likewise.
5433 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5434 * posix/regexec.c (check_node_accept_bytes): Likewise.
5435 * string/strcoll_l.c (STRCOLL): Likewise.
5436 * string/strxfrm_l.c (STRXFRM): Likewise.
5438 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5440 * Makefile.in: Remove CVSOPT handling.
5441 * configure.in: Remove use of AC_REVISION.
5442 * iconvdata/Makefile (distribute): No need to filter out CVS.
5443 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5446 2011-11-16 Andreas Schwab <schwab@redhat.com>
5448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5449 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5450 [USE_AS_STRNCASECMP_L]: Likewise.
5451 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5452 NO_TLS_DIRECT_SEG_REFS.
5453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5454 Fix argument offsets for non-PIC.
5455 [USE_AS_STRNCASECMP_L]: Likewise.
5456 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5457 NO_TLS_DIRECT_SEG_REFS.
5459 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5461 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5463 * locale/loadlocale.c (_nl_load_locale): Likewise.
5465 2011-11-15 Andreas Schwab <schwab@redhat.com>
5467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5468 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5469 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5470 (SYSCALL_GETTIME): Set errno on error.
5472 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5473 count references to noai6ai_cached.
5475 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5477 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5479 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5480 FD_CLOEXEC for /proc/self/maps.
5482 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5483 FD_CLOEXEC for /proc/meminfo.
5485 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5488 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5489 FD_CLOEXEC for given file.
5491 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5493 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5494 FD_CLOEXEC for /etc/hosts.
5495 (_gethtent): Likewise.
5497 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5499 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5500 cancellation and set FD_CLOEXEC for /etc/netgroup.
5502 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5503 reading /etc/publickey.
5505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5506 allow cancellation when reading /etc/group.
5508 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5510 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5512 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5513 when using data file.
5515 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5517 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5518 (write_nis_obj): Use "c" and "e" in fopen.
5520 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5522 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5524 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5526 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5528 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5531 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5533 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5535 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5537 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5538 file parsing and set FD_CLOEXEC.
5540 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5542 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5544 2011-11-14 Andreas Schwab <schwab@redhat.com>
5546 * malloc/arena.c (arena_get2): Don't call reused_arena when
5547 _int_new_arena failed.
5549 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5551 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5552 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5553 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5554 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5556 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5557 to compile strcasecmp and strncasecmp.
5558 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5559 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5561 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5563 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5565 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5566 locale-defines.sym to gen-as-const-headers.
5567 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5568 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5569 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5570 to compile strcasecmp and strncasecmp.
5571 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5572 strcasecmp_l and strncasecmp_l.
5573 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5574 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5575 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5576 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5577 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5578 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5579 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5580 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5581 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5582 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5583 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5585 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5587 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5588 result of SYSDEP_GETTIME_CPU to retval.
5589 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5590 parameter list to macro. Remove trailing semicolon. Adjust users.
5592 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5595 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5599 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5600 from unused variable.
5602 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5604 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5607 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5610 * sunrpc/rpc_prot.c (rejected): Fix case value.
5612 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5613 unsigned long long int to avoid warnings in shift.
5615 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5617 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5620 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5621 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5622 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5624 * nis/nis_table.c (nis_list): Use variable of correct type for
5625 result of __follow_path call.
5627 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5629 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5630 of math functions ceil, trunc, floor, round, and sqrt, when
5631 avaliable on the platform.
5632 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5634 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5635 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5636 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5638 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5640 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5641 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5643 2011-11-11 Roland McGrath <roland@hack.frob.com>
5645 * include/unistd.h: Fix __readlink return type.
5646 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5648 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5650 * stdlib/ucontext.h: Undo last change for makecontext.
5652 2011-11-11 Andreas Schwab <schwab@redhat.com>
5654 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5656 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5657 * setjmp/setjmp.h: Mark functions as non-leaf.
5658 * setjmp/bits/setjmp2.h: Likewise.
5659 * stdlib/ucontext.h: Likewise.
5661 2011-11-10 Andreas Schwab <schwab@redhat.com>
5663 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5664 (reused_arena): Don't check arena limit.
5665 (arena_get2): Atomically check arena limit.
5667 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5669 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5670 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5675 2011-11-07 Andreas Schwab <schwab@redhat.com>
5677 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5678 handler when locking.
5680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5681 Fix size of allocated buffer.
5683 2011-11-04 Andreas Schwab <schwab@redhat.com>
5686 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5687 declarations for long double functions.
5688 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5690 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5692 2011-11-03 Andreas Schwab <schwab@redhat.com>
5694 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5697 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5700 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5702 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5704 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5706 * include/alloca.h (stackinfo_alloca_round): Define.
5707 (extend_alloca): Use it.
5708 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5709 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5712 * scripts/check-local-headers.sh: Ignore libaudit.h.
5714 * nscd/Makefile (extra-objs): Make recursively expanded.
5716 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5718 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5721 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5722 * posix/tst-rfc3484-2.c: Likewise.
5723 * posix/tst-rfc3484-3.c: Likewise.
5725 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5727 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5729 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5730 process_vm_writev from libc using GLIBC_2.15 version.
5732 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5734 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5736 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5739 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5742 * nss/getent.c (initgroups_keys): Show error message in case no group
5745 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5746 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5747 __bump_nl_timestamp.
5748 * nscd/connections (nscd_init): When host database is served open
5749 netlink socket and request notification about configuration changes.
5750 (main_loop_poll): Track netlink file descriptor and bump timestamp
5751 in case data becomes available.
5752 (main_loop_epoll): Likewise.
5753 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5754 (database_pers_head): Add extra_data fileds.
5755 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5756 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5757 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5760 in6ai data, call __free_in6ai.
5761 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5763 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5764 interface information. Reuse previous data if netlink timestamp
5766 (__bump_nl_timestamp): New function.
5767 (__free_in6ai): New function.
5769 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5771 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5772 close_not_cancel_no_status here.
5773 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5775 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5778 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5781 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5782 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5783 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5785 2011-07-03 Andreas Jaeger <aj@suse.de>
5788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5789 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5790 * math/libm-test.inc (sin_test): Add test case.
5792 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5795 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5796 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5798 * elf/chroot_canon.c (chroot_canon): Cleanups.
5800 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5803 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5804 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5806 * string/test-strchr.c: Make usable for strchrnul testing.
5807 * string/test-strchrnul.c: New file.
5808 * string/Makefile (strop-tests): Add strchrnul.
5810 * po/it.po: Update from translation team.
5811 * po/es.po: Likewise.
5813 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5815 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5816 the three constants needed as parameters. Drop the others.
5817 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5818 __m128i_strloadu_tolower.
5819 Create and initialize variable zero and use it in all the places
5820 where _mm_setzero_si128 was used.
5822 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5823 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5824 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5825 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5827 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5829 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5830 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5831 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5832 __mpranred, __mptan.
5833 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5834 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5835 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5836 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5837 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5838 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5839 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5840 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5841 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5843 2011-10-28 Andreas Schwab <schwab@redhat.com>
5845 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5847 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5850 wide char related routines to wcsmbs subdir.
5852 2011-10-27 Andreas Schwab <schwab@redhat.com>
5855 * misc/sys/cdefs.h (__THROWNL): Define.
5856 * posix/unistd.h: Use __THREADNL instead of __THREAD
5857 for memory synchronization functions.
5859 2011-10-26 Roland McGrath <roland@hack.frob.com>
5862 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5864 * manual/stdio.texi (Obstack Streams): Node removed.
5866 2011-10-26 Andreas Schwab <schwab@redhat.com>
5868 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5869 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5870 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5872 * math/math_private.h (math_force_eval): Allow non-addressable
5874 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5876 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5878 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5881 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5882 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5883 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5884 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5887 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5888 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5890 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5895 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5896 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5897 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5898 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5899 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5900 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5901 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5903 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5904 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5905 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5906 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5907 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5908 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5910 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5911 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5914 place. Use VEX encoding when compiling for AVX.
5916 2011-10-25 Andreas Schwab <schwab@redhat.com>
5918 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5919 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5921 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5923 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5925 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5926 useless if() expression.
5927 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5938 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5939 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5940 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5941 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5942 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5943 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5945 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5947 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5949 2011-10-25 Andreas Schwab <schwab@redhat.com>
5951 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5953 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5955 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5957 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5958 .text section. Avoid duplicate constants.
5959 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5971 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5974 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5976 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5981 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5982 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5983 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5984 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5985 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5986 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5987 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5988 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5989 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5990 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5991 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5992 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5993 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5994 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5995 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5996 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5997 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5998 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5999 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6001 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6002 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6003 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6005 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6007 * sysdeps/x86_64/dla.h: Move to ...
6008 * sysdeps/x86_64/fpu/dla.h: ...here.
6009 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6010 situations. Use __builtin_fma only for gcc 4.6 and up.
6012 * config.make.in: Add have-mfma4 entry.
6013 * configure.in: Substitute libc_cv_cc_fma4.
6014 * math/Makefile (dbl-only-routines): Add sincostab.
6015 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6016 Use __sincostab not sincos.
6017 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6024 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6025 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6026 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6027 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6030 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6032 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6033 define aliases when function name is a macro.
6034 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6035 sysdeps/ieee754/dbl-64/sincos.tbl.
6036 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6037 fma4-enabled routines.
6038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6039 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6040 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6041 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6043 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6044 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6045 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6046 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6047 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6048 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6049 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6050 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6051 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6052 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6053 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6054 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6055 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6056 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6057 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6058 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6059 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6061 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6062 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6063 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6064 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6065 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6067 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6069 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6080 2011-10-24 Andreas Schwab <schwab@redhat.com>
6082 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6084 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6086 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6088 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6090 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6092 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6093 Remove unused variable magic_bits.
6094 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6096 * string/strnlen.c: Define and use STRNLEN macro.
6097 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6098 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6099 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6100 * wcsmbs/wcslen.c: Define and use WCSLEN.
6101 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6102 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6103 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6104 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6105 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6106 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6107 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6109 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6112 strnlen-sse2-no-bsf.
6113 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6115 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6116 Add strnlen support.
6117 (USE_AS_STRNLEN): New macro.
6118 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6120 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6121 * sysdeps/x86_64/wcslen.S: New file.
6123 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6126 XMM-moves are used for copying on small sizes.
6128 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6130 * wcsmbs/Makefile (strop-tests): Add wcschr.
6131 * wcsmbs/test-wcschr.c: New file.
6132 * string/test-strchr.c: Update.
6136 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6138 * wcsmbs/Makefile (strop-tests): Add wcslen.
6139 * wcsmbs/test-wcslen.c: New file.
6140 * string/test-strlen.c: Update.
6144 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6146 * po/it.po: Update from translation team.
6148 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6150 * sysdeps/x86_64/wcscmp.S: Update.
6151 Fix wrong comparison semantics.
6152 wcscmp shall use signed comparison not unsigned.
6153 Don't use substraction to avoid overflow bug.
6154 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6155 * wcsmbc/wcscmp.c: Likewise.
6156 * string/test-strcmp.c: Likewise.
6157 Add new tests to check cases with negative values.
6159 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6161 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6162 * sysdeps/x86_64/dla.h: ...here. New file.
6163 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6173 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6176 __ynl_finite aliases.
6178 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6182 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6184 [DLA_FMA] (EMULV): Use DLA_FMA.
6185 [DLA_FMA] (MUL12): Use EMULV.
6186 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6187 that are not needed.
6188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6196 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6198 * math/s_nan.c: Undef __nan.
6199 * math/s_nanf.c: Undef __nanf.
6200 * math/s_nanl.c: Undef __nanl.
6201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6204 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6206 * math/s_catan.c: Add branch predictions.
6207 * math/s_catanf.c: Likewise.
6208 * math/s_catanh.c: Likewise.
6209 * math/s_catanhf.c: Likewise.
6210 * math/s_catanhl.c: Likewise.
6211 * math/s_catanl.c: Likewise.
6212 * math/s_cexp.c: Likewise.
6213 * math/s_cexpf.c: Likewise.
6214 * math/s_cexpl.c: Likewise.
6215 * math/s_clog.c: Likewise.
6216 * math/s_clog10.c: Likewise.
6217 * math/s_clog10f.c: Likewise.
6218 * math/s_clog10l.c: Likewise.
6219 * math/s_clogf.c: Likewise.
6220 * math/s_clogl.c: Likewise.
6221 * math/s_csqrt.c: Likewise.
6222 * math/s_csqrtf.c: Likewise.
6223 * math/s_csqrtl.c: Likewise.
6224 * math/s_ctanf.c: Likewise.
6225 * math/s_ctanh.c: Likewise.
6226 * math/s_ctanhf.c: Likewise.
6227 * math/s_ctanhl.c: Likewise.
6228 * math/s_ctanl.c: Likewise.
6230 * math/math_private.h: Define __nan, __nanf, __nanl.
6231 * math/s_cacosh.c: Include <math_private.h>.
6232 * math/s_cacoshl.c: Likewise.
6233 * math/s_casinh.c: Likewise.
6234 * math/s_casinhf.c: Likewise.
6235 * math/s_casinhl.c: Likewise.
6236 * math/s_ccos.c: Rely entire on ccosh.
6237 * math/s_ccosf.c: Rely entire on ccoshf.
6238 * math/s_ccosl.c: Rely entirely on ccoshl.
6239 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6240 Remove tests for FE_INVALID.
6241 * math/s_ccoshf.c: Likewise.
6242 * math/s_ccoshl.c: Likewise.
6243 * math/s_csin.c: Likewise.
6244 * math/s_csinf.c: Likewise.
6245 * math/s_csinh.c Likewise.
6246 * math/s_csinhf.c: Likewise.
6247 * math/s_csinhl.c: Likewise.
6248 * math/s_csinl.c: Likewise.
6249 * math/s_ctan.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6251 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6252 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6254 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6257 compilation problems.
6259 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6262 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6264 * sysdeps/i386/configure.in: Test for -mfma4 option.
6265 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6266 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6267 COMMON_CPUID_INDEX_80000001.
6268 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6269 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6270 use it if FMA3 is not supported.
6271 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6273 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6274 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6276 2011-10-20 Andreas Schwab <schwab@redhat.com>
6279 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6280 it would create a cycle with a link time dependency.
6282 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6284 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6286 * string/Makefile (strop-tests): Add rawmemchr.
6287 * string/test-rawmemchr.c: New file.
6289 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6290 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6291 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6292 when compiling str{,n}casecmp and when AVX is available. Hook up
6293 new optimized code in initializers.
6295 2011-10-19 Andreas Schwab <schwab@redhat.com>
6297 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6298 __feraiseexcept instead of feraiseexcept.
6300 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6302 * math/math_private.h: Define defaults for libc_fetestexcept and
6304 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6305 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6306 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6308 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6309 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6310 libc_fetestexcept and libc_feupdateenv.
6312 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6313 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6314 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6315 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6316 libc_feholdexcept_setround.
6318 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6319 Add s_nearbyint-c and s_nearbyintf-c.
6320 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6323 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6324 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6325 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6327 * math/math_private.h: Define defaults for libc_fegetround,
6328 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6329 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6330 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6332 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6334 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6335 Remove comments and hacks for old compiler versions.
6336 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6337 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6340 2011-10-18 Andreas Schwab <schwab@redhat.com>
6342 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6343 (__feraiseexcept_renamed): Add __NTH.
6344 (feraiseexcept): Add __NTH. Rename local variables to fix
6345 namespace violations.
6347 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6349 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6351 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6353 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6354 recently added interfaces.
6355 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6357 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6358 about macro parameter expansion.
6360 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6361 __NO_MATH_INLINES is defined. Cleanups.
6363 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6364 and __floorf is target has SSE4.1.
6365 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6366 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6367 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6368 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6370 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6374 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6376 2011-10-17 Andreas Schwab <schwab@redhat.com>
6378 * misc/sys/cdefs.h: Fix last change.
6380 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6383 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6385 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6387 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6396 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6397 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6398 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6399 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6400 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6401 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6402 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6403 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6404 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6405 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6406 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6407 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6408 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6410 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6411 ceil, ceilf, floor, floorf.
6413 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6414 Perform IRELATIVE relocations last.
6416 * elf/do-rel.h: Add another parameter nrelative, replacing the
6417 local variable with the same name. Change name of the function
6418 to end in Rel or Rela (uppercase).
6419 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6420 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6421 elf_dynamic_do_##reloc function.
6423 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6425 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6426 is sufficient, at least on modern CPUs.
6428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6430 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6433 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6435 * math/bits/math-finite.h: Add entries for exp.
6436 * math/e_expl.c: Add __*_finite alias.
6437 * sysdeps/i386/fpu/e_exp.S: Likewise.
6438 * sysdeps/i386/fpu/e_expf.S: Likewise.
6439 * sysdeps/i386/fpu/e_expl.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6445 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6448 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6449 is sufficient, at least on modern CPUs.
6451 * ctype/ctype-info.c (__ctype_init): Define.
6452 * include/ctype.h (__ctype_init): Declare.
6453 (__ctype_b_loc): The variable is always initialized.
6454 (__ctype_toupper_loc): Likewise.
6455 (__ctype_tolower_loc): Likewise.
6456 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6457 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6459 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6461 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6463 * configure.in: Also look in $cxxmachine/include for C++ system
6466 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6468 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6469 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6470 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6471 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6472 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6473 (USE_AS_WMEMCMP): New macro.
6475 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6476 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6477 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6478 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6480 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6481 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6482 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6483 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6484 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6486 (USE_AS_WMEMCMP): New macro.
6487 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6488 * sysdeps/string/test-memcmp.c: Update.
6491 * wcsmbs/wmemcmp.c: Update.
6492 (WMEMCMP): New macro.
6495 2011-10-12 Andreas Jaeger <aj@suse.de>
6498 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6500 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6502 * libio/iofwide.c (do_length): Avoid warning.
6504 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6506 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6508 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6510 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6511 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6512 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6513 * sysdeps/i386/i686/fpu/e_log.S: New file.
6514 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6515 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6517 * ctype/ctype.h: Add support for inlined isXXX functions when
6520 2011-10-14 Andreas Schwab <schwab@redhat.com>
6522 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6524 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6526 2011-10-13 Roland McGrath <roland@hack.frob.com>
6529 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6531 2011-10-13 Andreas Schwab <schwab@redhat.com>
6533 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6534 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6537 * sysdeps/x86_64/memrchr.S: Check for zero size.
6539 * string/stratcliff.c: Add memrchr tests.
6541 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6544 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6545 rawmemchr-sse2 rawmemchr-sse2-bsf.
6546 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6547 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6548 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6549 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6550 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6551 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6552 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6553 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6554 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6555 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6556 * string/memrchr.c (MEMRCHR): New macro.
6558 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6560 Add integration with gcc's -ffinite-math-only and optimize wrapper
6562 * Versions.def: Define GLIBC_2.15 version for libm.
6563 * math/Makefile (headers): Add bits/math-finite.h.
6564 * math/bits/math-finite.h: New file.
6565 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6566 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6567 * math/e_acoshl.c: Add __*_finite alias.
6568 * math/e_acosl.c: Likewise.
6569 * math/e_asinl.c: Likewise.
6570 * math/e_atan2l.c: Likewise.
6571 * math/e_atanhl.c: Likewise.
6572 * math/e_coshl.c: Likewise.
6573 * math/e_exp10.c: Likewise.
6574 * math/e_exp10f.c: Likewise.
6575 * math/e_exp10l.c: Likewise.
6576 * math/e_exp2l.c: Likewise.
6577 * math/e_fmodl.c: Likewise.
6578 * math/e_gammal_r.c: Likewise.
6579 * math/e_hypotl.c: Likewise.
6580 * math/e_j0l.c: Likewise.
6581 * math/e_j1l.c: Likewise.
6582 * math/e_jnl.c: Likewise.
6583 * math/e_lgammal_r.c: Likewise.
6584 * math/e_log10l.c: Likewise.
6585 * math/e_log2l.c: Likewise.
6586 * math/e_logl.c: Likewise.
6587 * math/e_powl.c: Likewise.
6588 * math/e_sinhl.c: Likewise.
6589 * math/e_sqrtl.c: Likewise.
6590 * math/e_scalb.c: Completely rewritten and optimized.
6591 * math/e_scalbf.c: Likewise.
6592 * math/e_scalbl.c: Likewise.
6593 * math/w_acos.c: Likewise.
6594 * math/w_acosf.c: Likewise.
6595 * math/w_acosl.c: Likewise.
6596 * math/w_acosh.c: Likewise.
6597 * math/w_acoshf.c: Likewise.
6598 * math/w_acoshl.c: Likewise.
6599 * math/w_asin.c: Likewise.
6600 * math/w_asinf.c: Likewise.
6601 * math/w_asinl.c: Likewise.
6602 * math/w_atan2.c: Likewise.
6603 * math/w_atan2f.c: Likewise.
6604 * math/w_atan2l.c: Likewise.
6605 * math/w_atanh.c: Likewise.
6606 * math/w_atanhf.c: Likewise.
6607 * math/w_atanhl.c: Likewise.
6608 * math/w_exp10.c: Likewise.
6609 * math/w_exp10f.c: Likewise.
6610 * math/w_exp10l.c: Likewise.
6611 * math/w_fmod.c: Likewise.
6612 * math/w_fmodf.c: Likewise.
6613 * math/w_fmodl.c: Likewise.
6614 * math/w_j0.c: Likewise.
6615 * math/w_j0f.c: Likewise.
6616 * math/w_j0l.c: Likewise.
6617 * math/w_j1.c: Likewise.
6618 * math/w_j1f.c: Likewise.
6619 * math/w_j1l.c: Likewise.
6620 * math/w_jn.c: Likewise.
6621 * math/w_jnf.c: Likewise.
6622 * math/w_log.c: Likewise.
6623 * math/w_logf.c: Likewise.
6624 * math/w_logl.c: Likewise.
6625 * math/w_log10.c: Likewise.
6626 * math/w_log10f.c: Likewise.
6627 * math/w_log10l.c: Likewise.
6628 * math/w_log2.c: Likewise.
6629 * math/w_log2f.c: Likewise.
6630 * math/w_log2l.c: Likewise.
6631 * math/w_pow.c: Likewise.
6632 * math/w_powf.c: Likewise.
6633 * math/w_powl.c: Likewise.
6634 * math/w_remainder.c: Likewise.
6635 * math/w_remainderf.c: Likewise.
6636 * math/w_remainderl.c: Likewise.
6637 * math/w_scalb.c: Likewise.
6638 * math/w_scalbf.c: Likewise.
6639 * math/w_scalbl.c: Likewise.
6640 * math/w_sqrt.c: Likewise.
6641 * math/w_sqrtf.c: Likewise.
6642 * math/w_sqrtl.c: Likewise.
6643 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6644 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6646 * math/math_private.h: Declare __kernel_standard_f.
6647 * math/w_cosh.c: Remove cruft and optimize a bit.
6648 * math/w_coshf.c: Likewise.
6649 * math/w_coshl.c: Likewise.
6650 * math/w_exp2.c: Likewise.
6651 * math/w_exp2f.c: Likewise.
6652 * math/w_exp2l.c: Likewise.
6653 * math/w_hypot.c: Likewise.
6654 * math/w_hypotf.c: Likewise.
6655 * math/w_hypotl.c: Likewise.
6656 * math/w_lgamma.c: Likewise.
6657 * math/w_lgamma_r.c: Likewise.
6658 * math/w_lgammaf.c: Likewise.
6659 * math/w_lgammaf_r.c: Likewise.
6660 * math/w_lgammal.c: Likewise.
6661 * math/w_lgammal_r.c: Likewise.
6662 * math/w_sinh.c: Likewise.
6663 * math/w_sinhf.c: Likewise.
6664 * math/w_sinhl.c: Likewise.
6665 * math/w_tgamma.c: Likewise.
6666 * math/w_tgammaf.c: Likewise.
6667 * math/w_tgammal.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6669 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6670 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6671 Minor optimizations. Pretty printing. Remove cruft.
6672 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6675 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6676 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6677 * sysdeps/i386/fpu/e_asin.S: Likewise.
6678 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6679 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6680 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6681 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6682 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6683 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6684 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6685 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6686 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6687 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6688 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6689 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6690 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6691 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6692 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6693 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6694 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6695 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6696 * sysdeps/i386/fpu/e_log.S: Likewise.
6697 * sysdeps/i386/fpu/e_log10.S: Likewise.
6698 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6699 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6700 * sysdeps/i386/fpu/e_log2.S: Likewise.
6701 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6703 * sysdeps/i386/fpu/e_logf.S: Likewise.
6704 * sysdeps/i386/fpu/e_logl.S: Likewise.
6705 * sysdeps/i386/fpu/e_pow.S: Likewise.
6706 * sysdeps/i386/fpu/e_powf.S: Likewise.
6707 * sysdeps/i386/fpu/e_powl.S: Likewise.
6708 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6709 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6710 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6711 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6712 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6713 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6714 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6715 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6716 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6738 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6739 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6740 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6742 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6744 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6745 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6808 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6809 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6810 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6811 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6812 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6813 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6814 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6815 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6816 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6817 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6818 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6819 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6820 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6821 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6822 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6823 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6824 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6825 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6826 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6827 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6828 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6829 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6830 (__isnanf): Likewise.
6831 (__isinf_ns): Likewise.
6832 (__isinf_nsf): Likewise.
6833 (__finite): Likewise.
6834 (__finitef): Likewise.
6835 (__ieee754_sqrt): Define as macro.
6836 (__ieee754_sqrtf): Define as macro.
6837 (__ieee754_sqrtl): Define as macro.
6838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6840 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6841 __FINITE_MATH_ONLY__ consistent.
6842 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6844 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6846 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6849 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6851 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6853 * po/ja.po: Update from translation team.
6855 2011-10-08 Roland McGrath <roland@hack.frob.com>
6857 * locale/programs/locarchive.c (prepare_address_space): New function.
6858 (create_archive, enlarge_archive, open_archive): Use it.
6860 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6861 inside [SHARED], where it is used.
6863 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6865 * nss/getent.c (netgroup_keys): Remove unused variable.
6866 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6868 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6870 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6873 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6874 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6875 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6876 * math/Makefile (libm-calls): Add s_isinf_ns.
6877 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6878 * math/multc3.c: Likewise.
6879 * math/s_casin.c: Likewise.
6880 * math/s_casinf.c: Likewise.
6881 * math/s_casinl.c: Likewise.
6882 * math/s_ccos.c: Likewise.
6883 * math/s_ccosf.c: Likewise.
6884 * math/s_ccosl.c: Likewise.
6885 * math/s_ctan.c: Likewise.
6886 * math/s_ctanf.c: Likewise.
6887 * math/s_ctanh.c: Likewise.
6888 * math/s_ctanhf.c: Likewise.
6889 * math/s_ctanhl.c: Likewise.
6890 * math/s_ctanl.c: Likewise.
6891 * math/w_fmod.c: Likewise.
6892 * math/w_fmodf.c: Likewise.
6893 * math/w_fmodl.c: Likewise.
6894 * math/w_remainder.c: Likewise.
6895 * math/w_remainderf.c: Likewise.
6896 * math/w_remainderl.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6898 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6901 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6902 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6903 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6904 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6906 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6908 * stdio-common/printf_fphex.c: Likewise.
6909 * stdio-common/printf_size.c: Likewise.
6911 * math/e_exp10.c: Include math_private.h using <...> not "...".
6912 * math/e_exp10f.c: Likewise.
6913 * math/e_exp10l.c: Likewise.
6914 * math/e_exp2l.c: Likewise.
6915 * math/e_j0l.c: Likewise.
6916 * math/e_j1l.c: Likewise.
6917 * math/e_jnl.c: Likewise.
6918 * math/e_lgammal_r.c: Likewise.
6919 * math/e_rem_pio2l.c: Likewise.
6920 * math/e_scalb.c: Likewise.
6921 * math/e_scalbf.c: Likewise.
6922 * math/e_scalbl.c: Likewise.
6923 * math/k_cosl.c: Likewise.
6924 * math/k_sinl.c: Likewise.
6925 * math/k_tanl.c: Likewise.
6926 * math/s_cacoshf.c: Likewise.
6927 * math/s_catan.c: Likewise.
6928 * math/s_catanf.c: Likewise.
6929 * math/s_catanh.c: Likewise.
6930 * math/s_catanhf.c: Likewise.
6931 * math/s_catanhl.c: Likewise.
6932 * math/s_catanl.c: Likewise.
6933 * math/s_ccosh.c: Likewise.
6934 * math/s_ccoshf.c: Likewise.
6935 * math/s_ccoshl.c: Likewise.
6936 * math/s_cexp.c: Likewise.
6937 * math/s_cexpf.c: Likewise.
6938 * math/s_cexpl.c: Likewise.
6939 * math/s_clog.c: Likewise.
6940 * math/s_clog10.c: Likewise.
6941 * math/s_clog10f.c: Likewise.
6942 * math/s_clog10l.c: Likewise.
6943 * math/s_clogf.c: Likewise.
6944 * math/s_clogl.c: Likewise.
6945 * math/s_csin.c: Likewise.
6946 * math/s_csinf.c: Likewise.
6947 * math/s_csinh.c: Likewise.
6948 * math/s_csinhf.c: Likewise.
6949 * math/s_csinhl.c: Likewise.
6950 * math/s_csinl.c: Likewise.
6951 * math/s_csqrt.c: Likewise.
6952 * math/s_csqrtf.c: Likewise.
6953 * math/s_csqrtl.c: Likewise.
6954 * math/s_ctan.c: Likewise.
6955 * math/s_ctanf.c: Likewise.
6956 * math/s_ctanh.c: Likewise.
6957 * math/s_ctanhf.c: Likewise.
6958 * math/s_ctanhl.c: Likewise.
6959 * math/s_ctanl.c: Likewise.
6960 * math/s_ldexp.c: Likewise.
6961 * math/s_ldexpf.c: Likewise.
6962 * math/s_ldexpl.c: Likewise.
6963 * math/s_significand.c: Likewise.
6964 * math/s_significandf.c: Likewise.
6965 * math/s_significandl.c: Likewise.
6966 * math/w_acos.c: Likewise.
6967 * math/w_acosf.c: Likewise.
6968 * math/w_acosh.c: Likewise.
6969 * math/w_acoshf.c: Likewise.
6970 * math/w_acoshl.c: Likewise.
6971 * math/w_acosl.c: Likewise.
6972 * math/w_asin.c: Likewise.
6973 * math/w_asinf.c: Likewise.
6974 * math/w_asinl.c: Likewise.
6975 * math/w_atan2.c: Likewise.
6976 * math/w_atan2f.c: Likewise.
6977 * math/w_atan2l.c: Likewise.
6978 * math/w_atanh.c: Likewise.
6979 * math/w_atanhf.c: Likewise.
6980 * math/w_atanhl.c: Likewise.
6981 * math/w_cosh.c: Likewise.
6982 * math/w_coshf.c: Likewise.
6983 * math/w_coshl.c: Likewise.
6984 * math/w_dremf.c: Likewise.
6985 * math/w_exp10.c: Likewise.
6986 * math/w_exp10f.c: Likewise.
6987 * math/w_exp10l.c: Likewise.
6988 * math/w_exp2.c: Likewise.
6989 * math/w_exp2f.c: Likewise.
6990 * math/w_fmod.c: Likewise.
6991 * math/w_fmodf.c: Likewise.
6992 * math/w_fmodl.c: Likewise.
6993 * math/w_hypot.c: Likewise.
6994 * math/w_hypotf.c: Likewise.
6995 * math/w_hypotl.c: Likewise.
6996 * math/w_j0.c: Likewise.
6997 * math/w_j0f.c: Likewise.
6998 * math/w_j0l.c: Likewise.
6999 * math/w_j1.c: Likewise.
7000 * math/w_j1f.c: Likewise.
7001 * math/w_j1l.c: Likewise.
7002 * math/w_jn.c: Likewise.
7003 * math/w_jnf.c: Likewise.
7004 * math/w_jnl.c: Likewise.
7005 * math/w_lgamma.c: Likewise.
7006 * math/w_lgamma_r.c: Likewise.
7007 * math/w_lgammaf.c: Likewise.
7008 * math/w_lgammaf_r.c: Likewise.
7009 * math/w_lgammal.c: Likewise.
7010 * math/w_lgammal_r.c: Likewise.
7011 * math/w_log.c: Likewise.
7012 * math/w_log10.c: Likewise.
7013 * math/w_log10f.c: Likewise.
7014 * math/w_log10l.c: Likewise.
7015 * math/w_log2.c: Likewise.
7016 * math/w_log2f.c: Likewise.
7017 * math/w_log2l.c: Likewise.
7018 * math/w_logf.c: Likewise.
7019 * math/w_logl.c: Likewise.
7020 * math/w_pow.c: Likewise.
7021 * math/w_powf.c: Likewise.
7022 * math/w_powl.c: Likewise.
7023 * math/w_remainder.c: Likewise.
7024 * math/w_remainderf.c: Likewise.
7025 * math/w_remainderl.c: Likewise.
7026 * math/w_scalb.c: Likewise.
7027 * math/w_scalbf.c: Likewise.
7028 * math/w_scalbl.c: Likewise.
7029 * math/w_sinh.c: Likewise.
7030 * math/w_sinhf.c: Likewise.
7031 * math/w_sinhl.c: Likewise.
7032 * math/w_sqrt.c: Likewise.
7033 * math/w_sqrtf.c: Likewise.
7034 * math/w_sqrtl.c: Likewise.
7035 * math/w_tgamma.c: Likewise.
7036 * math/w_tgammaf.c: Likewise.
7037 * math/w_tgammal.c: Likewise.
7039 * po/ja.po: Update from translation team.
7041 2011-09-29 Andreas Jaeger <aj@suse.de>
7044 * sunrpc/netname.c (netname2host): Fix logic.
7048 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7050 * math/w_remainder.c (__remainder): Likewise.
7051 * math/w_remainderf.c (__remainderf): Likewise.
7052 * math/libm-test.inc (remainder_test): Add test cases.
7054 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7056 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7059 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7061 * string/test-memcmp.c: Avoid unncessary #defines.
7062 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7064 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7066 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7067 Use new sse2 version for core i3 - i7 as it's faster
7069 (bit_Prefer_PMINUB_for_stringop): New.
7070 * sysdeps/x86_64/rawmemchr.S: Update.
7071 Replace with faster SSE2 version.
7072 * sysdeps/x86_64/memrchr.S: New file.
7073 * sysdeps/x86_64/memchr.S: Update.
7074 Replace with faster SSE2 version.
7076 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7078 * elf/dl-load.c (lose): Add cast to avoid warning.
7080 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7082 * po/ca.po: Update from translation team.
7084 * inet/getnetgrent_r.c: Hook up nscd.
7085 * nscd/Makefile (routines): Add nscd_netgroup.
7086 (nscd-modules): Add netgroupcache.
7087 (CFLAGS-netgroupcache.c): Define.
7088 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7089 (cache_search): Add const to second parameter.
7090 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7092 (dbs): Add netgrdb entry.
7093 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7094 (verify_persistent_db): Handle netgrdb.
7095 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7096 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7098 (netgroup_response_header): Define.
7099 (innetgroup_response_header): Define.
7100 (datahead): Add netgroup_response_header and innetgroup_response_header
7102 * nscd/nscd.conf: Add entries for netgroup cache.
7103 * nscd/nscd.h (dbtype): Add netgrdb.
7104 (_PATH_NSCD_NETGROUP_DB): Define.
7105 (netgroup_iov_disabled): Declare.
7106 (xmalloc, xcalloc, xrealloc): Move declarations here.
7107 (cache_search): Adjust prototype.
7108 Add netgroup-related prototypes.
7109 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7110 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7111 (__nscd_innetgr): Declare.
7112 * nscd/selinux.c (perms): Use access_vector_t as element type and
7113 add netgroup-related initializers.
7114 * nscd/netgroupcache.c: New file.
7115 * nscd/nscd_netgroup.c: New file.
7116 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7117 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7118 For four parameters use innetgr.
7119 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7120 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7121 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7122 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7124 * nscd/connections.c (register_traced_file): Don't register file
7125 for disabled databases.
7127 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7129 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7131 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7132 from tree and freeing node.
7134 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7136 * nss/nsswitch.c (__nss_database_lookup): Handle
7137 nss_parse_service_list out of memory case.
7139 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7141 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7144 2011-10-04 Andreas Schwab <schwab@redhat.com>
7146 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7147 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7149 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7150 elf_machine_rela, elf_machine_lazy_rel.
7151 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7152 (ELF_DYNAMIC_DO_REL): Likewise.
7153 (ELF_DYNAMIC_DO_RELA): Likewise.
7154 (ELF_DYNAMIC_RELOCATE): Likewise.
7155 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7156 to ELF_DYNAMIC_DO_REL.
7157 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7158 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7159 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7161 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7162 skip_ifunc, don't call ifunc function if non-zero.
7163 (elf_machine_rela): Likewise.
7164 (elf_machine_lazy_rel): Likewise.
7165 (elf_machine_lazy_rela): Likewise.
7166 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7167 (elf_machine_lazy_rel): Likewise.
7168 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7170 (elf_machine_lazy_rel): Likewise.
7171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7173 (elf_machine_lazy_rel): Likewise.
7174 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7175 (elf_machine_lazy_rel): Likewise.
7176 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7177 (elf_machine_lazy_rel): Likewise.
7178 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7179 (elf_machine_lazy_rel): Likewise.
7180 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7181 (elf_machine_lazy_rel): Likewise.
7182 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7183 (elf_machine_lazy_rel): Likewise.
7184 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7185 (elf_machine_lazy_rel): Likewise.
7187 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7189 * nss/nss_files/files-init.c (_nss_files_init): Use static
7190 initialization for all the *_traced_file variables.
7192 2011-09-28 Andreas Schwab <schwab@redhat.com>
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7196 2011-09-27 Roland McGrath <roland@hack.frob.com>
7199 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7201 2011-09-27 Andreas Schwab <schwab@redhat.com>
7203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7204 Reread the line before reparsing it.
7206 2011-09-26 Andreas Schwab <schwab@redhat.com>
7208 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7210 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7211 Maxim Kuvyrkov <maxim@codesourcery.com>
7212 Joseph Myers <joseph@codesourcery.com>
7214 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7215 if needed for __stack_chk_guard.
7217 2011-09-19 Roland McGrath <roland@hack.frob.com>
7219 * sysdeps/posix/spawni.c (script_execute): Always define it.
7220 It will be optimized away if unused.
7221 (maybe_script_execute): New function.
7222 (__spawni): Call it.
7224 * Makerules: Don't include tls.make.
7225 (config-tls): Always set to thread.
7226 * tls.make.c: File removed.
7228 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7230 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7231 * config.make.in (CPPFLAGS-config): New substituted variable.
7233 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7235 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7238 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7239 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7241 2011-09-15 Roland McGrath <roland@hack.frob.com>
7243 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7244 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7246 (CALL_FAIL): Likewise.
7247 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7248 (CALL_FAIL): Macro removed.
7249 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7251 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7253 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7254 for __FINITE_MATH_ONLY__ == 1.
7256 2011-09-15 Andreas Schwab <schwab@redhat.com>
7258 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7259 __ieee754_sqrt instead of sqrt.
7260 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7261 __ieee754_sqrtf instead of sqrtf.
7262 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7263 __floorf instead of floorf.
7264 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7265 __floorf, __truncf instead of floorf, truncf.
7267 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7269 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7271 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7272 __extern_always_inline.
7273 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7276 2011-09-14 Andreas Schwab <schwab@redhat.com>
7278 * elf/rtld.c (dl_main): Also relocate in dependency order when
7279 doing symbol dependency testing.
7281 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7284 Always define `refsym'.
7286 2011-09-13 Andreas Schwab <schwab@redhat.com>
7288 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7289 (__FD_ELT): Renamed from __FDELT.
7290 * misc/bits/select2.h (__FD_ELT): Likewise.
7291 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7292 __FD_MASK instead of __FDELT, __FDMASK.
7293 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7295 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7298 * elf/Makefile (gen-ldd): Fix pattern.
7300 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7301 (init_tls): Likewise.
7303 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7307 2011-09-12 Andreas Schwab <schwab@redhat.com>
7309 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7310 `struct cmsghdr *' instead of `void *'.
7311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7314 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7316 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7318 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7321 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7323 * configure.in: Remove --with-tls option.
7324 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7325 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7326 out in case it is missing.
7327 * sysdeps/ia64/elf/configure.in: Likewise.
7328 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7329 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7330 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7331 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7332 * sysdeps/sh/elf/configure.in: Likewise.
7333 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7334 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7335 * sysdeps/x86_64/elf/configure.in: Likewise.
7336 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7337 * sysdeps/mach/hurd/tls.h: Likewise.
7340 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7343 * configure.in: Fix use of AC_INIT.
7345 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7347 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7349 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7351 * malloc/hooks.c: Likewise.
7354 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7355 variables statically.
7356 (narenas): Initialize.
7357 (list_lock): Initialize.
7358 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7359 initializtion of main_arena and list_lock. Small cleanups.
7360 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7361 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7362 Add initializers to main_arena and mp_.
7363 (malloc_state): Remove pagesize member. Change all users to use
7366 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7367 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7368 is always initialized.
7370 * malloc/malloc.c: Removed unused configurations and dead code.
7371 * malloc/arena.c: Likewise.
7372 * malloc/hooks.c: Likewise.
7373 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7375 * include/tls.h: Removed. USE___THREAD must always be defined.
7376 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7377 * elf/dl-libc.c: Likewise.
7378 * elf/dl-tsd.c: Likewise.
7379 * include/errno.h: Likewise.
7380 * include/netdb.h: Likewise.
7381 * include/resolv.h: Likewise.
7382 * inet/herrno-loc.c: Likewise.
7383 * inet/herrno.c: Likewise.
7384 * malloc/arena.c: Likewise.
7385 * malloc/hooks.c: Likewise.
7386 * malloc/malloc.c: Likewise.
7387 * resolv/res-state.c: Likewise.
7388 * resolv/res_libc.c: Likewise.
7389 * sysdeps/i386/dl-machine.h: Likewise.
7390 * sysdeps/ia64/dl-machine.h: Likewise.
7391 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7392 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7393 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7394 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7395 * sysdeps/sh/dl-machine.h: Likewise.
7396 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7397 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7398 * sysdeps/unix/i386/sysdep.S: Likewise.
7399 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7400 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7409 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7410 * sysdeps/x86_64/dl-machine.h: Likewise.
7411 * tls.make.c: Likewise.
7413 * configure.in: Remove --with-__thread option. Make tests for
7414 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7415 tls_model attribute fail if no support is available. Remove
7417 * Makeconfig: Adjust for dropped configure option. All features are
7419 * Makerules: Likewise.
7420 * Versions.def: Likewise.
7421 * argp/argp-fmtstream.c: Likewise.
7422 * argp/argp-fmtstream.h: Likewise.
7423 * argp/argp-help.c: Likewise.
7424 * assert/assert.c: Likewise.
7425 * config.h.in: Likewise.
7426 * config.make.in: Likewise.
7427 * configure: Likewise.
7428 * configure.in: Likewise.
7429 * csu/Versions: Likewise.
7430 * csu/init.c: Likewise.
7431 * elf/tst-audit2.c: Likewise.
7432 * elf/tst-tls10.c: Likewise.
7433 * elf/tst-tls10.h: Likewise.
7434 * elf/tst-tls11.c: Likewise.
7435 * elf/tst-tls12.c: Likewise.
7436 * elf/tst-tls14.c: Likewise.
7437 * elf/tst-tlsmod11.c: Likewise.
7438 * elf/tst-tlsmod12.c: Likewise.
7439 * elf/tst-tlsmod13.c: Likewise.
7440 * elf/tst-tlsmod13a.c: Likewise.
7441 * elf/tst-tlsmod14a.c: Likewise.
7442 * elf/tst-tlsmod15b.c: Likewise.
7443 * elf/tst-tlsmod16a.c: Likewise.
7444 * elf/tst-tlsmod16b.c: Likewise.
7445 * elf/tst-tlsmod7.c: Likewise.
7446 * elf/tst-tlsmod8.c: Likewise.
7447 * elf/tst-tlsmod9.c: Likewise.
7448 * gmon/gmon.c: Likewise.
7449 * grp/fgetgrent_r.c: Likewise.
7450 * grp/putgrent.c: Likewise.
7451 * hurd/fopenport.c: Likewise.
7452 * include/libc-symbols.h: Likewise.
7453 * include/tls.h: Likewise.
7454 * intl/gettextP.h: Likewise.
7455 * intl/loadinfo.h: Likewise.
7456 * locale/global-locale.c: Likewise.
7457 * locale/localeinfo.h: Likewise.
7458 * mach/devstream.c: Likewise.
7459 * malloc/arena.c: Likewise.
7460 * malloc/set-freeres.c: Likewise.
7461 * misc/err.c: Likewise.
7462 * misc/getttyent.c: Likewise.
7463 * misc/mntent_r.c: Likewise.
7464 * posix/getopt.c: Likewise.
7465 * posix/wordexp.c: Likewise.
7466 * pwd/fgetpwent_r.c: Likewise.
7467 * resolv/Versions: Likewise.
7468 * resolv/res_hconf.c: Likewise.
7469 * shadow/fgetspent_r.c: Likewise.
7470 * shadow/putspent.c: Likewise.
7471 * stdio-common/printf_fphex.c: Likewise.
7472 * stdio-common/tmpfile.c: Likewise.
7473 * stdlib/abort.c: Likewise.
7474 * stdlib/fmtmsg.c: Likewise.
7475 * sunrpc/auth_unix.c: Likewise.
7476 * sunrpc/clnt_perr.c: Likewise.
7477 * sunrpc/clnt_tcp.c: Likewise.
7478 * sunrpc/clnt_udp.c: Likewise.
7479 * sunrpc/clnt_unix.c: Likewise.
7480 * sunrpc/openchild.c: Likewise.
7481 * sunrpc/svc_simple.c: Likewise.
7482 * sunrpc/svc_tcp.c: Likewise.
7483 * sunrpc/svc_udp.c: Likewise.
7484 * sunrpc/svc_unix.c: Likewise.
7485 * sunrpc/xdr.c: Likewise.
7486 * sunrpc/xdr_array.c: Likewise.
7487 * sunrpc/xdr_rec.c: Likewise.
7488 * sunrpc/xdr_ref.c: Likewise.
7489 * sunrpc/xdr_stdio.c: Likewise.
7491 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7493 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7495 2011-07-03 Andreas Jaeger <aj@suse.de>
7497 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7499 regenerate with gen-libm-tests.pl.
7501 2010-05-12 Petr Baudis <pasky@suse.cz>
7504 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7505 around j0() zero points by switching to j1().
7506 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7511 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7513 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7518 Patch in part by Pavel Roskin <proski@gnu.org>.
7521 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7523 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7524 Free memory block if necessary.
7527 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7528 be NULL. Don't lock in this case.
7530 2011-09-09 Roland McGrath <roland@hack.frob.com>
7532 * elf/elf.h (ELFOSABI_GNU): New macro.
7533 (ELFOSABI_LINUX): Define to that.
7535 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7537 * string/strncat.c (strncat): Undef the symbol in case it has been
7538 defined in bits/string.h.
7540 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7542 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7544 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7547 2011-08-17 Andreas Jaeger <aj@suse.de>
7549 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7551 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7552 Ian Lance Taylor <iant@google.com>
7554 * math/libm-test.inc (lround_test): New testcase.
7555 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7557 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7559 * Makefile: Remove support for automatic cvs check-ins.
7560 * Makerules: Likewise.
7561 * config.make.in: Likewise.
7562 * configure.in: Likewise.
7563 * intl/Makefile: Likewise.
7564 * locale/Makefile: Likewise.
7565 * po/Makefile: Likewise.
7566 * posix/Makefile: Likewise.
7567 * sysdeps/gnu/Makefile: Likewise.
7568 * sysdeps/mach/hurd/Makefile: Likewise.
7569 * sysdeps/sparc/sparc32/Makefile: Likewise.
7572 * posix/Makefile (bug-regex32-ENV): Define.
7573 Patch by John Stanley <jpsinthemix@verizon.net>.
7575 * misc/Makefile (headers): Add bits/select2.h.
7576 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7577 * misc/bits/select2.h: New file.
7578 * include/bits/select2.h: New file.
7579 * debug/Makefile (routines): Add fdelt_chk.
7580 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7581 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7583 * debug/fdelt_chk.c: New file.
7585 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7586 * wcsmbs/test-wmemcmp.c: Likewise.
7587 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7588 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7590 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7592 * string/Makefile (strop-tests): Add memcmp.
7593 * string/test-wmemcmp.c: New file.
7594 * string/test-memcmp.c: Add wmemcmp support.
7596 2011-09-08 Roland McGrath <roland@hack.frob.com>
7599 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7602 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7603 garbage value in a __mach_port_mod_refs call in the cases of the
7604 task-self and thread-self ports.
7606 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7608 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7610 2011-09-08 Andreas Schwab <schwab@redhat.com>
7612 * elf/dl-load.c (lose): Check for non-null L.
7614 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7616 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7618 * elf/dl-libc.c (dlerror_run): Pass back error code from
7622 * elf/dl-load.c (lose): Free l_origin if it is valid.
7624 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7626 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7630 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7631 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7633 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7635 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7636 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7637 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7638 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7639 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7640 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7641 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7642 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7643 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7644 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7646 2011-08-15 Alan Modra <amodra@gmail.com>
7649 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7650 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7651 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7652 ppc_mcount to static-only-routines.
7653 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7655 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7656 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7658 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7660 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7661 for finite and infinity parameters.
7663 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7666 and add nop instructions for throughput optimization.
7667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7669 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7672 aligned copy for power7 with vector-scalar instructions.
7673 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7675 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7680 2011-09-07 Andreas Schwab <schwab@redhat.com>
7683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7686 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7688 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7689 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7690 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7691 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7694 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7697 Forgot to demangle the pointer.
7699 * sysdeps/i386/sysdep.h: Define atom_text_section.
7700 * sysdeps/x86_64/sysdep.h: Likewise.
7701 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7702 section with atom_text_section.
7703 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7704 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7705 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7706 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7707 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7709 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7710 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7711 already be defined. Change to take two parameters and don't assign
7712 result to variable. Adjust all users.
7713 Define INTERNAL_GETTIME if not already defined.
7714 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7717 HAVE_CLOCK_GETTIME_VSYSCALL.
7718 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7721 gettimeofday vsyscall, just use time.
7723 2011-09-06 Andreas Schwab <schwab@redhat.com>
7725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7728 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7730 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7734 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7736 syscall if possible.
7738 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7740 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7741 e_ident. Don't pass to find_mapsXX.
7742 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7744 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7747 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7748 * sysdeps/x86_64/multiarch/strchr.S: Update.
7749 Check bit_slow_BSF bit.
7750 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7751 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7752 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7754 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7757 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7760 (__spawni): Change last parameter to be flag. Test
7761 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7762 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7763 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7764 * posix/spawni.c: Likewise.
7765 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7766 * posix/spawnp.c: Likewise. Change normal version to use
7767 SPAWN_XFLAGS_USE_PATH.
7768 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7769 SPAWN_XFLAGS_TRY_SHELL.
7772 * posix/glob.h: Remove gcc 1.x support.
7775 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7777 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7780 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7782 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7783 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7784 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7785 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7786 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7787 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7789 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7791 * sysdeps/x86_64/wcscmp.S: New file.
7793 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7794 wcscmp-c wcscmp-sse2
7795 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7796 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7797 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7798 * wcsmbs/wcscmp.c: Allow renaming.
7800 2011-09-05 David S. Miller <davem@davemloft.net>
7802 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7803 stack slot, rather than the struct return pointer slot.
7804 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7805 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7809 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7811 * po/ja.po: Update from translation team.
7814 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7815 kernel in 64-bit binaries.
7817 2011-09-01 David S. Miller <davem@davemloft.net>
7819 * elf/elf.h (HWCAP_SPARC_*): Move to..
7820 * sysdeps/sparc/sysdep.h: this new file and add new values.
7821 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7822 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7823 _DL_HWCAP_COUNT to 24.
7824 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7826 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7827 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7828 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7830 instead of magic constants.
7831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7833 2011-08-31 David S. Miller <davem@davemloft.net>
7835 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7837 Reimplement to do errno handling inline.
7838 (SYSCALL_ERROR_HANDLER): New macro.
7839 (__SYSCALL_STRING): Do not do errno handling in asm.
7840 (__CLONE_SYSCALL_STRING): Delete.
7841 (__INTERNAL_SYSCALL_STRING): Delete.
7842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7843 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7844 (PSEUDO): Reimplement to do errno handling inline.
7845 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7846 (SYSCALL_ERROR_HANDLER): New macro.
7847 (__SYSCALL_STRING): Do not do errno handling in asm.
7848 (__CLONE_SYSCALL_STRING): Delete.
7849 (__INTERNAL_SYSCALL_STRING): Delete.
7850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7851 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7853 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7854 (inline_syscall*): Add 'err' argument.
7855 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7856 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7857 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7858 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7860 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7861 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7863 2011-08-30 Andreas Schwab <schwab@redhat.com>
7865 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7867 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7869 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7872 2011-08-24 David S. Miller <davem@davemloft.net>
7874 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7876 2011-08-24 Andreas Schwab <schwab@redhat.com>
7878 * elf/Makefile: Add rules to build and run unload8 test.
7879 * elf/unload8.c: New file.
7880 * elf/unload8mod1.c: New file.
7881 * elf/unload8mod1x.c: New file.
7882 * elf/unload8mod2.c: New file.
7883 * elf/unload8mod3.c: New file.
7885 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7888 2011-08-23 David S. Miller <davem@davemloft.net>
7890 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7891 subtract stack bias.
7892 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7893 %sp not %fp in calculations.
7894 (_JMPBUF_UNWINDS_ADJ): Likewise.
7896 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7897 (aio_suspend): Call it to force an exception region around the
7898 AIO_MISC_WAIT() invocation.
7900 2011-08-23 Andreas Schwab <schwab@redhat.com>
7902 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7905 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7907 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7909 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7911 (Elf64_FuncDesc): Remove.
7913 2011-08-22 David S. Miller <davem@davemloft.net>
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7916 sigaltstack check, add missing cfi directives.
7917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7918 missing cfi directives, and sigaltstack handling.
7920 2011-08-16 Andreas Schwab <schwab@redhat.com>
7923 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7924 object is seen twice.
7925 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7927 * elf/Makefile (distribute): Add tst-initorder2.c.
7928 (tests): Add tst-initorder2.
7929 (modules-names): Add tst-initorder2a tst-initorder2b
7930 tst-initorder2c tst-initorder2d. Add rules to build them.
7931 ($(objpfx)tst-initorder2.out): New rule.
7932 * elf/tst-initorder2.c: New file.
7933 * elf/tst-initorder2.exp: New file.
7935 2011-08-22 Andreas Schwab <schwab@redhat.com>
7937 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7939 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7940 dependencies back to end of function.
7942 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7945 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7948 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7950 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7951 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7952 of __vdso_gettimeofday.
7953 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7954 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7956 (_libc_vdso_platform_setup): Remove initialization of
7957 __vdso_gettimeofday and __vdso_time.
7959 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7961 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7963 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7966 * elf/dl-open.c (add_to_global): Report additions to the global scope
7967 for LD_DEBUG=scopes.
7968 (dl_open_worker): Also print scope of newly loaded dependencies.
7969 (_dl_show_scope): Indicate if there is no scope.
7972 * stdio-common/Makefile (tests): Add bug24.
7973 * stdio-common/bug24.c: New file.
7975 2011-08-19 Andreas Jaeger <aj@suse.de>
7978 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7979 non-existant file when using close-on-exec mode.
7981 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7984 the very first instruction.
7986 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7987 the CFI state in the end.
7988 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7989 inclusion of dl-trampoline.h.
7990 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7992 2011-08-19 Andreas Schwab <schwab@redhat.com>
7994 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7995 expectations for long double.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7998 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8000 2011-08-14 David S. Miller <davem@davemloft.net>
8002 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8003 artificual limit depends upon the system page size.
8005 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8007 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8008 * resolv/Makefile: Define CFLAGS-libresolv.
8010 2011-08-17 Andreas Schwab <schwab@redhat.com>
8012 * nss/makedb.c (compute_tables): Make variables used in nested
8015 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8017 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8018 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8019 if buffer was too small.
8021 * elf/pldd.c (main): Attach to all threads in the process.
8022 Rewrite /proc handling to use *at functions.
8024 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8026 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8027 specifies first scope to show.
8028 (dl_open_worker): Update callers. Move printing scope of new
8029 object to before the relocation.
8030 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8031 * sysdeps/generic/ldsodefs.h: Update declaration.
8033 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8034 string for the scope number.
8036 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8038 * nscd/servicescache.c (cache_addserv): Make sure written is always
8041 2011-08-14 Roland McGrath <roland@hack.frob.com>
8043 * sysdeps/i386/i486/bits/atomic.h
8044 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8045 statement expression, so as to suppress "set but not used" warning.
8046 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8048 * string/strncat.c (STRNCAT): Use prototype definition.
8050 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8051 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8053 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8054 (localedef-modules): Add localedef.
8055 (locale-modules): Add locale.
8057 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8058 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8061 2011-08-14 David S. Miller <davem@davemloft.net>
8063 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8064 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8066 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8068 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8069 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8070 * elf/rtld.c (dl_main): Set l_name of vDSO.
8071 Call _dl_show_scope when DL_DEBUG_SCOPES.
8072 (process_dl_debug): Recognize scopes flag and also set it for all.
8073 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8074 Declare _dl_show_scope.
8076 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8077 (do_dlopen): Pass caller_dlopen to dl_open.
8078 (__libc_dlopen_mode): Initialize caller_dlopen.
8080 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8081 of libc. Make tolower call locale-independent. Optimize a bit by
8082 using isdigit instead of isalnum.
8083 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8085 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8087 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8088 was a dependency or dynamically loaded.
8090 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8092 * intl/l10nflist.c: Allow architecture-specific pop function.
8093 * sysdeps/x86_64/l10nflist.c: New file.
8095 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8098 2011-08-10 Andreas Schwab <schwab@redhat.com>
8100 * include/dirent.h: Add libc_hidden_proto for scandirat and
8101 scandirat64. Don't declare __scandirat64.
8102 * dirent/scandirat.c: Add libc_hidden_def.
8103 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8104 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8106 2011-08-10 David S. Miller <davem@davemloft.net>
8108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8111 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8114 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8116 * Versions.def [libc]: Add GLIBC_2.15.
8117 * dirent/Makefile (routines): Add scandirat and scandirat64.
8118 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8120 * dirent/dirent.h: Declare scandirat and scandirat64.
8121 * dirent/scandirat.c: New file.
8122 * dirent/scandirat64.c: New file.
8123 * sysdeps/wordsize-64/scandirat.c: New file.
8124 * sysdeps/wordsize-64/scandirat64.c: New file.
8125 * dirent/opendir.c: Define opendirat.
8126 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8128 * dirent/scandir64.c: Adjust for scandir.c change.
8129 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8130 __scandirat64, and __scandir_cancel_handler.
8131 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8132 additional parameter and use openat instead of open (outside of ld.so).
8133 Add new __opendir as wrapper around __opendirat.
8134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8135 here without requiring old scandirat implementation.
8137 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8139 * dirent/scandir.c (cancel_handler): Renamed to
8140 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8141 defined. Adjust users.
8142 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8145 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8147 * string/test-string.h (IMPL): Use __STRING to expand name and then
8150 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8153 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8155 * string/Makefile: Update.
8156 (strop-tests): Append strncat.
8157 * string/test-wcscmp.c: New file.
8158 New comprehensive test for wcscmp.
8159 * string/test-strcmp.c: Update.
8162 2011-07-22 Andreas Schwab <schwab@redhat.com>
8164 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8167 2011-07-26 Andreas Schwab <schwab@redhat.com>
8169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8170 encoding to ACE if AI_IDN.
8172 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8175 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8177 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8180 Fix overflow bug in strncat.
8181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8183 * string/test-strncat.c: Update.
8184 Add new tests for checking overflow bugs.
8186 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8189 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8190 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8191 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8193 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8194 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8195 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8196 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8198 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8199 (USE_AS_STRCAT): Define.
8200 Add strcat and strncat support.
8201 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8203 2011-07-25 Andreas Schwab <schwab@redhat.com>
8205 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8206 __n bigger than INT_MAX+1.
8207 (__strncmp_g): Likewise.
8209 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8211 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8212 * libio/stido.h: Likewise.
8214 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8219 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8220 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8222 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8226 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8231 (_dl_x86_64_save_sse): Likewise.
8233 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8237 (_dl_x86_64_save_sse): Likewise.
8239 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8241 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8243 2011-07-21 Andreas Schwab <schwab@redhat.com>
8245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8247 (_dl_x86_64_save_sse): Use correct AVX check.
8249 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8251 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8252 bug in strncpy/strncat.
8253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8255 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8257 * string/tester.c (test_strcat): Add tests for different alignments
8258 of source and destination.
8259 (test_strncat): Likewise.
8261 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8264 * posix/glob.c (glob): Check passed in values before using them in
8265 expressions to avoid some overflows.
8266 (glob_in_dir): Likewise.
8269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8270 check for AVX enablement so that we don't crash with old kernels and
8272 * elf/tst-audit4.c: Add same checks here.
8273 * elf/tst-audit6.c: Likewise.
8275 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8277 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8279 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8281 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8283 * po/cs.po: Update from translation team.
8284 * po/bg.po: Likewise.
8286 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8288 * misc/sys/cdefs.h: Add support for const attribute.
8289 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8290 to gnu_dev_{major,minor,makedev} functions.
8292 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8294 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8296 2011-07-20 Andreas Schwab <schwab@redhat.com>
8298 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8301 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8304 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8305 register in order to avoid conflicts with the soft frame pointer
8306 being held in r11 when necessary.
8307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8308 (INTERNAL_VSYSCALL_NCS): Likewise.
8310 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8312 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8313 * elf/dl-fini.c (_dl_fini): Adjust caller.
8314 * elf/dl-close.c (_dl_close_worker): Likewise.
8315 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8317 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8319 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8320 "aux_cache->nlibs < 0".
8322 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8323 in the reload-count case.
8325 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8328 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8329 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8330 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8331 * sysdeps/x86_64/multiarch/strcat.S: New file.
8332 * sysdeps/x86_64/multiarch/strncat.S: New file.
8333 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8334 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8335 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8336 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8338 (USE_AS_STRCAT): Define.
8339 Add strcat and strncat support.
8340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8341 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8342 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8343 * string/strncat.c: Update.
8344 (USE_AS_STRNCAT): Define.
8345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8346 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8348 * sysdeps/x86_64/multiarch/init-arch.h
8349 (bit_Prefer_PMINUB_for_stringop): New.
8350 (index_Prefer_PMINUB_for_stringop): Likewise.
8351 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8352 bit_Prefer_PMINUB_for_stringop.
8354 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8356 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8358 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8359 of casting of buffer.
8360 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8361 buffer32 and buffer64.
8362 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8363 writes instead of casting of buffer.
8364 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8366 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8369 2011-07-19 Andreas Schwab <schwab@redhat.com>
8371 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8373 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8375 * nscd/nscd.c (termination_handler): Don't do anything for a database
8376 if it has not yet been initialized.
8378 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8380 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8382 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8384 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8386 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8388 * po/nl.po: Update from translation team.
8389 * po/sv.po: Likewise.
8391 2011-07-16 Roland McGrath <roland@hack.frob.com>
8393 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8394 now disallowed by GCC.
8396 * configure.in (use-default-link): Default to yes if a test -shared
8397 link meets our qualifications.
8398 * configure: Regenerated.
8400 * config.make.in (output-format): New variable.
8401 * configure.in: Check for ld --print-output-format support.
8402 * configure: Regenerated.
8403 * Makerules ($(common-objpfx)format.lds)
8404 [$(output-format) != unknown]: Just use $(output-format),
8405 instead of the linker-script munging.
8407 2011-07-14 Roland McGrath <roland@hack.frob.com>
8409 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8410 of $(common-objpfx)shlib.lds.
8411 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8413 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8414 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8416 * configure.in (-z relro check): Adjust test code to add a large
8417 writable data section after it.
8418 * configure: Regenerated.
8420 2011-07-11 Roland McGrath <roland@hack.frob.com>
8422 * configure.in (-z relro check): Fix test code to make the variable
8424 * configure: Regenerated.
8426 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8428 * nscd/nscd.h (struct traced_file): Define.
8429 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8430 elements. Add traced_files.
8431 (inotify_fd): Declare.
8432 (register_traced_file): Declare.
8433 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8434 (inotify_fd): Export.
8435 (resolv_conf_descr): Remove.
8436 (nscd_init): Move inotify descriptor creation to main.
8437 Don't register files for notification here.
8438 (register_traced_file): New function.
8439 (invalidate_cache): Don't use reset_res to determine whether to call
8440 res_init, go through the list of registered files.
8441 (main_loop_poll): The inotify descriptors are now stored in the
8442 structures for the traced files.
8443 (main_loop_epoll): Likewise
8444 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8445 to __nss_disable_nscd.
8446 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8447 for a database anymore. Check the records for all the registered
8449 * nss/Makefile (libnss_files-routines): Add files-init.
8450 (libnss_db-routines): Add db-init.
8451 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8452 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8453 * nss/nss_db/db-init.c: New file.
8454 * nss/nss_files/files-init.c: New file.
8455 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8456 __nss_lookup_function.
8457 (__nss_lookup_function): Call nss_load_library.
8458 (nss_load_all_libraries): New function.
8459 (__nss_disable_nscd): Take parameter with callback function for files
8460 to register. Set is_nscd. Load all the DSOs for the NSS modules
8461 used for the cached services.
8462 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8464 options for features to all the files in nscd.
8466 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8468 2011-07-10 Roland McGrath <roland@hack.frob.com>
8470 * csu/elf-init.c (__libc_csu_init): Comment typo.
8472 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8474 * po/pl.po: Update from translation team.
8475 * po/ja.po: Likewise.
8476 * po/ru.po: Likewise.
8477 * po/ko.po: Likewise.
8478 * po/fr.po: Likewise.
8480 2011-07-09 Roland McGrath <roland@hack.frob.com>
8482 * configure.in (.ctors/.dtors header and trailer check):
8483 Use an empirical test on a built program.
8484 * configure: Regenerated.
8486 * configure.in (-z relro check): Use an empirical test on a built DSO.
8487 Detect, but do not require, on ia64.
8488 * configure: Regenerated.
8490 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8491 Update tests that use readelf to use $READELF instead.
8492 * configure: Regenerated.
8494 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8496 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8497 if the result is not used.
8499 2011-07-05 Andreas Jaeger <aj@suse.de>
8502 * stdlib/tst-strtod.c: Add testcase.
8504 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8506 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8507 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8508 The latter has a higher limit. Take additional parameter to pass to
8510 (__pathconf): Pass file to __statfs_link_max.
8511 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8513 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8517 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8518 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8521 (__statfs_filesize_max): Likewise.
8522 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8524 2011-07-05 Andreas Jaeger <aj@suse.de>
8526 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8528 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8530 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8532 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8535 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8537 * Makefile (strop-tests): Add strncat.
8538 * string/test-strncat.c: New file.
8540 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8542 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8544 2011-06-21 Andreas Jaeger <aj@suse.de>
8546 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8547 Copy rule from iconvdata/Makefile.
8549 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8552 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8553 but no long options are defined, just return 'W'.
8555 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8558 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8560 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8562 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8564 (innetgr): Likewise.
8566 2011-07-05 Roland McGrath <roland@hack.frob.com>
8568 * config.make.in (install_root): Default to $(DESTDIR).
8570 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8572 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8574 2011-07-02 Roland McGrath <roland@hack.frob.com>
8576 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8578 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8579 containing directory rather than embedding absolute directory names.
8581 * scripts/check-local-headers.sh: Rewritten using awk.
8582 Match by word, not by line. Print error messages for matches.
8583 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8585 * Makerules [shlib-lds-flags empty]:
8586 ($(common-objpfx)libc_pic.opts): New target.
8587 ($(common-objpfx)libc_pic.os.clean): New target.
8588 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8590 * config.make.in (OBJCOPY): New variable.
8591 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8592 * configure: Regenerated.
8594 * config.make.in (use-default-link): New variable.
8595 * configure.in (use_default_link): Grok --with-default-link to set it.
8596 * configure: Regenerated.
8597 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8598 (shlib-lds, shlib-lds-flags): Define to empty.
8600 * Makerules (shlib-lds): New variable.
8601 (shlib-lds-flags): New variable.
8602 (build-shlib, build-moduile, build-module-asneeded): Use it.
8603 ($(common-objpfx)libc.so): Use $(shlib-lds).
8604 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8605 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8607 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8608 DT_FLAGS/DT_FLAGS_1 with zero flags.
8610 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8611 linker script munging.
8613 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8615 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8617 * crypt/sha512.c (sha512_process_block): Perform total addition using
8618 128-bit if possible.
8619 (__sha512_finish_ctx): Likewise.
8620 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8622 * crypt/sha256.c (SWAP64): Define.
8623 (sha256_process_block): Perform total addition using 64-bit if
8625 (__sha256_finish_ctx): Likewise.
8627 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8629 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8631 * nscd/hstcache.c (cache_addhst): Likewise.
8632 * nscd/grpcache.c (cache_addgr): Likewise.
8633 * nscd/aicache.c (addhstaiX): Likewise
8634 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8636 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8638 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8640 * nscd/hstcache.c (cache_addhst): Likewise.
8641 * nscd/grpcache.c (cache_addgr): Likewise.
8642 * nscd/aicache.c (addhstaiX): Likewise
8644 2011-07-01 Andreas Schwab <schwab@redhat.com>
8646 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8647 domain only when needed.
8649 2011-06-30 Andreas Schwab <schwab@redhat.com>
8651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8654 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8656 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8657 are re-adding the entry.
8658 * nscd/servicescache.c (cache_addserv): Likewise.
8660 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8662 * sysdeps/generic/dl-irel.h: fix protection against multiple
8664 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8666 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8669 * malloc/memusage.sh: Fix quoting in message.
8670 * debug/xtrace.sh: Likewise.
8672 * configure.in: Remove support for --experimental-malloc option, make
8674 * config.make.in: Likewise.
8675 * malloc/Makefile: Likewise.
8677 2011-06-27 Andreas Schwab <schwab@redhat.com>
8679 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8680 two-byte characters.
8682 2011-06-27 Roland McGrath <roland@hack.frob.com>
8684 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8685 AC_CACHE_CHECK invocation.
8686 * configure: Regenerated.
8688 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8690 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8693 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8694 bit from old_res_options.
8696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8698 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8699 value type for setfct.
8701 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8703 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8704 __gettimeofday instead of gettimeofday.
8706 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8708 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8710 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8712 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8717 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8720 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8721 strcpy-sse2-unaligned strncpy-sse2-unaligned
8722 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8723 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8724 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8725 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8726 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8727 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8729 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8730 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8731 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8732 (STRCPY): Support SSE2 and SSSE3 versions.
8734 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8737 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8738 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8739 kernels which artificially limit size of requests.
8741 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8744 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8745 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8746 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8747 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8748 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8749 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8750 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8751 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8752 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8753 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8754 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8755 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8756 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8757 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8759 Enable unaligned load optimization for Intel Core i3, i5 and i7
8761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8763 (index_Fast_Unaligned_Load): Define.
8764 (HAS_FAST_UNALIGNED_LOAD): Define.
8766 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8768 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8770 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8774 until it is clear that the information is realy needed.
8775 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8777 2011-06-22 Andreas Schwab <schwab@redhat.com>
8779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8781 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8783 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8784 /sys/devices/system/cpu/online if it is usable.
8786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8787 reading the information from the /proc filesystem to once a second.
8789 2011-06-21 Andreas Jaeger <aj@suse.de>
8791 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8792 NULL after inclusion of kernel headers.
8794 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8796 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8797 calls to internal_setent.
8800 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8801 addresses using gethostbyname4_r ignore IPv4 addresses.
8803 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8804 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8806 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8808 2011-06-20 David S. Miller <davem@davemloft.net>
8810 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8812 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8814 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8816 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8817 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8818 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8819 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8820 * sysdeps/x86_64/dl-irel.h: Likewise.
8822 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8823 * elf/dl-sym.c: Likewise.
8825 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8827 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8828 need to dereference resplen2.
8830 2011-06-14 Andreas Schwab <schwab@redhat.com>
8832 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8834 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8836 * Makeconfig: Define vardbdir and inst_vardbdir.
8837 * nss/Makefile: Add rules to install db-Makefile.
8839 * nss/nss_db/db-XXX.c: Cleanup.
8841 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8842 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8844 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8845 * nss/makedb.c: Implement -g option to specify that value strings
8846 are generated and should not be added to table iterated over for
8848 * nss/nss_db/db-initgroups.c: New file.
8850 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8853 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8854 (internal_getgrouplist): Adjust to name change.
8855 Update use_initgroups_entry if this is not the first call.
8856 * nss/databases.def: Add initgroups entry.
8858 * nss/makedb.c (compute_tables): Check result of multiple hash table
8859 sizes to minimize maximum chain length.
8861 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8863 * Versions.def: Add entry for libnss_db.
8864 * shlib-versions: Likewise.
8865 * nss/Makefile: Add rules to build libnss_db.
8866 * nss/Versions: Add libnss_db information. Organize libnss_files
8868 * nss/db-Makefile: Add gshadow support. Change rules for the new
8869 makedb progra. Some minor improvements to generate smaller files.
8870 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8872 * nss/makedb.c: ...here.
8873 Improve database format to be smaller and require less memory at
8875 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8877 * nss/nss_db/db-netgrp.c: Likewise.
8878 * nss/nss_db/db-open.c: Likewise.
8879 * nss/nss_files/flies-XXX.x: Adjust comments.
8880 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8881 * nss/nss_files/files-grp.c: Likewise.
8882 * nss/nss_files/files-hosts.c: Likewise.
8883 * nss/nss_files/files-network.c: Likewise.
8884 * nss/nss_files/files-proto.c: Likewise.
8885 * nss/nss_files/files-pwd.c: Likewise.
8886 * nss/nss_files/files-rpc.c: Likewise.
8887 * nss/nss_files/files-service.c: Likewise.
8888 * nss/nss_files/files-sgrp.c: Likewise.
8889 * nss/nss_files/files-spwd.c: Likewise.
8890 * nss/nss_db/db-alias.c: Removed.
8891 * nss/nss_db/dummy-db.h: Removed.
8893 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8895 * nss/makedb.c: Rewritten to not use database library.
8896 * nss/Makefile: Update to build new makedb program.
8898 2011-06-14 Andreas Jaeger <aj@suse.de>
8900 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8903 2011-06-10 Andreas Schwab <schwab@redhat.com>
8905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8908 2011-06-10 Roland McGrath <roland@hack.frob.com>
8910 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8911 * elf/Makefile ($(objpfx)ld.so): Likewise.
8913 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8914 Don't list ld.so twice in dependencies.
8916 * posix/bug-regex31.c: Include <stdlib.h>.
8918 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8920 * nis/nss_compat/compat-spwd.c
8921 (getspent_next_nss_netgr): Remove unused variable.
8922 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8924 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8925 nonmembers" output to use the right array.
8927 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8929 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8931 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8932 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8933 * catgets/gencat.c (read_input_file): Likewise.
8934 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8936 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8937 variable definition inside #if's controlling its use.
8939 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8941 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8943 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8945 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8948 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8950 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8951 * configure: Regenerated.
8953 * Makerules: Revert last change.
8954 * elf/Makefile: Likewise.
8956 2011-06-09 Roland McGrath <roland@hack.frob.com>
8958 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8959 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8960 (reloc-link): Likewise.
8962 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8964 * elf/Makefile: Add rules to build pldd.
8965 * elf/pldd.c: New file.
8966 * elf/pldd-xx.c: New file.
8968 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8970 * version.h: Update for 2.15 development version.
8972 2011-06-07 David S. Miller <davem@davemloft.net>
8974 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8977 elf_machine_lazy_rel): Likewise.
8978 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8980 elf_machine_lazy_rel): Likewise.
8981 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8982 dl_hwcap via passed in argument.
8983 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8986 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8988 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8990 2011-06-06 Roland McGrath <roland@hack.frob.com>
8993 * manual/fdl-1.1.texi: New file, verbatim from:
8994 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8995 * manual/lgpl-2.1.texi: New file, verbatim from:
8996 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8997 * manual/Makefile (licenses): New variable, list those new file names.
8999 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9001 * manual/fdl.texi: File removed.
9002 * manual/lesser.texi: File removed.
9003 * manual/libc.texinfo (Copying, Documentation License):
9004 Use new @include file names, put @appendix directive before @include.
9006 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9009 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9010 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9011 (mq_open): Add __NTH.
9013 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9016 Assume Intel Core i3/i5/i7 processor if AVX is available.
9018 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9023 2011-05-31 Andreas Schwab <schwab@redhat.com>
9025 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9026 memory. Use alloca_account. Fix memory leak when retrying.
9028 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9030 * version.h (RELEASE): Bump for 2.14 release.
9031 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9033 * config.make.in (RANLIB): Remove entry.
9035 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9037 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9038 (libc.pot): Work around missing support for .ksh extension in xgettext.
9041 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9042 if both request failed.
9043 (send_dg): In case of server errors clear resplen or *resplen2.
9046 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9047 when there are multiple maps.
9048 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9049 (_dl_fini): Remove test here.
9051 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9053 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9056 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9057 bit from old_res_options.
9058 (gaih_inet): Likewise.
9061 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9064 * resolv/res_init.c (res_setoptions): Make the code more compact.
9067 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9071 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9073 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9076 * malloc/malloc.h: Declare malloc hook variables as volatile.
9078 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9082 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9083 raise in the comment.
9084 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9086 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9088 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9091 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9092 grow the buffers more if it already has to be sufficient.
9093 (build_wcs_upper_buffer): Likewise.
9094 * posix/regexec.c (check_matching): Likewise.
9095 (clean_state_log_if_needed): Likewise.
9096 (extend_buffers): Don't enlarge buffers beyond size of the input
9098 Patches mostly by Emil Wojak <emil@wojak.eu>.
9099 * posix/bug-regex32.c: New file.
9100 * posix/Makefile (tests): Add bug-regex32.
9102 * locale/findlocale.c (_nl_find_locale): Return right away if
9103 _nl_explode_name failed.
9104 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9106 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9108 * debug/xtrace.sh: Unify messages.
9109 * malloc/memusage.sh: Likewise.
9112 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9113 time symbol from vDSO. Substitute with vsyscall if not available.
9114 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9117 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9118 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9119 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9120 Add sendmmsg and internal_sendmmsg.
9121 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9122 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9123 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9125 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9126 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9129 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9132 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9133 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9135 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9139 * iconvdata/Makefile (tests): Add bug-iconv9.
9140 * iconvdata/bug-iconv9.c: New file.
9142 2011-05-27 Andreas Schwab <schwab@redhat.com>
9145 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9147 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9150 (struct user_regs_struct): Change intcs field back to cs.
9152 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9154 * po/ja.po: Update from translation team.
9156 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9159 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9160 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9162 2011-05-20 Andreas Schwab <schwab@redhat.com>
9164 * stdlib/longlong.h: Update from GCC.
9166 2011-05-23 Andreas Schwab <schwab@redhat.com>
9168 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9170 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9172 (__sysconf): Pass it down.
9174 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9177 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9179 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9180 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9181 add in in __libc_use_alloca calls. Adjust callers.
9182 (glob): Use malloc in some situations.
9184 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9185 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9188 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9190 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9191 and CLOCK_BOOTTIME_ALARM.
9194 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9197 * string/_strerror.c (__strerror_r): Print negative errors as signed
9201 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9202 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9203 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9205 * configure.in: Fix typo in redirection and correct removal of test
9209 * locale/setlocale.c (new_composite_name): Fix test to check for
9210 identical name of all categories.
9213 * libio/filedoalloc.c (local_isatty): New function.
9214 (_IO_file_doallocate): Use local_isatty.
9215 * stdio-common/perror.c (perror): In case a new stream is used
9216 forward the stream error.
9217 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9220 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9225 * include/alloca.h (extend_alloca_account): Define.
9228 * posix/regex.h: Fix comments with documentation of user-accessible
9229 fields after compilation and describe correct free'ing of pattern
9230 after re_compile_pattern.
9231 Patch by Reuben Thomas <rrt@sc3d.org>.
9233 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9235 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9236 and -mno-altivec to prevent the compiler from using Altivec and/or
9237 VSX instructions when the corresponding registers are not available.
9239 2011-05-19 Andreas Schwab <schwab@redhat.com>
9241 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9243 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9245 * libio/freopen.c (freopen): Use __dup2, not dup2.
9246 * libio/freopen64.c (freopen64): Likewise.
9248 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9251 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9252 * math/Makefile (tests): Add test-powl.
9253 (CFLAGS-test-powl.c): Define.
9254 * math/test-powl.c: New file.
9256 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9258 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9260 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9263 * iconvdata/gb18030.c: Update to GB18020-2005.
9265 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9267 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9268 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9269 Patch by Aharon Robbins <arnold@skeeve.com>.
9272 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9276 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9280 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9281 point to strings before performing equality test for error_one_per_line
9285 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9289 (struct user_fpregs_struct): Avoid __uint*_t types.
9292 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9293 symbol info. Use it instead of calling _dl_addr locally.
9294 (lock_and_info): New function.
9295 (tr_freehook): Call lock_and_info and pass symbol info as additional
9296 parameter to tr_where.
9297 (tr_mallochook): Likewise.
9298 (tr_reallochook): Likewise.
9299 (tr_memalignhook): Likewise.
9301 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9302 used and couldn't be at all thread-safe.
9304 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9306 * libio/freopen.c (freopen): Don't close old file descriptor
9307 before the new one is opened. Instead dup the new file descriptor
9308 to the old one after the new stream is created.
9309 * libio/freopen64.c (freopen64): Likewise.
9310 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9311 * libio/fileops.c (_IO_new_file_close_it): Handle new
9312 _IO_FLAGS2_NOCLOSE flag.
9313 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9314 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9315 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9316 _IO_FLAGS2_NOCLOSE flag.
9317 * include/unistd.h: Add hidden_proto for dup3.
9319 * io/dup3.c: Define hidden symbol.
9320 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9323 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9324 when an incomplete long option is used.
9325 * posix/tst-getopt_long1.c: New file.
9326 * posix/Makefile (tests): Add tst-getopt_long1.
9329 * scripts/config.guess: Update from autoconf-2.68.
9330 * scripts/config.sub: Likewise.
9333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9335 (has_cpuclock): ...this. New function.
9336 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9337 macro here based on has_cpuclock code.
9340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9341 First byte (not low byte) is now always NUL.
9342 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9345 Use non-cancelable interfaces.
9348 * locale/iso-639.def: Add entry for Sorani.
9351 * include/stdlib.h: Move include protection to the right place.
9352 Define abort_msg_s. Declare __abort_msg with it.
9353 * stdlib/abort.c (__abort_msg): Adjust type.
9354 * assert/assert.c (__assert_fail_base): New function. Majority
9355 of code from __assert_fail. Allocate memory for __abort_msg with
9357 (__assert_fail): Now call __assert_fail_base.
9358 * assert/assert-perr.c: Remove bulk of implementation. Use
9360 * include/assert.hL Declare __assert_fail_base.
9361 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9363 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9365 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9369 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9370 until all modules are registered in the DTV.
9371 * elf/Makefile: Add rules to build and run tst-tls19.
9372 * elf/tst-tls19.c: New file.
9373 * elf/tst-tls19mod1.c: New file.
9374 * elf/tst-tls19mod2.c: New file.
9375 * elf/tst-tls19mod3.c: New file.
9376 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9379 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9383 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9384 two-byte sequence errors.
9385 * iconvdata/Makefile (tests): Add bug-iconv8.
9386 * iconvdata/bug-iconv8.c: New file.
9389 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9392 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9395 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9396 (dummy_getcfa): New function.
9397 (init): Get _Unwind_GetCFA address, use dummy if not found.
9398 (backtrace_helper): In recursion check, also check whether CFA changes.
9399 (__backtrace): Completely initialize arg.
9401 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9402 storing incomplete byte sequence in state object. Avoid testing for
9403 guaranteed too small input if we know there is enough data available.
9405 2011-05-11 Andreas Schwab <schwab@redhat.com>
9407 * Makeconfig (+link-pie): Indent.
9408 * Rules (binaries-pie): Define if $(have-fpie) and
9410 (binaries-shared): Also filter out $(binaries-pie).
9411 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9412 * nscd/Makefile (others-pie): Add nscd.
9413 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9414 ($(objpfx)nscd): Remove command override.
9415 * login/Makefile (others-pie): Add pt_chown.
9416 ($(objpfx)pt_chown): Remove command override.
9417 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9418 remove command overrides.
9420 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9422 * libio/tst_putwc.c: Fix error messages.
9425 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9426 currently writing and seek to current position when not.
9427 * libio/Makefile (tests): Add bug-fclose1.
9428 * libio/bug-fclose1.c: New file.
9430 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9433 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9434 don't set DF_1_NODELETE here.
9435 (do_lookup_x): When entering new entry test for copy relocation
9436 and if necessary set DF_1_NODELETE flag.
9437 * elf/tst-unique4.cc: New file.
9438 * elf/tst-unique4.h: New file.
9439 * elf/tst-unique4lib.cc: New file.
9440 * elf/Makefile: Add rules to build and run tst-unique4.
9441 Patch by Piotr Bury <pbury@goahead.com>.
9443 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9446 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9449 * misc/mntent_r.c (addmntent): Flush the stream after the output
9452 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9453 (is_trusted_path_normalize): Skip initial colon. Append slash
9454 to empty buffer. Duplicate is_trusted_path code but allow
9455 constructed patch to be prefix.
9456 (is_dst): Allow $ORIGIN followed by /.
9457 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9458 Correct testing of result of is_trusted_path_normalize
9459 (decompose_rpath): Fix warning.
9461 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9464 * grp/initgroups.c (internal_getgrouplist): When we found the service
9465 list through the initgroups entry in nsswitch.conf do not always
9466 continue on a successful lookup. Don't always use the
9467 __nss_group_database value if it is set.
9468 * nss/nsswitch.conf (initgroups): Change action for successful db
9469 lookup to continue for compatibility.
9471 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9474 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9476 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9478 * iconvdata/tst-tables.sh: Likewise.
9479 * iconvdata/cp770.c: New file.
9480 * iconvdata/cp771.c: New file.
9481 * iconvdata/cp772.c: New file.
9482 * iconvdata/cp773.c: New file.
9483 * iconvdata/cp774.c: New file.
9484 * iconvdata/testdata/CP770: New file.
9485 * iconvdata/testdata/CP770..UTF8: New file.
9486 * iconvdata/testdata/CP771: New file.
9487 * iconvdata/testdata/CP771..UTF8: New file.
9488 * iconvdata/testdata/CP772: New file.
9489 * iconvdata/testdata/CP772..UTF8: New file.
9490 * iconvdata/testdata/CP773: New file.
9491 * iconvdata/testdata/CP773..UTF8: New file.
9492 * iconvdata/testdata/CP774: New file.
9493 * iconvdata/testdata/CP774..UTF8: New file.
9495 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9497 * iconvdata/gen-8bit-gap.sh: Likewise.
9498 * iconvdata/gen-8bit.sh: Likewise.
9500 * locale/iso-639.def: Add ary entry.
9503 * locale/C-translit.h.in: Add U20A1 transliteration.
9506 * locale/iso-639.def: Add wae entry.
9507 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9510 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9514 * locale/C-translit.h.in: Add entry for U20B9.
9515 Patch by pravin.d.s@gmail.com.
9517 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9520 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9521 ENAMETOOLONG use generic getcwd.
9522 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9523 in rtld. Use *stat64.
9524 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9525 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9526 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9527 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9528 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9529 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9530 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9532 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9533 * dirent/rewinddir.c: Add libc_hidden_def.
9534 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9535 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9537 * include/dirent.h (__alloc_dir): Add flags parameter.
9538 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9539 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9541 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9542 from fdopendir if O_CLOEXEC is already set.
9544 2011-03-15 Alan Modra <amodra@gmail.com>
9546 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9547 l_tls_firstbyte_offset non-zero. Save padding offset in
9548 l_tls_firstbyte_offset for later use.
9549 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9550 freeing static tls block.
9552 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9554 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9555 where #ifdef was intended. The intent is to prevent ARG_MAX from
9556 being defined by the kernel headers.
9558 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9561 * resolv/resolv.h: Define RES_NOTLDQUERY.
9562 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9563 no-tld-query and set RES_NOTLDQUERY.
9564 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9565 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9566 modern BIND to search name as TLD unless forbidden.
9568 2011-05-07 Petr Baudis <pasky@suse.cz>
9569 Ulrich Drepper <drepper@gmail.com>
9572 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9573 (is_trusted_path): ...to here.
9574 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9575 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9576 using is_trusted_path_normalize() in setuid scripts.
9578 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9581 __BEGIN/__END_DECLS.
9583 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9585 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9586 NSS_STATUS_NOTFOUND if no record was found.
9588 2011-05-05 Andreas Schwab <schwab@redhat.com>
9590 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9591 (headers-not-in-tirpc): Remove rpc/netdb.h
9592 * resolv/netdb.h: Revert last change.
9594 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9596 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9597 circular dependency between libgcc.a and libc.a.
9599 2011-05-05 Andreas Schwab <schwab@redhat.com>
9601 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9602 * nis/Makefile: Don't install rpcsvc/*.
9603 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9604 instead of <rpc/types.h>.
9605 (MAXHOSTNAMELEN): Define.
9607 2011-05-03 Andreas Schwab <schwab@redhat.com>
9609 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9611 2011-04-28 Maciej Babinski <mbabinski@google.com>
9614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9615 gethostbyname4_r when IPv6 results are possible.
9617 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9620 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9621 _PC_PIPE_BUF handling.
9623 2011-04-30 Bruno Haible <bruno@clisp.org>
9626 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9627 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9629 * inet/getnameinfo.c (getnameinfo): Likewise.
9631 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9633 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9634 to groups setting in database lookup.
9635 * nss/nsswitch.conf: Add initgroups entry.
9637 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9640 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9642 Patch by Eric Blake <eblake@redhat.com>.
9644 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9646 * sunrpc/Makefile (need-export-routines): Add svc_run.
9647 (routines): Remove svc_run.
9648 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9649 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9650 * sunrpc/svc_run.c (svc_run): Likewise.
9651 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9653 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9656 problem in reallocation in last patch.
9658 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9660 * sunrpc/Makefile: Move inclusion of Rules.
9662 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9664 * nss/nss_files/files-initgroups.c: New file.
9665 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9666 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9667 _nss_files_initgroups_dyn.
9669 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9671 * elf/elf.h (R_ARM_IRELATIVE): Define.
9673 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9675 * po/ru.po: Update from translation team.
9677 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9679 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9682 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9685 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9686 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9688 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9689 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9691 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9693 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9695 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9697 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9699 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9702 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9704 * stdlib/bug-getcontext.c: New file.
9705 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9707 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9709 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9710 instructions into .machine "z9-109".
9711 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9712 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9714 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9716 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9717 between environment variables and auxiliary vector.
9719 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9721 * Makefile: Add rules to build linkobj/libc.so.
9722 * include/libc-symbols.h: Define libc_hidden_nolink.
9723 * include/rpc/auth.h: Mark functions which are to be hidden.
9724 * include/rpc/auth_des.h: Likewise.
9725 * include/rpc/auth_unix.h: Likewise.
9726 * include/rpc/clnt.h: Likewise.
9727 * include/rpc/des_crypt.h: Likewise.
9728 * include/rpc/key_prot.h: Likewise.
9729 * include/rpc/pmap_clnt.h: Likewise.
9730 * include/rpc/pmap_prot.h: Likewise.
9731 * include/rpc/pmap_rmt.h: Likewise.
9732 * include/rpc/rpc_msg.h: Likewise.
9733 * include/rpc/svc.h: Likewise.
9734 * include/rpc/svc_auth.h: Likewise.
9735 * include/rpc/xdr.h: Likewise.
9736 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9737 * nss/Makefile: Likewise.
9738 * sunrpc/Makefile: Don't install headers. Build library with normal
9739 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9740 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9741 for the compat linking library. Remove use of INTDEF/INTUSE.
9742 * sunrpc/auth_none.c: Likewise.
9743 * sunrpc/auth_unix.c: Likewise.
9744 * sunrpc/authdes_prot.c: Likewise.
9745 * sunrpc/authuxprot.c: Likewise.
9746 * sunrpc/clnt_gen.c: Likewise.
9747 * sunrpc/clnt_perr.c: Likewise.
9748 * sunrpc/clnt_raw.c: Likewise.
9749 * sunrpc/clnt_simp.c: Likewise.
9750 * sunrpc/clnt_tcp.c: Likewise.
9751 * sunrpc/clnt_udp.c: Likewise.
9752 * sunrpc/clnt_unix.c: Likewise.
9753 * sunrpc/des_crypt.c: Likewise.
9754 * sunrpc/des_soft.c: Likewise.
9755 * sunrpc/get_myaddr.c: Likewise.
9756 * sunrpc/key_call.c: Likewise.
9757 * sunrpc/key_prot.c: Likewise.
9758 * sunrpc/netname.c: Likewise.
9759 * sunrpc/pm_getmaps.c: Likewise.
9760 * sunrpc/pm_getport.c: Likewise.
9761 * sunrpc/pmap_clnt.c: Likewise.
9762 * sunrpc/pmap_prot.c: Likewise.
9763 * sunrpc/pmap_prot2.c: Likewise.
9764 * sunrpc/pmap_rmt.c: Likewise.
9765 * sunrpc/publickey.c: Likewise.
9766 * sunrpc/rpc_cmsg.c: Likewise.
9767 * sunrpc/rpc_common.c: Likewise.
9768 * sunrpc/rpc_dtable.c: Likewise.
9769 * sunrpc/rpc_prot.c: Likewise.
9770 * sunrpc/rpc_thread.c: Likewise.
9771 * sunrpc/rtime.c: Likewise.
9772 * sunrpc/svc.c: Likewise.
9773 * sunrpc/svc_auth.c: Likewise.
9774 * sunrpc/svc_authux.c: Likewise.
9775 * sunrpc/svc_raw.c: Likewise.
9776 * sunrpc/svc_run.c: Likewise.
9777 * sunrpc/svc_simple.c: Likewise.
9778 * sunrpc/svc_tcp.c: Likewise.
9779 * sunrpc/svc_udp.c: Likewise.
9780 * sunrpc/svc_unix.c: Likewise.
9781 * sunrpc/svcauth_des.c: Likewise.
9782 * sunrpc/xcrypt.c: Likewise.
9783 * sunrpc/xdr.c: Likewise.
9784 * sunrpc/xdr_array.c: Likewise.
9785 * sunrpc/xdr_float.c: Likewise.
9786 * sunrpc/xdr_intXX_t.c: Likewise.
9787 * sunrpc/xdr_mem.c: Likewise.
9788 * sunrpc/xdr_rec.c: Likewise.
9789 * sunrpc/xdr_ref.c: Likewise.
9790 * sunrpc/xdr_sizeof.c: Likewise.
9791 * sunrpc/xdr_stdio.c: Likewise.
9793 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9796 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9797 * sysdeps/ia64/dl-tls.h: Likewise.
9798 * sysdeps/powerpc/dl-tls.h: Likewise.
9799 * sysdeps/s390/dl-tls.h: Likewise.
9800 * sysdeps/sh/dl-tls.h: Likewise.
9801 * sysdeps/sparc/dl-tls.h: Likewise.
9802 * sysdeps/x86_64/dl-tls.h: Likewise.
9803 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9805 2011-03-14 Andreas Schwab <schwab@redhat.com>
9807 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9808 rpath element also skip the following colon.
9809 (expand_dynamic_string_token): Add is_path parameter and pass
9810 down to DL_DST_REQUIRED and _dl_dst_substitute.
9811 (decompose_rpath): Call expand_dynamic_string_token with
9812 non-zero is_path. Ignore empty rpaths.
9813 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9816 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9821 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9824 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9825 Patch by Filipe David Manana <fdmanana@apache.org>.
9827 2011-04-07 Andreas Schwab <schwab@redhat.com>
9829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9830 Maintain aligned stack.
9831 (CHECK_RSP): Remove unused macro.
9833 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9835 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9836 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9838 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9840 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9842 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9844 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9847 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9848 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9849 * sysdeps/x86_64/memmove.c: New file.
9850 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9851 (memcpy): Renamed to ...
9852 (__new_memcpy): This.
9853 (memcpy): Provide GLIBC_2_14 memcpy.
9854 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9855 (memcpy): Provide GLIBC_2_2_5 memcpy.
9857 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9860 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9862 2011-03-30 Andreas Schwab <schwab@redhat.com>
9864 * misc/syncfs.c: New file.
9865 * misc/Makefile (routines): Add syncfs.
9866 * posix/unistd.h: Declare syncfs.
9867 * sysdeps/unix/syscalls.list: Add syncfs.
9869 2011-04-01 Andreas Schwab <schwab@redhat.com>
9871 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9878 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9881 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9884 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9891 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9892 sync_file_range.c with -fexceptions.
9893 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9894 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9895 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9896 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9897 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9898 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9900 sync_file_range as cancellation point
9901 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9902 now a wrapper around __call_sync_file_range with cancellation handling.
9903 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9904 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9905 function name to __call_sync_file_range.
9906 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9907 Add call_sync_file_range.
9909 2011-04-01 Andreas Schwab <schwab@redhat.com>
9911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9914 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9916 * iconv/iconv.h: Fix typo in comment.
9917 * io/fcntl.h: Likewise.
9918 * libio/stdio.h: Likewise.
9919 * posix/spawn.h: Likewise.
9920 * posix/unistd.h: Likewise.
9921 * stdlib/stdlib.h: Likewise.
9922 * time/time.h: Likewise.
9923 * wcsmbs/wchar.h: Likewise.
9925 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9926 open_by_handle): Add.
9927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9928 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9929 Augment a few comments.
9930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9935 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9938 * io/fcntl.h (AT_EMPTY_PATH): Define.
9940 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9942 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9943 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9944 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9946 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9947 * Versions.def: Add GLIBC_2.14.
9948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9951 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9955 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9957 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9960 * string/test-strncmp.c (do_page_test): New function.
9962 (test_main): Call check2.
9963 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9965 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9968 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9969 Handle cache information in CPU leaf 4.
9970 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9972 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9975 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9976 character representation.
9977 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9979 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9981 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9982 END(__isnan) to END(__isnanf) to match function entry point/label
9983 EALIGN(__isnanf,...).
9985 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9987 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9989 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9992 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9993 copy from the symbol referenced in the relocation to initialize the
9995 Patch by Piotr Bury <pbury@goahead.com>.
9996 * elf/Makefile: Add rules to build and tst-unique3.
9997 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9998 * elf/tst-unique3.cc: New file.
9999 * elf/tst-unique3.h: New file.
10000 * elf/tst-unique3lib.cc: New file.
10001 * elf/tst-unique3lib2.cc: New file.
10003 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10005 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10007 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10008 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10011 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10013 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10014 to-be-loaded object along a path to loader is ld.so.
10016 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10017 Ulrich Drepper <drepper@gmail.com>
10019 * sysdeps/x86_64/memset.S: After aligning destination, code
10020 branches to different locations depending on the value of
10021 misalignment, when multiarch is enabled. Fix this.
10023 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10025 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10026 Set _x86_64_preferred_memory_instruction for AMD processsors.
10027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10028 Set bit_Prefer_SSE_for_memop for AMD processors.
10030 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10032 * libio/fmemopen.c (fmemopen): Optimize a bit.
10034 2011-03-03 Andreas Schwab <schwab@redhat.com>
10036 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10038 2011-03-03 Roland McGrath <roland@redhat.com>
10040 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10042 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10044 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10045 __bzero_ultra1 instead of __memset_ultra1.
10047 2011-02-23 Andreas Schwab <schwab@redhat.com>
10048 Ulrich Drepper <drepper@gmail.com>
10051 * include/link.h (struct link_map): Add l_orig_initfini.
10052 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10053 returning unsuccessfully.
10054 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10055 close of a file loaded at startup, restore the original l_initfini
10057 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10058 list, store the pointer.
10059 * elf/Makefile ($(objpfx)noload-mem): New rule.
10060 (noload-ENV): Define.
10061 (tests): Add $(objpfx)noload-mem.
10062 * elf/noload.c: Include <memcheck.h>.
10063 (main): Call mtrace. Close all opened handles.
10065 2011-02-17 Andreas Schwab <schwab@redhat.com>
10068 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10069 dependencies are missing.
10071 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10073 Fix __if_freereq crash: Unlike the generic version which uses free,
10075 * sysdeps/mach/hurd/ifreq.h: New file.
10077 2011-01-27 Petr Baudis <pasky@suse.cz>
10078 Ulrich Drepper <drepper@gmail.com>
10081 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10082 to extend_alloca().
10083 * stdio-common/bug23.c: New file.
10084 * stdio-common/Makefile (tests): Add bug23.
10086 2010-09-28 Andreas Schwab <schwab@redhat.com>
10087 Ulrich Drepper <drepper@gmail.com>
10090 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10091 before performing relro protection. At old place add assertion
10092 to make sure nothing changed.
10094 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10095 Glauber de Oliveira Costa <glommer@gmail.com>
10097 * elf/elf.h: Add new ARM TLS relocs.
10099 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10102 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10104 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10106 * sysdeps/wordsize-64/tst-writev.c: New file.
10108 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10110 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10111 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10112 insns in _dl_start to prevent a TOC reference before relocs are
10115 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10118 * Makeconfig: Remove RANLIB definition.
10119 * Makerules: Don't use RANLIB.
10120 * aclocal.m4: Remove ranlib test.
10121 * configure.in: No need to check for ranlib.
10122 * elf/rtld-Rules: Don't use RANLIB.
10124 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10126 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10128 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10129 inclusion protection macro.
10131 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10132 SIGRTMIN and SIGRTMAX and print information in that case only when
10133 SIGRTMIN is defined.
10135 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10137 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10138 arginfo fn returning -1.
10140 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10141 and thousands string is zero terminated.
10143 2011-02-03 Andreas Schwab <schwab@redhat.com>
10145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10146 sysdeps/unix/sysv/linux/bits/socket.h.
10148 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10150 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10151 (__CPU_COUNT): Remove old macros.
10152 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10153 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10154 (__CPU_ALLOC, __CPU_FREE): Add macros.
10155 (__sched_cpualloc, __sched_cpufree): Add declarations.
10157 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10159 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10160 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10161 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10162 (readdhstai): Return value of addhstaiX call.
10163 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10164 (addgrbyX): Return value returned by cache_addgr.
10165 (readdgrbyname): Return value returned by addgrbyX.
10166 (readdgrbygid): Likewise.
10167 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10168 (addpwbyX): Return value returned by cache_addpw.
10169 (readdpwbyname): Return value returned by addhstbyX.
10170 (readdpwbyuid): Likewise.
10171 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10172 (addservbyX): Return value returned by cache_addserv.
10173 (readdservbyname): Return value returned by addservbyX:
10174 (readdservbyport): Likewise.
10175 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10176 (addhstbyX): Return value returned by cache_addhst.
10177 (readdhstbyname): Return value returned by addhstbyX.
10178 (readdhstbyaddr): Likewise.
10179 (readdhstbynamev6): Likewise.
10180 (readdhstbyaddrv6): Likewise.
10181 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10182 (readdinitgroups): Return value returned by addinitgroupsX.
10183 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10184 (prune_cache): Keep track of timeout value of re-added entries.
10185 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10186 * nscd/nscd.h: Adjust prototypes of readd* functions.
10188 2011-02-04 Roland McGrath <roland@redhat.com>
10190 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10191 (nis_stats): Likewise.
10192 * nis/nis_modify.c (nis_modify): Likewise.
10193 * nis/nis_remove.c (nis_remove): Likewise.
10194 * nis/nis_add.c (nis_add): Likewise.
10196 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10198 * posix/fnmatch_loop.c: Add some consts.
10200 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10202 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10205 * config.make.in (config-cflags-novzeroupper): Define.
10206 * configure.in: Substitute libc_cv_cc_novzeroupper.
10207 * elf/Makefile (AVX-CFLAGS): Define.
10208 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10209 (CFLAGS-tst-auditmod4a.c): Likewise.
10210 (CFLAGS-tst-auditmod4b.c): Likewise.
10211 (CFLAGS-tst-auditmod6b.c): Likewise.
10212 (CFLAGS-tst-auditmod6c.c): Likewise.
10213 (CFLAGS-tst-auditmod7b.c): Likewise.
10214 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10216 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10218 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10219 function to the callback.
10220 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10222 2011-02-02 Andreas Schwab <schwab@redhat.com>
10224 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10227 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10230 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10232 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10234 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10237 * elf/Makefile: Add rules to build and run new test.
10238 * elf/tst-initorder.c: New file.
10239 * elf/tst-initorder.exp: New file.
10240 * elf/tst-initordera1.c: New file.
10241 * elf/tst-initordera2.c: New file.
10242 * elf/tst-initordera3.c: New file.
10243 * elf/tst-initordera4.c: New file.
10244 * elf/tst-initorderb1.c: New file.
10245 * elf/tst-initorderb2.c: New file.
10246 * elf/tst-order-a1.c: New file.
10247 * elf/tst-order-a2.c: New file.
10248 * elf/tst-order-a3.c: New file.
10249 * elf/tst-order-a4.c: New file.
10250 * elf/tst-order-b1.c: New file.
10251 * elf/tst-order-b2.c: New file.
10252 * elf/tst-order-main.c: New file.
10253 New test case by George Gensure <werkt0@gmail.com>.
10255 2010-10-01 Andreas Schwab <schwab@redhat.com>
10257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10258 decoding ACE if AI_CANONIDN.
10260 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10262 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10264 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10266 * version.h (RELEASE): Bump for 2.13 release.
10267 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10269 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10271 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10273 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10276 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10278 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10280 * posix/getconf.c: Update copyright year.
10281 * catgets/gencat.c: Likewise.
10282 * csu/version.c: Likewise.
10283 * debug/catchsegv.sh: Likewise.
10284 * debug/xtrace.sh: Likewise.
10285 * elf/ldconfig.c: Likewise.
10286 * elf/ldd.bash.in: Likewise.
10287 * elf/sprof.c (print_version): Likewise.
10288 * iconv/iconv_prog.c: Likewise.
10289 * iconv/iconvconfig.c: Likewise.
10290 * locale/programs/locale.c: Likewise.
10291 * locale/programs/localedef.c: Likewise.
10292 * malloc/memusage.sh: Likewise.
10293 * malloc/mtrace.pl: Likewise.
10294 * nscd/nscd.c (print_version): Likewise.
10295 * nss/getent.c: Likewise.
10297 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10298 PF_CAIF, and PF_ALG.
10299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10301 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10303 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10304 (modules-names): Use them.
10305 (ifunc-test-modules, ifunc-pie-tests): Define.
10306 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10307 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10308 (test-extras): Likewise.
10309 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10310 $(compile-command.c).
10311 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10312 (all-built-dso): Define.
10313 (check-textrel.out, check-execstack.out): Depend on it.
10315 * configure.in: Don't override --enable-multi-arch.
10317 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10320 * nscd/hstcache.c (tryagain): Define.
10321 (cache_addhst): Return tryagain not notfound for temporary errors.
10322 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10325 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10328 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10329 to make the syscall.
10330 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10333 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10334 and fall back to matching as normal character if the string ends before
10335 the matching ']' is found. This is what POSIX requires.
10336 * posix/testfnm.c: Adjust test result.
10337 * posix/globtest.sh: Adjust test result. Add new test.
10338 * posix/tst-fnmatch.input: Likewise.
10339 * posix/tst-fnmatch2.c: Add new test.
10341 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10343 * elf/Makefile (check-execstack): Revert last change. Depend on
10345 (check-execstack.h): New target.
10346 (generated): Add check-execstack.h.
10347 * elf/check-execstack.c: Include "check-execstack.h".
10348 (main): Revert last change.
10349 (handle_file): Return zero if GNU_STACK is absent and
10350 DEFAULT_STACK_PERMS doesn't include PF_X.
10352 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10354 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10355 in child fails because the descriptor is already closed.
10356 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10357 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10358 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10361 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10365 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10366 temporary buffer used to handle multi lookups locally.
10367 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10369 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10371 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10374 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10376 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10377 alignment for SSE2.
10379 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10382 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10383 characters. When rounding increased number of integer digits recompute
10385 * stdio-common/tst-grouping.c: New file.
10386 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10388 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10390 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10391 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10393 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10395 * bits/select.h: Likewise.
10397 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10399 * po/ja.po: Update from translation team.
10401 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10404 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10405 implementation just like for lxstat, fxstatat, et al.
10407 2010-12-27 Jim Meyering <meyering@redhat.com>
10410 * posix/regexec.c (build_trtable): Return failure indication upon
10411 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10413 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10416 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10417 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10418 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10419 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10422 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10425 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10426 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10428 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10430 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10431 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10432 script has SORT_BY_INIT_PRIORITY.
10433 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10434 NO_CTORS_DTORS_SECTIONS is defined.
10435 * elf/soinit.c: Likewise.
10436 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10437 NO_CTORS_DTORS_SECTIONS is defined.
10438 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10439 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10440 * sysdeps/sh/init-first.c: Likewise.
10441 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10443 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10445 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10446 always use the slow path.
10448 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10450 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10451 similar rule which adds the sysdep directories to the header search in
10452 order to pick up the correct platform stackinfo.h.
10453 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10454 perform test if it is, otherwise return successfully without testing.
10455 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10456 DEFAULT_STACK_PERMS define in stackinfo.h.
10457 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10458 defined in stackinfo.h.
10459 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10460 DEFAULT_STACK_PERMS defined in stackinfo.h.
10461 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10462 * sysdeps/ia64/stackinfo.h: Likewise.
10463 * sysdeps/s390/stackinfo.h: Likewise.
10464 * sysdeps/sh/stackinfo.h: Likewise.
10465 * sysdeps/sparc/stackinfo.h: Likewise.
10466 * sysdeps/x86_64/stackinfo.h: Likewise.
10467 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10468 PF_X for powerpc64. Retain PF_X for powerpc32.
10470 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10472 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10474 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10475 GETDENTS_64BIT_ALIGNED.
10477 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10479 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10481 2010-12-10 Andreas Schwab <schwab@redhat.com>
10483 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10486 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10487 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10489 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10490 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10492 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10495 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10498 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10500 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10502 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10504 * po/it.po: Update from translation team.
10506 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10511 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10513 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10515 2010-11-24 Andreas Schwab <schwab@redhat.com>
10517 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10519 (gaih_getanswer_slice): Likewise.
10521 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10525 2010-05-31 Petr Baudis <pasky@suse.cz>
10528 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10529 silently even in the chroot mode.
10531 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10533 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10534 last patch a bit. Pretty printing
10536 2010-05-31 Petr Baudis <pasky@suse.cz>
10539 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10540 initialization of skip_initgroups_dyn.
10542 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10544 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10545 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10547 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10549 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10551 2010-11-11 Andreas Schwab <schwab@redhat.com>
10553 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10554 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10555 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10556 ($(objpfx)tst-fnmatch-mem): New rule.
10557 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10558 * posix/tst-fnmatch.c (main): Call mtrace.
10560 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10563 Support Intel processor model 6 and model 0x2c.
10565 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10567 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10570 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10573 * string/test-strncasecmp.c (check_result): New function.
10574 (do_one_test): Use it.
10575 (check1): New function.
10576 (test_main): Use it.
10577 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10578 Support strcasecmp and strncasecmp.
10580 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10583 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10584 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10586 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10588 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10592 * sysdeps/x86_64/multiarch/bzero.S: New file.
10593 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10594 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10595 * sysdeps/x86_64/multiarch/memset.S: New file.
10596 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10598 Set bit_Prefer_SSE_for_memop for Intel processors.
10599 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10601 (index_Prefer_SSE_for_memop): Define.
10602 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10604 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10606 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10607 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10609 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10612 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10613 (__x86_64_raw_data_cache_size_half): Likewise.
10614 (__x86_64_raw_shared_cache_size): Likewise.
10615 (__x86_64_raw_shared_cache_size_half): Likewise.
10617 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10618 (__x86_64_raw_data_cache_size_half): Likewise.
10619 (__x86_64_raw_shared_cache_size): Likewise.
10620 (__x86_64_raw_shared_cache_size_half): Likewise.
10621 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10622 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10623 and __x86_64_raw_shared_cache_size_half. Round
10624 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10625 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10626 to multiple of 256 bytes.
10628 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10632 of inacessible symlinks. Verify result of symlink before returning it.
10633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10634 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10636 2010-10-28 Erich Ritz <erichritz@gmail.com>
10638 * math/math.h (isinf): Fix typo in comment.
10640 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10642 * po/da.po: Update from translation team.
10644 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10646 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10647 is added to the list.
10649 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10650 Ulrich Drepper <drepper@gmail.com>
10652 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10653 the global list here. Move code to...
10654 (_dl_add_to_namespace_list): ...here. New function.
10655 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10656 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10657 * elf/dl-load.c (lose): Don't remove the element from the list.
10658 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10659 (_dl_map_object): Likewise.
10661 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10664 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10665 into all bytes of SSE register.
10666 Patch by Richard Li <richardpku@gmail.com>.
10668 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10671 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10674 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10676 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10677 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10678 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10684 2010-10-22 Andreas Schwab <schwab@redhat.com>
10686 * include/dlfcn.h (__RTLD_SECURE): Define.
10687 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10688 mode & __RTLD_SECURE instead.
10689 (open_path): Rename preloaded parameter to secure.
10690 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10691 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10692 * elf/dl-deps.c (openaux): Likewise.
10693 * elf/rtld.c (struct map_args): Remove is_preloaded.
10694 (map_doit): Don't use it.
10695 (dl_main): Likewise.
10696 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10697 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10699 2010-09-09 Andreas Schwab <schwab@redhat.com>
10701 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10702 (sysd-rules-targets): Remove duplicates.
10703 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10704 rtld-%.$o dependency.
10706 2010-10-18 Andreas Schwab <schwab@redhat.com>
10708 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10709 _dl_map_object do it.
10711 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10713 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10714 fast fma builtins, define the macros in the C99 standard.
10715 (FP_FAST_FMAF): Likewise.
10716 (FP_FAST_FMAL): Likewise.
10717 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10719 * bits/mathdef.h: Update copyright year.
10720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10722 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10724 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10725 builtins, define the macros in the C99 standard.
10726 (FP_FAST_FMAF): Likewise.
10727 (FP_FAST_FMAL): Likewise.
10728 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10730 (FP_FAST_FMAF): Likewise.
10732 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10735 * math/libm-test.inc (fma_test): Some new testcases.
10736 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10737 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10738 y and infinite z. Do multiplication by C already in long double.
10739 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10741 y and infinite z. Do bitwise or of inexact bit into u.d.
10742 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10743 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10744 * sysdeps/i386/fpu/s_fma.S: Removed.
10745 * sysdeps/i386/fpu/s_fmal.S: Removed.
10747 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10750 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10752 computation is not scheduled after fetestexcept. Fix value
10753 of minimum denormal long double.
10755 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10758 * math/libm-test.inc (fma_test): Add some more tests.
10759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10762 2010-10-15 Andreas Schwab <schwab@redhat.com>
10764 * scripts/data/localplt-s390-linux-gnu.data: New file.
10765 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10767 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10770 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10771 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10773 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10775 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10777 if one of x and y is very large and the other is subnormal.
10778 * sysdeps/s390/fpu/s_fmaf.c: New file.
10779 * sysdeps/s390/fpu/s_fma.c: New file.
10780 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10781 * sysdeps/powerpc/fpu/s_fma.S: New file.
10782 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10783 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10784 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10786 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10789 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10791 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10792 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10793 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10794 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10795 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10796 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10799 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10802 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10803 * posix/bug-regex31.input: Add test case.
10805 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10807 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10808 * posix/bug-regex31.input: New file.
10811 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10812 (parse_sub_exp): Fix last change, use postorder.
10814 * posix/bug-regex31.c: New file.
10815 * posix/Makefile: Add rules to build and run bug-regex31.
10817 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10820 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10823 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10824 to have entries in sys_siglist.
10827 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10830 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10833 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10834 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10835 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10836 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10837 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10838 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10839 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10840 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10841 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10842 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10843 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10844 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10845 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10846 * math/ftestexcept.c (fetestexcept): Likewise.
10847 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10848 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10849 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10850 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10851 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10852 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10853 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10855 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10858 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10861 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10863 * string/bug-strstr1.c: New file.
10864 * string/Makefile: Add rules to build and run bug-strstr1.
10866 2010-10-05 Eric Blake <eblake@redhat.com>
10869 * string/str-two-way.h (two_way_long_needle): Always clear memory
10870 when skipping input due to the shift table.
10872 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10875 * malloc/mcheck.c: Handle large requests.
10878 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10879 for strncmp and strncasecmp.
10880 * string/stratcliff.c: Add tests for strcmp and strncmp.
10881 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10883 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10885 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10888 2010-09-30 Andreas Jaeger <aj@suse.de>
10890 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10891 (CGROUP_SUPER_MAGIC): Define.
10892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10893 Handle btrfs and cgroup file systems.
10894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10897 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10899 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10900 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10902 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10905 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10906 trying to locate the ELF header.
10908 2010-09-27 Andreas Schwab <schwab@redhat.com>
10911 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10912 Mask out sign-bit copies when constructing f_fsid.
10914 2010-09-24 Petr Baudis <pasky@suse.cz>
10916 * debug/stack_chk_fail_local.c: Add missing licence exception.
10917 * debug/warning-nop.c: Likewise.
10919 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10921 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10922 implementing getdents64 using getdents syscall, set d_type if
10923 __ASSUME_GETDENTS32_D_TYPE.
10925 2010-09-16 Andreas Schwab <schwab@redhat.com>
10927 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10928 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10930 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10933 * posix/unistd.h: Undo change of feature selection for ftruncate from
10936 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10938 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10941 2010-09-20 Andreas Schwab <schwab@redhat.com>
10943 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10945 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10947 2010-09-14 Andreas Schwab <schwab@redhat.com>
10949 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10950 variables after CHECK_SP call.
10951 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10953 2010-09-13 Andreas Schwab <schwab@redhat.com>
10954 Ulrich Drepper <drepper@redhat.com>
10956 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10957 re-relocationg ld.so.
10958 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10959 _dl_init_paths call.
10960 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10963 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10965 * resolv/res_init.c (__res_vinit): Count the default server we added.
10967 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10968 Ulrich Drepper <drepper@redhat.com>
10971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10972 (____longjmp_chk): Use %ebx for saving value across system call.
10975 2010-09-06 Andreas Schwab <schwab@redhat.com>
10977 * manual/Makefile: Don't mix pattern rules with normal rules.
10979 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10981 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10983 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10984 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10985 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10986 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10990 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10993 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10994 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10996 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10998 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10999 * sysdeps/x86_64/addmul_1.S: Likewise.
11000 * sysdeps/x86_64/lshift.S: Likewise.
11001 * sysdeps/x86_64/mul_1.S: Likewise.
11002 * sysdeps/x86_64/rshift.S: Likewise.
11003 * sysdeps/x86_64/sub_n.S: Likewise.
11004 * sysdeps/x86_64/submul_1.S: Likewise.
11006 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11008 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11009 Define __sched_param instead of SCHED_* and sched_param when
11010 <bits/sched.h> is included with __need_schedparam defined.
11011 * bits/sched.h [__need_schedparam]
11012 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11013 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11014 (__defined_schedparam): Define to 1.
11015 (__sched_param): New structure, identical to sched_param.
11016 (__need_schedparam): Undefine.
11018 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11020 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11021 (epoll_create1): Declare.
11023 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11025 2010-08-31 Andreas Schwab <schwab@redhat.com>
11028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11029 shifting retval into place.
11031 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11033 * nis/rpcsvc/nis.h: Update copyright notice.
11034 * nis/rpcsvc/nis.x: Likewise.
11035 * nis/rpcsvc/nis_callback.h: Likewise.
11036 * nis/rpcsvc/nis_callback.x: Likewise.
11037 * nis/rpcsvc/nis_object.x: Likewise.
11038 * nis/rpcsvc/nis_tags.h: Likewise.
11039 * nis/rpcsvc/yp.h: Likewise.
11040 * nis/rpcsvc/yp.x: Likewise.
11041 * nis/rpcsvc/ypupd.h: Likewise.
11042 * nis/yp_xdr.c: Likewise.
11043 * nis/ypupdate_xdr.c: Likewise.
11045 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11046 mainly the body of pmap_getport. Add parameters to specify timeouts.
11047 (pmap_getport): Use __libc_rpc_getport.
11048 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11049 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11050 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11052 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11057 2010-08-27 Roland McGrath <roland@redhat.com>
11059 * sysdeps/i386/i686/multiarch/Makefile
11060 (CFLAGS-varshift.c): New variable.
11062 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11064 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11065 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11069 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11071 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11073 * sysdeps/x86_64/strlen.S: Unroll the loop.
11074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11075 strlen-sse2 strlen-sse2-bsf.
11076 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11077 __strlen_no_bsf if bit_Slow_BSF is set.
11078 (__strlen_sse42): Removed.
11079 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11080 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11082 2010-08-25 Roland McGrath <roland@redhat.com>
11084 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11085 * sysdeps/x86_64/multiarch/varshift.c: New file.
11086 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11087 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11088 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11089 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11091 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11094 strlen-sse2 strlen-sse2-bsf.
11095 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11096 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11097 (__strlen_sse2): Removed.
11098 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11099 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11101 bit_Slow_BSF for Atom.
11102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11103 (index_Slow_BSF): Define.
11104 (HAS_SLOW_BSF): Define.
11106 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11109 * resolv/res_init.c (__res_vinit): When no server address at all
11110 is given default to loopback.
11112 2010-08-24 Roland McGrath <roland@redhat.com>
11114 * configure.in: Remove config-name.h generation.
11115 * configure: Regenerated.
11116 * config-name.in: File removed.
11117 * scripts/config-uname.sh: New file.
11118 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11119 ($(objdir)config-name.h): New target.
11121 * sunrpc/rpc_parse.h: Avoid nested comment.
11123 2010-08-24 Richard Henderson <rth@redhat.com>
11124 Ulrich Drepper <drepper@redhat.com>
11125 H.J. Lu <hongjiu.lu@intel.com>
11127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11129 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11130 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11131 _mm_alignr_epi8 with _mm_loadu_si128.
11132 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11133 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11134 (__m128i_shift_right): Removed.
11135 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11136 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11137 * sysdeps/x86_64/multiarch/varshift.h: New file.
11138 * sysdeps/x86_64/multiarch/varshift.S: New file.
11140 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11142 * configure.in: Move assembler checks to before sysdep dir checking.
11144 2010-08-20 Petr Baudis <pasky@suse.cz>
11146 * LICENSES: Sync the sunrpc license.
11148 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11150 * sunrpc/auth_des.c: Update copyright notice once again.
11151 * sunrpc/auth_none.c: Likewise.
11152 * sunrpc/auth_unix.c: Likewise.
11153 * sunrpc/authdes_prot.c: Likewise.
11154 * sunrpc/authuxprot.c: Likewise.
11155 * sunrpc/bindrsvprt.c: Likewise.
11156 * sunrpc/clnt_gen.c: Likewise.
11157 * sunrpc/clnt_perr.c: Likewise.
11158 * sunrpc/clnt_raw.c: Likewise.
11159 * sunrpc/clnt_simp.c: Likewise.
11160 * sunrpc/clnt_tcp.c: Likewise.
11161 * sunrpc/clnt_udp.c: Likewise.
11162 * sunrpc/clnt_unix.c: Likewise.
11163 * sunrpc/des_crypt.c: Likewise.
11164 * sunrpc/des_soft.c: Likewise.
11165 * sunrpc/get_myaddr.c: Likewise.
11166 * sunrpc/getrpcport.c: Likewise.
11167 * sunrpc/key_call.c: Likewise.
11168 * sunrpc/key_prot.c: Likewise.
11169 * sunrpc/openchild.c: Likewise.
11170 * sunrpc/pm_getmaps.c: Likewise.
11171 * sunrpc/pm_getport.c: Likewise.
11172 * sunrpc/pmap_clnt.c: Likewise.
11173 * sunrpc/pmap_prot.c: Likewise.
11174 * sunrpc/pmap_prot2.c: Likewise.
11175 * sunrpc/pmap_rmt.c: Likewise.
11176 * sunrpc/rpc/auth.h: Likewise.
11177 * sunrpc/rpc/auth_unix.h: Likewise.
11178 * sunrpc/rpc/clnt.h: Likewise.
11179 * sunrpc/rpc/des_crypt.h: Likewise.
11180 * sunrpc/rpc/key_prot.h: Likewise.
11181 * sunrpc/rpc/netdb.h: Likewise.
11182 * sunrpc/rpc/pmap_clnt.h: Likewise.
11183 * sunrpc/rpc/pmap_prot.h: Likewise.
11184 * sunrpc/rpc/pmap_rmt.h: Likewise.
11185 * sunrpc/rpc/rpc.h: Likewise.
11186 * sunrpc/rpc/rpc_des.h: Likewise.
11187 * sunrpc/rpc/rpc_msg.h: Likewise.
11188 * sunrpc/rpc/svc.h: Likewise.
11189 * sunrpc/rpc/svc_auth.h: Likewise.
11190 * sunrpc/rpc/types.h: Likewise.
11191 * sunrpc/rpc/xdr.h: Likewise.
11192 * sunrpc/rpc_clntout.c: Likewise.
11193 * sunrpc/rpc_cmsg.c: Likewise.
11194 * sunrpc/rpc_common.c: Likewise.
11195 * sunrpc/rpc_cout.c: Likewise.
11196 * sunrpc/rpc_dtable.c: Likewise.
11197 * sunrpc/rpc_hout.c: Likewise.
11198 * sunrpc/rpc_main.c: Likewise.
11199 * sunrpc/rpc_parse.c: Likewise.
11200 * sunrpc/rpc_parse.h: Likewise.
11201 * sunrpc/rpc_prot.c: Likewise.
11202 * sunrpc/rpc_sample.c: Likewise.
11203 * sunrpc/rpc_scan.c: Likewise.
11204 * sunrpc/rpc_scan.h: Likewise.
11205 * sunrpc/rpc_svcout.c: Likewise.
11206 * sunrpc/rpc_tblout.c: Likewise.
11207 * sunrpc/rpc_util.c: Likewise.
11208 * sunrpc/rpc_util.h: Likewise.
11209 * sunrpc/rpcinfo.c: Likewise.
11210 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11211 * sunrpc/rpcsvc/key_prot.x: Likewise.
11212 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11213 * sunrpc/rpcsvc/mount.x: Likewise.
11214 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11215 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11216 * sunrpc/rpcsvc/rex.x: Likewise.
11217 * sunrpc/rpcsvc/rstat.x: Likewise.
11218 * sunrpc/rpcsvc/rusers.x: Likewise.
11219 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11220 * sunrpc/rpcsvc/spray.x: Likewise.
11221 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11222 * sunrpc/rtime.c: Likewise.
11223 * sunrpc/svc.c: Likewise.
11224 * sunrpc/svc_auth.c: Likewise.
11225 * sunrpc/svc_authux.c: Likewise.
11226 * sunrpc/svc_raw.c: Likewise.
11227 * sunrpc/svc_run.c: Likewise.
11228 * sunrpc/svc_simple.c: Likewise.
11229 * sunrpc/svc_tcp.c: Likewise.
11230 * sunrpc/svc_udp.c: Likewise.
11231 * sunrpc/svc_unix.c: Likewise.
11232 * sunrpc/svcauth_des.c: Likewise.
11233 * sunrpc/xcrypt.c: Likewise.
11234 * sunrpc/xdr.c: Likewise.
11235 * sunrpc/xdr_array.c: Likewise.
11236 * sunrpc/xdr_float.c: Likewise.
11237 * sunrpc/xdr_mem.c: Likewise.
11238 * sunrpc/xdr_rec.c: Likewise.
11239 * sunrpc/xdr_ref.c: Likewise.
11240 * sunrpc/xdr_sizeof.c: Likewise.
11241 * sunrpc/xdr_stdio.c: Likewise.
11243 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11246 2010-08-19 Andreas Schwab <schwab@redhat.com>
11248 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11250 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11252 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11254 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11255 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11256 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11257 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11258 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11259 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11260 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11261 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11262 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11263 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11264 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11265 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11267 2010-07-26 Anton Blanchard <anton@samba.org>
11269 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11270 * malloc/arena.c (heap_trim): Likewise.
11272 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11274 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11277 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11279 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11281 * sysdeps/i386/elf/Makefile: New file.
11283 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11285 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11286 from fanotify_init.
11287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11290 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11292 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11294 * sysdeps/multiarch/strcmp.S: Likewise.
11296 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11298 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11299 strncase_l-nonascii.
11300 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11301 Add strncase_l-ssse3.
11302 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11303 * sysdeps/x86_64/strcmp.S: Likewise.
11304 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11305 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11306 * sysdeps/x86_64/strncase.S: New file.
11307 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11308 * sysdeps/x86_64/strncase_l.S: New file.
11309 * string/Makefile (strop-tests): Add strncasecmp.
11310 * string/test-strncasecmp.c: New file.
11312 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11315 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11316 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11318 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11320 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11322 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11324 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11325 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11326 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11328 2010-05-01 Alan Modra <amodra@gmail.com>
11330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11331 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11332 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11333 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11334 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11335 tidying. Don't tail-call __sigjmp_save for static lib.
11336 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11338 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11339 (CALL_MCOUNT): Add eh info, and nop after bl.
11340 (TAIL_CALL_SYSCALL_ERROR): New macro.
11341 (PSEUDO_RET): Use it.
11342 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11343 Correct save location of integer regs and cr.
11344 (_dl_profile_resolve): Correct cr save location. Delete nops
11345 after bl when SHARED. Reduce cfi size a little by better
11346 placement of cfi directives.
11347 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11348 make a stack frame. Instead use parm save area as a temp.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11350 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11352 Don't make a stack frame for parent, use parm save area.
11353 Increase child stack frame to 112 bytes. Don't save unused reg,
11354 and adjust reg usage. Set up cfi on error recovery and
11355 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11357 (__makecontext): Add dummy nop after jump to exit.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11359 Use correct parm save area and cr save, reduce stack frame.
11360 Correct cfi for possible PSEUDO_RET frame setup.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11362 Branch to local label emitted by PSEUDO_RET rather than
11365 2010-08-12 Andreas Schwab <schwab@redhat.com>
11368 * locale/programs/locale.c (print_assignment): New function.
11369 (show_locale_vars): Use it.
11371 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11373 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11375 (struct statfs64): Likewise.
11376 (_STATFS_F_FLAGS): Define.
11377 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11378 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11379 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11380 (ST_VALID): Define locally.
11381 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11382 __statvfs_getflags, use the provided value.
11383 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11384 __ASSUME_STATFS_F_FLAGS.
11386 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11388 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11389 Add sys/fanotify.h.
11390 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11391 fanotify_mask for GLIBC_2.13.
11392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11393 fanotify_init and fanotify_mark.
11394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11395 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11397 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11399 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11400 prlimit64 for GLIBC_2.13.
11401 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11407 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11409 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11411 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11414 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11415 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11417 * nss/Makefile: Add rules to build and run tst-nss-test1.
11418 * shlib-versions: Add entry for libnss_test1.
11419 * nss/nss_test1.c: New file.
11420 * nss/tst-nss-test1.c: New file.
11422 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11423 (__nss_configure_lookup): Set appropriate entry in
11424 __nss_configure_lookup to true.
11425 * nss/nsswitch.h: Define enum with indeces of databases in
11426 databases and __nss_database_custom arrays. Declare
11427 __nss_database_custom.
11428 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11429 to avoid using nscd when custom rules are installed.
11430 * nss/getXXbyYY_r.c: Likewise.
11431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11433 * nss/nss_files/files-parse.c: Whitespace fixes.
11435 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11438 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11439 * posix/fnmatch_loop.c: Likewise.
11441 2010-07-17 Andi Kleen <ak@linux.intel.com>
11443 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11444 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11445 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11446 * Versions.def [GLIBC_2.13]: Add.
11448 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11451 Also fail if tpwd after pwuid call is NULL.
11453 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11455 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11456 when converting to ms.
11458 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11460 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11461 EOPNOTSUPP errors with ENOTTY.
11462 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11463 EOPNOTSUPP errors with ENOTTY.
11465 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11467 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11468 Add strcasecmp_l-ssse3.
11469 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11471 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11472 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11473 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11475 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11477 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11479 * string/Makefile (strop-tests): Add strcasecmp.
11480 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11481 strcasecmp_l-nonascii.
11482 (gen-as-const-headers): Add locale-defines.sym.
11483 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11484 * sysdeps/x86_64/strcasecmp.S: New file.
11485 * sysdeps/x86_64/strcasecmp_l.S: New file.
11486 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11487 * sysdeps/x86_64/locale-defines.sym: New file.
11488 * string/test-strcasecmp.c: New file.
11490 * string/test-strcasestr.c: Test both ends of the range of characters.
11491 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11493 2010-07-29 Roland McGrath <roland@redhat.com>
11496 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11498 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11500 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11503 2010-07-27 Andreas Schwab <schwab@redhat.com>
11505 * manual/memory.texi (Malloc Tunable Parameters): Document
11508 2010-07-26 Roland McGrath <roland@redhat.com>
11511 * configure.in (-fgnu89-inline check): Set and substitute
11512 gnu89_inline, not libc_cv_gnu89_inline.
11513 * configure: Regenerated.
11514 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11516 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11518 * string/test-strnlen.c: New file.
11519 * string/Makefile (strop-tests): Add strnlen.
11520 * string/tester.c (test_strnlen): Add a few more test cases.
11521 * string/tst-strlen.c: Better error reporting.
11523 * sysdeps/x86_64/strnlen.S: New file.
11525 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11527 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11528 lower-latency instructions.
11530 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11532 * string/test-strcasestr.c: New file.
11533 * string/test-strstr.c: New file.
11534 * string/Makefile (strop-tests): Add strstr and strcasestr.
11535 * string/str-two-way.h: Don't undefine MAX.
11536 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11538 2010-07-21 Andreas Schwab <schwab@redhat.com>
11540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11541 strcasestr-nonascii.
11542 (CFLAGS-strcasestr-nonascii.c): Define.
11543 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11545 Remove unused attribute.
11547 2010-07-20 Roland McGrath <roland@redhat.com>
11549 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11550 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11551 ld.so.cache was broken. With it, there is no way to disable dsocaps
11552 like LD_HWCAP_MASK can disable hwcaps.
11554 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11556 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11558 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11560 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11561 call in strcasestr.
11562 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11563 __strcasestr_sse42_nonascii.
11564 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11565 strcasestr-nonascii.c.
11566 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11568 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11570 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11571 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11573 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11575 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11580 2010-07-06 Andreas Schwab <schwab@redhat.com>
11583 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11586 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11588 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11589 _PC_PIPE_BUF using F_GETPIPE_SZ.
11591 2010-07-05 Roland McGrath <roland@redhat.com>
11593 * manual/arith.texi (Rounding Functions): Fix rint description
11594 implicit in round description.
11596 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11598 * elf/Makefile: Fix linking for a few tests to make recent linker
11601 2010-06-30 Andreas Schwab <schwab@redhat.com>
11603 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11604 $(common-objpfx)libc_nonshared.a.
11606 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11608 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11609 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11610 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11611 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11612 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11613 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11614 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11615 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11630 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11631 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11632 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11633 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11634 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11635 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11636 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11637 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11638 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11639 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11640 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11641 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11657 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11659 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11660 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11661 * string/memmove.c (memmove): Renamed to ...
11662 (MEMMOVE): ...this. Default to memmove.
11663 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11664 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11667 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11668 mempcpy-ssse3-back memmove-ssse3-back.
11669 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11671 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11672 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11673 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11674 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11675 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11676 * sysdeps/x86_64/multiarch/memmove.c: New file.
11677 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11678 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11679 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11680 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11681 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11684 (index_Fast_Copy_Backward): Define.
11685 (HAS_ARCH_FEATURE): Define.
11686 (HAS_FAST_REP_STRING): Define.
11687 (HAS_FAST_COPY_BACKWARD): Define.
11689 2010-06-21 Andreas Schwab <schwab@redhat.com>
11691 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11692 Restore proper fallback handling.
11694 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11697 * posix/group_member.c (__group_member): Correct checking loop.
11699 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11700 OOM in getpwuid_r correctly. Return error number when the caller
11701 should return, otherwise -1.
11702 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11703 call returning > 0 value.
11704 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11706 2010-06-07 Andreas Schwab <schwab@redhat.com>
11708 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11709 libc_nonshared.a from targets in modules-names.
11711 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11713 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11716 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11718 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11719 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11721 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11723 2010-06-02 Andreas Schwab <schwab@redhat.com>
11725 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11727 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11729 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11735 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11736 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11738 2010-06-14 Roland McGrath <roland@redhat.com>
11740 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11742 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11744 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11745 __REDIRECT followed by __THROW.
11746 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11747 * posix/getopt.h (getopt): Likewise.
11749 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11751 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11752 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11753 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11755 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11756 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11758 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11760 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11762 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11766 Properly check family and model.
11768 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11770 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11772 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11774 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11776 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11778 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11781 2010-05-19 Andreas Schwab <schwab@redhat.com>
11783 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11786 2010-05-21 Andreas Schwab <schwab@redhat.com>
11788 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11789 and internal_recvmmsg.
11790 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11791 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11792 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11793 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11795 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11796 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11797 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11799 2010-05-20 Andreas Schwab <schwab@redhat.com>
11801 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11803 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11805 POWER7 optimizations.
11806 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11807 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11809 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11811 * version.h: Update for 2.13 development version.
11813 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11815 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11816 exceptions. Return 0.
11818 2010-05-07 Roland McGrath <roland@redhat.com>
11820 * elf/ldconfig.c (main): Add a const.
11822 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11824 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11825 (args_options): Add no-idn option.
11826 (ahosts_keys_int): Add idn_flags to ai_flags.
11827 (parse_option): Handle 'i' option to clear idn_flags.
11829 * malloc/malloc.c (_int_free): Possible race in the most recently
11830 added check. Only act on the data if no current modification
11833 See ChangeLog.17 for earlier changes.