1 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/_exit.S: Remove file.
5 2012-04-23 Andreas Jaeger <aj@suse.de>
8 * manual/Makefile: Remove make dist support, there's no
9 need for a stand-alone documentation tar ball.
10 (TEXI2DVI): Define always, it's not in Makeconfig.
14 (glibc-doc-$(edition).tar): Removed
18 (ETAGS): Remove, it's in Makeconfig.
19 (move-if-change): Remove, it's in Makeconfig.
21 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
24 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27 (strtod_l, strtof_l, strtold_l): Remove __wur.
28 It is not necessarily an error to ignore strtol's return value.
29 One can reliably look at the stored endptr to decide whether
30 the number had valid syntax.
32 2012-04-21 Andreas Jaeger <aj@suse.de>
35 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40 * sysdeps/unix/sysv/Versions: Remove file.
42 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53 2012-04-20 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/unix/common/lxstat.c: Remove file.
56 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58 * sysdeps/unix/sysv/Makefile: Remove file.
60 * sysdeps/unix/sysv/direct.h: Remove file.
62 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65 * sysdeps/unix/sysv/bits/signum.h: Likewise.
66 * sysdeps/unix/sysv/bits/stat.h: Likewise.
67 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70 * sysdeps/unix/sysv/setrlimit.c: Remove file.
72 * sysdeps/unix/xmknod.c: Remove file.
73 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75 * sysdeps/unix/sysv/settimeofday.c: Remove file.
77 * sysdeps/unix/sysv/i386/time.S: Remove file.
79 * sysdeps/unix/fxstat.c: Remove file.
80 * sysdeps/unix/xstat.c: Likewise.
81 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83 * sysdeps/unix/sysv/sigaction.c: Remove file.
85 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
86 (sysdep_headers): Remove variable.
87 [termio.h not in sysdep_headers] (generated): Likewise.
88 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
89 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
90 * sysdeps/unix/sysv/tcdrain.c: Likewise.
91 * sysdeps/unix/sysv/tcflow.c: Likewise.
92 * sysdeps/unix/sysv/tcflush.c: Likewise.
93 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
94 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
95 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
96 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
97 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
99 * sysdeps/unix/siglist.c: Remove file.
101 * sysdeps/unix/getppid.S: Remove file.
103 * sysdeps/unix/mkdir.c: Remove file.
104 * sysdeps/unix/rmdir.c: Likewise.
106 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
108 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
110 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
111 errlist-compat value.
113 2012-04-18 David S. Miller <davem@davemloft.net>
115 * sysdeps/generic/memcopy.h (reg_char): Delete.
116 * debug/strcat_chk.c: Use char, not reg_char.
117 * debug/strcpy_chk.c: Likewise.
118 * debug/strncat_chk.c: Likewise.
119 * debug/strncpy_chk.c: Likewise.
120 * string/memchr.c: Likewise.
121 * string/memrchr.c: Likewise.
122 * string/rawmemchr.c: Likewise.
123 * string/strcat.c: Likewise.
124 * string/strchr.c: Likewise.
125 * string/strchrnul.c: Likewise.
126 * string/strcmp.c: Likewise.
127 * string/strcpy.c: Likewise.
128 * string/strncat.c: Likewise.
129 * string/strncmp.c: Likewise.
130 * string/strncpy.c: Likewise.
132 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
134 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
135 __builtin_memcopy is called when src and dest ranges are known to not
138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
141 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
142 fwd_align_merge macro call.
143 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
144 bwd_align_merge macro call.
145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
147 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
149 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
150 bwd_align_merge macros.
151 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
152 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
155 2012-04-18 David S. Miller <davem@davemloft.net>
157 * sysdeps/sparc/sparc64/memcopy.h: Delete.
159 2012-04-18 Andreas Jaeger <aj@suse.de>
162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
163 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
166 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
167 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
170 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
171 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
172 Adjust for changed ldbl-128 files.
174 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
175 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
178 2012-04-17 David S. Miller <davem@davemloft.net>
180 * sysdeps/sparc/sparc32/memcopy.h: Delete.
182 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
184 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
185 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
186 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
187 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
188 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
189 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
191 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
194 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
195 * math/libm-test.inc: Add ilogb errno and exception tests.
196 * math/w_ilogb.c: New file: ilogb wrapper.
197 * math/w_ilogbf.c: New file: ilogbf wrapper.
198 * math/w_ilogbl.c: New file: ilogbl wrapper.
199 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
200 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
201 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
202 exception being thrown with 0.0 as argument.
203 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
204 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
205 exception being thrown with 0.0 as argument.
206 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
207 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
208 exception being thrown with 0.0 as argument.
209 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
210 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
211 exception being thrown with 0.0 as argument.
212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
213 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
215 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
217 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
218 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
219 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
220 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
222 2012-04-17 Petr Baudis <pasky@ucw.cz>
224 * include/sys/uio.h: Change __vector to __iovec to avoid clash
227 2012-04-16 Marek Polacek <polacek@redhat.com>
229 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
231 2012-04-16 Marek Polacek <polacek@redhat.com>
233 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
234 operands of fdivp instruction.
236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
238 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
239 * elf/tst-auditmod3b.c: Likewise.
240 * elf/tst-auditmod4b.c: Likewise.
241 * elf/tst-auditmod5b.c: Likewise.
242 * elf/tst-auditmod6b.c: Likewise.
243 * elf/tst-auditmod6c.c: Likewise.
244 * elf/tst-auditmod7b.c: Likewise.
245 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
246 * sysdeps/x86_64/preconfigure.in: Likewise.
247 * sysdeps/x86_64/preconfigure: Regenerated.
249 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
251 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
254 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
257 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
259 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
262 * locale/iso-639.def: Fix gl language name. Spotted by
265 2012-04-12 Roland McGrath <roland@hack.frob.com>
268 * libio/libio.h (__io_write_fn): Update comment.
270 2012-04-12 Petr Baudis <pasky@ucw.cz>
273 * stdio.texi (Hook Functions): The user provided writer function
274 is not allowed to return -1.
276 2012-04-11 David S. Miller <davem@davemloft.net>
278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
280 2012-04-11 Mike Frysinger <vapier@gentoo.org>
282 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
283 Add a leading slash to rtkaio.
285 2012-04-11 Jim Meyering <meyering@redhat.com>
288 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
289 It is not necessarily an error to ignore fwrite's return
290 value. One can reliably use ferror to test for errors after
293 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
295 * bits/types.h (__snseconds_t): New type.
296 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
298 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
300 (__SNSECONDS_T_TYPE): Likewise.
301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
302 (__SNSECONDS_T_TYPE): Likewise.
303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
304 (__SNSECONDS_T_TYPE): Likewise.
306 2012-04-10 Andreas Jaeger <aj@suse.de>
309 * manual/time.texi (Processor Time): Return type of times is
310 elapsed real time since an arbitrary point in the past.
311 (CPU Time): Move CLK_TCK from here...
312 (Processor Time): ...to here. Correct description.
313 * manual/conf.texi (Constants for Sysconf): Correct description of
316 2012-04-10 David S. Miller <davem@davemloft.net>
319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
320 where the is a gap between DT_REL(A) and DT_JMPREL.
322 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
324 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
325 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
326 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
328 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
330 * elf/dl-support.c (_dl_inhibit_cache): New variable.
331 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
332 (dl_main): Handle --inhibit-cache.
333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
335 * elf/dl-load.c (_dl_map_object): Use it.
336 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
338 2012-04-09 Joseph Myers <joseph@codesourcery.com>
341 * sysdeps/i386/fpu/e_powl.S (p78): New object.
342 (__ieee754_powl): Saturate large exponents rather than testing for
343 overflow of y*log2(x).
344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
345 * math/libm-test.inc (pow_test): Do not permit spurious overflow
349 * math/s_ctan.c: Include <float.h>.
350 (__ctan): Avoid internal overflow or cancellation in calculating
352 * math/s_ctanf.c: Likewise.
353 * math/s_ctanl.c: Likewise.
354 * math/s_ctanh.c: Likewise.
355 * math/s_ctanhf.c: Likewise.
356 * math/s_ctanhl.c: Likewise.
357 * math/libm-test.inc (ctan_test): Add more tests.
358 (ctanh_test): Likewise.
359 * sysdeps/i386/fpu/libm-test-ulps: Update.
360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
362 2012-04-09 Andreas Jaeger <aj@suse.de>
365 * manual/filesys.texi (Directory Entries): Mention that d_namlen
366 is an optional BSD extension.
369 * manual/stdio.texi (Opening Streams): Document additional fopen
372 2012-04-09 Roland McGrath <roland@hack.frob.com>
374 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
375 %eax without telling the compiler.
377 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
380 * manual/install.texi: Use sourceware.org.
382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
385 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
386 (__ieee754_pow): Generate overflow and underflow using huge*huge
387 and tiny*tiny rather than just returning constant infinity or zero
389 * math/libm-test.inc (pow_test): Require overflow exceptions for
390 applicable cases of large exponents.
393 * sysdeps/i386/fpu/e_pow.S (p10): New object.
394 (__ieee754_pow): Use iterative multiplication algorithm only for
395 integer exponents with absolute value below 1024. Check for odd
396 integer exponents when using algorithm for real exponents.
397 * math/libm-test.inc (pow_test): Add more tests.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
400 2012-04-08 Joseph Myers <joseph@codesourcery.com>
403 * math/libm-test.inc (exp_test): Do not allow overflow exception
406 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
409 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
410 instead of __kernel_standard_f.
412 2012-04-08 Mike Frysinger <vapier@gentoo.org>
414 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
415 * sysdeps/x86_64/memset_chk.S: Likewise.
417 2012-04-08 Andreas Jaeger <aj@suse.de>
420 * manual/startup.texi (Environment Access): Describe return value
421 for putenv and setenv.
424 * manual/filesys.texi (Directory Entries): Add description for
428 * manual/filesys.texi (Directory Entries): Clarify that it's file
429 system not operating system in the description of DT_UNKNOWN.
432 * manual/syslog.texi (closelog): Fix reference, it's openlog.
434 2012-04-08 Stephen Compall <s11@member.fsf.org>
437 * manual/llio.texi (Opening and Closing Files): Add cross
438 reference to explain mode argument.
440 2012-04-07 Mike Frysinger <vapier@gentoo.org>
442 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
443 * sysdeps/x86_64/memset_chk.S: Likewise.
445 2012-04-07 David S. Miller <davem@davemloft.net>
447 * elf/elf.h (R_SPARC_WDISP10): Define.
448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
451 R_SPARC_SIZE64 and R_SPARC_H34.
453 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
456 conditions and remove no longer applicable assertion.
458 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
460 * bits/byteswap.h: Include <features.h>.
461 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
462 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
464 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
466 * bits/byteswap.h (__bswap_16): Removed.
467 Include <bits/byteswap-16.h> to get __bswap_16.
468 * sysdeps/i386/bits/byteswap.h: Likewise.
469 * sysdeps/s390/bits/byteswap.h: Likewise.
470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
471 * bits/byteswap-16.h: New file.
472 * sysdeps/i386/bits/byteswap-16.h: Likewise.
473 * sysdeps/s390/bits/byteswap-16.h: Likewise.
474 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
475 * string/Makefile (headers): Add bits/byteswap-16.h.
477 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
480 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
482 * nss/Makefile (tests-static, tests): Add tst-nss-static.
483 * nss/tst-nss-static.c: New.
485 2012-04-06 Robert Millan <rmh@gnu.org>
488 * manual/llio.texi (File Position Primitive): lseek
489 refers to WHENCE when it really means OFFSET.
491 2012-04-06 Andreas Jaeger <aj@suse.de>
493 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
494 strncmp declarations.
496 * abilist/libc.abilist: Add __poll and __ppoll.
498 2012-04-05 David S. Miller <davem@davemloft.net>
500 * scripts/check-local-headers.sh: Accept a host triplet in the
501 path matched by the exclude regexp.
503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
505 * sysdeps/powerpc/powerpc32/dl-machine.h
506 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
507 * sysdeps/s390/s390-32/dl-machine.h
508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
509 * sysdeps/sparc/sparc32/dl-machine.h
510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
511 * sysdeps/sparc/sparc64/dl-machine.h
512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
514 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
516 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
517 undefined symbol errors.
519 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
522 2012-04-05 Michael Matz <matz@suse.de>
525 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
527 2012-04-05 Andreas Jaeger <aj@suse.de>
530 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
535 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
536 which ROUND is no valid rounding mode.
538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
540 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
542 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
544 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
547 an exception using FPU order intentionally.
549 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
551 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
552 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
553 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
554 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
556 2012-04-05 Simon Josefsson <simon@josefsson.org>
559 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
560 EINVAL when BUFLEN is too smal.
562 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
565 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
566 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
568 2012-04-03 Andreas Jaeger <aj@suse.de>
571 * manual/setjmp.texi (System V contexts): Fix sentence.
574 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
575 New macro for this case.
576 [!__GNUC__] (__bswap_64): New inline function for this case.
577 * sysdeps/x86_64/bits/byteswap.h: Likewise.
578 * bits/byteswap.h: Likewise.
579 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
580 ull, guard with __GLIBC_HAVE_LONG_LONG.
582 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
583 __GLIBC_HAVE_LONG_LONG.
585 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
586 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
588 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
591 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
592 inptr and inend, rather than using last_ch.
594 2012-04-02 David S. Miller <davem@davemloft.net>
596 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
597 * stdio-common/printf-parse.h (read_int): Change return type to
598 'int', return -1 on INT_MAX overflow.
599 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
600 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
601 overflows INT_MAX. Check for overflow of in-format-string precision
602 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
603 SIZE_MAX not INT_MAX for integer overflow test.
604 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
605 skip the construct in the format string but do not record anything.
606 * stdio-common/bug22.c: Adjust to test both width/prevision
607 INT_MAX overflow as well as total length INT_MAX overflow. Check
608 explicitly for proper errno values.
610 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
612 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
614 * string/test-strcmp.c [! WIDE]: Likewise.
615 * time/tst-mktime2.c: Likewise for INT_MAX.
616 * string/test-string.h: #include <sys/param.h> for MIN.
618 * csu/init-first.c (__libc_init_first): Call __ctype_init.
619 * sysdeps/i386/init-first.c (init): Likewise.
620 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
621 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
622 * sysdeps/sh/init-first.c (init): Likewise.
624 2012-04-01 Ulrich Drepper <drepper@gmail.com>
626 * po/ru.po: Update from translation team.
627 * po/vi.po: Likewise.
629 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * resolv/nss_dns/dns-host.c: Merge copyright years.
633 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
636 Optimize memcpy with prefetch if
637 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
638 src, dst pointers have unequal 16 byte alignments.
640 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
643 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
644 from a CNAME entry and return the minimum ttl for the query.
645 (gaih_getanswer_slice): Likewise.
647 2012-03-30 Jeff Law <law@redhat.com>
649 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
651 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
652 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
654 * resolv/nss_dns/dns-host.c: Update copyright year.
656 2012-03-30 Ulrich Drepper <drepper@gmail.com>
658 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
659 requests to save a system call. Fix check that all bytes are sent.
661 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
662 comments for sendmmsg.
664 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
667 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
668 with only 1 character between 0x0041 and 0x01b0.
669 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
670 * wcsmbs/tst-mbsnrtowcs.c: New file.
672 2012-03-29 David S. Miller <davem@davemloft.net>
674 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
675 small copies by hand.
677 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
680 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
681 _nss_compat_initgroups_dyn): Fall back to malloc/free
682 for large group memberships.
684 2012-03-28 David S. Miller <davem@davemloft.net>
686 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
687 that branches into memcpy.
688 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
691 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
694 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
696 * sysdeps/sparc/mempcpy.S: New file.
698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
699 the IFUNC routine in the libc case.
700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
702 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
704 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
705 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
706 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
707 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
708 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
709 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
711 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
712 loop to 256 bytes instead of 64 bytes and fix test signedness.
714 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
715 * sysdeps/sparc/sparc32/Makefile: rather than here...
716 * sysdeps/sparc/sparc64/Makefile: and here.
718 2012-03-28 Ulrich Drepper <drepper@gmail.com>
720 * malloc/mallocbug.c: Avoid warnings about unused variables.
722 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
725 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
726 in the right place. Discard and retry query if response is
727 larger than input buffer size.
729 2012-03-28 Joseph Myers <joseph@codesourcery.com>
734 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
735 x for large integer exponent.
736 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
737 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
738 sign of result as needed afterwards.
739 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
740 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
741 result for underflowing pow the same as for overflow.
742 (__kernel_standard_l): Handle powl overflow and underflow here
743 rather than calling __kernel_standard.
744 * math/libm-test.inc (pow_test): Add more tests.
759 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
760 * sysdeps/ieee754/k_standard.c: Include <float.h>.
761 (__kernel_standard_l): New function.
762 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
764 * math/w_acosl.c (__acosl): Likewise.
765 * math/w_asinl.c (__asinl): Likewise.
766 * math/w_atan2l.c (__atan2l): Likewise.
767 * math/w_atanhl.c (__atanhl): Likewise.
768 * math/w_coshl.c (__coshl): Likewise.
769 * math/w_exp10l.c (__exp10l): Likewise.
770 * math/w_exp2l.c (__exp2l): Likewise.
771 * math/w_fmodl.c (__fmodl): Likewise.
772 * math/w_hypotl.c (__hypotl): Likewise.
773 * math/w_j0l.c (__j0l, __y0l): Likewise.
774 * math/w_j1l.c (__j1l, __y1l): Likewise.
775 * math/w_jnl.c (__jnl, __ynl): Likewise.
776 * math/w_lgammal.c (__lgammal): Likewise.
777 * math/w_log10l.c (__log10l): Likewise.
778 * math/w_log2l.c (__log2l): Likewise.
779 * math/w_logl.c (__logl): Likewise.
780 * math/w_powl.c (__powl): Likewise.
781 * math/w_remainderl.c (__remainderl): Likewise.
782 * math/w_scalbl.c (sysv_scalbl): Likewise.
783 * math/w_sinhl.c (__sinhl): Likewise.
784 * math/w_sqrtl.c (__sqrtl): Likewise.
785 * math/w_tgammal.c (__tgammal): Likewise.
786 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
787 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
788 * math/libm-test.inc (acos_test): Add more tests.
789 (acosh_test): Likewise.
790 (asin_test): Likewise.
791 (atanh_test): Likewise.
792 (exp_test): Likewise.
793 (exp10_test): Likewise.
794 (exp2_test): Likewise.
795 (expm1_test): Likewise.
796 (lgamma_test): Likewise.
797 (log_test): Likewise.
798 (log10_test): Likewise.
799 (log1p_test): Likewise.
800 (log2_test): Likewise.
801 (pow_test): Do not allow some spurious overflow exceptions.
802 (sqrt_test): Add more tests.
803 (tgamma_test): Likewise.
808 2012-03-27 Anton Blanchard <anton@samba.org>
810 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
813 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
816 2012-03-27 David S. Miller <davem@davemloft.net>
818 * conform/Makefile: Run run-conformtest.sh using $(BASH).
820 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
823 2012-03-27 Andreas Jaeger <aj@suse.de>
825 * sysdeps/x86_64/elf/configure.in: Moved to ...
826 * sysdeps/x86_64/configure.in: ... here.
827 * sysdeps/x86_64/elf/start.S: Moved to ...
828 * sysdeps/x86_64/start.S: ... here.
829 * sysdeps/x86_64/elf/configure: Delete.
831 * sysdeps/x86_64/configure.in: Merge contents from
832 sysdeps/i386/configure.in (without i686 check).
834 * sysdeps/i386/elf/Versions: Merge into ...
835 * sysdeps/i386/Versions: ... this.
836 * sysdeps/i386/elf/Versions: Delete file.
837 * sysdeps/i386/elf/start.S: Moved to ...
838 * sysdeps/i386/start.S: ...here.
839 * sysdeps/i386/elf/configure.in: Merge into...
840 * sysdeps/i386/configure.in: ...here.
841 * sysdeps/i386/elf/configure.in: Delete file.
842 * sysdeps/i386/elf/configure: Delete file.
844 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
845 * debug/backtracesyms.c: ... here.
846 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
847 * debug/backtracesymsfd.c: ... here.
848 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
849 * sysdeps/generic/ifunc-sel.h: ... here.
851 * sysdeps/unix/i386/start.c: Delete file.
852 * sysdeps/unix/sparc/start.c: Delete file.
853 * sysdeps/unix/start.c: Delete file.
855 * sysdeps/sh/elf/configure.in: Moved to ...
856 * sysdeps/sh/configure.in: ... here.
857 * sysdeps/sh/elf/start.S: Moved to ...
858 * sysdeps/sh/start.S: ... here.
859 * sysdeps/sh/elf/configure: Delete file.
861 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
862 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
863 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
864 * sysdeps/powerpc/powerpc64/entry.h: ... here.
865 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
866 * sysdeps/powerpc/powerpc64/start.S: here.
867 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
868 * sysdeps/powerpc/powerpc64/Makefile: ... this.
869 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
870 * sysdeps/powerpc/powerpc64/configure.in: ... this.
871 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
873 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
874 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
875 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
876 * sysdeps/powerpc/powerpc32/start.S: ... here.
877 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
878 * sysdeps/powerpc/powerpc32/configure.in: ... this.
879 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
881 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
882 * sysdeps/powerpc/ifunc-sel.h: ... here.
883 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
884 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
886 * sysdeps/sparc/elf/configure.in: Moved to ...
887 * sysdeps/sparc/configure.in: ... here.
888 * sysdeps/sparc/elf/configure: Delete file.
889 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
890 * sysdeps/sparc/sparc32/start.S: ... here.
891 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
892 * sysdeps/sparc/sparc64/start.S: ... here.
893 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
894 * sysdeps/sparc/sparc32/Makefile: ... this.
895 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
896 * sysdeps/sparc/sparc64/Makefile: ... this.
898 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
899 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
900 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
901 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
902 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
903 * sysdeps/s390/s390-32/setjmp.S: ... here.
904 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
905 * sysdeps/s390/s390-32/configure.in: ... here.
906 * sysdeps/s390/s390-32/elf/configure: Delete file.
907 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
908 * sysdeps/s390/s390-32/start.S: ... here.
910 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
911 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
912 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
913 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
914 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
915 * sysdeps/s390/s390-64/setjmp.S: ... here.
916 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
917 * sysdeps/s390/s390-64/configure.in: ... here
918 * sysdeps/s390/s390-64/elf/configure: Delete file.
919 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
920 * sysdeps/s390/s390-64/start.S: ... here.
921 * sysdeps/s390/s390-64/elf/configure: Delete.
923 * configure.in: Remove support for elf directories in sysdeps.
925 * configure: Regenerated.
926 * sysdeps/i386/configure: Regenerated.
927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
928 * sysdeps/powerpc/powerpc64/configure: Regenerated.
929 * sysdeps/s390/s390-32/configure: Regenerated.
930 * sysdeps/s390/s390-64/configure: Regenerated.
931 * sysdeps/sh/configure: Regenerated.
932 * sysdeps/sparc/configure: Regenerated.
933 * sysdeps/x86_64/configure: Regenerated.
935 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
940 denormal result into account.
942 2012-03-25 Roland McGrath <roland@hack.frob.com>
944 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
945 Reported by Allan McRae <allan@archlinux.org>.
947 2012-03-23 Jeff Law <law@redhat.com>
949 * nss/getnssent.c (__nss_getent): Fix typo.
951 2012-03-23 David S. Miller <davem@davemloft.net>
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
955 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
957 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
958 to pad to uint64_t for each field.
959 (dl_tls_index): Replace unsigned long with uint64_t.
961 2012-03-23 Daniel Jacobowitz <dmj@google.com>
962 Paul Pluzhnikov <ppluzhnikov@google.com>
965 * grp/Makefile (otherlibs): Don't set it.
966 * inet/Makefile (otherlibs): Likewise.
967 * login/Makefile (otherlibs): Likewise.
968 * nscd/Makefile (otherlibs): Likewise.
969 * posix/Makefile (otherlibs): Likewise.
970 * pwd/Makefile (otherlibs): Likewise.
971 * rt/Makefile (otherlibs): Likewise.
972 * sunrpc/Makefile (otherlibs): Likewise.
973 * nss/Makefile (otherlibs): Likewise.
974 Add libnss_files to routines and static-only-routines.
975 ($(objpfx)getent): Remove rule.
976 * resolv/Makefile: Add libnss_dns and libresolv to routines and
977 static-only-routines.
979 2012-03-22 Joseph Myers <joseph@codesourcery.com>
982 * math/s_cexp.c: Include <float.h>.
983 (__cexp): Handle exp result overflowing not necessarily
984 overflowing both real and imaginary parts of result.
985 * math/s_cexpf.c: Likewise.
986 * math/s_cexpl.c: Likewise.
987 * math/libm-test.inc (cexp_test): Add more tests.
988 * sysdeps/i386/fpu/libm-test-ulps: Update.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
993 * include/link.h (ELFW): New macro.
994 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
995 Replace ELF64_R_TYPE with ELFW(R_TYPE).
997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
999 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1002 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1006 (struct La_x32_retval): Likewise.
1008 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1010 * sysdeps/x86_64/preconfigure.in: New file.
1011 * sysdeps/x86_64/preconfigure: New generated file.
1013 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1016 * math/e_exp2l.c: Include <float.h>.
1017 (__ieee754_exp2l): Handle overflow and underflow cases
1018 separately. Only pass fractional part of argument to
1020 * math/libm-test.inc (exp2_test): Add more tests.
1022 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1023 negating x to take absolute value.
1024 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1029 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1030 computing low part if x was negated.
1031 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1035 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1037 (pltexit): Cast int_retval to ptrdiff_t.
1038 * elf/tst-auditmod3b.c: Likewise.
1039 * elf/tst-auditmod4b.c: Likewise.
1040 * elf/tst-auditmod5b.c: Likewise.
1041 * elf/tst-auditmod6b.c: Likewise.
1042 * elf/tst-auditmod6c.c: Likewise.
1043 * elf/tst-auditmod7b.c: Likewise.
1045 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1046 and x32_gnu_pltexit.
1048 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1050 (La_x32_regs): New macro.
1051 (La_x32_retval): Likewise.
1052 (la_x32_gnu_pltenter): New function prototype.
1053 (la_x32_gnu_pltexit): Likewise.
1055 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1062 * configure.in (libc_cv_cc_nofma): Check for option to disable
1063 generation of FMA instructions.
1064 * configure: Regenerate.
1065 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1066 * sysdeps/ieee754/dbl-64/Makefile: New file.
1067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1068 Remove brandred-fma4.
1069 (CFLAGS-brandred-fma4.c): Remove.
1070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1071 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1076 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1078 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1079 LLONG_MAX != LONG_MAX.
1080 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1081 (_fitoa_word): Likewise.
1082 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1083 LLONG_MAX != LONG_MAX.
1084 * stdio-common/_itowa.h: Include <_itoa.h>.
1085 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1086 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1087 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1088 only if not defined.
1089 (_ITOA_WORD_TYPE): Likewise.
1090 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1091 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1093 2012-03-21 David S. Miller <davem@davemloft.net>
1095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1097 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1099 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1100 of x86_64 when setting libc_cv_slibdir, libdir and
1102 * sysdeps/unix/sysv/linux/configure: Regenerated.
1104 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1106 * manual/lang.texi (Old Varargs): Remove section.
1107 (How Variadic): Update menu.
1108 (va_start): Do not mention varargs.h.
1110 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1111 Joseph Myers <joseph@codesourcery.com>
1113 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1115 * configure: Regenerated.
1117 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1119 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1120 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1123 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1126 * Makefile (files-for-dist): Remove NOTES.
1127 (NOTES): Remove rule.
1128 * README: Don't refer to NOTES.
1129 * manual/creature.texi: Don't include macros.texi.
1130 * manual/intro.texi (creature.texi): Remove comment referring to
1133 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1134 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1135 * configure: Regenerated.
1136 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1138 (libc_cv_as_i686): Likewise.
1139 (libc_cv_cc_avx): Likewise.
1140 (libc_cv_cc_sse2avx): Likewise.
1141 (libc_cv_cc_fma4): Likewise.
1142 (libc_cv_cc_novzeroupper): Likewise.
1143 * sysdeps/i386/configure: Regenerated.
1146 * sysdeps/i386/fpu/s_cexp.S: Remove.
1147 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1148 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1149 * math/libm-test.inc (cexp_test): Add more tests.
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153 2012-03-21 Allan McRae <allan@archlinux.org>
1155 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1157 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1160 * math/w_exp2.c: Do not include <float.h>.
1161 (o_threshold, u_threshold): Remove.
1162 (__exp2): Calculate result before checking finiteness and calling
1164 * math/w_exp2f.c: Likewise.
1165 * math/w_exp2l.c: Likewise.
1166 * math/libm-test.inc (exp2_test): Require overflow exception for
1170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1171 range of signed 64-bit integers before using fistpll. Remove
1172 checks for whether integers fit in mantissa bits.
1173 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1174 the range of signed 32-bit integers before using fistpl. Remove
1175 checks for whether integers fit in mantissa bits.
1176 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1177 (__ieee754_powl): Test for y outside the range of signed 64-bit
1178 integers before using fistpll. Reduce 64-bit values to 63-bit
1180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1181 divide-by-zero is raised for zero to large negative powers.
1182 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1183 (__ieee754_powl): Test for y outside the range of signed 64-bit
1184 integers before using fistpll. Reduce 64-bit values to 63-bit
1186 * math/libm-test.inc (pow_test): Add more tests.
1188 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1190 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1191 <stdio-common/_itoa.h>.
1192 * debug/segfault.c: Likewise.
1193 * elf/dl-cache.c: Likewise.
1194 * elf/dl-minimal.c: Likewise.
1195 * elf/dl-misc.c: Likewise.
1196 * elf/dl-sysdep.c: Likewise.
1197 * elf/dl-version.c: Likewise.
1198 * elf/rtld.c: Likewise.
1199 * hurd/hurdsock.c: Likewise.
1200 * hurd/lookup-retry.c: Likewise.
1201 * malloc/malloc.c: Likewise.
1202 * malloc/mtrace.c: Likewise.
1203 * nscd/nscd_getgr_r.c: Likewise.
1204 * nscd/nscd_getpw_r.c: Likewise.
1205 * nscd/nscd_getserv_r.c: Likewise.
1206 * posix/getopt_init.c: Likewise.
1207 * posix/wordexp.c: Likewise.
1208 * stdio-common/_itoa.c: Likewise.
1209 * stdio-common/printf_fphex.c: Likewise.
1210 * stdio-common/vfprintf.c: Likewise.
1211 * string/_strerror.c: Likewise.
1212 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1213 * sysdeps/i386/i686/hp-timing.h: Likewise.
1214 * sysdeps/mach/_strerror.c: Likewise.
1215 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1216 * sysdeps/mach/hurd/sethostid.c: Likewise.
1217 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1218 * sysdeps/mach/xpg-strerror.c: Likewise.
1219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1220 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1221 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1222 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1223 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1224 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1225 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1226 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1227 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1228 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1229 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1230 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1233 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1235 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1236 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1237 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1238 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1239 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1241 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1243 * stdio-common/_itoa.h: Moved to ...
1244 * sysdeps/generic/_itoa.h: Here.
1246 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1248 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1249 instead of "_itoa.h" and "_itowa.h".
1250 * stdio-common/vfprintf.: Likewise.
1252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1256 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1257 (__signbit): Likwise.
1261 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1263 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1266 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1268 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1269 OVERFLOW_EXCEPTION_OK.
1270 * math/libm-test.inc ("Philosophy"): Update comment about
1272 (OVERFLOW_EXCEPTION): Define.
1273 (OVERFLOW_EXCEPTION_OK): Likewise.
1274 (INVALID_EXCEPTION_OK): Renumber.
1275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1276 (IGNORE_ZERO_INF_SIGN): Likewise.
1277 (test_exceptions): Handle FE_OVERFLOW.
1278 (exp10_test): Expect overflow exceptions.
1279 (exp2_test): Likewise.
1280 (expm1_test): Likewise.
1281 (nextafter_test): Likewise.
1282 (pow_test): Likewise.
1283 (scalbn_test): Likewise.
1284 (scalbln_test): Likewise.
1286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1288 * sysdeps/x86_64/bits/atomic.h
1289 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1291 (atomic_exchange_acq): Likewise.
1292 (__arch_exchange_and_add_body): Likewise.
1293 (__arch_add_body): Likewise.
1294 (atomic_add_negative): Likewise.
1295 (atomic_add_zero): Likewise.
1297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1299 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1300 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1304 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1305 Check __x86_64__ instead of __WORDSIZE.
1307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1309 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1311 2012-03-19 David S. Miller <davem@davemloft.net>
1313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1315 * sysdeps/sparc/fpu/fenv_private.h: New file.
1316 * sysdeps/sparc/fpu/math_private.h: Use it.
1317 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1319 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1320 (libc_feholdexcept_setroundl): Remove.
1321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1323 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1324 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1328 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1329 int64_t instead of long int.
1330 (INSERT_WORDS64): Likwise.
1332 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1334 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1335 _Unwind_GetCFA return to _Unwind_Ptr first.
1337 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1340 * math/s_clog.c: Include <float.h>.
1341 (__clog): Scale large or subnormal inputs.
1342 * math/s_clogf.c: Likewise.
1343 * math/s_clogl.c: Likewise.
1344 * math/s_clog10.c: Include <float.h>.
1345 (M_LOG10_2): Define.
1346 (__clog10): Scale large or subnormal inputs.
1347 * math/s_clog10f.c: Likewise.
1348 * math/s_clog10l.c: Likewise.
1349 * math/libm-test.inc (clog_test): Add more tests.
1350 (clog10_test): Likewise.
1351 * sysdeps/i386/fpu/libm-test-ulps: Update.
1352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1355 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1357 * math/libm-test.inc (atan2_test): Add another test.
1359 * Makerules (common-objdir-compile): Remove.
1360 * sysdeps/unix/Makefile (config-generated): Do not add
1361 $(unix-generated) to variable.
1362 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1363 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1365 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1367 [generic bits/local_lim.h] (before-compile): Do not append to
1369 [generic bits/local_lim.h] (common-generated): Likewise.
1370 [generic sys/param.h] (before-compile): Do not append to variable.
1371 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1372 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1373 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1376 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1377 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1378 [generic sys/param.h] ($(addprefix
1379 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1380 [generic sys/param.h] (common-generated): Do not append to
1382 [generic sys/param.h] (sysdep_headers): Likewise.
1383 [generic bits/errno.h] (before-compile): Do not append to
1385 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1387 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1388 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1389 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1390 [generic bits/errno.h] (common-generated): Do not append to
1392 [generic bits/ioctls.h] (before-compile): Do not append to
1394 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1396 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1397 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1398 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1400 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1401 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1402 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1403 [generic bits/ioctls.h] (common-generated): Do not append to
1405 [generic sys/syscall.h] (syscall.h): Remove variable.
1406 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1408 [generic sys/syscall.h] (before-compile): Do not append to
1410 [generic sys/syscall.h] (common-generated): Likewise.
1411 * sysdeps/unix/errnos-tmpl.c: Remove file.
1412 * sysdeps/unix/errnos.awk: Likewise.
1413 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1414 * sysdeps/unix/ioctls.awk: Likewise.
1415 * sysdeps/unix/mk-local_lim.c: Likewise.
1416 * sysdeps/unix/snarf-ioctls: Likewise.
1418 2012-03-19 Richard Henderson <rth@twiddle.net>
1420 * sysdeps/i386/fpu/fenv_private.h: New file.
1421 * sysdeps/i386/fpu/math_private.h: Use it.
1422 (math_opt_barrier, math_force_eval): Remove.
1423 (libc_feholdexcept_setround_53bit): Remove.
1424 (libc_feupdateenv_53bit): Remove.
1425 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1426 (math_opt_barrier, math_force_eval): Remove.
1427 (libc_feholdexcept): Remove.
1428 (libc_feholdexcept_setround): Remove.
1429 (libc_fetestexcept, libc_fesetenv): Remove.
1430 (libc_feupdateenv_test): Remove.
1431 (libc_feupdateenv, libc_feholdsetround): Remove.
1432 (libc_feresetround): Remove.
1434 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1435 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1437 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1438 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1439 (libc_feupdateenv_testl): New.
1440 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1441 (libc_feupdateenv_testf): New.
1442 (libc_feupdateenv): Use libc_feupdateenv_test.
1443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1444 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1446 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1447 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1448 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1449 (libc_feresetround_noex): New.
1450 (libc_feresetround_noexf): New.
1451 (libc_feresetround_noexl): New.
1452 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1453 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1454 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1455 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1460 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1461 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1462 SET_RESTORE_ROUND_NOEX.
1463 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1464 SET_RESTORE_ROUND_NOEXF.
1465 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1466 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1467 (libc_feholdsetroundf): New.
1468 (libc_feresetround, libc_feresetroundf): New.
1470 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1471 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1472 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1474 * sysdeps/generic/math_private.h: Include <fenv.h>.
1475 (default_libc_feholdexcept): New.
1476 (default_libc_feholdexcept_setround): New.
1477 (default_libc_fesetenv, default_libc_feupdateenv): New.
1478 (libc_feholdexcept): Only define if undefined.
1479 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1480 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1481 (libc_feholdexcept_setroundl): Likewise.
1482 (libc_feholdexcept_setround_53bit): Likewise.
1483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1484 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1485 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1486 (libc_feupdateenv_53bit): Likewise.
1487 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1488 (libc_feholdexcept): Convert from macro to inline function.
1489 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1490 (libc_fesetenv, libc_feupdateenv): Likewise.
1492 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1493 not previously defined.
1494 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1495 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1496 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1497 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1498 * sysdeps/ieee754/flt-32/math_private.h: New file.
1499 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1500 math_private.h below SET_FLOAT_WORD.
1501 (__isnan, __isinf_ns, __finite): Remove.
1502 (__isnanf, __isinf_nsf, __finitef): Remove.
1504 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1508 2012-03-17 David S. Miller <davem@davemloft.net>
1511 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1514 2012-03-16 David S. Miller <davem@davemloft.net>
1516 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1522 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1523 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1524 sysdep_routines when subdir is sysvipc.
1525 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1528 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1532 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1538 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1539 (__lround): Renamed to ...
1540 (__llround): This. Replace long int with long long int.
1541 Define lround functions as aliases of llround functions.
1542 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1546 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1547 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1548 adresses to uintptr_t. Replace "long int" and "unsigned long
1549 int" with "greg_t" on va_arg.
1551 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1554 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1556 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1557 Move e_machine check before EI_CLASS check. Handle x32
1558 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1559 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1560 SKIP_EM_IA_64 and include
1561 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1563 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1564 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1565 (add_system_dir): New macro.
1567 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1568 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1570 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1581 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1583 * math/w_j0f.c (j0f): Likewise.
1585 * math/w_j0l.c (__j0l): Likewise.
1587 * math/w_j1.c (j1): Likewise.
1589 * math/w_j1f.c (j1f): Likewise.
1591 * math/w_j1l.c (__j1l): Likewise.
1593 * math/w_jn.c (jn): Likewise.
1595 * math/w_jnf.c (jnf): Likewise.
1597 * math/w_jnl.c (__jnl): Likewise.
1599 * math/libm-test.inc (j0_test): Add more tests.
1600 (j1_test): Likewise.
1601 (jn_test): Likewise. Add trailing semicolon to existing test.
1602 (y0_test): Likewise.
1603 (y1_test): Likewise.
1604 * sysdeps/i386/fpu/libm-test-ulps: Update.
1605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1610 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1611 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1613 (__tanl): Set errno for infinite argument.
1614 * sysdeps/i386/fpu/mptan.c: Remove.
1615 * sysdeps/i386/fpu/s_tan.S: Likewise.
1616 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1617 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1618 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1619 * math/libm-test.inc (tan_test): Add more tests and enable more
1620 tests for double and long double.
1621 * sysdeps/i386/fpu/libm-test-ulps: Update.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1626 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1627 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1629 2012-03-16 Roland McGrath <roland@hack.frob.com>
1631 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1632 * configure.in: Use it for both main tree and add-ons.
1633 * configure: Regenerated.
1635 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1637 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1639 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1641 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1645 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1646 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1651 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1654 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1655 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1656 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1657 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1658 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1659 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1660 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1661 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1662 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1663 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1664 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1665 * math/libm-test.inc (cos_test): Add more tests and enable more
1666 tests for long double.
1667 (sin_test): Likewise.
1668 (sincos_test): Likewise.
1669 * sysdeps/i386/fpu/libm-test-ulps: Update.
1670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1672 2012-03-16 David S. Miller <davem@davemloft.net>
1674 * sysdeps/sparc/fpu/math_private.h: New file.
1676 2012-03-15 David S. Miller <davem@davemloft.net>
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1692 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1693 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1695 * sysdeps/sparc/sparc-ifunc.h: New file.
1696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1741 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1743 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1747 2012-03-15 Andreas Jaeger <aj@suse.de>
1750 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1751 ieee754/flt-32 implementation for sin, cos and sincos.
1752 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1753 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1754 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1755 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1756 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1757 ieee754/flt-32 implementation for tan.
1759 * math/libm-test.inc (cos_test): Enable some large input tests for
1761 (sin_test): Likewise.
1762 (sincos_test): Likewise.
1763 (tan_test): Add tests for large input.
1765 * sysdeps/i386/fpu/libm-test-ulps: Update.
1767 2012-03-15 Andreas Jaeger <aj@suse.de>
1770 * math/libm-test.inc (cos_test): Add more test cases.
1771 (sin_test): Likewise.
1772 (sincos_test): Likewise.
1774 2012-03-15 Andreas Jaeger <aj@suse.de>
1777 * math/libm-test.inc (cos_test): Add a test case for large input
1779 (sin_test): Likewise.
1780 (sincos_test): Likewise.
1782 2012-03-15 Andreas Jaeger <aj@suse.de>,
1783 Joseph Myers <joseph@codesourcery.com>
1786 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1787 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1788 * sysdeps/i386/fpu/branred.c: Likewise.
1789 * sysdeps/i386/fpu/dosincos.c: Likewise.
1790 * sysdeps/i386/fpu/mpa.c: Likewise.
1791 * sysdeps/i386/fpu/s_cos.S: Likewise.
1792 * sysdeps/i386/fpu/s_sin.S: Likewise.
1793 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1794 * sysdeps/i386/fpu/sincos32.c: Likewise.
1796 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1798 (libc_feupdateenv_53bit): Define.
1799 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1801 (libc_feupdateenv_53bit): Define.
1803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1804 53 bit (without extend i386 double precision).
1806 * math/libm-test.inc (sincos_test): Add tests for large input.
1810 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1812 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1816 2012-03-15 David S. Miller <davem@davemloft.net>
1818 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1819 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1820 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1821 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1846 fmin/fmax sysdep routines.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1849 2012-03-14 David S. Miller <davem@davemloft.net>
1851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1923 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1928 * sysdeps/sparc/configure.in: New file.
1929 * sysdeps/sparc/configure: Generate.
1930 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1931 * configure: Regenerate.
1932 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1933 * config.make.in (have-as-vis3): New.
1934 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1935 available use -Av9d instead of -Av9a.
1936 * sysdeps/sparc/sparc64/Makefile: Likewise.
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1952 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1953 fzeros/fnegs to load 0x80000000 into a float register instead of
1955 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1957 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1961 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1962 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1963 ($(inst_includedir)/bits/syscall.h): Remove rule.
1964 ($(objpfx)bits/syscall.d): Include instead of
1965 $(objpfx)syscall-list.d.
1966 (generated): Change syscall-list.h and syscall-list.d to
1967 bits/syscall.h and bits/syscall.d.
1969 2012-03-14 Roland McGrath <roland@hack.frob.com>
1972 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1974 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1977 * math/s_csqrt.c: Include <float.h>.
1978 (__csqrt): Scale large or subnormal inputs.
1979 * math/s_csqrtf.c: Likewise.
1980 * math/s_csqrtl.c: Likewise.
1981 * math/libm-test.inc (csqrt_test): Add more tests.
1982 * sysdeps/i386/fpu/libm-test-ulps: Update.
1983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986 * math/libm-test.inc (hypot_test): Add more tests.
1988 2012-03-13 David S. Miller <davem@davemloft.net>
1991 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1992 double-precision for the calculation instead of scaling.
1994 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1996 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1997 manipulate bits before adding and subtracting TWO52[sx].
1998 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2003 2012-03-13 David S. Miller <davem@davemloft.net>
2005 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2006 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2008 rtld-global-offsets.h
2009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2011 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2014 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2016 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2017 'err' in the ifdef scope in which it is actually used.
2019 * nss/nss_db/db-init.c: Include string.h
2021 2012-03-12 David S. Miller <davem@davemloft.net>
2023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2024 masking out of the most significant byte of random value used.
2025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2026 Fix coding style in previous change.
2028 * sysdeps/unix/sysv/linux/kernel-features.h
2029 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2030 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2032 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2035 2012-03-11 David S. Miller <davem@davemloft.net>
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2038 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2040 for 'resultvar' otherwise things get truncated on 64-bit.
2042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2043 Fix masking out of the most significant byte of random value used.
2045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2047 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2051 2012-03-09 David S. Miller <davem@davemloft.net>
2053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2054 variables with appropriate CPP guards.
2055 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2056 frame pointer, not the stack pointer. Correct layout comments. Fix test
2057 on resulting framesize and the management of the outregs buffer for pltexit.
2058 Preserve floating point return values across _dl_call_pltexit call.
2059 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2060 framesize and the management of the outregs buffer for pltexit.
2061 Preserve floating point return values across _dl_call_pltexit
2063 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2064 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2065 (print_exit): Fix format string for return register value.
2067 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2069 * sunrpc/Makefile (others): Add rpcgen.
2070 ($(objpfx)rpcgen): Remove special build rule and dependency on
2072 * sunrpc/rpcgen.c: New file.
2074 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2077 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2078 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2079 * sysdeps/i386/crti.S: Likewise.
2080 * sysdeps/i386/crtn.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2082 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2085 * sysdeps/sh/crti.S: Likewise.
2086 * sysdeps/sh/crtn.S: Likewise.
2087 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2090 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2092 * locale/programs/locfile-kw.gperf: Likewise.
2093 * locale/programs/charmap-kw.h: Regenerated.
2094 * locale/programs/locfile-kw.h: Likewise.
2097 * intl/plural.y: Replace FSF snail mail address with URL.
2098 * intl/plural.c: Regenerated.
2100 2012-03-09 Richard Henderson <rth@twiddle.net>
2102 * include/math_private.h: Remove file.
2103 * math/math_private.h: Move file ...
2104 * sysdeps/generic/math_private.h: ... here.
2106 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2107 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2108 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2110 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2111 and <math_private.h>.
2112 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2113 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2114 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2115 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2116 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2124 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2126 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2134 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2136 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2138 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2176 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2180 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2200 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2206 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2207 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2208 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2209 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2210 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2212 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2213 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2214 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2215 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2217 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2218 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2219 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2220 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2221 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2222 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2223 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2225 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2226 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2227 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2231 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2235 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2236 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2237 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2240 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2241 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2242 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2244 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2245 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2246 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2247 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2248 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2249 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2250 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2251 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2252 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2253 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2254 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2255 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2256 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2260 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2261 * sysdeps/ieee754/k_standard.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2381 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2382 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2384 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2389 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2394 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2411 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2412 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2422 * sysdeps/ieee754/s_lib_version.c: Likewise.
2423 * sysdeps/ieee754/s_matherr.c: Likewise.
2424 * sysdeps/ieee754/s_signgam.c: Likewise.
2425 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2426 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2427 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2428 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2430 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2431 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2432 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2433 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2434 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2435 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2436 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2439 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2442 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2443 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2447 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2449 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2450 * sunrpc/rpc_main.c: Likewise.
2451 * sunrpc/rpc_svcout.c: Likewise.
2453 2012-03-09 David S. Miller <davem@davemloft.net>
2455 * include/math_private.h: New file.
2457 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2459 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2460 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2461 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2462 from <bits/socket_type.h>.
2463 (enum __socket_type): Don't define here.
2464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2469 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2472 * Makerules ($(inst_includedir)/%.h): New rule.
2473 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2474 (install-others): Remove variable setting.
2475 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2477 2012-03-08 Richard Henderson <rth@twiddle.net>
2479 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2480 from macro to inline function; merge with the
2481 !__LIBC_INTERNAL_MATH_INLINES version.
2482 (__ieee754_sqrtf): Likewise.
2484 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2486 (__rintf, __floor, __floorf): Likewise.
2488 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2489 macro to inline function.
2490 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2492 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2493 not <math/math_private.h>.
2495 2012-03-08 David S. Miller <davem@davemloft.net>
2497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2499 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2501 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2503 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2505 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2506 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2508 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2510 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2511 be defined individually, they must be defined as a block. Define
2512 S for printing a string instead of hidint the different by using a
2513 macro for adding the 'l'.
2514 * stdio-common/tst-fphex-wide.c: Adjust.
2516 2012-03-07 Marek Polacek <polacek@redhat.com>
2518 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2520 2012-03-08 Marek Polacek <polacek@redhat.com>
2523 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2524 * stdio-common/tst-fphex.c: Define a few macros to make the
2525 test reusable. Use them.
2526 * stdio-common/tst-fphex-wide.c: New file.
2528 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2531 * manual/macros.texi (gnusystems): New macro.
2532 (nongnusystems): Likewise.
2533 (gnulinuxhurdsystems): Likewise.
2534 (gnuhurdsystems): Likewise..
2535 (gnulinuxsystems): Likewise.
2536 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2537 variants of the GNU system, not "GNU system".
2538 * manual/conf.texi: Likewise.
2539 * manual/errno.texi: Likewise. Update example of errno macro
2541 * manual/filesys.texi: Likewise.
2542 (getumask): Document as specific to GNU/Hurd.
2543 * manual/install.texi: Likewise. Reword some references to
2545 * manual/intro.texi: Likewise.
2546 * manual/io.texi: Likewise.
2547 (File Name Portability): Detail which constraints are inapplicable
2548 to all GNU systems and which are only inapplicable to GNU/Hurd.
2549 * manual/job.texi: Likewise.
2550 * manual/llio.texi: Likewise.
2551 (O_NOCTTY): Document as present on GNU/Linux.
2552 * manual/maint.texi: Likewise.
2553 * manual/memory.texi: Likewise.
2554 * manual/pattern.texi: Likewise.
2555 * manual/pipe.texi: Likewise.
2556 * manual/process.texi: Likewise.
2557 * manual/resource.texi: Likewise.
2558 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2560 * manual/setjmp.texi: Likewise.
2561 * manual/signal.texi: Likewise.
2562 * manual/startup.texi: Likewise.
2563 * manual/stdio.texi: Likewise.
2564 * manual/terminal.texi: Likewise.
2565 (ONLCR): Document as POSIX.
2566 (OXTABS): Document availability on GNU/Linux as XTABS.
2567 (ONOEOT): Document availability separately from other bits.
2568 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2569 * manual/time.texi: Likewise.
2570 * manual/users.texi: Likewise.
2571 * INSTALL: Regenerated.
2572 * sysdeps/gnu/errlist.c: Regenerated.
2574 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2575 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2576 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2578 * configure: Regenerated.
2580 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2582 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2583 default includes instead of AC_HEADER_CHECK.
2584 * sysdeps/i386/configure: Regenerated.
2587 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2588 * math/s_cacoshf.c (__cacoshf): Likewise.
2589 * math/s_cacoshl.c (__cacoshl): Likewise.
2590 * math/s_casinh.c (__casinh): Set signs of result from argument.
2591 * math/s_casinhf.c (__casinhf): Likewise.
2592 * math/s_casinhl.c (__casinhl): Likewise.
2593 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2594 (casinh_test): Add more tests.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2598 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2600 * po/zh_TW.po: Update from translation team.
2602 * login/Makefile (distribute): Remove variable.
2603 * catgets/Makefile: Likewise.
2604 * mach/Makefile: Likewise.
2605 * malloc/Makefile: Likewise.
2606 * misc/Makefile: Likewise.
2607 * iconv/Makefile: Likewise.
2608 * nscd/Makefile: Likewise.
2609 * hurd/Makefile: Likewise.
2610 * manual/Makefile: Likewise.
2611 * locale/Makefile: Likewise.
2612 * intl/Makefile: Likewise.
2613 * conform/Makefile: Likewise.
2614 * nss/Makefile: Likewise.
2615 * time/Makefile: Likewise.
2616 * soft-fp/Makefile: Likewise.
2617 * dirent/Makefile: Likewise.
2618 * gmon/Makefile: Likewise.
2619 * po/Makefile: Likewise.
2620 * rt/Makefile: Likewise.
2621 * socket/Makefile: Likewise.
2622 * math/Makefile: Likewise.
2623 * signal/Makefile: Likewise.
2624 * debug/Makefile: Likewise.
2625 * elf/Makefile: Likewise.
2626 * timezone/Makefile: Likewise.
2627 * stdlib/Makefile: Likewise.
2628 * iconvdata/Makefile: Likewise.
2629 * sunrpc/Makefile: Likewise.
2630 * io/Makefile: Likewise.
2631 * argp/Makefile: Likewise.
2632 * inet/Makefile: Likewise.
2633 * hesiod/Makefile: Likewise.
2634 * grp/Makefile: Likewise.
2635 * csu/Makefile: Likewise.
2636 * wctype/Makefile: Likewise.
2637 * crypt/Makefile: Likewise.
2638 * libio/Makefile: Likewise.
2639 * string/Makefile: Likewise.
2640 * nis/Makefile: Likewise.
2641 * resolv/Makefile: Likewise.
2642 * stdio-common/Makefile: Likewise.
2643 * wcsmbs/Makefile: Likewise.
2644 * dlfcn/Makefile: Likewise.
2645 * posix/Makefile: Likewise.
2647 * timezone/Makefile: Don't install timezone files, just the programs
2650 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2652 * nss/databases.def: Add missing gshadow entry.
2654 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2656 2012-03-06 Marek Polacek <polacek@redhat.com>
2659 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2660 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2661 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2662 * stdio-common/tst-long-dbl-fphex.c: New file.
2664 2012-03-06 David S. Miller <davem@davemloft.net>
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2667 (set_obp_int): New function.
2668 (get_obp_int): New function.
2669 (__get_clockfreq_via_dev_openprom): Likewise.
2670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2671 Avoid unused variable warnings on 'val' and use builtin_expect.
2672 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2674 (INLINE_CLONE_SYSCALL): Likewise.
2676 2012-03-05 David S. Miller <davem@davemloft.net>
2678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2680 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2688 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2691 Replace gettimeofday with __vdso_gettimeofday.
2693 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2694 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2695 __vdso_clock_gettime and __vdso_getcpu.
2697 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2698 time with __vdso_time.
2700 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2702 * manual/lang.texi (size_t): Note types to which size_t may be
2703 equivalent with the GNU C Library, but do not describe when
2704 differences between them are significant.
2706 2012-03-05 Andreas Jaeger <aj@suse.de>
2708 * sysdeps/i386/fpu/libm-test-ulps: Update.
2710 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2713 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2714 (__ieee754_pow): Save and restore rounding mode and use
2715 round-to-nearest for main computations.
2716 * math/libm-test.inc (pow_test_tonearest): New function.
2717 (pow_test_towardzero): Likewise.
2718 (pow_test_downward): Likewise.
2719 (pow_test_upward): Likewise.
2720 (main): Call the new functions.
2721 * sysdeps/i386/fpu/libm-test-ulps: Update.
2722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2725 * math/libm-test.inc (cosh_test_tonearest): New function.
2726 (cosh_test_towardzero): Likewise.
2727 (cosh_test_downward): Likewise.
2728 (cosh_test_upward): Likewise.
2729 (sinh_test_tonearest): Likewise.
2730 (sinh_test_towardzero): Likewise.
2731 (sinh_test_downward): Likewise.
2732 (sinh_test_upward): Likewise.
2733 (main): Call the new functions.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737 2012-03-05 Tom de Vries <tom@codesourcery.com>
2739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2740 default stack guard is set in last bytes.
2741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2743 2012-03-05 Kees Cook <keescook@chromium.org>
2745 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2748 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2749 possibly allocate from heap instead of stack.
2750 * stdio-common/bug-vfprintf-nargs.c: New file.
2751 * stdio-common/Makefile (tests): Add nargs overflow test.
2753 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2757 2012-03-03 Marek Polacek <polacek@redhat.com>
2759 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2760 * math/math_private.h: Likewise.
2761 * stdlib/tst-strtod.c: Likewise.
2762 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2763 * sysdeps/x86_64/bits/atomic.h: Likewise.
2765 2012-03-02 David S. Miller <davem@davemloft.net>
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2771 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2772 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2773 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2774 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2776 2012-03-02 Roland McGrath <roland@hack.frob.com>
2779 * manual/examples/README: New file, says the example source files
2780 can be used under GPL>=2.
2781 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2782 line containing just "*/".
2783 * manual/examples/add.c: Add copyright header (GPL>=2).
2784 * manual/examples/argp-ex1.c: Likewise.
2785 * manual/examples/argp-ex2.c: Likewise.
2786 * manual/examples/argp-ex3.c: Likewise.
2787 * manual/examples/argp-ex4.c: Likewise.
2788 * manual/examples/atexit.c: Likewise.
2789 * manual/examples/db.c: Likewise.
2790 * manual/examples/dir.c: Likewise.
2791 * manual/examples/dir2.c: Likewise.
2792 * manual/examples/execinfo.c: Likewise.
2793 * manual/examples/filecli.c: Likewise.
2794 * manual/examples/filesrv.c: Likewise.
2795 * manual/examples/fmtmsgexpl.c: Likewise.
2796 * manual/examples/genpass.c: Likewise.
2797 * manual/examples/inetcli.c: Likewise.
2798 * manual/examples/inetsrv.c: Likewise.
2799 * manual/examples/isockad.c: Likewise.
2800 * manual/examples/longopt.c: Likewise.
2801 * manual/examples/memopen.c: Likewise.
2802 * manual/examples/memstrm.c: Likewise.
2803 * manual/examples/mkfsock.c: Likewise.
2804 * manual/examples/mkisock.c: Likewise.
2805 * manual/examples/mygetpass.c: Likewise.
2806 * manual/examples/pipe.c: Likewise.
2807 * manual/examples/popen.c: Likewise.
2808 * manual/examples/rprintf.c: Likewise.
2809 * manual/examples/search.c: Likewise.
2810 * manual/examples/select.c: Likewise.
2811 * manual/examples/setjmp.c: Likewise.
2812 * manual/examples/sigh1.c: Likewise.
2813 * manual/examples/sigusr.c: Likewise.
2814 * manual/examples/stpcpy.c: Likewise.
2815 * manual/examples/strdupa.c: Likewise.
2816 * manual/examples/strftim.c: Likewise.
2817 * manual/examples/strncat.c: Likewise.
2818 * manual/examples/subopt.c: Likewise.
2819 * manual/examples/swapcontext.c: Likewise.
2820 * manual/examples/termios.c: Likewise.
2821 * manual/examples/testopt.c: Likewise.
2822 * manual/examples/testpass.c: Likewise.
2823 * manual/examples/timeval_subtract.c: Likewise.
2826 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2828 * manual/timeval_subtract.c.texi: ... here, new file.
2830 2012-03-02 David S. Miller <davem@davemloft.net>
2832 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2834 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2838 (__sin): Save and restore rounding mode and use round-to-nearest
2839 for all computations.
2840 (__cos): Save and restore rounding mode and use round-to-nearest
2841 for all computations.
2842 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2844 (tan): Save and restore rounding mode and use round-to-nearest for
2846 * math/libm-test.inc (cos_test_tonearest): New function.
2847 (cos_test_towardzero): Likewise.
2848 (cos_test_downward): Likewise.
2849 (cos_test_upward): Likewise.
2850 (sin_test_tonearest): Likewise.
2851 (sin_test_towardzero): Likewise.
2852 (sin_test_downward): Likewise.
2853 (sin_test_upward): Likewise.
2854 (tan_test_tonearest): Likewise.
2855 (tan_test_towardzero): Likewise.
2856 (tan_test_downward): Likewise.
2857 (tan_test_upward): Likewise.
2858 (main): Call the new functions.
2859 * sysdeps/i386/fpu/libm-test-ulps: Update.
2860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2863 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2864 small n, then large n, before computing and testing k+n.
2865 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2870 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2871 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2878 * math/libm-test.inc (scalbn_test): Add more tests.
2879 (scalbln_test): Likewise.
2881 * manual/filesys.texi (mode_t): Describe constraints on size and
2882 signedness, not exact equivalence to a particular type.
2884 (ino64_t): Likewise.
2886 (nlink_t): Likewise.
2887 (blkcnt_t): Likewise.
2888 (blkcnt64_t): Likewise.
2889 * manual/llio.texi (off_t): Likewise.
2892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2893 (__ieee754_exp): Save and restore rounding mode and use
2894 round-to-nearest for all computations.
2895 * math/libm-test.inc (exp_test_tonearest): New function.
2896 (exp_test_towardzero): Likewise.
2897 (exp_test_downward): Likewise.
2898 (exp_test_upward): Likewise.
2899 (main): Call the new functions.
2900 * sysdeps/i386/fpu/libm-test-ulps: Update.
2901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903 2012-03-01 Chris Demetriou <cgd@google.com>
2905 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2906 have predictable order.
2908 2012-03-01 David S. Miller <davem@davemloft.net>
2910 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2912 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2913 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2914 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2917 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2918 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2919 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2921 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2922 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2923 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2924 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2925 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2930 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2933 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2936 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2937 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2942 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2943 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2949 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2950 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2951 * sysdeps/sparc/elf/configure: Regenerated.
2953 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2955 * configure.in (AS, LD): Require binutils 2.20 or later.
2956 * configure: Regenerated.
2957 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2958 as required minimum version.
2959 * INSTALL: Regenerated.
2963 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2964 before squaring exponent.
2965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2966 bottom long double and 27 bits of top long double before squaring
2968 * math/libm-test.inc (erfc_test): Add more tests.
2969 * sysdeps/i386/fpu/libm-test-ulps: Update.
2970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2973 2012-03-01 Kai Tietz <ktietz@redhat.com>
2975 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2976 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2977 containing bit-fields.
2978 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2979 * soft-fp/single.h (_FP_UNION_S): Likewise.
2980 * soft-fp/double.h (_FP_UNION_D): Likewise.
2982 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2985 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2986 not include ../strcmp.S.
2987 [USE_AS_STRNCASECMP_L]: Likewise.
2988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2989 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2990 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2991 (__strncasecmp_l_ia32): Define as alias to
2992 __strncasecmp_l_nonascii.
2995 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2996 * sysdeps/i386/fpu/libm-test-ulps: Update.
2997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3002 2012-02-29 Jeff Law <law@redhat.com>
3004 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3007 2012-02-29 Marek Polacek <polacek@redhat.com>
3010 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3011 * elf/Makefile: Add rules to run tst-unused-dep.out.
3013 2012-02-28 David S. Miller <davem@davemloft.net>
3015 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3016 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3022 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3024 * math/libm-test.inc (llround_test): Move one test from
3025 lround_test. Use TEST_f_L in moved test.
3026 (lround_test): Move misplaced test to llround_test. Add testcase
3029 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3031 * sysdeps/x86_64/fpu/e_expf.S: New file.
3032 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3034 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3037 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3038 of remain_len that may cause incomplete multi-byte character and
3040 * posix/bug-regex33.c: New file.
3041 * posix/Makefile (tests): Add bug-regex33.
3043 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3045 * manual/macros.texi: New file.
3046 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3047 * manual/libc.texinfo: Include macros.texi.
3048 * manual/creatute.texi: Likewise.
3049 * manual/install.texi: Likewise.
3050 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3051 @glibcadj{} in references to the GNU C Library.
3052 * manual/charset.texi: Likewise.
3053 * manual/conf.texi: Likewise.
3054 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3055 when not using those macros.
3056 * manual/creature.texi: Likewise.
3057 * manual/crypt.texi: Likewise.
3058 * manual/errno.texi: Likewise.
3059 * manual/filesys.texi: Likewise.
3060 * manual/header.texi: Likewise.
3061 * manual/install.texi: Likewise.
3062 * manual/intro.texi: Likewise.
3063 * manual/io.texi: Likewise.
3064 * manual/job.texi: Likewise.
3065 * manual/lang.texi: Likewise.
3066 * manual/libc.texiinfo: Likewise.
3067 * manual/llio.texi: Likewise.
3068 * manual/locale.texi: Likewise.
3069 * manual/maint.texi: Likewise.
3070 * manual/math.texi: Likewise.
3071 * manual/memory.texi: Likewise.
3072 * manual/message.texi: Likewise.
3073 * manual/nss.texi: Likewise.
3074 * manual/pattern.texi: Likewise.
3075 * manual/process.texi: Likewise.
3076 * manual/resource.texi: Likewise.
3077 * manual/search.texi: Likewise.
3078 * manual/setjmp.texi: Likewise.
3079 * manual/signal.texi: Likewise.
3080 * manual/socket.texi: Likewise.
3081 * manual/startup.texi: Likewise.
3082 * manual/stdio.texi: Likewise.
3083 * manual/string.texi: Likewise.
3084 * manual/sysinfo.texi: Likewise.
3085 * manual/syslog.texi: Likewise.
3086 * manual/terminal.texi: Likewise.
3087 * manual/time.texi: Likewise.
3088 * manual/users.texi: Likewise.
3089 * INSTALL: Regenerated.
3090 * NOTES: Regenerated.
3091 * sysdeps/gnu/errlist.c: Regenerated.
3093 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3095 * include/dirent.h: Include <dirstream.h> before
3098 2012-02-28 David S. Miller <davem@davemloft.net>
3100 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3101 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3102 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3103 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3105 2012-02-27 David S. Miller <davem@davemloft.net>
3107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3109 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3110 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3113 frame pointer instead of stack pointer relative arg slot.
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3118 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3121 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3123 2012-02-27 David S. Miller <davem@davemloft.net>
3125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3131 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3132 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3134 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3136 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3137 later. Allow versions 5-9.
3138 * configure: Regenerated.
3139 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3140 required minimum version and 4.6 as recommended version. Do not
3141 mention bugs in GCC 2.7 and 2.8.
3142 * INSTALL: Regenerated.
3144 2012-02-27 David S. Miller <davem@davemloft.net>
3146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3152 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3156 manipulate bits before adding and subtracting TWO112[sx].
3157 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3159 2012-02-27 Roland McGrath <roland@hack.frob.com>
3162 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3163 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3164 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3165 being in POSIX, because they are in 1003.1-2008.
3167 * rt/tst-aio.c: Include <fcntl.h>.
3168 * rt/tst-aio7.c: Likewise.
3169 * rt/tst-aio64.c: Likewise.
3171 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3173 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3175 * manual/install.texi (--with-headers): Describe headers as
3176 interface headers, not private headers.
3177 (Specific advice for GNU/Linux systems): Describe use of headers
3178 from "make headers_install", not private headers from older
3180 * INSTALL: Regenerated.
3181 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3183 * sysdeps/unix/sysv/linux/configure: Regenerated.
3185 * manual/llio.texi (fclean): Remove documentation.
3187 * manual/Makefile (libc-texi-generated): New variable. Include
3189 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3190 $(libc-texi-generated), not duplicated list of files.
3191 (version.texi, stamp-version): New rules.
3192 (realclean): Remove $(libc-texi-generated), not individual files
3193 from that list. Do not remove dir-add.texinfo.
3194 * manual/libc.texinfo: Comment out uses of edition numbers and
3195 references to printed manual. Remove last-updated dates.
3196 (EDITION): Comment out.
3198 (VERSION, UPDATED): Remove.
3199 (version.texi): Include.
3201 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3203 * sysdeps/posix/spawni.c: Include <signal.h>.
3204 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3205 * sysdeps/pthread/aio_fsync.c: Likewise.
3207 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3209 * conform/Makefile (tests): Run only when not cross-compiling and
3210 when fast-check is not defined.
3212 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3213 * conform/data/limits.h-data: Fixes for POSIX2008.
3214 * conform/run-conformtest.sh: Run all tests.
3215 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3217 * include/bits/dlfcn.h: Likewise.
3218 * include/langinfo.h: Likewise.
3219 * include/monetary.h: Likewise.
3220 * include/sys/poll.h: Likewise.
3222 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3224 * posix/spawn.h: Define __need_sigset_t.
3225 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3226 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3227 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3228 to get sigevent_t only.
3229 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3233 process_vm_writev only for __USE_GNU.
3234 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3236 * conform/Makefile: For now ignore errors from run-conformtest.
3237 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3238 POSIX to avoid namespace pollution. Don't prepend headers.
3239 * conform/data/aio.h-data: Fixes for POSIX testing.
3240 * conform/data/fcntl.h-data: Likewise.
3241 * conform/data/glob.h-data: Likewise.
3242 * conform/data/grp.h-data: Likewise.
3243 * conform/data/pthread.h-data: Likewise.
3244 * conform/data/pwd.h-data: Likewise.
3245 * conform/data/signal.h-data: Likewise.
3246 * conform/data/spawn.h-data: Likewise.
3247 * conform/data/stdio.h-data: Likewise.
3248 * conform/data/stdlib.h-data: Likewise.
3249 * conform/data/stropts.h-data: Likewise.
3250 * conform/data/sys/mman.h-data: Likewise.
3251 * conform/data/sys/stat.h-data: Likewise.
3252 * conform/data/sys/types.h-data: Likewise.
3253 * conform/data/sys/wait.h-data: Likewise.
3254 * conform/data/time.h-data: Likewise.
3255 * conform/data/unistd.h-data: Likewise.
3256 * conform/data/utime.h-data: Likewise.
3258 * io/sys/stat.h: fchmod was always in POSIX.
3259 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3260 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3261 * rt/aio.h: Define __need_timespec before including <time.h>.
3262 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3263 struct. Add forward declaration of pthread_attr_t and use it in
3265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3267 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3268 always remove CLK_TCK definition.
3270 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3272 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3274 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3276 * conform/run-conformtest.sh: New file.
3277 * conform/Makefile: Run run-conformtest for tests.
3278 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3281 * conform/data/uchar.h-data: New file.
3282 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3283 * conform/data/arpa/inet.h-data: Likewise.
3284 * conform/data/assert.h-data: Likewise.
3285 * conform/data/complex.h-data: Likewise.
3286 * conform/data/cpio.h-data: Likewise.
3287 * conform/data/ctype.h-data: Likewise.
3288 * conform/data/dirent.h-data: Likewise.
3289 * conform/data/dlfcn.h-data: Likewise.
3290 * conform/data/errno.h-data: Likewise.
3291 * conform/data/fcntl.h-data: Likewise.
3292 * conform/data/float.h-data: Likewise.
3293 * conform/data/fmtmsg.h-data: Likewise.
3294 * conform/data/fnmatch.h-data: Likewise.
3295 * conform/data/ftw.h-data: Likewise.
3296 * conform/data/glob.h-data: Likewise.
3297 * conform/data/grp.h-data: Likewise.
3298 * conform/data/iconv.h-data: Likewise.
3299 * conform/data/inttypes.h-data: Likewise.
3300 * conform/data/langinfo.h-data: Likewise.
3301 * conform/data/libgen.h-data: Likewise.
3302 * conform/data/limits.h-data: Likewise.
3303 * conform/data/locale.h-data: Likewise.
3304 * conform/data/math.h-data: Likewise.
3305 * conform/data/monetary.h-data: Likewise.
3306 * conform/data/mqueue.h-data: Likewise.
3307 * conform/data/ndbm.h-data: Likewise.
3308 * conform/data/net/if.h-data: Likewise.
3309 * conform/data/netdb.h-data: Likewise.
3310 * conform/data/netinet/in.h-data: Likewise.
3311 * conform/data/nl_types.h-data: Likewise.
3312 * conform/data/poll.h-data: Likewise.
3313 * conform/data/pthread.h-data: Likewise.
3314 * conform/data/pwd.h-data: Likewise.
3315 * conform/data/regex.h-data: Likewise.
3316 * conform/data/sched.h-data: Likewise.
3317 * conform/data/search.h-data: Likewise.
3318 * conform/data/semaphore.h-data: Likewise.
3319 * conform/data/setjmp.h-data: Likewise.
3320 * conform/data/signal.h-data: Likewise.
3321 * conform/data/spawn.h-data: Likewise.
3322 * conform/data/stdarg.h-data: Likewise.
3323 * conform/data/stdio.h-data: Likewise.
3324 * conform/data/stdlib.h-data: Likewise.
3325 * conform/data/string.h-data: Likewise.
3326 * conform/data/strings.h-data: Likewise.
3327 * conform/data/stropts.h-data: Likewise.
3328 * conform/data/sys/ipc.h-data: Likewise.
3329 * conform/data/sys/mman.h-data: Likewise.
3330 * conform/data/sys/msg.h-data: Likewise.
3331 * conform/data/sys/resource.h-data: Likewise.
3332 * conform/data/sys/select.h-data: Likewise.
3333 * conform/data/sys/sem.h-data: Likewise.
3334 * conform/data/sys/shm.h-data: Likewise.
3335 * conform/data/sys/socket.h-data: Likewise.
3336 * conform/data/sys/stat.h-data: Likewise.
3337 * conform/data/sys/statvfs.h-data: Likewise.
3338 * conform/data/sys/time.h-data: Likewise.
3339 * conform/data/sys/timeb.h-data: Likewise.
3340 * conform/data/sys/times.h-data: Likewise.
3341 * conform/data/sys/types.h-data: Likewise.
3342 * conform/data/sys/uio.h-data: Likewise.
3343 * conform/data/sys/un.h-data: Likewise.
3344 * conform/data/sys/utsname.h-data: Likewise.
3345 * conform/data/sys/wait.h-data: Likewise.
3346 * conform/data/syslog.h-data: Likewise.
3347 * conform/data/tar.h-data: Likewise.
3348 * conform/data/termios.h-data: Likewise.
3349 * conform/data/utime.h-data: Likewise.
3350 * conform/data/utmpx.h-data: Likewise.
3351 * conform/data/varargs.h-data: Likewise.
3352 * conform/data/wchar.h-data: Likewise.
3353 * conform/data/wctype.h-data: Likewise.
3354 * conform/data/wordexp.h-data: Likewise.
3356 * include/stropts.h: New file.
3357 * include/uchar.h: New file.
3358 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3359 * include/assert.h: Likewise.
3360 * include/ctype.h: Likewise.
3361 * include/dirent.h: Likewise.
3362 * include/dlfcn.h: Likewise.
3363 * include/fcntl.h: Likewise.
3364 * include/fnmatch.h: Likewise.
3365 * include/glob.h: Likewise.
3366 * include/grp.h: Likewise.
3367 * include/libio.h: Likewise.
3368 * include/locale.h: Likewise.
3369 * include/math.h: Likewise.
3370 * include/net/if.h: Likewise.
3371 * include/netdb.h: Likewise.
3372 * include/netinet/in.h: Likewise.
3373 * include/pthread.h: Likewise.
3374 * include/pwd.h: Likewise.
3375 * include/regex.h: Likewise.
3376 * include/sched.h: Likewise.
3377 * include/search.h: Likewise.
3378 * include/setjmp.h: Likewise.
3379 * include/signal.h: Likewise.
3380 * include/stdio.h: Likewise.
3381 * include/stdlib.h: Likewise.
3382 * include/string.h: Likewise.
3383 * include/sys/cdefs.h: Likewise.
3384 * include/sys/mman.h: Likewise.
3385 * include/sys/msg.h: Likewise.
3386 * include/sys/resource.h: Likewise.
3387 * include/sys/select.h: Likewise.
3388 * include/sys/socket.h: Likewise.
3389 * include/sys/stat.h: Likewise.
3390 * include/sys/statvfs.h: Likewise.
3391 * include/sys/time.h: Likewise.
3392 * include/sys/times.h: Likewise.
3393 * include/sys/uio.h: Likewise.
3394 * include/sys/utsname.h: Likewise.
3395 * include/sys/wait.h: Likewise.
3396 * include/termios.h: Likewise.
3397 * include/time.h: Likewise.
3398 * include/ulimit.h: Likewise.
3399 * include/unistd.h: Likewise.
3400 * include/utime.h: Likewise.
3401 * include/wchar.h: Likewise.
3402 * include/wctype.h: Likewise.
3403 * include/wordexp.h: Likewise.
3405 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3407 * time/time.h: TIME_UTC must be a macro.
3408 Make timespec_get available for ISO C11 only as well.
3410 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3412 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3413 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3417 * configure.in: Use -o not -a in test for unsupported multi-arch.
3419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3421 * manual/texinfo.tex: Update to version 2012-01-19.16.
3423 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3425 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3427 2012-02-24 Roland McGrath <roland@hack.frob.com>
3430 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3431 * manual/fdl-1.3.texi: New file.
3432 * manual/fdl-1.1.texi: File removed.
3435 * manual/libc.texinfo (FDL_VERSION): New @set.
3436 Use it for mention of FDL in cover text.
3437 (Documentation License): Use it in @include file name.
3439 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3440 Roland McGrath <roland@hack.frob.com>
3443 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3444 not LONG_LONG_MAX and LONG_LONG_MIN.
3445 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3446 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3448 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3454 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3455 manipulate bits before adding and subtracting TWO23[sx].
3456 * math/libm-test.inc (nearbyint_test): Add more tests.
3458 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3461 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3462 bits before adding and subtracting TWO23[sx].
3463 * math/libm-test.inc (rint_test): Add more tests.
3464 (rint_test_tonearest): Likewise.
3465 (rint_test_towardzero): Likewise.
3466 (rint_test_downward): Likewise.
3467 (rint_test_upward: Likewise.
3469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3472 * include/stdc-predef.h: New file. Extracted from features.h.
3473 * include/features.h: Include stdc-predef.h.
3474 * Makefile (headers): Add stdc-predef.h.
3475 * CONFORMANCE (Compiler limitations): Update.
3477 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3479 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3481 2012-02-21 David S. Miller <davem@davemloft.net>
3483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3486 2012-02-20 David S. Miller <davem@davemloft.net>
3488 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3489 using a normal save/restore sequence, rather than allocating a
3490 dummy stack frame just to store a frame pointer and restore.
3491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3493 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3495 * manual/install.texi: Fix stray word in line-wrapped comment.
3497 2012-02-20 David S. Miller <davem@davemloft.net>
3499 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3500 both binutils and gcc support GOTDATA.
3502 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3503 "rd %pc" in the PIC register setup sequences.
3505 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3507 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3508 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3509 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3514 (SYSCALL_ERROR_HANDLER): Likewise.
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3518 (SYSCALL_ERROR_HANDLER): Likewise.
3520 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3521 (HAVE_GCC_GOTDATA): New.
3522 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3523 relocation support in both binutils and gcc.
3524 * sysdeps/sparc/elf/configure: Regenerate.
3526 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3527 * sysdeps/sparc/sparc32/elf/configure: Delete.
3528 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3529 * sysdeps/sparc/sparc64/elf/configure: Delete.
3530 * sysdeps/sparc/elf/configure.in: New file.
3531 * sysdeps/sparc/elf/configure: Generate.
3533 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3534 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3535 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3536 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3537 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3539 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3541 * manual/install.texi: Do not mention specific glibc version
3543 * manual/libc.texinfo (VERSION, UPDATED): Update.
3544 (@copying): Use @copyright{} and range of years.
3546 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3549 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3550 [crti.S not in sysdirs] (generated): Do not append.
3551 [crti.S not in sysdirs] (omit-deps): Likewise.
3552 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3553 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3554 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3555 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3556 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3558 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3559 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3560 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3561 * csu/defs.awk: Remove file.
3562 * sysdeps/generic/initfini.c: Likewise.
3563 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3565 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3568 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3570 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3571 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3575 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3577 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3578 (__EPOLL_PACKED): Define to empty if not defined by
3580 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3584 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3587 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3591 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3595 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3600 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3609 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3611 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3612 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3614 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3616 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3619 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3621 * math/w_acos.c: Use non-signaling floating-point comparisons.
3622 * math/w_acosf.c: Likewise.
3623 * math/w_acosh.c: Likewise.
3624 * math/w_acoshf.c: Likewise.
3625 * math/w_acoshl.c: Likewise.
3626 * math/w_acosl.c: Likewise.
3627 * math/w_asin.c: Likewise.
3628 * math/w_asinf.c: Likewise.
3629 * math/w_asinl.c: Likewise.
3630 * math/w_atanh.c: Likewise.
3631 * math/w_atanhf.c: Likewise.
3632 * math/w_atanhl.c: Likewise.
3633 * math/w_exp2.c: Likewise.
3634 * math/w_exp2f.c: Likewise.
3635 * math/w_exp2l.c: Likewise.
3636 * math/w_j0.c: Likewise.
3637 * math/w_j0f.c: Likewise.
3638 * math/w_j0l.c: Likewise.
3639 * math/w_j1.c: Likewise.
3640 * math/w_j1f.c: Likewise.
3641 * math/w_j1l.c: Likewise.
3642 * math/w_jn.c: Likewise.
3643 * math/w_jnf.c: Likewise.
3644 * math/w_log.c: Likewise.
3645 * math/w_log10.c: Likewise.
3646 * math/w_log10f.c: Likewise.
3647 * math/w_log10l.c: Likewise.
3648 * math/w_log2.c: Likewise.
3649 * math/w_log2f.c: Likewise.
3650 * math/w_log2l.c: Likewise.
3651 * math/w_logf.c: Likewise.
3652 * math/w_logl.c: Likewise.
3653 * math/w_sqrt.c: Likewise.
3654 * math/w_sqrtf.c: Likewise.
3655 * math/w_sqrtl.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3659 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3660 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3662 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3665 * manual/string.texi (strnlen): Use correct parameter name in
3666 equivalent expression.
3668 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3671 * manual/users.texi (seteuid): Consistently use neweuid for
3674 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3677 * manual/nss.texi (Services in the NSS configuration): Correct
3678 list of services in example configuration file.
3680 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3683 * manual/arith.texi: Remove statements about negative zero
3684 behaving identically to zero.
3686 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3689 * manual/install.texi: Do not document upgrading from libc5.
3691 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3694 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3696 2012-02-18 David S. Miller <davem@davemloft.net>
3698 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3699 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3700 %o7 across the call.
3701 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3706 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3707 * sysdeps/sparc/crtn.S: Likewise.
3709 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3711 * aout/Makefile: Remove.
3713 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3716 * manual/examples/argp-ex1.c (main): Format definition in GNU
3718 * manual/examples/argp-ex2.c (main): Likewise.
3719 * manual/examples/argp-ex3.c (main): Likewise.
3720 * manual/examples/argp-ex4.c (main): Likewise.
3721 * manual/examples/longopt.c (main): Use new-style prototype
3723 * manual/examples/strncat.c (main): Specify return type and use
3724 (void) for arguments.
3725 * manual/examples/subopt.c (main): Use char **argv argument.
3727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3730 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3733 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3736 * manual/string.texi (strchr): Change when strchrnul is
3739 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3742 * manual/locale.texi (setlocale): Document LOCPATH.
3744 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3747 * manual/process.texi (execle): Move @dots{} before last argument.
3749 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3752 * manual/charset.texi (Generic Charset Conversion): Fix typo
3753 (LC_TYPE -> LC_CTYPE).
3755 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3758 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3759 (scalbnf): Likewise.
3760 (scalbnl): Likewise.
3761 (scalbln): Likewise.
3762 (scalblnf): Likewise.
3763 (scalblnl): Likewise.
3764 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3768 * manual/filesys.texi (telldir): Use braces around return type.
3769 * manual/llio.texi (mmap): Add space after comma.
3771 * manual/math.texi (jn): Use @var{} on parameter names.
3777 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3779 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3781 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3782 (sched_get_priority_max): Likewise.
3783 * manual/signal.texi (sigvec): Add space after comma.
3784 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3786 (if_indextoname): Likewise.
3787 (if_freenameindex): Likewise.
3788 (sendto): Use ',' instead of '.' in prototype.
3789 * manual/startup.texi (syscall): Use @dots{} instead of literal
3791 * manual/stdio.texi (__fpending): Separate initial words of
3792 paragraph from @deftypefun line.
3793 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3795 (vsyslog): Use @var{} on parameter names.
3796 * manual/terminal.texi (stty): Use @var{} on parameter names.
3797 * manual/users.texi (getutmp): Use @var{} on parameter names.
3798 (getutmpx): Likewise.
3800 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3803 * manual/stdio.texi (fopen): Fix typos in description of
3806 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3809 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3810 get clock_id definition.
3812 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3815 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3816 (madvise): Cast every argument to void on its own.
3818 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3821 * manual/startup.texi (Exit Status): Fix typo.
3823 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3826 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3827 * manual/examples/argp-ex2.c: Likewise.
3828 * manual/examples/argp-ex3.c: Likewise.
3830 2012-02-16 Richard Henderson <rth@redhat.com>
3832 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3833 * sysdeps/s390/s390-32/initfini.c: Remove.
3834 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3835 * sysdeps/s390/s390-64/initfini.c: Remove.
3837 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3839 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3840 compiler output for sysdeps/generic/initfini.c.
3841 * sysdeps/sh/elf/initfini.c: Remove file.
3843 2012-02-16 David S. Miller <davem@davemloft.net>
3846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3848 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3849 * sysdeps/sparc/crti.S: New file.
3850 * sysdeps/sparc/crtn.S: New file.
3851 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3852 * sysdeps/sparc/sparc64/Makefile: Likewise.
3854 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3857 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3859 2012-02-15 Roland McGrath <roland@hack.frob.com>
3862 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3864 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3865 (write, read, close): Likewise.
3866 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3868 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3870 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3871 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3872 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3873 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3875 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3879 2012-02-14 Marek Polacek <polacek@redhat.com>
3881 * sysdeps/x86_64/crti.S: New file.
3882 * sysdeps/x86_64/crtn.S: New file.
3883 * sysdeps/x86_64/elf/initfini.c: Remove file.
3885 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3887 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3888 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3889 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3890 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3892 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3896 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3898 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3899 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3901 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3903 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3907 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3909 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3910 __feraiseexcept instead of feraiseexcept.
3912 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3913 nanosleep invocations.
3914 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3915 strings, and add error checking for a nanosleep invocations.
3917 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3919 Replace FSF snail mail address with URLs, as per GNU coding standards.
3920 Most of the snail mail addresses were wrong anyway, and omitting
3921 them makes the source code easier to maintain. Almost all of the
3922 changes are to license notices and to locale LC_IDENTIFICATION
3923 addresses, except for this one:
3924 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3925 not its snail mail address.
3927 2012-02-09 Richard Henderson <rth@twiddle.net>
3929 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3930 of kernel-features.h.
3932 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3934 2012-02-08 Marek Polacek <polacek@redhat.com>
3936 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3937 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3938 * sysdeps/gnu/_G_config.h: Likewise.
3939 * sysdeps/generic/_G_config.h: Likewise.
3941 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3943 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3947 * sysdeps/powerpc/powerpc32/crti.S: New file.
3948 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3949 * sysdeps/powerpc/powerpc64/crti.S: New file.
3950 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3952 * Makeconfig (have-initfini): Don't set.
3953 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3954 * configure.in (nopic_initfini): Don't substitute.
3955 * config.h.in (HAVE_INITFINI): Don't #undef.
3956 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3957 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3959 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3961 Support crti.S and crtn.S provided directly by architectures.
3962 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3963 [crti.S in sysdirs] (omit-deps): Likewise.
3964 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3965 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3966 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3967 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3968 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3969 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3970 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3971 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3972 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3973 compiler output for sysdeps/generic/initfini.c.
3974 * sysdeps/i386/elf/Makefile: Remove file.
3975 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3977 2012-02-07 Marek Polacek <polacek@redhat.com>
3979 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3980 * sysdeps/gnu/_G_config.h: Likewise.
3981 * sysdeps/mach/hurd/_G_config.h: Likewise.
3983 2012-02-07 Marek Polacek <polacek@redhat.com>
3985 * math/Makefile (tests): Add tst-CMPLX2.
3986 * math/tst-CMPLX2.c: New file.
3988 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3992 * math/libm-test.inc (jn_test): Add missing L suffix.
3994 2012-02-06 Marek Polacek <polacek@redhat.com>
3996 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3997 * sysdeps/i386/fpu/e_powf.S: Likewise.
3998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4001 * sysdeps/i386/fpu/e_pow.S: Likewise.
4002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4006 * sysdeps/i386/fpu/e_log2.S: Likewise.
4007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4009 * sysdeps/i386/fpu/e_powl.S: Likewise.
4010 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4012 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4013 * sysdeps/i386/fpu/e_logl.S: Likewise.
4014 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4015 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4016 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4017 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4018 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4020 * sysdeps/i386/fpu/e_log.S: Likewise.
4021 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4023 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4024 * sysdeps/i386/fpu/e_logf.S: Likewise.
4025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4026 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4027 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4028 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4030 * sysdeps/i386/fpu/e_log10.S: Likewise.
4031 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4032 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4033 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4034 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4035 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4036 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4037 * sysdeps/i386/asm-syntax.h: Likewise.
4038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4039 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4041 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4042 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4043 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4044 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4045 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4047 * sysdeps/powerpc/sysdep.h: Likewise.
4048 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4051 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4054 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4056 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/i386/sysdep.h: Include <features.h>.
4059 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4062 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4066 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4069 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4071 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4072 (SETUP_PIC_REG): Use GET_PC_THUNK.
4073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4076 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4079 for non-PIC compilation.
4080 (SETUP_PIC_REG): Add .p2align directive.
4081 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4082 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4083 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4084 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4096 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4097 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4098 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4099 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4100 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4103 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4114 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4123 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4125 * math/tst-CMPLX.c: Include <stdio.h>.
4127 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4129 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4131 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4132 * sysdeps/sparc/bits/mathdef.h: Likewise.
4134 2012-01-31 Marek Polacek <polacek@redhat.com>
4136 * libio/libio.h: Don't define _PARAMS.
4137 * locale/programs/config.h: Don't define PARAMS.
4138 * stdlib/strtol_l.c: Likewise.
4139 (__strtol_l): Remove PARAMS from the prototype.
4141 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4143 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4144 names. Just use the correct names. Remove unnecessary wrapper
4146 * malloc/arena.c: Likewise.
4147 * malloc/hooks.c: Likewise.
4149 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4150 ARENA_TEST says not to. Simplify test for creation of a new arena.
4151 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4153 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4155 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4157 (update_get_addr): New function.
4158 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4159 GET_ADDR_MODULE parameter.
4161 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4163 * crypt/cert.c: Remove __STDC__ conditionals.
4164 * crypt/crypt-entry.c: Likewise.
4165 * crypt/crypt_util.c: Likewise.
4166 * libio/filedoalloc.c: Likewise.
4167 * libio/fileops.c: Likewise.
4168 * libio/genops.c: Likewise.
4169 * libio/iofclose.c: Likewise.
4170 * libio/iofdopen.c: Likewise.
4171 * libio/iofopen.c: Likewise.
4172 * libio/iofopen64.c: Likewise.
4173 * libio/iogetdelim.c: Likewise.
4174 * libio/iopopen.c: Likewise.
4175 * libio/obprintf.c: Likewise.
4176 * libio/oldfileops.c: Likewise.
4177 * libio/oldiofclose.c: Likewise.
4178 * libio/oldiofdopen.c: Likewise.
4179 * libio/oldiofopen.c: Likewise.
4180 * libio/oldiopopen.c: Likewise.
4181 * libio/wfiledoalloc.c: Likewise.
4182 * libio/wgenops.c: Likewise.
4183 * locale/programs/xmalloc.c: Likewise.
4184 * misc/syslog.c: Likewise.
4185 * stdio-common/xbug.c: Likewise.
4186 * string/memchr.c: Likewise.
4187 * string/memcmp.c: Likewise.
4188 * string/memrchr.c: Likewise.
4189 * string/rawmemchr.c: Likewise.
4190 * sysdeps/posix/getcwd.c: Likewise.
4191 * time/strftime_l.c: Likewise.
4193 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4195 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4196 * config.make.in (config-cflags-sse2avx): Define.
4197 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4200 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4202 * scripts/config.guess: Update from upstream config git repository.
4203 * scripts/config.sub: Likewise.
4205 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4207 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4209 (R_TILEPRO_*, R_TILEGX_*): New macros.
4211 * scripts/firstversions.awk: Fix bug in version range handling.
4213 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4215 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4217 * include/sys/epoll.h: New file.
4218 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4221 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4223 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4224 Avoid unnecessary __WORDSIZE == 64 test.
4225 (fmaxf): Use VEX format if possible.
4230 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4231 * math/math_private.h: Remove libc_fegetround* and
4233 * sysdeps/i386/configure.in: Check for -msse2avx.
4234 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4235 also if SSE2AVX is defined.
4236 Remove libc_fegetround* and libc_fesetround*.
4237 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4238 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4247 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4249 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4255 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4258 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4260 * Makeconfig (libm): Define.
4261 * elf/Makefile: Add rules to build and run tst-relsort1.
4262 * elf/tst-relsort1.c: New file.
4263 * elf/tst-relsort1mod1.c: New file.
4264 * elf/tst-relsort1mod2.c: New file.
4266 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4268 * math/s_ldexp.c: Remove __STDC__ conditionals.
4269 * math/s_ldexpf.c: Likewise.
4270 * math/s_ldexpl.c: Likewise.
4271 * math/s_nextafter.c: Likewise.
4272 * math/s_nexttowardf.c: Likewise.
4273 * math/s_significand.c: Likewise.
4274 * math/s_significandf.c: Likewise.
4275 * math/s_significandl.c: Likewise.
4276 * math/w_jnl.c: Likewise.
4277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4296 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4298 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4307 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4311 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4317 * sysdeps/ieee754/k_standard.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4397 * sysdeps/ieee754/s_matherr.c: Likewise.
4398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4403 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4405 * crypt/md5.h: Remove __STDC__ conditionals.
4406 * libio/libioP.h: Likewise.
4407 * locale/programs/config.h: Likewise.
4408 * sysdeps/generic/sysdep.h: Likewise.
4409 * sysdeps/i386/asm-syntax.h: Likewise.
4410 * sysdeps/s390/asm-syntax.h: Likewise.
4411 * sysdeps/unix/sysdep.h: Likewise.
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4415 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4417 * libio/libio.h: Remove __STDC__ conditionals.
4418 * malloc/obstack.h: Likewise.
4419 * math/complex.h: Likewise.
4420 * math/math.h: Likewise.
4421 * sysdeps/generic/_G_config.h: Likewise.
4422 * sysdeps/gnu/_G_config.h: Likewise.
4423 * sysdeps/mach/hurd/_G_config.h: Likewise.
4424 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4425 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4426 * sysdeps/sparc/bits/mathdef.h: Likewise.
4428 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4431 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4432 Clean up HAS_* macros.
4433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4434 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4444 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4446 * elf/tst-unique3.cc (gets): Remove declaration.
4447 * elf/tst-unique3lib.cc (gets): Likewise.
4448 * elf/tst-unique3lib2.cc (gets): Likewise.
4449 * elf/tst-unique4.cc (gets): Likewise.
4451 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4453 * include/stdio.h: Add C++ protection. Add gets declarations and
4455 * debug/tst-chk1.c: Don't declare gets here.
4456 * stdio-common/tst-gets.c: Likewise.
4458 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4460 * posix/glob: Remove directory.
4462 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4464 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4466 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4468 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4469 of the non-standard EPFNOSUPPORT.
4471 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4473 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4474 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4475 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4477 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4479 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4481 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4483 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4485 * nscd/grpcache.c (cache_addgr): Likewise.
4486 * nscd/hstcache.c (cache_addhst): Likewise.
4487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4488 * nscd/pwdcache.c (cache_addpw): Likewise.
4489 * nscd/servicescache.c (cache_addserv): Likewise.
4491 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4493 * malloc/malloc.c: Various cleanups.
4494 * malloc/hooks.c: Likewise.
4496 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4497 * stdlib/bug-fmtmsg1.c: New file.
4499 * stdlib/fmtmsg.c (init): Add missing unlock.
4500 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4502 2012-01-12 Marek Polacek <polacek@redhat.com>
4504 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4507 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4509 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4511 macro to ensure uniqueness of label name.
4512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4515 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4517 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4524 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4528 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4532 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4539 * math/bits/math-finite.h: Add ldexp support.
4541 2012-01-10 Marek Polacek <polacek@redhat.com>
4543 * locale/programs/localedef.h (show_archive_content): Add noreturn
4546 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4548 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4550 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4552 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4554 * io/Makefile (headers): Add bits/poll2.h.
4556 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4559 typo #include statement.
4561 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4563 * include/sys/cdefs.h: Define __attribute_alloc_size.
4564 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4565 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4566 * elf/pldd.c: Likewise.
4567 * iconv/iconv_charmap.c: Likewise.
4568 * iconv/iconvconfig.c: Likewise.
4569 * iconv/strtab.c: Likewise.
4570 * locale/programs/locale.c: Likewise.
4571 * locale/programs/localedef.h: Likewise.
4572 * locale/programs/simple-hash.c: Likewise.
4573 * nscd/nscd.h: Likewise.
4574 * nss/makedb.c: Likewise.
4575 * sysdeps/generic/ldconfig.h: Likewise.
4576 * locale/programs/localedef.c: Remove xmalloc prototype.
4577 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4579 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4581 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4584 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4586 * math/Makefile (tests): Add tst-CMPLX.
4587 * math/tst-CMPLX.c: New file.
4589 * math/complex.h (CMPLXL): Fix typo.
4591 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4592 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4594 * debug/tst-chk1.c: Add poll and ppoll tests.
4595 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4596 * include/sys/poll.h: Add hidden proto for ppoll.
4597 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4598 * sysdeps/mach/hurd/ppoll.c: Likewise.
4599 * io/ppoll.c: Likewise.
4600 * debug/poll_chk.c: New file.
4601 * debug/ppoll_chk.c: New file.
4602 * include/bits/poll2.h: New file.
4603 * io/bits/poll2.h: New file.
4606 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4608 * configure.in: static is always set to yes. Remove.
4609 * config.make.in: Don't set build-static.
4610 * Makeconfig: Remove use of build-static.
4611 * dlfcn/Makefile: Likewise.
4612 * elf/Makefile: Likewise.
4613 * math/Makefile: Likewise.
4614 * misc/Makefile: Likewise.
4615 * nptl/Makefile: Likewise.
4616 * sysdeps/mach/hurd/Makefile: Likewise.
4618 * configure.in: PWD_P is not used anymore.
4619 * config.make.in: Remove PWD_P entry.
4621 * configure.in: Remove last remnants of RANLIB.
4622 No need to check for signed size_t anymore.
4623 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4625 Remove __builtin_expect test because we require at least gcc 3.4.
4626 * aclocal.m4: Likewise.
4628 * wcsmbs/mbrtoc16.c: Implement using towc function.
4629 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4630 * wcsmbs/wcsmbsload.c: Likewise.
4631 * iconv/gconv_simple.c: Likewise.
4632 * iconv/gconv_int.h: Likewise.
4633 * iconv/gconv_builtin.h: Likewise.
4634 * iconv/iconv_prog.c: Remove CHAR16 handling.
4636 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4638 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4640 * configure.in: Remove --with-elf and --enable-bounded options.
4641 Dont set base_machine for ia64. More non-ELF conditions removed.
4642 Remove testing and setting of leading underscore information.
4643 * config.make.in (build-bounded): Set to no.
4644 * config.h.in: Remove NO_UNDERSCORES entry.
4645 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4647 * csu/start.c: Remove !NO_UNDERSCORE code.
4648 * locale/localeinfo.h: Likewise.
4649 * sysdeps/generic/machine-gmon.h: Likewise.
4650 * sysdeps/generic/sysdep.h: Likewise.
4651 * sysdeps/i386/sysdep.h: Likewise.
4652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4653 * sysdeps/mach/sysdep.h: Likewise.
4654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4656 * sysdeps/sh/sysdep.h: Likewise.
4657 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4658 * sysdeps/unix/i386/sysdep.S: Likewise.
4659 * sysdeps/unix/sparc/start.c: Likewise.
4660 * sysdeps/unix/sparc/sysdep.S: Likewise.
4661 * sysdeps/unix/sparc/sysdep.h: Likewise.
4662 * sysdeps/unix/start.c: Likewise.
4663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4664 * sysdeps/x86_64/sysdep.h: Likewise.
4666 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4669 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4671 * argp/argp-fmtstream.h: Use const instead __const.
4672 * argp/argp.h: Likewise.
4673 * assert/assert.h: Likewise.
4674 * bits/fenv.h: Likewise.
4675 * bits/sched.h: Likewise.
4676 * bits/sigset.h: Likewise.
4677 * bits/sigthread.h: Likewise.
4678 * catgets/nl_types.h: Likewise.
4679 * conform/data/pthread.h-data: Likewise.
4680 * crypt/crypt-private.h: Likewise.
4681 * crypt/crypt.h: Likewise.
4682 * crypt/crypt_util.c: Likewise.
4683 * ctype/ctype.h: Likewise.
4684 * debug/execinfo.h: Likewise.
4685 * debug/mbsnrtowcs_chk.c: Likewise.
4686 * debug/mbsrtowcs_chk.c: Likewise.
4687 * debug/wcsnrtombs_chk.c: Likewise.
4688 * debug/wcsrtombs_chk.c: Likewise.
4689 * debug/wcstombs_chk.c: Likewise.
4690 * dirent/dirent.h: Likewise.
4691 * dlfcn/dlfcn.h: Likewise.
4692 * elf/neededtest4.c: Likewise.
4693 * grp/grp.h: Likewise.
4694 * gshadow/gshadow.h: Likewise.
4695 * iconv/gconv.h: Likewise.
4696 * iconv/gconv_int.h: Likewise.
4697 * iconv/gconv_simple.c: Likewise.
4698 * iconv/iconv.h: Likewise.
4699 * iconv/loop.c: Likewise.
4700 * iconv/skeleton.c: Likewise.
4701 * include/aio.h: Likewise.
4702 * include/aliases.h: Likewise.
4703 * include/argz.h: Likewise.
4704 * include/arpa/inet.h: Likewise.
4705 * include/assert.h: Likewise.
4706 * include/dirent.h: Likewise.
4707 * include/dlfcn.h: Likewise.
4708 * include/execinfo.h: Likewise.
4709 * include/fcntl.h: Likewise.
4710 * include/fenv.h: Likewise.
4711 * include/glob.h: Likewise.
4712 * include/grp.h: Likewise.
4713 * include/libintl.h: Likewise.
4714 * include/mntent.h: Likewise.
4715 * include/netdb.h: Likewise.
4716 * include/pwd.h: Likewise.
4717 * include/rpc/netdb.h: Likewise.
4718 * include/sched.h: Likewise.
4719 * include/search.h: Likewise.
4720 * include/shadow.h: Likewise.
4721 * include/signal.h: Likewise.
4722 * include/stdio.h: Likewise.
4723 * include/stdlib.h: Likewise.
4724 * include/string.h: Likewise.
4725 * include/sys/socket.h: Likewise.
4726 * include/sys/stat.h: Likewise.
4727 * include/sys/statfs.h: Likewise.
4728 * include/sys/statvfs.h: Likewise.
4729 * include/sys/syslog.h: Likewise.
4730 * include/sys/time.h: Likewise.
4731 * include/sys/uio.h: Likewise.
4732 * include/time.h: Likewise.
4733 * include/unistd.h: Likewise.
4734 * include/utmp.h: Likewise.
4735 * include/wchar.h: Likewise.
4736 * include/wctype.h: Likewise.
4737 * inet/aliases.h: Likewise.
4738 * inet/arpa/inet.h: Likewise.
4739 * inet/netinet/ether.h: Likewise.
4740 * inet/netinet/in.h: Likewise.
4741 * intl/libintl.h: Likewise.
4742 * io/bits/fcntl2.h: Likewise.
4743 * io/fcntl.h: Likewise.
4744 * io/ftw.h: Likewise.
4745 * io/sys/poll.h: Likewise.
4746 * io/sys/stat.h: Likewise.
4747 * io/sys/statfs.h: Likewise.
4748 * io/sys/statvfs.h: Likewise.
4749 * io/utime.h: Likewise.
4750 * libio/bits/stdio.h: Likewise.
4751 * libio/bits/stdio2.h: Likewise.
4752 * libio/libio.h: Likewise.
4753 * libio/libioP.h: Likewise.
4754 * libio/stdio.h: Likewise.
4755 * locale/lc-ctype.c: Likewise.
4756 * locale/locale.h: Likewise.
4757 * login/utmp.h: Likewise.
4758 * malloc/arena.c: Likewise.
4759 * malloc/malloc.c: Likewise.
4760 * malloc/malloc.h: Likewise.
4761 * malloc/mcheck.c: Likewise.
4762 * malloc/mtrace.c: Likewise.
4763 * math/bits/mathcalls.h: Likewise.
4764 * math/fenv.h: Likewise.
4765 * math/math_private.h: Likewise.
4766 * misc/bits/error.h: Likewise.
4767 * misc/bits/syslog.h: Likewise.
4768 * misc/err.h: Likewise.
4769 * misc/error.h: Likewise.
4770 * misc/fstab.h: Likewise.
4771 * misc/mntent.h: Likewise.
4772 * misc/regexp.h: Likewise.
4773 * misc/search.h: Likewise.
4774 * misc/sgtty.h: Likewise.
4775 * misc/sys/mman.h: Likewise.
4776 * misc/sys/syslog.h: Likewise.
4777 * misc/sys/uio.h: Likewise.
4778 * misc/sys/xattr.h: Likewise.
4779 * misc/ttyent.h: Likewise.
4780 * nis/rpcsvc/ypclnt.h: Likewise.
4781 * nss/nss.h: Likewise.
4782 * posix/bits/unistd.h: Likewise.
4783 * posix/fnmatch.h: Likewise.
4784 * posix/glob.h: Likewise.
4785 * posix/sched.h: Likewise.
4786 * posix/spawn.h: Likewise.
4787 * posix/sys/wait.h: Likewise.
4788 * posix/unistd.h: Likewise.
4789 * posix/wordexp.h: Likewise.
4790 * pwd/pwd.h: Likewise.
4791 * resolv/netdb.h: Likewise.
4792 * resource/sys/resource.h: Likewise.
4793 * rt/aio.h: Likewise.
4794 * rt/bits/mqueue2.h: Likewise.
4795 * rt/mqueue.h: Likewise.
4796 * shadow/shadow.h: Likewise.
4797 * signal/signal.h: Likewise.
4798 * socket/send.c: Likewise.
4799 * socket/sendto.c: Likewise.
4800 * socket/sys/socket.h: Likewise.
4801 * stdio-common/printf.h: Likewise.
4802 * stdlib/bits/stdlib.h: Likewise.
4803 * stdlib/fmtmsg.h: Likewise.
4804 * stdlib/monetary.h: Likewise.
4805 * stdlib/stdlib.h: Likewise.
4806 * stdlib/ucontext.h: Likewise.
4807 * streams/stropts.h: Likewise.
4808 * string/argz.h: Likewise.
4809 * string/bits/string2.h: Likewise.
4810 * string/string.h: Likewise.
4811 * string/strings.h: Likewise.
4812 * sunrpc/rpc/auth.h: Likewise.
4813 * sunrpc/rpc/auth_des.h: Likewise.
4814 * sunrpc/rpc/clnt.h: Likewise.
4815 * sunrpc/rpc/netdb.h: Likewise.
4816 * sunrpc/rpc/pmap_clnt.h: Likewise.
4817 * sunrpc/rpc/xdr.h: Likewise.
4818 * sysdeps/generic/inttypes.h: Likewise.
4819 * sysdeps/generic/net/if.h: Likewise.
4820 * sysdeps/generic/sys/swap.h: Likewise.
4821 * sysdeps/gnu/net/if.h: Likewise.
4822 * sysdeps/gnu/utmpx.h: Likewise.
4823 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4824 * sysdeps/i386/i486/bits/string.h: Likewise.
4825 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4826 * sysdeps/s390/bits/string.h: Likewise.
4827 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4828 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4829 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4830 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4831 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4832 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4833 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4834 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4835 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4836 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4838 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4839 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4841 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4842 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4843 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4849 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4851 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4853 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4855 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4857 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4858 * sysvipc/sys/ipc.h: Likewise.
4859 * sysvipc/sys/msg.h: Likewise.
4860 * sysvipc/sys/sem.h: Likewise.
4861 * sysvipc/sys/shm.h: Likewise.
4862 * termios/termios.h: Likewise.
4863 * time/sys/time.h: Likewise.
4864 * time/time.h: Likewise.
4865 * wcsmbs/bits/wchar2.h: Likewise.
4866 * wcsmbs/uchar.h: Likewise.
4867 * wcsmbs/wchar.h: Likewise.
4868 * wctype/wctype.h: Likewise.
4871 * Makeconfig: Remove all but ELF support including AIX support.
4872 * Makerules: Likewise.
4873 * config.h.in: Likewise.
4874 * config.make.in: Likewise.
4875 * configure: Likewise.
4876 * configure.in: Likewise.
4877 * csu/Makefile: Likewise.
4878 * csu/version.c: Likewise.
4879 * debug/Makefile: Likewise.
4880 * dlfcn/Makefile: Likewise.
4881 * elf/Makefile: Likewise.
4882 * extra-lib.mk: Likewise.
4883 * iconv/Makefile: Likewise.
4884 * include/libc-symbols.h: Likewise.
4885 * include/shlib-compat.h: Likewise.
4886 * resolv/Makefile: Likewise.
4887 * resolv/res_libc.c: Likewise.
4888 * rt/Makefile: Likewise.
4889 * sysdeps/i386/asm-syntax.h: Likewise.
4890 * sysdeps/i386/sysdep.h: Likewise.
4891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4892 * sysdeps/mach/sysdep.h: Likewise.
4893 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4894 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4895 * sysdeps/s390/asm-syntax.h: Likewise.
4896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4898 * sysdeps/sh/sysdep.h: Likewise.
4899 * sysdeps/unix/sparc/sysdep.h: Likewise.
4900 * sysdeps/wordsize-32/divdi3.c: Likewise.
4901 * sysdeps/x86_64/sysdep.h: Likewise.
4903 * argp/Versions: Remove _argp_unlock_xxx.
4906 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4907 * abilist/libBrokenLocale.abilist: Likewise.
4908 * abilist/libanl.abilist: Likewise.
4909 * abilist/libc.abilist: Likewise.
4910 * abilist/libcrypt.abilist: Likewise.
4911 * abilist/libdl.abilist: Likewise.
4912 * abilist/libm.abilist: Likewise.
4913 * abilist/libnsl.abilist: Likewise.
4914 * abilist/libpthread.abilist: Likewise.
4915 * abilist/libresolv.abilist: Likewise.
4916 * abilist/librt.abilist: Likewise.
4917 * abilist/libthread_db.abilist: Likewise.
4918 * abilist/libutil.abilist: Likewise.
4919 * abilist/libnss_db.abilist: New file.
4921 * scripts/abilist.awk: Add support for indirect functions.
4923 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4925 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4927 * shlib-versions: Remove entries for ports architectures.
4929 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4931 * elf/stackguard-macros.h: Remove support for IA-64.
4932 * elf/tst-auditmod1.c: Likewise.
4933 * sysdeps/generic/ldsodefs.h: Likewise.
4935 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4936 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4940 * configure.in: Remove --enable-omitfp support.
4942 * config.make.in: Likewise.
4943 * Makeconfig: Likewise.
4944 * manual/install.texi: Likewise.
4946 In case anyone cares, the IA-64 architecture could move to ports.
4947 * sysdeps/ia64/*: Removed.
4948 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4949 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4952 * configure.in: Remove entries for unsupported architectures.
4955 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4956 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4958 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4959 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4960 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4961 fall back to using wcrtomb.
4962 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4963 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4965 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4966 * wcsmbs/tst-c16c32-1.c: New file.
4968 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4971 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4973 * elf/tst-unique3.cc: Add explicit declaration of gets.
4974 * elf/tst-unique3lib.cc: Likewise.
4975 * elf/tst-unique3lib2.cc: Likewise.
4976 * elf/tst-unique4.cc: Likewise.
4978 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4980 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4983 * assert/assert.h (static_assert): Don't define for C++.
4984 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4985 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4987 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4989 * iconv/loop.c (single loop): Fix assertion in storing of
4992 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4994 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4996 * posix/getconf.c: Update copyright year.
4997 * nss/getent.c: Likewise.
4998 * nss/makedb.c: Likewise.
4999 * iconv/iconvconfig.c: Likewise.
5000 * iconv/iconv_prog.c: Likewise.
5001 * elf/ldconfig.c: Likewise.
5002 * elf/pldd.c: Likewise.
5003 * elf/sotruss.ksh: Likewise.
5004 * catgets/gencat.c: Likewise.
5005 * csu/version.c: Likewise.
5006 * elf/ldd.bash.in: Likewise.
5007 * elf/sprof.c (print_version): Likewise.
5008 * locale/programs/locale.c: Likewise.
5009 * locale/programs/localedef.c: Likewise.
5010 * login/programs/pt_chown.c: Likewise.
5011 * nscd/nscd.c (print_version): Likewise.
5012 * debug/xtrace.sh: Likewise.
5013 * malloc/memusage.sh: Likewise.
5014 * malloc/mtrace.pl: Likewise.
5015 * debug/catchsegv.sh: Likewise.
5017 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5019 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5022 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5025 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5026 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5028 * iconv/gconv_int.h: Likewise.
5029 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5030 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5031 from libc for GLIBC_2.16.
5032 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5033 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5034 * wcsmbs/uchar.h: Really define mbstate_t.
5035 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5036 * wcsmbs/c16rtomb.c: New file.
5037 * wcsmbs/mbrtoc16.c: New file.
5038 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5040 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5041 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5043 * wcsmbs/wchar.h: Add missing __restrict.
5045 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5048 * time/Makefile (routines): Add timespec_get.
5049 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5050 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5051 timespec for ISO C11.
5052 * time/timespec_get.c: New file.
5053 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5054 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5057 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5058 * stdlib/stdlib.h: Declare aligned_alloc.
5059 * Versions.def: Add GLIBC_2.16 for libc.
5060 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5063 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5066 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5070 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5073 * assert/assert.h (static_assert): Define.
5075 * version.h: Update for 2.16 development version.
5078 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5081 * version.h (RELEASE): Bump for 2.15 release.
5082 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5084 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5085 Patch by Marek Polacek <mpolacek@redhat.com>.
5087 * bits/byteswap.h: Protect long long constants with __extension__.
5088 * sysdeps/i386/bits/byteswap.h: Likewise.
5089 * sysdeps/ia64/bits/byteswap.h: Likewise.
5090 * sysdeps/s390/bits/byteswap.h: Likewise.
5091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5093 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5098 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5100 2011-12-23 Marek Polacek <polacek@redhat.com>
5102 * elf/dl-addr.c (determine_info): Add inline keyword.
5103 * elf/tst-auditmod4b.c (check_avx): Likewise.
5104 * elf/tst-auditmod6b.c (check_avx): Likewise.
5105 * elf/tst-auditmod6c.c (check_avx): Likewise.
5106 * elf/tst-auditmod7b.c (check_avx): Likewise.
5108 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5110 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5113 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5116 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5117 processing for last bytes.
5119 2011-08-06 Bruno Haible <bruno@clisp.org>
5122 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5123 U+0385, not to U+1FEE.
5126 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5127 entry for U+00A5 U+0301.
5129 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5132 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5133 buffer for the output is too small.
5135 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5139 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5140 SSE flags if possible.
5142 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5146 processing for last bytes.
5148 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5151 (syscall-list-default-options, syscall-list-default-condition)
5152 (syscall-list-includes): Define.
5153 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5154 list of ABIs and options and #if conditions for each ABI. Do not
5155 handle common syscalls between ABIs specially.
5156 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5158 (syscall-list-variants, syscall-list-32bit-options)
5159 (syscall-list-32bit-condition, syscall-list-64bit-options)
5160 (syscall-list-64bit-condition): Define.
5161 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5162 (syscall-list-variants, syscall-list-32bit-options)
5163 (syscall-list-32bit-condition, syscall-list-64bit-options)
5164 (syscall-list-64bit-condition): Define.
5165 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5167 (syscall-list-variants, syscall-list-32bit-options)
5168 (syscall-list-32bit-condition, syscall-list-64bit-options)
5169 (syscall-list-64bit-condition): Define.
5170 * sysdeps/unix/sysv/linux/x86_64/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.
5176 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5178 * locale/iso-639.def: Add brx entry.
5181 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5182 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5184 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5185 __feraiseexcept_renamed.
5187 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5190 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5191 EPOLLET with unsigned values.
5192 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5195 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5196 to large cancellation.
5197 * math/s_cacoshf.c: Likewise.
5198 * math/s_cacoshl.c: Likewise.
5200 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5204 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5205 * math/s_cacoshf.c: Likewise.
5206 * math/s_cacoshl.c: Likewise.
5208 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5211 * iconv/gconv.h: Define __GCONV_SWAP.
5212 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5213 * iconvdata/utf-16.c: Likewise.
5214 * iconvdata/utf-32.c: Likewise.
5216 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5220 numerator after shifting it by one limb.
5222 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5225 under [__USE_EXTERN_INLINES].
5227 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5230 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5232 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5235 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5237 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5239 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5240 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5241 for strncasecmp/strncasecmp_l compilation.
5242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5243 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5245 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5248 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5251 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5254 * time/tzfile.c (__tzfile_read): Check values from file header.
5256 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5258 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5259 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5260 * powerpc/powerpc32/dl-start.S: Likewise.
5261 * powerpc/powerpc32/elf/start.S: Likewise.
5262 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5263 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5264 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5265 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5266 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5267 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5268 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5269 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5270 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5271 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5272 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5273 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5274 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5275 * powerpc/powerpc32/memset.S: Likewise.
5276 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5277 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5278 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5279 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5280 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5281 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5282 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5283 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5284 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5285 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5287 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5288 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5290 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5292 * math/libm-test.inc: Added more nearbyint tests.
5293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5298 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5300 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5303 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5305 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5306 Add wcscpy-ssse3 wcscpy-c.
5307 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5308 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5309 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5310 * sysdeps/x86_64/wcschr.S: New file.
5311 * sysdeps/x86_64/wcsrchr.S: New file.
5312 * string/test-strcmp.c: Remove checking of wcscmp function for
5314 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5315 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5316 wcsrchr-sse2 wcsrchr-c.
5317 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5318 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5319 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5320 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5321 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5322 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5323 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5324 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5325 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5326 * wcsmbc/wcschr.c (WCSCHR): New macro.
5328 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5330 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5331 * wcsmbs/test-wcsrchr.c: New file.
5332 * string/test-strrchr.c: Add wcsrchr support.
5334 * wcsmbs/test-wcscpy.c: New file.
5335 * string/test-strcpy.c: Add wcscpy support.
5338 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5343 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5346 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5348 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5351 Minor optimizations.
5353 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5354 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5355 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5357 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5359 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5360 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5361 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5362 for gcc to avoid warnings.
5363 * inet/Makefile (tests): Add tst-checks.
5364 * inet/tst-checks.c: New file.
5366 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5369 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5372 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5373 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5375 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5377 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5379 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5382 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5384 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5386 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5387 conditional on GCC version.
5388 (__arch_compare_and_exchange_val_8_acq)
5389 (__arch_compare_and_exchange_val_16_acq)
5390 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5391 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5392 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5394 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/sh/backtrace.c: New file.
5398 2011-12-02 Andreas Schwab <schwab@redhat.com>
5400 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5403 2011-12-01 Andreas Schwab <schwab@redhat.com>
5405 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5406 falling back to utime.
5408 2011-11-30 Andreas Schwab <schwab@redhat.com>
5410 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5411 expectations for float.
5413 2011-11-29 Andreas Schwab <schwab@redhat.com>
5415 * locale/weight.h (findidx): Add parameter len.
5416 * locale/weightwc.h (findidx): Likewise.
5417 * posix/fnmatch_loop.c (FCT): Adjust caller.
5418 * posix/regcomp.c (build_equiv_class): Likewise.
5419 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5420 * posix/regexec.c (check_node_accept_bytes): Likewise.
5421 * string/strcoll_l.c (STRCOLL): Likewise.
5422 * string/strxfrm_l.c (STRXFRM): Likewise.
5424 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5426 * Makefile.in: Remove CVSOPT handling.
5427 * configure.in: Remove use of AC_REVISION.
5428 * iconvdata/Makefile (distribute): No need to filter out CVS.
5429 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5432 2011-11-16 Andreas Schwab <schwab@redhat.com>
5434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5435 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5436 [USE_AS_STRNCASECMP_L]: Likewise.
5437 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5438 NO_TLS_DIRECT_SEG_REFS.
5439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5440 Fix argument offsets for non-PIC.
5441 [USE_AS_STRNCASECMP_L]: Likewise.
5442 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5443 NO_TLS_DIRECT_SEG_REFS.
5445 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5447 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5449 * locale/loadlocale.c (_nl_load_locale): Likewise.
5451 2011-11-15 Andreas Schwab <schwab@redhat.com>
5453 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5454 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5456 (SYSCALL_GETTIME): Set errno on error.
5458 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5459 count references to noai6ai_cached.
5461 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5463 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5465 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5466 FD_CLOEXEC for /proc/self/maps.
5468 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5469 FD_CLOEXEC for /proc/meminfo.
5471 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5474 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5475 FD_CLOEXEC for given file.
5477 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5479 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5480 FD_CLOEXEC for /etc/hosts.
5481 (_gethtent): Likewise.
5483 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5486 cancellation and set FD_CLOEXEC for /etc/netgroup.
5488 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5489 reading /etc/publickey.
5491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5492 allow cancellation when reading /etc/group.
5494 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5496 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5498 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5499 when using data file.
5501 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5503 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5504 (write_nis_obj): Use "c" and "e" in fopen.
5506 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5508 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5510 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5512 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5514 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5517 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5519 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5521 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5523 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5524 file parsing and set FD_CLOEXEC.
5526 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5528 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5530 2011-11-14 Andreas Schwab <schwab@redhat.com>
5532 * malloc/arena.c (arena_get2): Don't call reused_arena when
5533 _int_new_arena failed.
5535 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5538 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5541 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5543 to compile strcasecmp and strncasecmp.
5544 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5545 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5549 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5551 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5552 locale-defines.sym to gen-as-const-headers.
5553 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5554 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5556 to compile strcasecmp and strncasecmp.
5557 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5558 strcasecmp_l and strncasecmp_l.
5559 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5560 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5561 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5563 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5565 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5566 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5567 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5568 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5569 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5571 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5573 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5574 result of SYSDEP_GETTIME_CPU to retval.
5575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5576 parameter list to macro. Remove trailing semicolon. Adjust users.
5578 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5581 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5583 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5586 from unused variable.
5588 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5590 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5593 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5596 * sunrpc/rpc_prot.c (rejected): Fix case value.
5598 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5599 unsigned long long int to avoid warnings in shift.
5601 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5603 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5607 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5608 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5610 * nis/nis_table.c (nis_list): Use variable of correct type for
5611 result of __follow_path call.
5613 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5615 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5616 of math functions ceil, trunc, floor, round, and sqrt, when
5617 avaliable on the platform.
5618 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5624 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5626 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5629 2011-11-11 Roland McGrath <roland@hack.frob.com>
5631 * include/unistd.h: Fix __readlink return type.
5632 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5634 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5636 * stdlib/ucontext.h: Undo last change for makecontext.
5638 2011-11-11 Andreas Schwab <schwab@redhat.com>
5640 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5642 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5643 * setjmp/setjmp.h: Mark functions as non-leaf.
5644 * setjmp/bits/setjmp2.h: Likewise.
5645 * stdlib/ucontext.h: Likewise.
5647 2011-11-10 Andreas Schwab <schwab@redhat.com>
5649 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5650 (reused_arena): Don't check arena limit.
5651 (arena_get2): Atomically check arena limit.
5653 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5655 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5656 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5661 2011-11-07 Andreas Schwab <schwab@redhat.com>
5663 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5664 handler when locking.
5666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5667 Fix size of allocated buffer.
5669 2011-11-04 Andreas Schwab <schwab@redhat.com>
5672 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5673 declarations for long double functions.
5674 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5676 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5678 2011-11-03 Andreas Schwab <schwab@redhat.com>
5680 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5683 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5686 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5688 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5690 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5692 * include/alloca.h (stackinfo_alloca_round): Define.
5693 (extend_alloca): Use it.
5694 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5695 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5698 * scripts/check-local-headers.sh: Ignore libaudit.h.
5700 * nscd/Makefile (extra-objs): Make recursively expanded.
5702 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5704 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5707 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5708 * posix/tst-rfc3484-2.c: Likewise.
5709 * posix/tst-rfc3484-3.c: Likewise.
5711 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5713 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5715 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5716 process_vm_writev from libc using GLIBC_2.15 version.
5718 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5720 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5722 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5725 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5728 * nss/getent.c (initgroups_keys): Show error message in case no group
5731 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5732 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5733 __bump_nl_timestamp.
5734 * nscd/connections (nscd_init): When host database is served open
5735 netlink socket and request notification about configuration changes.
5736 (main_loop_poll): Track netlink file descriptor and bump timestamp
5737 in case data becomes available.
5738 (main_loop_epoll): Likewise.
5739 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5740 (database_pers_head): Add extra_data fileds.
5741 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5743 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5746 in6ai data, call __free_in6ai.
5747 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5749 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5750 interface information. Reuse previous data if netlink timestamp
5752 (__bump_nl_timestamp): New function.
5753 (__free_in6ai): New function.
5755 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5758 close_not_cancel_no_status here.
5759 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5761 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5764 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5767 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5768 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5769 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5771 2011-07-03 Andreas Jaeger <aj@suse.de>
5774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5775 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5776 * math/libm-test.inc (sin_test): Add test case.
5778 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5781 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5784 * elf/chroot_canon.c (chroot_canon): Cleanups.
5786 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5789 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5790 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5792 * string/test-strchr.c: Make usable for strchrnul testing.
5793 * string/test-strchrnul.c: New file.
5794 * string/Makefile (strop-tests): Add strchrnul.
5796 * po/it.po: Update from translation team.
5797 * po/es.po: Likewise.
5799 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5802 the three constants needed as parameters. Drop the others.
5803 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5804 __m128i_strloadu_tolower.
5805 Create and initialize variable zero and use it in all the places
5806 where _mm_setzero_si128 was used.
5808 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5809 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5810 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5811 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5813 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5816 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5818 __mpranred, __mptan.
5819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5825 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5826 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5829 2011-10-28 Andreas Schwab <schwab@redhat.com>
5831 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5833 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5836 wide char related routines to wcsmbs subdir.
5838 2011-10-27 Andreas Schwab <schwab@redhat.com>
5841 * misc/sys/cdefs.h (__THROWNL): Define.
5842 * posix/unistd.h: Use __THREADNL instead of __THREAD
5843 for memory synchronization functions.
5845 2011-10-26 Roland McGrath <roland@hack.frob.com>
5848 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5850 * manual/stdio.texi (Obstack Streams): Node removed.
5852 2011-10-26 Andreas Schwab <schwab@redhat.com>
5854 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5858 * math/math_private.h (math_force_eval): Allow non-addressable
5860 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5862 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5880 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5881 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5882 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5883 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5884 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5885 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5886 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5887 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5890 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5896 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5897 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5900 place. Use VEX encoding when compiling for AVX.
5902 2011-10-25 Andreas Schwab <schwab@redhat.com>
5904 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5905 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5907 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5909 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5911 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5912 useless if() expression.
5913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5926 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5931 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5933 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5935 2011-10-25 Andreas Schwab <schwab@redhat.com>
5937 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5941 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5943 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5944 .text section. Avoid duplicate constants.
5945 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5955 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5957 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5962 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5969 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5970 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5971 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5991 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5993 * sysdeps/x86_64/dla.h: Move to ...
5994 * sysdeps/x86_64/fpu/dla.h: ...here.
5995 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5996 situations. Use __builtin_fma only for gcc 4.6 and up.
5998 * config.make.in: Add have-mfma4 entry.
5999 * configure.in: Substitute libc_cv_cc_fma4.
6000 * math/Makefile (dbl-only-routines): Add sincostab.
6001 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6002 Use __sincostab not sincos.
6003 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6005 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6010 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6011 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6012 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6013 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6016 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6018 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6019 define aliases when function name is a macro.
6020 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6021 sysdeps/ieee754/dbl-64/sincos.tbl.
6022 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6023 fma4-enabled routines.
6024 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6025 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6026 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6027 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6034 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6035 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6036 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6037 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6042 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6044 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6046 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6055 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6066 2011-10-24 Andreas Schwab <schwab@redhat.com>
6068 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6070 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6074 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6078 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6079 Remove unused variable magic_bits.
6080 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6082 * string/strnlen.c: Define and use STRNLEN macro.
6083 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6084 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6086 * wcsmbs/wcslen.c: Define and use WCSLEN.
6087 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6088 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6089 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6090 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6091 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6092 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6095 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6098 strnlen-sse2-no-bsf.
6099 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6102 Add strnlen support.
6103 (USE_AS_STRNLEN): New macro.
6104 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6106 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6107 * sysdeps/x86_64/wcslen.S: New file.
6109 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6112 XMM-moves are used for copying on small sizes.
6114 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6116 * wcsmbs/Makefile (strop-tests): Add wcschr.
6117 * wcsmbs/test-wcschr.c: New file.
6118 * string/test-strchr.c: Update.
6122 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6124 * wcsmbs/Makefile (strop-tests): Add wcslen.
6125 * wcsmbs/test-wcslen.c: New file.
6126 * string/test-strlen.c: Update.
6130 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6132 * po/it.po: Update from translation team.
6134 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6136 * sysdeps/x86_64/wcscmp.S: Update.
6137 Fix wrong comparison semantics.
6138 wcscmp shall use signed comparison not unsigned.
6139 Don't use substraction to avoid overflow bug.
6140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6141 * wcsmbc/wcscmp.c: Likewise.
6142 * string/test-strcmp.c: Likewise.
6143 Add new tests to check cases with negative values.
6145 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6147 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6148 * sysdeps/x86_64/dla.h: ...here. New file.
6149 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6159 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6162 __ynl_finite aliases.
6164 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6168 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6170 [DLA_FMA] (EMULV): Use DLA_FMA.
6171 [DLA_FMA] (MUL12): Use EMULV.
6172 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6173 that are not needed.
6174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6182 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6184 * math/s_nan.c: Undef __nan.
6185 * math/s_nanf.c: Undef __nanf.
6186 * math/s_nanl.c: Undef __nanl.
6187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6190 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6192 * math/s_catan.c: Add branch predictions.
6193 * math/s_catanf.c: Likewise.
6194 * math/s_catanh.c: Likewise.
6195 * math/s_catanhf.c: Likewise.
6196 * math/s_catanhl.c: Likewise.
6197 * math/s_catanl.c: Likewise.
6198 * math/s_cexp.c: Likewise.
6199 * math/s_cexpf.c: Likewise.
6200 * math/s_cexpl.c: Likewise.
6201 * math/s_clog.c: Likewise.
6202 * math/s_clog10.c: Likewise.
6203 * math/s_clog10f.c: Likewise.
6204 * math/s_clog10l.c: Likewise.
6205 * math/s_clogf.c: Likewise.
6206 * math/s_clogl.c: Likewise.
6207 * math/s_csqrt.c: Likewise.
6208 * math/s_csqrtf.c: Likewise.
6209 * math/s_csqrtl.c: Likewise.
6210 * math/s_ctanf.c: Likewise.
6211 * math/s_ctanh.c: Likewise.
6212 * math/s_ctanhf.c: Likewise.
6213 * math/s_ctanhl.c: Likewise.
6214 * math/s_ctanl.c: Likewise.
6216 * math/math_private.h: Define __nan, __nanf, __nanl.
6217 * math/s_cacosh.c: Include <math_private.h>.
6218 * math/s_cacoshl.c: Likewise.
6219 * math/s_casinh.c: Likewise.
6220 * math/s_casinhf.c: Likewise.
6221 * math/s_casinhl.c: Likewise.
6222 * math/s_ccos.c: Rely entire on ccosh.
6223 * math/s_ccosf.c: Rely entire on ccoshf.
6224 * math/s_ccosl.c: Rely entirely on ccoshl.
6225 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6226 Remove tests for FE_INVALID.
6227 * math/s_ccoshf.c: Likewise.
6228 * math/s_ccoshl.c: Likewise.
6229 * math/s_csin.c: Likewise.
6230 * math/s_csinf.c: Likewise.
6231 * math/s_csinh.c Likewise.
6232 * math/s_csinhf.c: Likewise.
6233 * math/s_csinhl.c: Likewise.
6234 * math/s_csinl.c: Likewise.
6235 * math/s_ctan.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6237 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6240 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6243 compilation problems.
6245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6248 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6250 * sysdeps/i386/configure.in: Test for -mfma4 option.
6251 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6252 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6253 COMMON_CPUID_INDEX_80000001.
6254 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6255 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6256 use it if FMA3 is not supported.
6257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6259 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6262 2011-10-20 Andreas Schwab <schwab@redhat.com>
6265 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6266 it would create a cycle with a link time dependency.
6268 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6270 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6272 * string/Makefile (strop-tests): Add rawmemchr.
6273 * string/test-rawmemchr.c: New file.
6275 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6277 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6278 when compiling str{,n}casecmp and when AVX is available. Hook up
6279 new optimized code in initializers.
6281 2011-10-19 Andreas Schwab <schwab@redhat.com>
6283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6284 __feraiseexcept instead of feraiseexcept.
6286 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6288 * math/math_private.h: Define defaults for libc_fetestexcept and
6290 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6291 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6293 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6295 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6296 libc_fetestexcept and libc_feupdateenv.
6298 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6299 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6300 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6301 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6302 libc_feholdexcept_setround.
6304 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6305 Add s_nearbyint-c and s_nearbyintf-c.
6306 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6313 * math/math_private.h: Define defaults for libc_fegetround,
6314 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6315 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6316 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6318 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6321 Remove comments and hacks for old compiler versions.
6322 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6323 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6326 2011-10-18 Andreas Schwab <schwab@redhat.com>
6328 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6329 (__feraiseexcept_renamed): Add __NTH.
6330 (feraiseexcept): Add __NTH. Rename local variables to fix
6331 namespace violations.
6333 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6339 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6340 recently added interfaces.
6341 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6343 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6344 about macro parameter expansion.
6346 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6347 __NO_MATH_INLINES is defined. Cleanups.
6349 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6350 and __floorf is target has SSE4.1.
6351 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6354 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6356 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6360 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6362 2011-10-17 Andreas Schwab <schwab@redhat.com>
6364 * misc/sys/cdefs.h: Fix last change.
6366 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6369 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6371 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6373 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6379 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6382 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6383 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6384 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6385 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6386 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6388 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6389 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6390 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6391 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6392 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6394 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6396 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6397 ceil, ceilf, floor, floorf.
6399 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6400 Perform IRELATIVE relocations last.
6402 * elf/do-rel.h: Add another parameter nrelative, replacing the
6403 local variable with the same name. Change name of the function
6404 to end in Rel or Rela (uppercase).
6405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6406 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6407 elf_dynamic_do_##reloc function.
6409 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6411 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6412 is sufficient, at least on modern CPUs.
6414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6416 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6419 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6421 * math/bits/math-finite.h: Add entries for exp.
6422 * math/e_expl.c: Add __*_finite alias.
6423 * sysdeps/i386/fpu/e_exp.S: Likewise.
6424 * sysdeps/i386/fpu/e_expf.S: Likewise.
6425 * sysdeps/i386/fpu/e_expl.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6431 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6434 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6435 is sufficient, at least on modern CPUs.
6437 * ctype/ctype-info.c (__ctype_init): Define.
6438 * include/ctype.h (__ctype_init): Declare.
6439 (__ctype_b_loc): The variable is always initialized.
6440 (__ctype_toupper_loc): Likewise.
6441 (__ctype_tolower_loc): Likewise.
6442 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6443 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6445 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6447 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6449 * configure.in: Also look in $cxxmachine/include for C++ system
6452 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6454 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6455 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6456 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6457 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6459 (USE_AS_WMEMCMP): New macro.
6461 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6462 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6463 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6464 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6466 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6467 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6469 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6470 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6472 (USE_AS_WMEMCMP): New macro.
6473 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6474 * sysdeps/string/test-memcmp.c: Update.
6477 * wcsmbs/wmemcmp.c: Update.
6478 (WMEMCMP): New macro.
6481 2011-10-12 Andreas Jaeger <aj@suse.de>
6484 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6486 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6488 * libio/iofwide.c (do_length): Avoid warning.
6490 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6492 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6494 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6496 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6497 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6498 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6499 * sysdeps/i386/i686/fpu/e_log.S: New file.
6500 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6501 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6503 * ctype/ctype.h: Add support for inlined isXXX functions when
6506 2011-10-14 Andreas Schwab <schwab@redhat.com>
6508 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6510 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6512 2011-10-13 Roland McGrath <roland@hack.frob.com>
6515 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6517 2011-10-13 Andreas Schwab <schwab@redhat.com>
6519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6520 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6523 * sysdeps/x86_64/memrchr.S: Check for zero size.
6525 * string/stratcliff.c: Add memrchr tests.
6527 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6530 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6531 rawmemchr-sse2 rawmemchr-sse2-bsf.
6532 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6533 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6534 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6535 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6536 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6538 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6539 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6542 * string/memrchr.c (MEMRCHR): New macro.
6544 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6546 Add integration with gcc's -ffinite-math-only and optimize wrapper
6548 * Versions.def: Define GLIBC_2.15 version for libm.
6549 * math/Makefile (headers): Add bits/math-finite.h.
6550 * math/bits/math-finite.h: New file.
6551 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6552 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6553 * math/e_acoshl.c: Add __*_finite alias.
6554 * math/e_acosl.c: Likewise.
6555 * math/e_asinl.c: Likewise.
6556 * math/e_atan2l.c: Likewise.
6557 * math/e_atanhl.c: Likewise.
6558 * math/e_coshl.c: Likewise.
6559 * math/e_exp10.c: Likewise.
6560 * math/e_exp10f.c: Likewise.
6561 * math/e_exp10l.c: Likewise.
6562 * math/e_exp2l.c: Likewise.
6563 * math/e_fmodl.c: Likewise.
6564 * math/e_gammal_r.c: Likewise.
6565 * math/e_hypotl.c: Likewise.
6566 * math/e_j0l.c: Likewise.
6567 * math/e_j1l.c: Likewise.
6568 * math/e_jnl.c: Likewise.
6569 * math/e_lgammal_r.c: Likewise.
6570 * math/e_log10l.c: Likewise.
6571 * math/e_log2l.c: Likewise.
6572 * math/e_logl.c: Likewise.
6573 * math/e_powl.c: Likewise.
6574 * math/e_sinhl.c: Likewise.
6575 * math/e_sqrtl.c: Likewise.
6576 * math/e_scalb.c: Completely rewritten and optimized.
6577 * math/e_scalbf.c: Likewise.
6578 * math/e_scalbl.c: Likewise.
6579 * math/w_acos.c: Likewise.
6580 * math/w_acosf.c: Likewise.
6581 * math/w_acosl.c: Likewise.
6582 * math/w_acosh.c: Likewise.
6583 * math/w_acoshf.c: Likewise.
6584 * math/w_acoshl.c: Likewise.
6585 * math/w_asin.c: Likewise.
6586 * math/w_asinf.c: Likewise.
6587 * math/w_asinl.c: Likewise.
6588 * math/w_atan2.c: Likewise.
6589 * math/w_atan2f.c: Likewise.
6590 * math/w_atan2l.c: Likewise.
6591 * math/w_atanh.c: Likewise.
6592 * math/w_atanhf.c: Likewise.
6593 * math/w_atanhl.c: Likewise.
6594 * math/w_exp10.c: Likewise.
6595 * math/w_exp10f.c: Likewise.
6596 * math/w_exp10l.c: Likewise.
6597 * math/w_fmod.c: Likewise.
6598 * math/w_fmodf.c: Likewise.
6599 * math/w_fmodl.c: Likewise.
6600 * math/w_j0.c: Likewise.
6601 * math/w_j0f.c: Likewise.
6602 * math/w_j0l.c: Likewise.
6603 * math/w_j1.c: Likewise.
6604 * math/w_j1f.c: Likewise.
6605 * math/w_j1l.c: Likewise.
6606 * math/w_jn.c: Likewise.
6607 * math/w_jnf.c: Likewise.
6608 * math/w_log.c: Likewise.
6609 * math/w_logf.c: Likewise.
6610 * math/w_logl.c: Likewise.
6611 * math/w_log10.c: Likewise.
6612 * math/w_log10f.c: Likewise.
6613 * math/w_log10l.c: Likewise.
6614 * math/w_log2.c: Likewise.
6615 * math/w_log2f.c: Likewise.
6616 * math/w_log2l.c: Likewise.
6617 * math/w_pow.c: Likewise.
6618 * math/w_powf.c: Likewise.
6619 * math/w_powl.c: Likewise.
6620 * math/w_remainder.c: Likewise.
6621 * math/w_remainderf.c: Likewise.
6622 * math/w_remainderl.c: Likewise.
6623 * math/w_scalb.c: Likewise.
6624 * math/w_scalbf.c: Likewise.
6625 * math/w_scalbl.c: Likewise.
6626 * math/w_sqrt.c: Likewise.
6627 * math/w_sqrtf.c: Likewise.
6628 * math/w_sqrtl.c: Likewise.
6629 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6630 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6632 * math/math_private.h: Declare __kernel_standard_f.
6633 * math/w_cosh.c: Remove cruft and optimize a bit.
6634 * math/w_coshf.c: Likewise.
6635 * math/w_coshl.c: Likewise.
6636 * math/w_exp2.c: Likewise.
6637 * math/w_exp2f.c: Likewise.
6638 * math/w_exp2l.c: Likewise.
6639 * math/w_hypot.c: Likewise.
6640 * math/w_hypotf.c: Likewise.
6641 * math/w_hypotl.c: Likewise.
6642 * math/w_lgamma.c: Likewise.
6643 * math/w_lgamma_r.c: Likewise.
6644 * math/w_lgammaf.c: Likewise.
6645 * math/w_lgammaf_r.c: Likewise.
6646 * math/w_lgammal.c: Likewise.
6647 * math/w_lgammal_r.c: Likewise.
6648 * math/w_sinh.c: Likewise.
6649 * math/w_sinhf.c: Likewise.
6650 * math/w_sinhl.c: Likewise.
6651 * math/w_tgamma.c: Likewise.
6652 * math/w_tgammaf.c: Likewise.
6653 * math/w_tgammal.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6656 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6657 Minor optimizations. Pretty printing. Remove cruft.
6658 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6662 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6663 * sysdeps/i386/fpu/e_asin.S: Likewise.
6664 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6665 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6666 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6667 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6668 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6669 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6671 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6672 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6673 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6674 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6675 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6676 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6677 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6678 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6679 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6680 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6681 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6682 * sysdeps/i386/fpu/e_log.S: Likewise.
6683 * sysdeps/i386/fpu/e_log10.S: Likewise.
6684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6686 * sysdeps/i386/fpu/e_log2.S: Likewise.
6687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6689 * sysdeps/i386/fpu/e_logf.S: Likewise.
6690 * sysdeps/i386/fpu/e_logl.S: Likewise.
6691 * sysdeps/i386/fpu/e_pow.S: Likewise.
6692 * sysdeps/i386/fpu/e_powf.S: Likewise.
6693 * sysdeps/i386/fpu/e_powl.S: Likewise.
6694 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6695 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6696 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6697 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6699 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6700 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6701 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6702 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6724 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6725 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6728 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6730 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6732 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6737 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6738 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6739 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6740 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6742 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6796 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6797 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6798 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6799 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6800 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6801 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6802 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6803 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6804 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6805 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6806 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6809 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6811 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6813 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6814 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6815 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6816 (__isnanf): Likewise.
6817 (__isinf_ns): Likewise.
6818 (__isinf_nsf): Likewise.
6819 (__finite): Likewise.
6820 (__finitef): Likewise.
6821 (__ieee754_sqrt): Define as macro.
6822 (__ieee754_sqrtf): Define as macro.
6823 (__ieee754_sqrtl): Define as macro.
6824 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6826 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6827 __FINITE_MATH_ONLY__ consistent.
6828 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6830 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6832 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6835 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6837 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6839 * po/ja.po: Update from translation team.
6841 2011-10-08 Roland McGrath <roland@hack.frob.com>
6843 * locale/programs/locarchive.c (prepare_address_space): New function.
6844 (create_archive, enlarge_archive, open_archive): Use it.
6846 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6847 inside [SHARED], where it is used.
6849 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6851 * nss/getent.c (netgroup_keys): Remove unused variable.
6852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6854 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6856 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6857 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6859 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6862 * math/Makefile (libm-calls): Add s_isinf_ns.
6863 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6864 * math/multc3.c: Likewise.
6865 * math/s_casin.c: Likewise.
6866 * math/s_casinf.c: Likewise.
6867 * math/s_casinl.c: Likewise.
6868 * math/s_ccos.c: Likewise.
6869 * math/s_ccosf.c: Likewise.
6870 * math/s_ccosl.c: Likewise.
6871 * math/s_ctan.c: Likewise.
6872 * math/s_ctanf.c: Likewise.
6873 * math/s_ctanh.c: Likewise.
6874 * math/s_ctanhf.c: Likewise.
6875 * math/s_ctanhl.c: Likewise.
6876 * math/s_ctanl.c: Likewise.
6877 * math/w_fmod.c: Likewise.
6878 * math/w_fmodf.c: Likewise.
6879 * math/w_fmodl.c: Likewise.
6880 * math/w_remainder.c: Likewise.
6881 * math/w_remainderf.c: Likewise.
6882 * math/w_remainderl.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6884 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6887 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6888 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6889 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6890 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6892 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6894 * stdio-common/printf_fphex.c: Likewise.
6895 * stdio-common/printf_size.c: Likewise.
6897 * math/e_exp10.c: Include math_private.h using <...> not "...".
6898 * math/e_exp10f.c: Likewise.
6899 * math/e_exp10l.c: Likewise.
6900 * math/e_exp2l.c: Likewise.
6901 * math/e_j0l.c: Likewise.
6902 * math/e_j1l.c: Likewise.
6903 * math/e_jnl.c: Likewise.
6904 * math/e_lgammal_r.c: Likewise.
6905 * math/e_rem_pio2l.c: Likewise.
6906 * math/e_scalb.c: Likewise.
6907 * math/e_scalbf.c: Likewise.
6908 * math/e_scalbl.c: Likewise.
6909 * math/k_cosl.c: Likewise.
6910 * math/k_sinl.c: Likewise.
6911 * math/k_tanl.c: Likewise.
6912 * math/s_cacoshf.c: Likewise.
6913 * math/s_catan.c: Likewise.
6914 * math/s_catanf.c: Likewise.
6915 * math/s_catanh.c: Likewise.
6916 * math/s_catanhf.c: Likewise.
6917 * math/s_catanhl.c: Likewise.
6918 * math/s_catanl.c: Likewise.
6919 * math/s_ccosh.c: Likewise.
6920 * math/s_ccoshf.c: Likewise.
6921 * math/s_ccoshl.c: Likewise.
6922 * math/s_cexp.c: Likewise.
6923 * math/s_cexpf.c: Likewise.
6924 * math/s_cexpl.c: Likewise.
6925 * math/s_clog.c: Likewise.
6926 * math/s_clog10.c: Likewise.
6927 * math/s_clog10f.c: Likewise.
6928 * math/s_clog10l.c: Likewise.
6929 * math/s_clogf.c: Likewise.
6930 * math/s_clogl.c: Likewise.
6931 * math/s_csin.c: Likewise.
6932 * math/s_csinf.c: Likewise.
6933 * math/s_csinh.c: Likewise.
6934 * math/s_csinhf.c: Likewise.
6935 * math/s_csinhl.c: Likewise.
6936 * math/s_csinl.c: Likewise.
6937 * math/s_csqrt.c: Likewise.
6938 * math/s_csqrtf.c: Likewise.
6939 * math/s_csqrtl.c: Likewise.
6940 * math/s_ctan.c: Likewise.
6941 * math/s_ctanf.c: Likewise.
6942 * math/s_ctanh.c: Likewise.
6943 * math/s_ctanhf.c: Likewise.
6944 * math/s_ctanhl.c: Likewise.
6945 * math/s_ctanl.c: Likewise.
6946 * math/s_ldexp.c: Likewise.
6947 * math/s_ldexpf.c: Likewise.
6948 * math/s_ldexpl.c: Likewise.
6949 * math/s_significand.c: Likewise.
6950 * math/s_significandf.c: Likewise.
6951 * math/s_significandl.c: Likewise.
6952 * math/w_acos.c: Likewise.
6953 * math/w_acosf.c: Likewise.
6954 * math/w_acosh.c: Likewise.
6955 * math/w_acoshf.c: Likewise.
6956 * math/w_acoshl.c: Likewise.
6957 * math/w_acosl.c: Likewise.
6958 * math/w_asin.c: Likewise.
6959 * math/w_asinf.c: Likewise.
6960 * math/w_asinl.c: Likewise.
6961 * math/w_atan2.c: Likewise.
6962 * math/w_atan2f.c: Likewise.
6963 * math/w_atan2l.c: Likewise.
6964 * math/w_atanh.c: Likewise.
6965 * math/w_atanhf.c: Likewise.
6966 * math/w_atanhl.c: Likewise.
6967 * math/w_cosh.c: Likewise.
6968 * math/w_coshf.c: Likewise.
6969 * math/w_coshl.c: Likewise.
6970 * math/w_dremf.c: Likewise.
6971 * math/w_exp10.c: Likewise.
6972 * math/w_exp10f.c: Likewise.
6973 * math/w_exp10l.c: Likewise.
6974 * math/w_exp2.c: Likewise.
6975 * math/w_exp2f.c: Likewise.
6976 * math/w_fmod.c: Likewise.
6977 * math/w_fmodf.c: Likewise.
6978 * math/w_fmodl.c: Likewise.
6979 * math/w_hypot.c: Likewise.
6980 * math/w_hypotf.c: Likewise.
6981 * math/w_hypotl.c: Likewise.
6982 * math/w_j0.c: Likewise.
6983 * math/w_j0f.c: Likewise.
6984 * math/w_j0l.c: Likewise.
6985 * math/w_j1.c: Likewise.
6986 * math/w_j1f.c: Likewise.
6987 * math/w_j1l.c: Likewise.
6988 * math/w_jn.c: Likewise.
6989 * math/w_jnf.c: Likewise.
6990 * math/w_jnl.c: Likewise.
6991 * math/w_lgamma.c: Likewise.
6992 * math/w_lgamma_r.c: Likewise.
6993 * math/w_lgammaf.c: Likewise.
6994 * math/w_lgammaf_r.c: Likewise.
6995 * math/w_lgammal.c: Likewise.
6996 * math/w_lgammal_r.c: Likewise.
6997 * math/w_log.c: Likewise.
6998 * math/w_log10.c: Likewise.
6999 * math/w_log10f.c: Likewise.
7000 * math/w_log10l.c: Likewise.
7001 * math/w_log2.c: Likewise.
7002 * math/w_log2f.c: Likewise.
7003 * math/w_log2l.c: Likewise.
7004 * math/w_logf.c: Likewise.
7005 * math/w_logl.c: Likewise.
7006 * math/w_pow.c: Likewise.
7007 * math/w_powf.c: Likewise.
7008 * math/w_powl.c: Likewise.
7009 * math/w_remainder.c: Likewise.
7010 * math/w_remainderf.c: Likewise.
7011 * math/w_remainderl.c: Likewise.
7012 * math/w_scalb.c: Likewise.
7013 * math/w_scalbf.c: Likewise.
7014 * math/w_scalbl.c: Likewise.
7015 * math/w_sinh.c: Likewise.
7016 * math/w_sinhf.c: Likewise.
7017 * math/w_sinhl.c: Likewise.
7018 * math/w_sqrt.c: Likewise.
7019 * math/w_sqrtf.c: Likewise.
7020 * math/w_sqrtl.c: Likewise.
7021 * math/w_tgamma.c: Likewise.
7022 * math/w_tgammaf.c: Likewise.
7023 * math/w_tgammal.c: Likewise.
7025 * po/ja.po: Update from translation team.
7027 2011-09-29 Andreas Jaeger <aj@suse.de>
7030 * sunrpc/netname.c (netname2host): Fix logic.
7034 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7036 * math/w_remainder.c (__remainder): Likewise.
7037 * math/w_remainderf.c (__remainderf): Likewise.
7038 * math/libm-test.inc (remainder_test): Add test cases.
7040 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7042 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7045 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7047 * string/test-memcmp.c: Avoid unncessary #defines.
7048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7050 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7052 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7053 Use new sse2 version for core i3 - i7 as it's faster
7055 (bit_Prefer_PMINUB_for_stringop): New.
7056 * sysdeps/x86_64/rawmemchr.S: Update.
7057 Replace with faster SSE2 version.
7058 * sysdeps/x86_64/memrchr.S: New file.
7059 * sysdeps/x86_64/memchr.S: Update.
7060 Replace with faster SSE2 version.
7062 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7064 * elf/dl-load.c (lose): Add cast to avoid warning.
7066 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7068 * po/ca.po: Update from translation team.
7070 * inet/getnetgrent_r.c: Hook up nscd.
7071 * nscd/Makefile (routines): Add nscd_netgroup.
7072 (nscd-modules): Add netgroupcache.
7073 (CFLAGS-netgroupcache.c): Define.
7074 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7075 (cache_search): Add const to second parameter.
7076 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7078 (dbs): Add netgrdb entry.
7079 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7080 (verify_persistent_db): Handle netgrdb.
7081 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7082 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7084 (netgroup_response_header): Define.
7085 (innetgroup_response_header): Define.
7086 (datahead): Add netgroup_response_header and innetgroup_response_header
7088 * nscd/nscd.conf: Add entries for netgroup cache.
7089 * nscd/nscd.h (dbtype): Add netgrdb.
7090 (_PATH_NSCD_NETGROUP_DB): Define.
7091 (netgroup_iov_disabled): Declare.
7092 (xmalloc, xcalloc, xrealloc): Move declarations here.
7093 (cache_search): Adjust prototype.
7094 Add netgroup-related prototypes.
7095 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7096 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7097 (__nscd_innetgr): Declare.
7098 * nscd/selinux.c (perms): Use access_vector_t as element type and
7099 add netgroup-related initializers.
7100 * nscd/netgroupcache.c: New file.
7101 * nscd/nscd_netgroup.c: New file.
7102 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7103 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7104 For four parameters use innetgr.
7105 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7106 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7107 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7108 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7110 * nscd/connections.c (register_traced_file): Don't register file
7111 for disabled databases.
7113 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7115 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7117 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7118 from tree and freeing node.
7120 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7122 * nss/nsswitch.c (__nss_database_lookup): Handle
7123 nss_parse_service_list out of memory case.
7125 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7127 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7130 2011-10-04 Andreas Schwab <schwab@redhat.com>
7132 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7133 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7135 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7136 elf_machine_rela, elf_machine_lazy_rel.
7137 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7138 (ELF_DYNAMIC_DO_REL): Likewise.
7139 (ELF_DYNAMIC_DO_RELA): Likewise.
7140 (ELF_DYNAMIC_RELOCATE): Likewise.
7141 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7142 to ELF_DYNAMIC_DO_REL.
7143 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7144 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7145 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7148 skip_ifunc, don't call ifunc function if non-zero.
7149 (elf_machine_rela): Likewise.
7150 (elf_machine_lazy_rel): Likewise.
7151 (elf_machine_lazy_rela): Likewise.
7152 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7153 (elf_machine_lazy_rel): Likewise.
7154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7156 (elf_machine_lazy_rel): Likewise.
7157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7159 (elf_machine_lazy_rel): Likewise.
7160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7161 (elf_machine_lazy_rel): Likewise.
7162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7163 (elf_machine_lazy_rel): Likewise.
7164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7165 (elf_machine_lazy_rel): Likewise.
7166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7167 (elf_machine_lazy_rel): Likewise.
7168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7169 (elf_machine_lazy_rel): Likewise.
7170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7171 (elf_machine_lazy_rel): Likewise.
7173 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7175 * nss/nss_files/files-init.c (_nss_files_init): Use static
7176 initialization for all the *_traced_file variables.
7178 2011-09-28 Andreas Schwab <schwab@redhat.com>
7180 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7182 2011-09-27 Roland McGrath <roland@hack.frob.com>
7185 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7187 2011-09-27 Andreas Schwab <schwab@redhat.com>
7189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7190 Reread the line before reparsing it.
7192 2011-09-26 Andreas Schwab <schwab@redhat.com>
7194 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7196 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7197 Maxim Kuvyrkov <maxim@codesourcery.com>
7198 Joseph Myers <joseph@codesourcery.com>
7200 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7201 if needed for __stack_chk_guard.
7203 2011-09-19 Roland McGrath <roland@hack.frob.com>
7205 * sysdeps/posix/spawni.c (script_execute): Always define it.
7206 It will be optimized away if unused.
7207 (maybe_script_execute): New function.
7208 (__spawni): Call it.
7210 * Makerules: Don't include tls.make.
7211 (config-tls): Always set to thread.
7212 * tls.make.c: File removed.
7214 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7216 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7217 * config.make.in (CPPFLAGS-config): New substituted variable.
7219 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7221 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7224 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7225 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7227 2011-09-15 Roland McGrath <roland@hack.frob.com>
7229 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7230 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7232 (CALL_FAIL): Likewise.
7233 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7234 (CALL_FAIL): Macro removed.
7235 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7237 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7239 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7240 for __FINITE_MATH_ONLY__ == 1.
7242 2011-09-15 Andreas Schwab <schwab@redhat.com>
7244 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7245 __ieee754_sqrt instead of sqrt.
7246 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7247 __ieee754_sqrtf instead of sqrtf.
7248 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7249 __floorf instead of floorf.
7250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7251 __floorf, __truncf instead of floorf, truncf.
7253 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7255 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7257 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7258 __extern_always_inline.
7259 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7262 2011-09-14 Andreas Schwab <schwab@redhat.com>
7264 * elf/rtld.c (dl_main): Also relocate in dependency order when
7265 doing symbol dependency testing.
7267 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7270 Always define `refsym'.
7272 2011-09-13 Andreas Schwab <schwab@redhat.com>
7274 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7275 (__FD_ELT): Renamed from __FDELT.
7276 * misc/bits/select2.h (__FD_ELT): Likewise.
7277 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7278 __FD_MASK instead of __FDELT, __FDMASK.
7279 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7281 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7284 * elf/Makefile (gen-ldd): Fix pattern.
7286 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7287 (init_tls): Likewise.
7289 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7293 2011-09-12 Andreas Schwab <schwab@redhat.com>
7295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7296 `struct cmsghdr *' instead of `void *'.
7297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7300 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7302 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7304 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7307 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7309 * configure.in: Remove --with-tls option.
7310 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7311 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7312 out in case it is missing.
7313 * sysdeps/ia64/elf/configure.in: Likewise.
7314 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7315 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7316 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7317 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7318 * sysdeps/sh/elf/configure.in: Likewise.
7319 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7320 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7321 * sysdeps/x86_64/elf/configure.in: Likewise.
7322 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7323 * sysdeps/mach/hurd/tls.h: Likewise.
7326 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7329 * configure.in: Fix use of AC_INIT.
7331 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7333 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7335 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7337 * malloc/hooks.c: Likewise.
7340 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7341 variables statically.
7342 (narenas): Initialize.
7343 (list_lock): Initialize.
7344 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7345 initializtion of main_arena and list_lock. Small cleanups.
7346 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7347 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7348 Add initializers to main_arena and mp_.
7349 (malloc_state): Remove pagesize member. Change all users to use
7352 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7353 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7354 is always initialized.
7356 * malloc/malloc.c: Removed unused configurations and dead code.
7357 * malloc/arena.c: Likewise.
7358 * malloc/hooks.c: Likewise.
7359 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7361 * include/tls.h: Removed. USE___THREAD must always be defined.
7362 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7363 * elf/dl-libc.c: Likewise.
7364 * elf/dl-tsd.c: Likewise.
7365 * include/errno.h: Likewise.
7366 * include/netdb.h: Likewise.
7367 * include/resolv.h: Likewise.
7368 * inet/herrno-loc.c: Likewise.
7369 * inet/herrno.c: Likewise.
7370 * malloc/arena.c: Likewise.
7371 * malloc/hooks.c: Likewise.
7372 * malloc/malloc.c: Likewise.
7373 * resolv/res-state.c: Likewise.
7374 * resolv/res_libc.c: Likewise.
7375 * sysdeps/i386/dl-machine.h: Likewise.
7376 * sysdeps/ia64/dl-machine.h: Likewise.
7377 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7378 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7379 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7380 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7381 * sysdeps/sh/dl-machine.h: Likewise.
7382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7384 * sysdeps/unix/i386/sysdep.S: Likewise.
7385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7386 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7395 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7396 * sysdeps/x86_64/dl-machine.h: Likewise.
7397 * tls.make.c: Likewise.
7399 * configure.in: Remove --with-__thread option. Make tests for
7400 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7401 tls_model attribute fail if no support is available. Remove
7403 * Makeconfig: Adjust for dropped configure option. All features are
7405 * Makerules: Likewise.
7406 * Versions.def: Likewise.
7407 * argp/argp-fmtstream.c: Likewise.
7408 * argp/argp-fmtstream.h: Likewise.
7409 * argp/argp-help.c: Likewise.
7410 * assert/assert.c: Likewise.
7411 * config.h.in: Likewise.
7412 * config.make.in: Likewise.
7413 * configure: Likewise.
7414 * configure.in: Likewise.
7415 * csu/Versions: Likewise.
7416 * csu/init.c: Likewise.
7417 * elf/tst-audit2.c: Likewise.
7418 * elf/tst-tls10.c: Likewise.
7419 * elf/tst-tls10.h: Likewise.
7420 * elf/tst-tls11.c: Likewise.
7421 * elf/tst-tls12.c: Likewise.
7422 * elf/tst-tls14.c: Likewise.
7423 * elf/tst-tlsmod11.c: Likewise.
7424 * elf/tst-tlsmod12.c: Likewise.
7425 * elf/tst-tlsmod13.c: Likewise.
7426 * elf/tst-tlsmod13a.c: Likewise.
7427 * elf/tst-tlsmod14a.c: Likewise.
7428 * elf/tst-tlsmod15b.c: Likewise.
7429 * elf/tst-tlsmod16a.c: Likewise.
7430 * elf/tst-tlsmod16b.c: Likewise.
7431 * elf/tst-tlsmod7.c: Likewise.
7432 * elf/tst-tlsmod8.c: Likewise.
7433 * elf/tst-tlsmod9.c: Likewise.
7434 * gmon/gmon.c: Likewise.
7435 * grp/fgetgrent_r.c: Likewise.
7436 * grp/putgrent.c: Likewise.
7437 * hurd/fopenport.c: Likewise.
7438 * include/libc-symbols.h: Likewise.
7439 * include/tls.h: Likewise.
7440 * intl/gettextP.h: Likewise.
7441 * intl/loadinfo.h: Likewise.
7442 * locale/global-locale.c: Likewise.
7443 * locale/localeinfo.h: Likewise.
7444 * mach/devstream.c: Likewise.
7445 * malloc/arena.c: Likewise.
7446 * malloc/set-freeres.c: Likewise.
7447 * misc/err.c: Likewise.
7448 * misc/getttyent.c: Likewise.
7449 * misc/mntent_r.c: Likewise.
7450 * posix/getopt.c: Likewise.
7451 * posix/wordexp.c: Likewise.
7452 * pwd/fgetpwent_r.c: Likewise.
7453 * resolv/Versions: Likewise.
7454 * resolv/res_hconf.c: Likewise.
7455 * shadow/fgetspent_r.c: Likewise.
7456 * shadow/putspent.c: Likewise.
7457 * stdio-common/printf_fphex.c: Likewise.
7458 * stdio-common/tmpfile.c: Likewise.
7459 * stdlib/abort.c: Likewise.
7460 * stdlib/fmtmsg.c: Likewise.
7461 * sunrpc/auth_unix.c: Likewise.
7462 * sunrpc/clnt_perr.c: Likewise.
7463 * sunrpc/clnt_tcp.c: Likewise.
7464 * sunrpc/clnt_udp.c: Likewise.
7465 * sunrpc/clnt_unix.c: Likewise.
7466 * sunrpc/openchild.c: Likewise.
7467 * sunrpc/svc_simple.c: Likewise.
7468 * sunrpc/svc_tcp.c: Likewise.
7469 * sunrpc/svc_udp.c: Likewise.
7470 * sunrpc/svc_unix.c: Likewise.
7471 * sunrpc/xdr.c: Likewise.
7472 * sunrpc/xdr_array.c: Likewise.
7473 * sunrpc/xdr_rec.c: Likewise.
7474 * sunrpc/xdr_ref.c: Likewise.
7475 * sunrpc/xdr_stdio.c: Likewise.
7477 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7479 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7481 2011-07-03 Andreas Jaeger <aj@suse.de>
7483 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7484 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7485 regenerate with gen-libm-tests.pl.
7487 2010-05-12 Petr Baudis <pasky@suse.cz>
7490 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7491 around j0() zero points by switching to j1().
7492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7497 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7499 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7504 Patch in part by Pavel Roskin <proski@gnu.org>.
7507 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7509 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7510 Free memory block if necessary.
7513 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7514 be NULL. Don't lock in this case.
7516 2011-09-09 Roland McGrath <roland@hack.frob.com>
7518 * elf/elf.h (ELFOSABI_GNU): New macro.
7519 (ELFOSABI_LINUX): Define to that.
7521 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7523 * string/strncat.c (strncat): Undef the symbol in case it has been
7524 defined in bits/string.h.
7526 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7528 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7530 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7533 2011-08-17 Andreas Jaeger <aj@suse.de>
7535 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7537 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7538 Ian Lance Taylor <iant@google.com>
7540 * math/libm-test.inc (lround_test): New testcase.
7541 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7543 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7545 * Makefile: Remove support for automatic cvs check-ins.
7546 * Makerules: Likewise.
7547 * config.make.in: Likewise.
7548 * configure.in: Likewise.
7549 * intl/Makefile: Likewise.
7550 * locale/Makefile: Likewise.
7551 * po/Makefile: Likewise.
7552 * posix/Makefile: Likewise.
7553 * sysdeps/gnu/Makefile: Likewise.
7554 * sysdeps/mach/hurd/Makefile: Likewise.
7555 * sysdeps/sparc/sparc32/Makefile: Likewise.
7558 * posix/Makefile (bug-regex32-ENV): Define.
7559 Patch by John Stanley <jpsinthemix@verizon.net>.
7561 * misc/Makefile (headers): Add bits/select2.h.
7562 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7563 * misc/bits/select2.h: New file.
7564 * include/bits/select2.h: New file.
7565 * debug/Makefile (routines): Add fdelt_chk.
7566 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7567 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7569 * debug/fdelt_chk.c: New file.
7571 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7572 * wcsmbs/test-wmemcmp.c: Likewise.
7573 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7574 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7576 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7578 * string/Makefile (strop-tests): Add memcmp.
7579 * string/test-wmemcmp.c: New file.
7580 * string/test-memcmp.c: Add wmemcmp support.
7582 2011-09-08 Roland McGrath <roland@hack.frob.com>
7585 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7588 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7589 garbage value in a __mach_port_mod_refs call in the cases of the
7590 task-self and thread-self ports.
7592 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7594 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7596 2011-09-08 Andreas Schwab <schwab@redhat.com>
7598 * elf/dl-load.c (lose): Check for non-null L.
7600 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7602 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7604 * elf/dl-libc.c (dlerror_run): Pass back error code from
7608 * elf/dl-load.c (lose): Free l_origin if it is valid.
7610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7616 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7617 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7619 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7621 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7622 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7624 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7625 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7626 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7627 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7628 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7629 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7630 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7632 2011-08-15 Alan Modra <amodra@gmail.com>
7635 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7636 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7637 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7638 ppc_mcount to static-only-routines.
7639 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7641 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7642 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7644 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7646 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7647 for finite and infinity parameters.
7649 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7652 and add nop instructions for throughput optimization.
7653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7655 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7658 aligned copy for power7 with vector-scalar instructions.
7659 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7661 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7666 2011-09-07 Andreas Schwab <schwab@redhat.com>
7669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7672 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7674 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7675 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7676 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7677 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7680 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7682 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7683 Forgot to demangle the pointer.
7685 * sysdeps/i386/sysdep.h: Define atom_text_section.
7686 * sysdeps/x86_64/sysdep.h: Likewise.
7687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7688 section with atom_text_section.
7689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7691 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7697 already be defined. Change to take two parameters and don't assign
7698 result to variable. Adjust all users.
7699 Define INTERNAL_GETTIME if not already defined.
7700 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7703 HAVE_CLOCK_GETTIME_VSYSCALL.
7704 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7707 gettimeofday vsyscall, just use time.
7709 2011-09-06 Andreas Schwab <schwab@redhat.com>
7711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7714 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7716 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7720 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7722 syscall if possible.
7724 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7726 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7727 e_ident. Don't pass to find_mapsXX.
7728 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7730 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7733 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7734 * sysdeps/x86_64/multiarch/strchr.S: Update.
7735 Check bit_slow_BSF bit.
7736 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7740 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7743 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7746 (__spawni): Change last parameter to be flag. Test
7747 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7748 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7749 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7750 * posix/spawni.c: Likewise.
7751 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7752 * posix/spawnp.c: Likewise. Change normal version to use
7753 SPAWN_XFLAGS_USE_PATH.
7754 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7755 SPAWN_XFLAGS_TRY_SHELL.
7758 * posix/glob.h: Remove gcc 1.x support.
7761 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7763 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7766 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7768 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7769 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7772 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7775 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7777 * sysdeps/x86_64/wcscmp.S: New file.
7779 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7780 wcscmp-c wcscmp-sse2
7781 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7782 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7783 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7784 * wcsmbs/wcscmp.c: Allow renaming.
7786 2011-09-05 David S. Miller <davem@davemloft.net>
7788 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7789 stack slot, rather than the struct return pointer slot.
7790 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7791 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7795 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7797 * po/ja.po: Update from translation team.
7800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7801 kernel in 64-bit binaries.
7803 2011-09-01 David S. Miller <davem@davemloft.net>
7805 * elf/elf.h (HWCAP_SPARC_*): Move to..
7806 * sysdeps/sparc/sysdep.h: this new file and add new values.
7807 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7808 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7809 _DL_HWCAP_COUNT to 24.
7810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7812 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7813 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7814 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7816 instead of magic constants.
7817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7819 2011-08-31 David S. Miller <davem@davemloft.net>
7821 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7823 Reimplement to do errno handling inline.
7824 (SYSCALL_ERROR_HANDLER): New macro.
7825 (__SYSCALL_STRING): Do not do errno handling in asm.
7826 (__CLONE_SYSCALL_STRING): Delete.
7827 (__INTERNAL_SYSCALL_STRING): Delete.
7828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7829 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7830 (PSEUDO): Reimplement to do errno handling inline.
7831 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7832 (SYSCALL_ERROR_HANDLER): New macro.
7833 (__SYSCALL_STRING): Do not do errno handling in asm.
7834 (__CLONE_SYSCALL_STRING): Delete.
7835 (__INTERNAL_SYSCALL_STRING): Delete.
7836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7837 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7839 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7840 (inline_syscall*): Add 'err' argument.
7841 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7842 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7843 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7844 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7846 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7847 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7849 2011-08-30 Andreas Schwab <schwab@redhat.com>
7851 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7853 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7855 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7858 2011-08-24 David S. Miller <davem@davemloft.net>
7860 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7862 2011-08-24 Andreas Schwab <schwab@redhat.com>
7864 * elf/Makefile: Add rules to build and run unload8 test.
7865 * elf/unload8.c: New file.
7866 * elf/unload8mod1.c: New file.
7867 * elf/unload8mod1x.c: New file.
7868 * elf/unload8mod2.c: New file.
7869 * elf/unload8mod3.c: New file.
7871 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7874 2011-08-23 David S. Miller <davem@davemloft.net>
7876 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7877 subtract stack bias.
7878 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7879 %sp not %fp in calculations.
7880 (_JMPBUF_UNWINDS_ADJ): Likewise.
7882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7883 (aio_suspend): Call it to force an exception region around the
7884 AIO_MISC_WAIT() invocation.
7886 2011-08-23 Andreas Schwab <schwab@redhat.com>
7888 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7891 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7893 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7895 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7897 (Elf64_FuncDesc): Remove.
7899 2011-08-22 David S. Miller <davem@davemloft.net>
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7902 sigaltstack check, add missing cfi directives.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7904 missing cfi directives, and sigaltstack handling.
7906 2011-08-16 Andreas Schwab <schwab@redhat.com>
7909 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7910 object is seen twice.
7911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7913 * elf/Makefile (distribute): Add tst-initorder2.c.
7914 (tests): Add tst-initorder2.
7915 (modules-names): Add tst-initorder2a tst-initorder2b
7916 tst-initorder2c tst-initorder2d. Add rules to build them.
7917 ($(objpfx)tst-initorder2.out): New rule.
7918 * elf/tst-initorder2.c: New file.
7919 * elf/tst-initorder2.exp: New file.
7921 2011-08-22 Andreas Schwab <schwab@redhat.com>
7923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7925 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7926 dependencies back to end of function.
7928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7931 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7934 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7936 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7937 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7938 of __vdso_gettimeofday.
7939 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7940 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7942 (_libc_vdso_platform_setup): Remove initialization of
7943 __vdso_gettimeofday and __vdso_time.
7945 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7947 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7949 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7952 * elf/dl-open.c (add_to_global): Report additions to the global scope
7953 for LD_DEBUG=scopes.
7954 (dl_open_worker): Also print scope of newly loaded dependencies.
7955 (_dl_show_scope): Indicate if there is no scope.
7958 * stdio-common/Makefile (tests): Add bug24.
7959 * stdio-common/bug24.c: New file.
7961 2011-08-19 Andreas Jaeger <aj@suse.de>
7964 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7965 non-existant file when using close-on-exec mode.
7967 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7970 the very first instruction.
7972 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7973 the CFI state in the end.
7974 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7975 inclusion of dl-trampoline.h.
7976 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7978 2011-08-19 Andreas Schwab <schwab@redhat.com>
7980 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7981 expectations for long double.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7984 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7986 2011-08-14 David S. Miller <davem@davemloft.net>
7988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7989 artificual limit depends upon the system page size.
7991 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7993 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7994 * resolv/Makefile: Define CFLAGS-libresolv.
7996 2011-08-17 Andreas Schwab <schwab@redhat.com>
7998 * nss/makedb.c (compute_tables): Make variables used in nested
8001 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8003 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8004 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8005 if buffer was too small.
8007 * elf/pldd.c (main): Attach to all threads in the process.
8008 Rewrite /proc handling to use *at functions.
8010 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8012 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8013 specifies first scope to show.
8014 (dl_open_worker): Update callers. Move printing scope of new
8015 object to before the relocation.
8016 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8017 * sysdeps/generic/ldsodefs.h: Update declaration.
8019 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8020 string for the scope number.
8022 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8024 * nscd/servicescache.c (cache_addserv): Make sure written is always
8027 2011-08-14 Roland McGrath <roland@hack.frob.com>
8029 * sysdeps/i386/i486/bits/atomic.h
8030 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8031 statement expression, so as to suppress "set but not used" warning.
8032 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8034 * string/strncat.c (STRNCAT): Use prototype definition.
8036 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8037 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8039 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8040 (localedef-modules): Add localedef.
8041 (locale-modules): Add locale.
8043 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8044 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8047 2011-08-14 David S. Miller <davem@davemloft.net>
8049 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8050 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8052 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8054 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8055 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8056 * elf/rtld.c (dl_main): Set l_name of vDSO.
8057 Call _dl_show_scope when DL_DEBUG_SCOPES.
8058 (process_dl_debug): Recognize scopes flag and also set it for all.
8059 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8060 Declare _dl_show_scope.
8062 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8063 (do_dlopen): Pass caller_dlopen to dl_open.
8064 (__libc_dlopen_mode): Initialize caller_dlopen.
8066 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8067 of libc. Make tolower call locale-independent. Optimize a bit by
8068 using isdigit instead of isalnum.
8069 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8071 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8073 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8074 was a dependency or dynamically loaded.
8076 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8078 * intl/l10nflist.c: Allow architecture-specific pop function.
8079 * sysdeps/x86_64/l10nflist.c: New file.
8081 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8084 2011-08-10 Andreas Schwab <schwab@redhat.com>
8086 * include/dirent.h: Add libc_hidden_proto for scandirat and
8087 scandirat64. Don't declare __scandirat64.
8088 * dirent/scandirat.c: Add libc_hidden_def.
8089 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8090 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8092 2011-08-10 David S. Miller <davem@davemloft.net>
8094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8100 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8102 * Versions.def [libc]: Add GLIBC_2.15.
8103 * dirent/Makefile (routines): Add scandirat and scandirat64.
8104 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8106 * dirent/dirent.h: Declare scandirat and scandirat64.
8107 * dirent/scandirat.c: New file.
8108 * dirent/scandirat64.c: New file.
8109 * sysdeps/wordsize-64/scandirat.c: New file.
8110 * sysdeps/wordsize-64/scandirat64.c: New file.
8111 * dirent/opendir.c: Define opendirat.
8112 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8114 * dirent/scandir64.c: Adjust for scandir.c change.
8115 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8116 __scandirat64, and __scandir_cancel_handler.
8117 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8118 additional parameter and use openat instead of open (outside of ld.so).
8119 Add new __opendir as wrapper around __opendirat.
8120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8121 here without requiring old scandirat implementation.
8123 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8125 * dirent/scandir.c (cancel_handler): Renamed to
8126 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8127 defined. Adjust users.
8128 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8131 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8133 * string/test-string.h (IMPL): Use __STRING to expand name and then
8136 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8139 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8141 * string/Makefile: Update.
8142 (strop-tests): Append strncat.
8143 * string/test-wcscmp.c: New file.
8144 New comprehensive test for wcscmp.
8145 * string/test-strcmp.c: Update.
8148 2011-07-22 Andreas Schwab <schwab@redhat.com>
8150 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8153 2011-07-26 Andreas Schwab <schwab@redhat.com>
8155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8156 encoding to ACE if AI_IDN.
8158 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8161 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8163 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8166 Fix overflow bug in strncat.
8167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8169 * string/test-strncat.c: Update.
8170 Add new tests for checking overflow bugs.
8172 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8175 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8176 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8177 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8179 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8180 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8181 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8182 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8185 (USE_AS_STRCAT): Define.
8186 Add strcat and strncat support.
8187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8189 2011-07-25 Andreas Schwab <schwab@redhat.com>
8191 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8192 __n bigger than INT_MAX+1.
8193 (__strncmp_g): Likewise.
8195 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8197 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8198 * libio/stido.h: Likewise.
8200 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8205 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8208 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8212 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8217 (_dl_x86_64_save_sse): Likewise.
8219 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8223 (_dl_x86_64_save_sse): Likewise.
8225 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8227 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8229 2011-07-21 Andreas Schwab <schwab@redhat.com>
8231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8233 (_dl_x86_64_save_sse): Use correct AVX check.
8235 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8238 bug in strncpy/strncat.
8239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8241 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8243 * string/tester.c (test_strcat): Add tests for different alignments
8244 of source and destination.
8245 (test_strncat): Likewise.
8247 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8250 * posix/glob.c (glob): Check passed in values before using them in
8251 expressions to avoid some overflows.
8252 (glob_in_dir): Likewise.
8255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8256 check for AVX enablement so that we don't crash with old kernels and
8258 * elf/tst-audit4.c: Add same checks here.
8259 * elf/tst-audit6.c: Likewise.
8261 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8263 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8265 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8267 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8269 * po/cs.po: Update from translation team.
8270 * po/bg.po: Likewise.
8272 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8274 * misc/sys/cdefs.h: Add support for const attribute.
8275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8276 to gnu_dev_{major,minor,makedev} functions.
8278 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8280 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8282 2011-07-20 Andreas Schwab <schwab@redhat.com>
8284 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8287 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8290 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8291 register in order to avoid conflicts with the soft frame pointer
8292 being held in r11 when necessary.
8293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8294 (INTERNAL_VSYSCALL_NCS): Likewise.
8296 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8298 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8299 * elf/dl-fini.c (_dl_fini): Adjust caller.
8300 * elf/dl-close.c (_dl_close_worker): Likewise.
8301 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8303 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8305 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8306 "aux_cache->nlibs < 0".
8308 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8309 in the reload-count case.
8311 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8314 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8315 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8316 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8317 * sysdeps/x86_64/multiarch/strcat.S: New file.
8318 * sysdeps/x86_64/multiarch/strncat.S: New file.
8319 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8321 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8322 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8324 (USE_AS_STRCAT): Define.
8325 Add strcat and strncat support.
8326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8329 * string/strncat.c: Update.
8330 (USE_AS_STRNCAT): Define.
8331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8332 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8334 * sysdeps/x86_64/multiarch/init-arch.h
8335 (bit_Prefer_PMINUB_for_stringop): New.
8336 (index_Prefer_PMINUB_for_stringop): Likewise.
8337 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8338 bit_Prefer_PMINUB_for_stringop.
8340 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8342 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8344 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8345 of casting of buffer.
8346 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8347 buffer32 and buffer64.
8348 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8349 writes instead of casting of buffer.
8350 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8352 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8355 2011-07-19 Andreas Schwab <schwab@redhat.com>
8357 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8359 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8361 * nscd/nscd.c (termination_handler): Don't do anything for a database
8362 if it has not yet been initialized.
8364 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8366 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8368 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8370 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8372 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8374 * po/nl.po: Update from translation team.
8375 * po/sv.po: Likewise.
8377 2011-07-16 Roland McGrath <roland@hack.frob.com>
8379 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8380 now disallowed by GCC.
8382 * configure.in (use-default-link): Default to yes if a test -shared
8383 link meets our qualifications.
8384 * configure: Regenerated.
8386 * config.make.in (output-format): New variable.
8387 * configure.in: Check for ld --print-output-format support.
8388 * configure: Regenerated.
8389 * Makerules ($(common-objpfx)format.lds)
8390 [$(output-format) != unknown]: Just use $(output-format),
8391 instead of the linker-script munging.
8393 2011-07-14 Roland McGrath <roland@hack.frob.com>
8395 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8396 of $(common-objpfx)shlib.lds.
8397 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8399 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8400 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8402 * configure.in (-z relro check): Adjust test code to add a large
8403 writable data section after it.
8404 * configure: Regenerated.
8406 2011-07-11 Roland McGrath <roland@hack.frob.com>
8408 * configure.in (-z relro check): Fix test code to make the variable
8410 * configure: Regenerated.
8412 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8414 * nscd/nscd.h (struct traced_file): Define.
8415 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8416 elements. Add traced_files.
8417 (inotify_fd): Declare.
8418 (register_traced_file): Declare.
8419 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8420 (inotify_fd): Export.
8421 (resolv_conf_descr): Remove.
8422 (nscd_init): Move inotify descriptor creation to main.
8423 Don't register files for notification here.
8424 (register_traced_file): New function.
8425 (invalidate_cache): Don't use reset_res to determine whether to call
8426 res_init, go through the list of registered files.
8427 (main_loop_poll): The inotify descriptors are now stored in the
8428 structures for the traced files.
8429 (main_loop_epoll): Likewise
8430 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8431 to __nss_disable_nscd.
8432 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8433 for a database anymore. Check the records for all the registered
8435 * nss/Makefile (libnss_files-routines): Add files-init.
8436 (libnss_db-routines): Add db-init.
8437 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8438 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8439 * nss/nss_db/db-init.c: New file.
8440 * nss/nss_files/files-init.c: New file.
8441 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8442 __nss_lookup_function.
8443 (__nss_lookup_function): Call nss_load_library.
8444 (nss_load_all_libraries): New function.
8445 (__nss_disable_nscd): Take parameter with callback function for files
8446 to register. Set is_nscd. Load all the DSOs for the NSS modules
8447 used for the cached services.
8448 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8449 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8450 options for features to all the files in nscd.
8452 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8454 2011-07-10 Roland McGrath <roland@hack.frob.com>
8456 * csu/elf-init.c (__libc_csu_init): Comment typo.
8458 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8460 * po/pl.po: Update from translation team.
8461 * po/ja.po: Likewise.
8462 * po/ru.po: Likewise.
8463 * po/ko.po: Likewise.
8464 * po/fr.po: Likewise.
8466 2011-07-09 Roland McGrath <roland@hack.frob.com>
8468 * configure.in (.ctors/.dtors header and trailer check):
8469 Use an empirical test on a built program.
8470 * configure: Regenerated.
8472 * configure.in (-z relro check): Use an empirical test on a built DSO.
8473 Detect, but do not require, on ia64.
8474 * configure: Regenerated.
8476 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8477 Update tests that use readelf to use $READELF instead.
8478 * configure: Regenerated.
8480 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8482 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8483 if the result is not used.
8485 2011-07-05 Andreas Jaeger <aj@suse.de>
8488 * stdlib/tst-strtod.c: Add testcase.
8490 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8492 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8493 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8494 The latter has a higher limit. Take additional parameter to pass to
8496 (__pathconf): Pass file to __statfs_link_max.
8497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8499 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8503 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8506 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8507 (__statfs_filesize_max): Likewise.
8508 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8510 2011-07-05 Andreas Jaeger <aj@suse.de>
8512 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8514 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8516 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8518 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8521 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8523 * Makefile (strop-tests): Add strncat.
8524 * string/test-strncat.c: New file.
8526 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8528 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8530 2011-06-21 Andreas Jaeger <aj@suse.de>
8532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8533 Copy rule from iconvdata/Makefile.
8535 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8538 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8539 but no long options are defined, just return 'W'.
8541 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8544 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8546 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8548 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8550 (innetgr): Likewise.
8552 2011-07-05 Roland McGrath <roland@hack.frob.com>
8554 * config.make.in (install_root): Default to $(DESTDIR).
8556 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8560 2011-07-02 Roland McGrath <roland@hack.frob.com>
8562 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8564 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8565 containing directory rather than embedding absolute directory names.
8567 * scripts/check-local-headers.sh: Rewritten using awk.
8568 Match by word, not by line. Print error messages for matches.
8569 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8571 * Makerules [shlib-lds-flags empty]:
8572 ($(common-objpfx)libc_pic.opts): New target.
8573 ($(common-objpfx)libc_pic.os.clean): New target.
8574 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8576 * config.make.in (OBJCOPY): New variable.
8577 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8578 * configure: Regenerated.
8580 * config.make.in (use-default-link): New variable.
8581 * configure.in (use_default_link): Grok --with-default-link to set it.
8582 * configure: Regenerated.
8583 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8584 (shlib-lds, shlib-lds-flags): Define to empty.
8586 * Makerules (shlib-lds): New variable.
8587 (shlib-lds-flags): New variable.
8588 (build-shlib, build-moduile, build-module-asneeded): Use it.
8589 ($(common-objpfx)libc.so): Use $(shlib-lds).
8590 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8593 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8594 DT_FLAGS/DT_FLAGS_1 with zero flags.
8596 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8597 linker script munging.
8599 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8601 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8603 * crypt/sha512.c (sha512_process_block): Perform total addition using
8604 128-bit if possible.
8605 (__sha512_finish_ctx): Likewise.
8606 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8608 * crypt/sha256.c (SWAP64): Define.
8609 (sha256_process_block): Perform total addition using 64-bit if
8611 (__sha256_finish_ctx): Likewise.
8613 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8615 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8617 * nscd/hstcache.c (cache_addhst): Likewise.
8618 * nscd/grpcache.c (cache_addgr): Likewise.
8619 * nscd/aicache.c (addhstaiX): Likewise
8620 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8622 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8624 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8626 * nscd/hstcache.c (cache_addhst): Likewise.
8627 * nscd/grpcache.c (cache_addgr): Likewise.
8628 * nscd/aicache.c (addhstaiX): Likewise
8630 2011-07-01 Andreas Schwab <schwab@redhat.com>
8632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8633 domain only when needed.
8635 2011-06-30 Andreas Schwab <schwab@redhat.com>
8637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8640 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8642 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8643 are re-adding the entry.
8644 * nscd/servicescache.c (cache_addserv): Likewise.
8646 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8648 * sysdeps/generic/dl-irel.h: fix protection against multiple
8650 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8652 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8655 * malloc/memusage.sh: Fix quoting in message.
8656 * debug/xtrace.sh: Likewise.
8658 * configure.in: Remove support for --experimental-malloc option, make
8660 * config.make.in: Likewise.
8661 * malloc/Makefile: Likewise.
8663 2011-06-27 Andreas Schwab <schwab@redhat.com>
8665 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8666 two-byte characters.
8668 2011-06-27 Roland McGrath <roland@hack.frob.com>
8670 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8671 AC_CACHE_CHECK invocation.
8672 * configure: Regenerated.
8674 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8676 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8679 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8680 bit from old_res_options.
8682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8684 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8685 value type for setfct.
8687 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8690 __gettimeofday instead of gettimeofday.
8692 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8694 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8696 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8703 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8706 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8707 strcpy-sse2-unaligned strncpy-sse2-unaligned
8708 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8709 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8710 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8711 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8712 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8715 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8716 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8717 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8718 (STRCPY): Support SSE2 and SSSE3 versions.
8720 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8723 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8724 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8725 kernels which artificially limit size of requests.
8727 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8730 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8731 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8732 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8733 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8734 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8735 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8736 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8739 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8740 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8741 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8742 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8743 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8745 Enable unaligned load optimization for Intel Core i3, i5 and i7
8747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8749 (index_Fast_Unaligned_Load): Define.
8750 (HAS_FAST_UNALIGNED_LOAD): Define.
8752 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8754 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8756 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8760 until it is clear that the information is realy needed.
8761 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8763 2011-06-22 Andreas Schwab <schwab@redhat.com>
8765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8767 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8770 /sys/devices/system/cpu/online if it is usable.
8772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8773 reading the information from the /proc filesystem to once a second.
8775 2011-06-21 Andreas Jaeger <aj@suse.de>
8777 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8778 NULL after inclusion of kernel headers.
8780 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8782 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8783 calls to internal_setent.
8786 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8787 addresses using gethostbyname4_r ignore IPv4 addresses.
8789 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8790 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8792 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8794 2011-06-20 David S. Miller <davem@davemloft.net>
8796 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8798 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8800 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8802 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8803 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8804 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8805 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8806 * sysdeps/x86_64/dl-irel.h: Likewise.
8808 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8809 * elf/dl-sym.c: Likewise.
8811 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8813 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8814 need to dereference resplen2.
8816 2011-06-14 Andreas Schwab <schwab@redhat.com>
8818 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8820 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8822 * Makeconfig: Define vardbdir and inst_vardbdir.
8823 * nss/Makefile: Add rules to install db-Makefile.
8825 * nss/nss_db/db-XXX.c: Cleanup.
8827 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8828 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8830 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8831 * nss/makedb.c: Implement -g option to specify that value strings
8832 are generated and should not be added to table iterated over for
8834 * nss/nss_db/db-initgroups.c: New file.
8836 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8839 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8840 (internal_getgrouplist): Adjust to name change.
8841 Update use_initgroups_entry if this is not the first call.
8842 * nss/databases.def: Add initgroups entry.
8844 * nss/makedb.c (compute_tables): Check result of multiple hash table
8845 sizes to minimize maximum chain length.
8847 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8849 * Versions.def: Add entry for libnss_db.
8850 * shlib-versions: Likewise.
8851 * nss/Makefile: Add rules to build libnss_db.
8852 * nss/Versions: Add libnss_db information. Organize libnss_files
8854 * nss/db-Makefile: Add gshadow support. Change rules for the new
8855 makedb progra. Some minor improvements to generate smaller files.
8856 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8858 * nss/makedb.c: ...here.
8859 Improve database format to be smaller and require less memory at
8861 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8863 * nss/nss_db/db-netgrp.c: Likewise.
8864 * nss/nss_db/db-open.c: Likewise.
8865 * nss/nss_files/flies-XXX.x: Adjust comments.
8866 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8867 * nss/nss_files/files-grp.c: Likewise.
8868 * nss/nss_files/files-hosts.c: Likewise.
8869 * nss/nss_files/files-network.c: Likewise.
8870 * nss/nss_files/files-proto.c: Likewise.
8871 * nss/nss_files/files-pwd.c: Likewise.
8872 * nss/nss_files/files-rpc.c: Likewise.
8873 * nss/nss_files/files-service.c: Likewise.
8874 * nss/nss_files/files-sgrp.c: Likewise.
8875 * nss/nss_files/files-spwd.c: Likewise.
8876 * nss/nss_db/db-alias.c: Removed.
8877 * nss/nss_db/dummy-db.h: Removed.
8879 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8881 * nss/makedb.c: Rewritten to not use database library.
8882 * nss/Makefile: Update to build new makedb program.
8884 2011-06-14 Andreas Jaeger <aj@suse.de>
8886 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8889 2011-06-10 Andreas Schwab <schwab@redhat.com>
8891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8894 2011-06-10 Roland McGrath <roland@hack.frob.com>
8896 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8897 * elf/Makefile ($(objpfx)ld.so): Likewise.
8899 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8900 Don't list ld.so twice in dependencies.
8902 * posix/bug-regex31.c: Include <stdlib.h>.
8904 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8906 * nis/nss_compat/compat-spwd.c
8907 (getspent_next_nss_netgr): Remove unused variable.
8908 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8910 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8911 nonmembers" output to use the right array.
8913 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8915 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8917 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8918 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8919 * catgets/gencat.c (read_input_file): Likewise.
8920 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8922 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8923 variable definition inside #if's controlling its use.
8925 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8927 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8929 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8931 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8934 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8936 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8937 * configure: Regenerated.
8939 * Makerules: Revert last change.
8940 * elf/Makefile: Likewise.
8942 2011-06-09 Roland McGrath <roland@hack.frob.com>
8944 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8945 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8946 (reloc-link): Likewise.
8948 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8950 * elf/Makefile: Add rules to build pldd.
8951 * elf/pldd.c: New file.
8952 * elf/pldd-xx.c: New file.
8954 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8956 * version.h: Update for 2.15 development version.
8958 2011-06-07 David S. Miller <davem@davemloft.net>
8960 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8963 elf_machine_lazy_rel): Likewise.
8964 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8966 elf_machine_lazy_rel): Likewise.
8967 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8968 dl_hwcap via passed in argument.
8969 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8972 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8974 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8976 2011-06-06 Roland McGrath <roland@hack.frob.com>
8979 * manual/fdl-1.1.texi: New file, verbatim from:
8980 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8981 * manual/lgpl-2.1.texi: New file, verbatim from:
8982 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8983 * manual/Makefile (licenses): New variable, list those new file names.
8985 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8987 * manual/fdl.texi: File removed.
8988 * manual/lesser.texi: File removed.
8989 * manual/libc.texinfo (Copying, Documentation License):
8990 Use new @include file names, put @appendix directive before @include.
8992 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8995 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8996 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8997 (mq_open): Add __NTH.
8999 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9002 Assume Intel Core i3/i5/i7 processor if AVX is available.
9004 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9009 2011-05-31 Andreas Schwab <schwab@redhat.com>
9011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9012 memory. Use alloca_account. Fix memory leak when retrying.
9014 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9016 * version.h (RELEASE): Bump for 2.14 release.
9017 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9019 * config.make.in (RANLIB): Remove entry.
9021 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9023 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9024 (libc.pot): Work around missing support for .ksh extension in xgettext.
9027 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9028 if both request failed.
9029 (send_dg): In case of server errors clear resplen or *resplen2.
9032 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9033 when there are multiple maps.
9034 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9035 (_dl_fini): Remove test here.
9037 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9039 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9042 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9043 bit from old_res_options.
9044 (gaih_inet): Likewise.
9047 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9050 * resolv/res_init.c (res_setoptions): Make the code more compact.
9053 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9057 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9059 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9062 * malloc/malloc.h: Declare malloc hook variables as volatile.
9064 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9068 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9069 raise in the comment.
9070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9072 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9074 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9077 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9078 grow the buffers more if it already has to be sufficient.
9079 (build_wcs_upper_buffer): Likewise.
9080 * posix/regexec.c (check_matching): Likewise.
9081 (clean_state_log_if_needed): Likewise.
9082 (extend_buffers): Don't enlarge buffers beyond size of the input
9084 Patches mostly by Emil Wojak <emil@wojak.eu>.
9085 * posix/bug-regex32.c: New file.
9086 * posix/Makefile (tests): Add bug-regex32.
9088 * locale/findlocale.c (_nl_find_locale): Return right away if
9089 _nl_explode_name failed.
9090 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9092 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9094 * debug/xtrace.sh: Unify messages.
9095 * malloc/memusage.sh: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9099 time symbol from vDSO. Substitute with vsyscall if not available.
9100 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9104 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9106 Add sendmmsg and internal_sendmmsg.
9107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9111 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9112 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9115 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9119 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9125 * iconvdata/Makefile (tests): Add bug-iconv9.
9126 * iconvdata/bug-iconv9.c: New file.
9128 2011-05-27 Andreas Schwab <schwab@redhat.com>
9131 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9133 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9136 (struct user_regs_struct): Change intcs field back to cs.
9138 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9140 * po/ja.po: Update from translation team.
9142 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9146 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9148 2011-05-20 Andreas Schwab <schwab@redhat.com>
9150 * stdlib/longlong.h: Update from GCC.
9152 2011-05-23 Andreas Schwab <schwab@redhat.com>
9154 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9156 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9158 (__sysconf): Pass it down.
9160 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9163 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9165 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9166 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9167 add in in __libc_use_alloca calls. Adjust callers.
9168 (glob): Use malloc in some situations.
9170 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9171 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9174 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9176 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9177 and CLOCK_BOOTTIME_ALARM.
9180 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9183 * string/_strerror.c (__strerror_r): Print negative errors as signed
9187 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9188 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9189 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9191 * configure.in: Fix typo in redirection and correct removal of test
9195 * locale/setlocale.c (new_composite_name): Fix test to check for
9196 identical name of all categories.
9199 * libio/filedoalloc.c (local_isatty): New function.
9200 (_IO_file_doallocate): Use local_isatty.
9201 * stdio-common/perror.c (perror): In case a new stream is used
9202 forward the stream error.
9203 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9206 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9211 * include/alloca.h (extend_alloca_account): Define.
9214 * posix/regex.h: Fix comments with documentation of user-accessible
9215 fields after compilation and describe correct free'ing of pattern
9216 after re_compile_pattern.
9217 Patch by Reuben Thomas <rrt@sc3d.org>.
9219 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9221 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9222 and -mno-altivec to prevent the compiler from using Altivec and/or
9223 VSX instructions when the corresponding registers are not available.
9225 2011-05-19 Andreas Schwab <schwab@redhat.com>
9227 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9229 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9231 * libio/freopen.c (freopen): Use __dup2, not dup2.
9232 * libio/freopen64.c (freopen64): Likewise.
9234 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9237 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9238 * math/Makefile (tests): Add test-powl.
9239 (CFLAGS-test-powl.c): Define.
9240 * math/test-powl.c: New file.
9242 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9244 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9246 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9249 * iconvdata/gb18030.c: Update to GB18020-2005.
9251 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9253 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9254 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9255 Patch by Aharon Robbins <arnold@skeeve.com>.
9258 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9262 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9266 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9267 point to strings before performing equality test for error_one_per_line
9271 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9275 (struct user_fpregs_struct): Avoid __uint*_t types.
9278 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9279 symbol info. Use it instead of calling _dl_addr locally.
9280 (lock_and_info): New function.
9281 (tr_freehook): Call lock_and_info and pass symbol info as additional
9282 parameter to tr_where.
9283 (tr_mallochook): Likewise.
9284 (tr_reallochook): Likewise.
9285 (tr_memalignhook): Likewise.
9287 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9288 used and couldn't be at all thread-safe.
9290 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9292 * libio/freopen.c (freopen): Don't close old file descriptor
9293 before the new one is opened. Instead dup the new file descriptor
9294 to the old one after the new stream is created.
9295 * libio/freopen64.c (freopen64): Likewise.
9296 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9297 * libio/fileops.c (_IO_new_file_close_it): Handle new
9298 _IO_FLAGS2_NOCLOSE flag.
9299 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9300 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9301 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9302 _IO_FLAGS2_NOCLOSE flag.
9303 * include/unistd.h: Add hidden_proto for dup3.
9305 * io/dup3.c: Define hidden symbol.
9306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9309 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9310 when an incomplete long option is used.
9311 * posix/tst-getopt_long1.c: New file.
9312 * posix/Makefile (tests): Add tst-getopt_long1.
9315 * scripts/config.guess: Update from autoconf-2.68.
9316 * scripts/config.sub: Likewise.
9319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9321 (has_cpuclock): ...this. New function.
9322 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9323 macro here based on has_cpuclock code.
9326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9327 First byte (not low byte) is now always NUL.
9328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9331 Use non-cancelable interfaces.
9334 * locale/iso-639.def: Add entry for Sorani.
9337 * include/stdlib.h: Move include protection to the right place.
9338 Define abort_msg_s. Declare __abort_msg with it.
9339 * stdlib/abort.c (__abort_msg): Adjust type.
9340 * assert/assert.c (__assert_fail_base): New function. Majority
9341 of code from __assert_fail. Allocate memory for __abort_msg with
9343 (__assert_fail): Now call __assert_fail_base.
9344 * assert/assert-perr.c: Remove bulk of implementation. Use
9346 * include/assert.hL Declare __assert_fail_base.
9347 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9349 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9351 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9355 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9356 until all modules are registered in the DTV.
9357 * elf/Makefile: Add rules to build and run tst-tls19.
9358 * elf/tst-tls19.c: New file.
9359 * elf/tst-tls19mod1.c: New file.
9360 * elf/tst-tls19mod2.c: New file.
9361 * elf/tst-tls19mod3.c: New file.
9362 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9365 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9369 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9370 two-byte sequence errors.
9371 * iconvdata/Makefile (tests): Add bug-iconv8.
9372 * iconvdata/bug-iconv8.c: New file.
9375 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9378 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9381 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9382 (dummy_getcfa): New function.
9383 (init): Get _Unwind_GetCFA address, use dummy if not found.
9384 (backtrace_helper): In recursion check, also check whether CFA changes.
9385 (__backtrace): Completely initialize arg.
9387 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9388 storing incomplete byte sequence in state object. Avoid testing for
9389 guaranteed too small input if we know there is enough data available.
9391 2011-05-11 Andreas Schwab <schwab@redhat.com>
9393 * Makeconfig (+link-pie): Indent.
9394 * Rules (binaries-pie): Define if $(have-fpie) and
9396 (binaries-shared): Also filter out $(binaries-pie).
9397 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9398 * nscd/Makefile (others-pie): Add nscd.
9399 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9400 ($(objpfx)nscd): Remove command override.
9401 * login/Makefile (others-pie): Add pt_chown.
9402 ($(objpfx)pt_chown): Remove command override.
9403 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9404 remove command overrides.
9406 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9408 * libio/tst_putwc.c: Fix error messages.
9411 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9412 currently writing and seek to current position when not.
9413 * libio/Makefile (tests): Add bug-fclose1.
9414 * libio/bug-fclose1.c: New file.
9416 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9419 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9420 don't set DF_1_NODELETE here.
9421 (do_lookup_x): When entering new entry test for copy relocation
9422 and if necessary set DF_1_NODELETE flag.
9423 * elf/tst-unique4.cc: New file.
9424 * elf/tst-unique4.h: New file.
9425 * elf/tst-unique4lib.cc: New file.
9426 * elf/Makefile: Add rules to build and run tst-unique4.
9427 Patch by Piotr Bury <pbury@goahead.com>.
9429 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9432 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9435 * misc/mntent_r.c (addmntent): Flush the stream after the output
9438 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9439 (is_trusted_path_normalize): Skip initial colon. Append slash
9440 to empty buffer. Duplicate is_trusted_path code but allow
9441 constructed patch to be prefix.
9442 (is_dst): Allow $ORIGIN followed by /.
9443 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9444 Correct testing of result of is_trusted_path_normalize
9445 (decompose_rpath): Fix warning.
9447 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9450 * grp/initgroups.c (internal_getgrouplist): When we found the service
9451 list through the initgroups entry in nsswitch.conf do not always
9452 continue on a successful lookup. Don't always use the
9453 __nss_group_database value if it is set.
9454 * nss/nsswitch.conf (initgroups): Change action for successful db
9455 lookup to continue for compatibility.
9457 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9460 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9462 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9464 * iconvdata/tst-tables.sh: Likewise.
9465 * iconvdata/cp770.c: New file.
9466 * iconvdata/cp771.c: New file.
9467 * iconvdata/cp772.c: New file.
9468 * iconvdata/cp773.c: New file.
9469 * iconvdata/cp774.c: New file.
9470 * iconvdata/testdata/CP770: New file.
9471 * iconvdata/testdata/CP770..UTF8: New file.
9472 * iconvdata/testdata/CP771: New file.
9473 * iconvdata/testdata/CP771..UTF8: New file.
9474 * iconvdata/testdata/CP772: New file.
9475 * iconvdata/testdata/CP772..UTF8: New file.
9476 * iconvdata/testdata/CP773: New file.
9477 * iconvdata/testdata/CP773..UTF8: New file.
9478 * iconvdata/testdata/CP774: New file.
9479 * iconvdata/testdata/CP774..UTF8: New file.
9481 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9483 * iconvdata/gen-8bit-gap.sh: Likewise.
9484 * iconvdata/gen-8bit.sh: Likewise.
9486 * locale/iso-639.def: Add ary entry.
9489 * locale/C-translit.h.in: Add U20A1 transliteration.
9492 * locale/iso-639.def: Add wae entry.
9493 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9496 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9500 * locale/C-translit.h.in: Add entry for U20B9.
9501 Patch by pravin.d.s@gmail.com.
9503 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9506 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9507 ENAMETOOLONG use generic getcwd.
9508 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9509 in rtld. Use *stat64.
9510 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9511 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9512 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9513 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9514 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9515 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9516 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9518 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9519 * dirent/rewinddir.c: Add libc_hidden_def.
9520 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9521 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9523 * include/dirent.h (__alloc_dir): Add flags parameter.
9524 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9525 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9527 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9528 from fdopendir if O_CLOEXEC is already set.
9530 2011-03-15 Alan Modra <amodra@gmail.com>
9532 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9533 l_tls_firstbyte_offset non-zero. Save padding offset in
9534 l_tls_firstbyte_offset for later use.
9535 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9536 freeing static tls block.
9538 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9540 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9541 where #ifdef was intended. The intent is to prevent ARG_MAX from
9542 being defined by the kernel headers.
9544 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9547 * resolv/resolv.h: Define RES_NOTLDQUERY.
9548 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9549 no-tld-query and set RES_NOTLDQUERY.
9550 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9551 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9552 modern BIND to search name as TLD unless forbidden.
9554 2011-05-07 Petr Baudis <pasky@suse.cz>
9555 Ulrich Drepper <drepper@gmail.com>
9558 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9559 (is_trusted_path): ...to here.
9560 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9561 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9562 using is_trusted_path_normalize() in setuid scripts.
9564 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9567 __BEGIN/__END_DECLS.
9569 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9572 NSS_STATUS_NOTFOUND if no record was found.
9574 2011-05-05 Andreas Schwab <schwab@redhat.com>
9576 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9577 (headers-not-in-tirpc): Remove rpc/netdb.h
9578 * resolv/netdb.h: Revert last change.
9580 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9582 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9583 circular dependency between libgcc.a and libc.a.
9585 2011-05-05 Andreas Schwab <schwab@redhat.com>
9587 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9588 * nis/Makefile: Don't install rpcsvc/*.
9589 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9590 instead of <rpc/types.h>.
9591 (MAXHOSTNAMELEN): Define.
9593 2011-05-03 Andreas Schwab <schwab@redhat.com>
9595 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9597 2011-04-28 Maciej Babinski <mbabinski@google.com>
9600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9601 gethostbyname4_r when IPv6 results are possible.
9603 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9607 _PC_PIPE_BUF handling.
9609 2011-04-30 Bruno Haible <bruno@clisp.org>
9612 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9613 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9615 * inet/getnameinfo.c (getnameinfo): Likewise.
9617 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9619 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9620 to groups setting in database lookup.
9621 * nss/nsswitch.conf: Add initgroups entry.
9623 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9626 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9628 Patch by Eric Blake <eblake@redhat.com>.
9630 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9632 * sunrpc/Makefile (need-export-routines): Add svc_run.
9633 (routines): Remove svc_run.
9634 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9635 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9636 * sunrpc/svc_run.c (svc_run): Likewise.
9637 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9639 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9642 problem in reallocation in last patch.
9644 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9646 * sunrpc/Makefile: Move inclusion of Rules.
9648 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9650 * nss/nss_files/files-initgroups.c: New file.
9651 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9652 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9653 _nss_files_initgroups_dyn.
9655 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9657 * elf/elf.h (R_ARM_IRELATIVE): Define.
9659 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9661 * po/ru.po: Update from translation team.
9663 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9665 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9668 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9672 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9677 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9685 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9688 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9690 * stdlib/bug-getcontext.c: New file.
9691 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9693 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9695 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9696 instructions into .machine "z9-109".
9697 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9698 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9700 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9702 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9703 between environment variables and auxiliary vector.
9705 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9707 * Makefile: Add rules to build linkobj/libc.so.
9708 * include/libc-symbols.h: Define libc_hidden_nolink.
9709 * include/rpc/auth.h: Mark functions which are to be hidden.
9710 * include/rpc/auth_des.h: Likewise.
9711 * include/rpc/auth_unix.h: Likewise.
9712 * include/rpc/clnt.h: Likewise.
9713 * include/rpc/des_crypt.h: Likewise.
9714 * include/rpc/key_prot.h: Likewise.
9715 * include/rpc/pmap_clnt.h: Likewise.
9716 * include/rpc/pmap_prot.h: Likewise.
9717 * include/rpc/pmap_rmt.h: Likewise.
9718 * include/rpc/rpc_msg.h: Likewise.
9719 * include/rpc/svc.h: Likewise.
9720 * include/rpc/svc_auth.h: Likewise.
9721 * include/rpc/xdr.h: Likewise.
9722 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9723 * nss/Makefile: Likewise.
9724 * sunrpc/Makefile: Don't install headers. Build library with normal
9725 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9726 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9727 for the compat linking library. Remove use of INTDEF/INTUSE.
9728 * sunrpc/auth_none.c: Likewise.
9729 * sunrpc/auth_unix.c: Likewise.
9730 * sunrpc/authdes_prot.c: Likewise.
9731 * sunrpc/authuxprot.c: Likewise.
9732 * sunrpc/clnt_gen.c: Likewise.
9733 * sunrpc/clnt_perr.c: Likewise.
9734 * sunrpc/clnt_raw.c: Likewise.
9735 * sunrpc/clnt_simp.c: Likewise.
9736 * sunrpc/clnt_tcp.c: Likewise.
9737 * sunrpc/clnt_udp.c: Likewise.
9738 * sunrpc/clnt_unix.c: Likewise.
9739 * sunrpc/des_crypt.c: Likewise.
9740 * sunrpc/des_soft.c: Likewise.
9741 * sunrpc/get_myaddr.c: Likewise.
9742 * sunrpc/key_call.c: Likewise.
9743 * sunrpc/key_prot.c: Likewise.
9744 * sunrpc/netname.c: Likewise.
9745 * sunrpc/pm_getmaps.c: Likewise.
9746 * sunrpc/pm_getport.c: Likewise.
9747 * sunrpc/pmap_clnt.c: Likewise.
9748 * sunrpc/pmap_prot.c: Likewise.
9749 * sunrpc/pmap_prot2.c: Likewise.
9750 * sunrpc/pmap_rmt.c: Likewise.
9751 * sunrpc/publickey.c: Likewise.
9752 * sunrpc/rpc_cmsg.c: Likewise.
9753 * sunrpc/rpc_common.c: Likewise.
9754 * sunrpc/rpc_dtable.c: Likewise.
9755 * sunrpc/rpc_prot.c: Likewise.
9756 * sunrpc/rpc_thread.c: Likewise.
9757 * sunrpc/rtime.c: Likewise.
9758 * sunrpc/svc.c: Likewise.
9759 * sunrpc/svc_auth.c: Likewise.
9760 * sunrpc/svc_authux.c: Likewise.
9761 * sunrpc/svc_raw.c: Likewise.
9762 * sunrpc/svc_run.c: Likewise.
9763 * sunrpc/svc_simple.c: Likewise.
9764 * sunrpc/svc_tcp.c: Likewise.
9765 * sunrpc/svc_udp.c: Likewise.
9766 * sunrpc/svc_unix.c: Likewise.
9767 * sunrpc/svcauth_des.c: Likewise.
9768 * sunrpc/xcrypt.c: Likewise.
9769 * sunrpc/xdr.c: Likewise.
9770 * sunrpc/xdr_array.c: Likewise.
9771 * sunrpc/xdr_float.c: Likewise.
9772 * sunrpc/xdr_intXX_t.c: Likewise.
9773 * sunrpc/xdr_mem.c: Likewise.
9774 * sunrpc/xdr_rec.c: Likewise.
9775 * sunrpc/xdr_ref.c: Likewise.
9776 * sunrpc/xdr_sizeof.c: Likewise.
9777 * sunrpc/xdr_stdio.c: Likewise.
9779 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9782 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9783 * sysdeps/ia64/dl-tls.h: Likewise.
9784 * sysdeps/powerpc/dl-tls.h: Likewise.
9785 * sysdeps/s390/dl-tls.h: Likewise.
9786 * sysdeps/sh/dl-tls.h: Likewise.
9787 * sysdeps/sparc/dl-tls.h: Likewise.
9788 * sysdeps/x86_64/dl-tls.h: Likewise.
9789 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9791 2011-03-14 Andreas Schwab <schwab@redhat.com>
9793 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9794 rpath element also skip the following colon.
9795 (expand_dynamic_string_token): Add is_path parameter and pass
9796 down to DL_DST_REQUIRED and _dl_dst_substitute.
9797 (decompose_rpath): Call expand_dynamic_string_token with
9798 non-zero is_path. Ignore empty rpaths.
9799 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9802 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9807 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9810 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9811 Patch by Filipe David Manana <fdmanana@apache.org>.
9813 2011-04-07 Andreas Schwab <schwab@redhat.com>
9815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9816 Maintain aligned stack.
9817 (CHECK_RSP): Remove unused macro.
9819 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9821 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9824 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9826 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9828 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9830 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9833 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9834 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9835 * sysdeps/x86_64/memmove.c: New file.
9836 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9837 (memcpy): Renamed to ...
9838 (__new_memcpy): This.
9839 (memcpy): Provide GLIBC_2_14 memcpy.
9840 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9841 (memcpy): Provide GLIBC_2_2_5 memcpy.
9843 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9846 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9848 2011-03-30 Andreas Schwab <schwab@redhat.com>
9850 * misc/syncfs.c: New file.
9851 * misc/Makefile (routines): Add syncfs.
9852 * posix/unistd.h: Declare syncfs.
9853 * sysdeps/unix/syscalls.list: Add syncfs.
9855 2011-04-01 Andreas Schwab <schwab@redhat.com>
9857 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9864 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9867 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9871 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9877 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9878 sync_file_range.c with -fexceptions.
9879 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9880 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9881 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9882 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9883 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9884 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9886 sync_file_range as cancellation point
9887 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9888 now a wrapper around __call_sync_file_range with cancellation handling.
9889 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9890 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9891 function name to __call_sync_file_range.
9892 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9893 Add call_sync_file_range.
9895 2011-04-01 Andreas Schwab <schwab@redhat.com>
9897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9900 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9902 * iconv/iconv.h: Fix typo in comment.
9903 * io/fcntl.h: Likewise.
9904 * libio/stdio.h: Likewise.
9905 * posix/spawn.h: Likewise.
9906 * posix/unistd.h: Likewise.
9907 * stdlib/stdlib.h: Likewise.
9908 * time/time.h: Likewise.
9909 * wcsmbs/wchar.h: Likewise.
9911 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9912 open_by_handle): Add.
9913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9914 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9915 Augment a few comments.
9916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9921 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9924 * io/fcntl.h (AT_EMPTY_PATH): Define.
9926 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9928 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9929 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9930 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9932 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9933 * Versions.def: Add GLIBC_2.14.
9934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9937 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9943 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9946 * string/test-strncmp.c (do_page_test): New function.
9948 (test_main): Call check2.
9949 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9951 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9955 Handle cache information in CPU leaf 4.
9956 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9958 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9961 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9962 character representation.
9963 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9965 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9968 END(__isnan) to END(__isnanf) to match function entry point/label
9969 EALIGN(__isnanf,...).
9971 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9973 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9975 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9978 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9979 copy from the symbol referenced in the relocation to initialize the
9981 Patch by Piotr Bury <pbury@goahead.com>.
9982 * elf/Makefile: Add rules to build and tst-unique3.
9983 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9984 * elf/tst-unique3.cc: New file.
9985 * elf/tst-unique3.h: New file.
9986 * elf/tst-unique3lib.cc: New file.
9987 * elf/tst-unique3lib2.cc: New file.
9989 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9991 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9993 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9994 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9997 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9999 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10000 to-be-loaded object along a path to loader is ld.so.
10002 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10003 Ulrich Drepper <drepper@gmail.com>
10005 * sysdeps/x86_64/memset.S: After aligning destination, code
10006 branches to different locations depending on the value of
10007 misalignment, when multiarch is enabled. Fix this.
10009 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10011 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10012 Set _x86_64_preferred_memory_instruction for AMD processsors.
10013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10014 Set bit_Prefer_SSE_for_memop for AMD processors.
10016 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10018 * libio/fmemopen.c (fmemopen): Optimize a bit.
10020 2011-03-03 Andreas Schwab <schwab@redhat.com>
10022 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10024 2011-03-03 Roland McGrath <roland@redhat.com>
10026 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10028 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10030 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10031 __bzero_ultra1 instead of __memset_ultra1.
10033 2011-02-23 Andreas Schwab <schwab@redhat.com>
10034 Ulrich Drepper <drepper@gmail.com>
10037 * include/link.h (struct link_map): Add l_orig_initfini.
10038 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10039 returning unsuccessfully.
10040 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10041 close of a file loaded at startup, restore the original l_initfini
10043 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10044 list, store the pointer.
10045 * elf/Makefile ($(objpfx)noload-mem): New rule.
10046 (noload-ENV): Define.
10047 (tests): Add $(objpfx)noload-mem.
10048 * elf/noload.c: Include <memcheck.h>.
10049 (main): Call mtrace. Close all opened handles.
10051 2011-02-17 Andreas Schwab <schwab@redhat.com>
10054 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10055 dependencies are missing.
10057 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10059 Fix __if_freereq crash: Unlike the generic version which uses free,
10061 * sysdeps/mach/hurd/ifreq.h: New file.
10063 2011-01-27 Petr Baudis <pasky@suse.cz>
10064 Ulrich Drepper <drepper@gmail.com>
10067 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10068 to extend_alloca().
10069 * stdio-common/bug23.c: New file.
10070 * stdio-common/Makefile (tests): Add bug23.
10072 2010-09-28 Andreas Schwab <schwab@redhat.com>
10073 Ulrich Drepper <drepper@gmail.com>
10076 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10077 before performing relro protection. At old place add assertion
10078 to make sure nothing changed.
10080 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10081 Glauber de Oliveira Costa <glommer@gmail.com>
10083 * elf/elf.h: Add new ARM TLS relocs.
10085 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10088 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10090 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10092 * sysdeps/wordsize-64/tst-writev.c: New file.
10094 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10096 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10097 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10098 insns in _dl_start to prevent a TOC reference before relocs are
10101 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10104 * Makeconfig: Remove RANLIB definition.
10105 * Makerules: Don't use RANLIB.
10106 * aclocal.m4: Remove ranlib test.
10107 * configure.in: No need to check for ranlib.
10108 * elf/rtld-Rules: Don't use RANLIB.
10110 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10112 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10114 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10115 inclusion protection macro.
10117 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10118 SIGRTMIN and SIGRTMAX and print information in that case only when
10119 SIGRTMIN is defined.
10121 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10123 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10124 arginfo fn returning -1.
10126 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10127 and thousands string is zero terminated.
10129 2011-02-03 Andreas Schwab <schwab@redhat.com>
10131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10132 sysdeps/unix/sysv/linux/bits/socket.h.
10134 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10136 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10137 (__CPU_COUNT): Remove old macros.
10138 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10139 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10140 (__CPU_ALLOC, __CPU_FREE): Add macros.
10141 (__sched_cpualloc, __sched_cpufree): Add declarations.
10143 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10145 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10146 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10147 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10148 (readdhstai): Return value of addhstaiX call.
10149 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10150 (addgrbyX): Return value returned by cache_addgr.
10151 (readdgrbyname): Return value returned by addgrbyX.
10152 (readdgrbygid): Likewise.
10153 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10154 (addpwbyX): Return value returned by cache_addpw.
10155 (readdpwbyname): Return value returned by addhstbyX.
10156 (readdpwbyuid): Likewise.
10157 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10158 (addservbyX): Return value returned by cache_addserv.
10159 (readdservbyname): Return value returned by addservbyX:
10160 (readdservbyport): Likewise.
10161 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10162 (addhstbyX): Return value returned by cache_addhst.
10163 (readdhstbyname): Return value returned by addhstbyX.
10164 (readdhstbyaddr): Likewise.
10165 (readdhstbynamev6): Likewise.
10166 (readdhstbyaddrv6): Likewise.
10167 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10168 (readdinitgroups): Return value returned by addinitgroupsX.
10169 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10170 (prune_cache): Keep track of timeout value of re-added entries.
10171 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10172 * nscd/nscd.h: Adjust prototypes of readd* functions.
10174 2011-02-04 Roland McGrath <roland@redhat.com>
10176 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10177 (nis_stats): Likewise.
10178 * nis/nis_modify.c (nis_modify): Likewise.
10179 * nis/nis_remove.c (nis_remove): Likewise.
10180 * nis/nis_add.c (nis_add): Likewise.
10182 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10184 * posix/fnmatch_loop.c: Add some consts.
10186 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10188 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10191 * config.make.in (config-cflags-novzeroupper): Define.
10192 * configure.in: Substitute libc_cv_cc_novzeroupper.
10193 * elf/Makefile (AVX-CFLAGS): Define.
10194 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10195 (CFLAGS-tst-auditmod4a.c): Likewise.
10196 (CFLAGS-tst-auditmod4b.c): Likewise.
10197 (CFLAGS-tst-auditmod6b.c): Likewise.
10198 (CFLAGS-tst-auditmod6c.c): Likewise.
10199 (CFLAGS-tst-auditmod7b.c): Likewise.
10200 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10202 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10204 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10205 function to the callback.
10206 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10208 2011-02-02 Andreas Schwab <schwab@redhat.com>
10210 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10213 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10216 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10218 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10220 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10223 * elf/Makefile: Add rules to build and run new test.
10224 * elf/tst-initorder.c: New file.
10225 * elf/tst-initorder.exp: New file.
10226 * elf/tst-initordera1.c: New file.
10227 * elf/tst-initordera2.c: New file.
10228 * elf/tst-initordera3.c: New file.
10229 * elf/tst-initordera4.c: New file.
10230 * elf/tst-initorderb1.c: New file.
10231 * elf/tst-initorderb2.c: New file.
10232 * elf/tst-order-a1.c: New file.
10233 * elf/tst-order-a2.c: New file.
10234 * elf/tst-order-a3.c: New file.
10235 * elf/tst-order-a4.c: New file.
10236 * elf/tst-order-b1.c: New file.
10237 * elf/tst-order-b2.c: New file.
10238 * elf/tst-order-main.c: New file.
10239 New test case by George Gensure <werkt0@gmail.com>.
10241 2010-10-01 Andreas Schwab <schwab@redhat.com>
10243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10244 decoding ACE if AI_CANONIDN.
10246 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10248 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10250 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10252 * version.h (RELEASE): Bump for 2.13 release.
10253 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10255 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10266 * posix/getconf.c: Update copyright year.
10267 * catgets/gencat.c: Likewise.
10268 * csu/version.c: Likewise.
10269 * debug/catchsegv.sh: Likewise.
10270 * debug/xtrace.sh: Likewise.
10271 * elf/ldconfig.c: Likewise.
10272 * elf/ldd.bash.in: Likewise.
10273 * elf/sprof.c (print_version): Likewise.
10274 * iconv/iconv_prog.c: Likewise.
10275 * iconv/iconvconfig.c: Likewise.
10276 * locale/programs/locale.c: Likewise.
10277 * locale/programs/localedef.c: Likewise.
10278 * malloc/memusage.sh: Likewise.
10279 * malloc/mtrace.pl: Likewise.
10280 * nscd/nscd.c (print_version): Likewise.
10281 * nss/getent.c: Likewise.
10283 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10284 PF_CAIF, and PF_ALG.
10285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10287 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10289 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10290 (modules-names): Use them.
10291 (ifunc-test-modules, ifunc-pie-tests): Define.
10292 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10293 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10294 (test-extras): Likewise.
10295 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10296 $(compile-command.c).
10297 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10298 (all-built-dso): Define.
10299 (check-textrel.out, check-execstack.out): Depend on it.
10301 * configure.in: Don't override --enable-multi-arch.
10303 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10306 * nscd/hstcache.c (tryagain): Define.
10307 (cache_addhst): Return tryagain not notfound for temporary errors.
10308 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10311 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10314 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10315 to make the syscall.
10316 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10319 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10320 and fall back to matching as normal character if the string ends before
10321 the matching ']' is found. This is what POSIX requires.
10322 * posix/testfnm.c: Adjust test result.
10323 * posix/globtest.sh: Adjust test result. Add new test.
10324 * posix/tst-fnmatch.input: Likewise.
10325 * posix/tst-fnmatch2.c: Add new test.
10327 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10329 * elf/Makefile (check-execstack): Revert last change. Depend on
10331 (check-execstack.h): New target.
10332 (generated): Add check-execstack.h.
10333 * elf/check-execstack.c: Include "check-execstack.h".
10334 (main): Revert last change.
10335 (handle_file): Return zero if GNU_STACK is absent and
10336 DEFAULT_STACK_PERMS doesn't include PF_X.
10338 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10340 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10341 in child fails because the descriptor is already closed.
10342 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10343 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10347 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10351 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10352 temporary buffer used to handle multi lookups locally.
10353 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10355 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10357 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10360 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10362 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10363 alignment for SSE2.
10365 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10368 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10369 characters. When rounding increased number of integer digits recompute
10371 * stdio-common/tst-grouping.c: New file.
10372 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10374 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10376 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10377 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10379 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10381 * bits/select.h: Likewise.
10383 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10385 * po/ja.po: Update from translation team.
10387 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10391 implementation just like for lxstat, fxstatat, et al.
10393 2010-12-27 Jim Meyering <meyering@redhat.com>
10396 * posix/regexec.c (build_trtable): Return failure indication upon
10397 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10399 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10402 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10403 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10408 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10411 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10412 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10414 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10416 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10417 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10418 script has SORT_BY_INIT_PRIORITY.
10419 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10420 NO_CTORS_DTORS_SECTIONS is defined.
10421 * elf/soinit.c: Likewise.
10422 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10423 NO_CTORS_DTORS_SECTIONS is defined.
10424 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10425 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10426 * sysdeps/sh/init-first.c: Likewise.
10427 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10429 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10431 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10432 always use the slow path.
10434 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10436 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10437 similar rule which adds the sysdep directories to the header search in
10438 order to pick up the correct platform stackinfo.h.
10439 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10440 perform test if it is, otherwise return successfully without testing.
10441 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10442 DEFAULT_STACK_PERMS define in stackinfo.h.
10443 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10444 defined in stackinfo.h.
10445 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10446 DEFAULT_STACK_PERMS defined in stackinfo.h.
10447 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10448 * sysdeps/ia64/stackinfo.h: Likewise.
10449 * sysdeps/s390/stackinfo.h: Likewise.
10450 * sysdeps/sh/stackinfo.h: Likewise.
10451 * sysdeps/sparc/stackinfo.h: Likewise.
10452 * sysdeps/x86_64/stackinfo.h: Likewise.
10453 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10454 PF_X for powerpc64. Retain PF_X for powerpc32.
10456 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10458 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10460 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10461 GETDENTS_64BIT_ALIGNED.
10463 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10465 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10467 2010-12-10 Andreas Schwab <schwab@redhat.com>
10469 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10473 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10475 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10476 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10478 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10481 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10484 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10486 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10488 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10490 * po/it.po: Update from translation team.
10492 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10497 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10499 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10501 2010-11-24 Andreas Schwab <schwab@redhat.com>
10503 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10505 (gaih_getanswer_slice): Likewise.
10507 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10511 2010-05-31 Petr Baudis <pasky@suse.cz>
10514 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10515 silently even in the chroot mode.
10517 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10519 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10520 last patch a bit. Pretty printing
10522 2010-05-31 Petr Baudis <pasky@suse.cz>
10525 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10526 initialization of skip_initgroups_dyn.
10528 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10533 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10535 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10537 2010-11-11 Andreas Schwab <schwab@redhat.com>
10539 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10540 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10541 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10542 ($(objpfx)tst-fnmatch-mem): New rule.
10543 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10544 * posix/tst-fnmatch.c (main): Call mtrace.
10546 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10549 Support Intel processor model 6 and model 0x2c.
10551 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10556 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10559 * string/test-strncasecmp.c (check_result): New function.
10560 (do_one_test): Use it.
10561 (check1): New function.
10562 (test_main): Use it.
10563 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10564 Support strcasecmp and strncasecmp.
10566 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10569 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10572 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10574 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10578 * sysdeps/x86_64/multiarch/bzero.S: New file.
10579 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10580 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10581 * sysdeps/x86_64/multiarch/memset.S: New file.
10582 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10584 Set bit_Prefer_SSE_for_memop for Intel processors.
10585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10587 (index_Prefer_SSE_for_memop): Define.
10588 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10590 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10592 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10593 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10595 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10599 (__x86_64_raw_data_cache_size_half): Likewise.
10600 (__x86_64_raw_shared_cache_size): Likewise.
10601 (__x86_64_raw_shared_cache_size_half): Likewise.
10603 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10604 (__x86_64_raw_data_cache_size_half): Likewise.
10605 (__x86_64_raw_shared_cache_size): Likewise.
10606 (__x86_64_raw_shared_cache_size_half): Likewise.
10607 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10608 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10609 and __x86_64_raw_shared_cache_size_half. Round
10610 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10611 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10612 to multiple of 256 bytes.
10614 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10618 of inacessible symlinks. Verify result of symlink before returning it.
10619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10620 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10622 2010-10-28 Erich Ritz <erichritz@gmail.com>
10624 * math/math.h (isinf): Fix typo in comment.
10626 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10628 * po/da.po: Update from translation team.
10630 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10632 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10633 is added to the list.
10635 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10636 Ulrich Drepper <drepper@gmail.com>
10638 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10639 the global list here. Move code to...
10640 (_dl_add_to_namespace_list): ...here. New function.
10641 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10642 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10643 * elf/dl-load.c (lose): Don't remove the element from the list.
10644 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10645 (_dl_map_object): Likewise.
10647 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10650 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10651 into all bytes of SSE register.
10652 Patch by Richard Li <richardpku@gmail.com>.
10654 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10657 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10660 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10662 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10663 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10665 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10670 2010-10-22 Andreas Schwab <schwab@redhat.com>
10672 * include/dlfcn.h (__RTLD_SECURE): Define.
10673 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10674 mode & __RTLD_SECURE instead.
10675 (open_path): Rename preloaded parameter to secure.
10676 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10677 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10678 * elf/dl-deps.c (openaux): Likewise.
10679 * elf/rtld.c (struct map_args): Remove is_preloaded.
10680 (map_doit): Don't use it.
10681 (dl_main): Likewise.
10682 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10683 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10685 2010-09-09 Andreas Schwab <schwab@redhat.com>
10687 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10688 (sysd-rules-targets): Remove duplicates.
10689 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10690 rtld-%.$o dependency.
10692 2010-10-18 Andreas Schwab <schwab@redhat.com>
10694 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10695 _dl_map_object do it.
10697 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10699 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10700 fast fma builtins, define the macros in the C99 standard.
10701 (FP_FAST_FMAF): Likewise.
10702 (FP_FAST_FMAL): Likewise.
10703 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10705 * bits/mathdef.h: Update copyright year.
10706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10708 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10710 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10711 builtins, define the macros in the C99 standard.
10712 (FP_FAST_FMAF): Likewise.
10713 (FP_FAST_FMAL): Likewise.
10714 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10716 (FP_FAST_FMAF): Likewise.
10718 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10721 * math/libm-test.inc (fma_test): Some new testcases.
10722 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10724 y and infinite z. Do multiplication by C already in long double.
10725 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10727 y and infinite z. Do bitwise or of inexact bit into u.d.
10728 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10729 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10730 * sysdeps/i386/fpu/s_fma.S: Removed.
10731 * sysdeps/i386/fpu/s_fmal.S: Removed.
10733 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10736 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10738 computation is not scheduled after fetestexcept. Fix value
10739 of minimum denormal long double.
10741 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10744 * math/libm-test.inc (fma_test): Add some more tests.
10745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10748 2010-10-15 Andreas Schwab <schwab@redhat.com>
10750 * scripts/data/localplt-s390-linux-gnu.data: New file.
10751 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10753 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10756 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10757 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10759 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10761 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10763 if one of x and y is very large and the other is subnormal.
10764 * sysdeps/s390/fpu/s_fmaf.c: New file.
10765 * sysdeps/s390/fpu/s_fma.c: New file.
10766 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10767 * sysdeps/powerpc/fpu/s_fma.S: New file.
10768 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10769 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10770 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10772 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10775 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10778 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10779 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10780 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10781 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10782 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10785 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10788 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10789 * posix/bug-regex31.input: Add test case.
10791 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10793 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10794 * posix/bug-regex31.input: New file.
10797 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10798 (parse_sub_exp): Fix last change, use postorder.
10800 * posix/bug-regex31.c: New file.
10801 * posix/Makefile: Add rules to build and run bug-regex31.
10803 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10806 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10809 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10810 to have entries in sys_siglist.
10813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10816 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10819 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10820 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10821 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10822 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10824 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10825 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10826 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10827 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10828 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10829 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10830 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10831 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10832 * math/ftestexcept.c (fetestexcept): Likewise.
10833 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10834 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10835 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10836 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10837 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10838 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10841 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10844 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10847 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10849 * string/bug-strstr1.c: New file.
10850 * string/Makefile: Add rules to build and run bug-strstr1.
10852 2010-10-05 Eric Blake <eblake@redhat.com>
10855 * string/str-two-way.h (two_way_long_needle): Always clear memory
10856 when skipping input due to the shift table.
10858 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10861 * malloc/mcheck.c: Handle large requests.
10864 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10865 for strncmp and strncasecmp.
10866 * string/stratcliff.c: Add tests for strcmp and strncmp.
10867 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10869 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10871 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10874 2010-09-30 Andreas Jaeger <aj@suse.de>
10876 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10877 (CGROUP_SUPER_MAGIC): Define.
10878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10879 Handle btrfs and cgroup file systems.
10880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10883 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10885 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10886 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10888 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10891 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10892 trying to locate the ELF header.
10894 2010-09-27 Andreas Schwab <schwab@redhat.com>
10897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10898 Mask out sign-bit copies when constructing f_fsid.
10900 2010-09-24 Petr Baudis <pasky@suse.cz>
10902 * debug/stack_chk_fail_local.c: Add missing licence exception.
10903 * debug/warning-nop.c: Likewise.
10905 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10908 implementing getdents64 using getdents syscall, set d_type if
10909 __ASSUME_GETDENTS32_D_TYPE.
10911 2010-09-16 Andreas Schwab <schwab@redhat.com>
10913 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10914 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10916 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10919 * posix/unistd.h: Undo change of feature selection for ftruncate from
10922 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10924 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10927 2010-09-20 Andreas Schwab <schwab@redhat.com>
10929 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10933 2010-09-14 Andreas Schwab <schwab@redhat.com>
10935 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10936 variables after CHECK_SP call.
10937 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10939 2010-09-13 Andreas Schwab <schwab@redhat.com>
10940 Ulrich Drepper <drepper@redhat.com>
10942 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10943 re-relocationg ld.so.
10944 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10945 _dl_init_paths call.
10946 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10949 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10951 * resolv/res_init.c (__res_vinit): Count the default server we added.
10953 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10954 Ulrich Drepper <drepper@redhat.com>
10957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10958 (____longjmp_chk): Use %ebx for saving value across system call.
10961 2010-09-06 Andreas Schwab <schwab@redhat.com>
10963 * manual/Makefile: Don't mix pattern rules with normal rules.
10965 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10967 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10969 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10970 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10971 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10972 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10976 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10979 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10980 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10982 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10984 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10985 * sysdeps/x86_64/addmul_1.S: Likewise.
10986 * sysdeps/x86_64/lshift.S: Likewise.
10987 * sysdeps/x86_64/mul_1.S: Likewise.
10988 * sysdeps/x86_64/rshift.S: Likewise.
10989 * sysdeps/x86_64/sub_n.S: Likewise.
10990 * sysdeps/x86_64/submul_1.S: Likewise.
10992 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10994 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10995 Define __sched_param instead of SCHED_* and sched_param when
10996 <bits/sched.h> is included with __need_schedparam defined.
10997 * bits/sched.h [__need_schedparam]
10998 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10999 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11000 (__defined_schedparam): Define to 1.
11001 (__sched_param): New structure, identical to sched_param.
11002 (__need_schedparam): Undefine.
11004 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11007 (epoll_create1): Declare.
11009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11011 2010-08-31 Andreas Schwab <schwab@redhat.com>
11014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11015 shifting retval into place.
11017 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11019 * nis/rpcsvc/nis.h: Update copyright notice.
11020 * nis/rpcsvc/nis.x: Likewise.
11021 * nis/rpcsvc/nis_callback.h: Likewise.
11022 * nis/rpcsvc/nis_callback.x: Likewise.
11023 * nis/rpcsvc/nis_object.x: Likewise.
11024 * nis/rpcsvc/nis_tags.h: Likewise.
11025 * nis/rpcsvc/yp.h: Likewise.
11026 * nis/rpcsvc/yp.x: Likewise.
11027 * nis/rpcsvc/ypupd.h: Likewise.
11028 * nis/yp_xdr.c: Likewise.
11029 * nis/ypupdate_xdr.c: Likewise.
11031 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11032 mainly the body of pmap_getport. Add parameters to specify timeouts.
11033 (pmap_getport): Use __libc_rpc_getport.
11034 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11035 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11036 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11038 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11043 2010-08-27 Roland McGrath <roland@redhat.com>
11045 * sysdeps/i386/i686/multiarch/Makefile
11046 (CFLAGS-varshift.c): New variable.
11048 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11050 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11051 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11055 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11057 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11059 * sysdeps/x86_64/strlen.S: Unroll the loop.
11060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11061 strlen-sse2 strlen-sse2-bsf.
11062 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11063 __strlen_no_bsf if bit_Slow_BSF is set.
11064 (__strlen_sse42): Removed.
11065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11066 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11068 2010-08-25 Roland McGrath <roland@redhat.com>
11070 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11071 * sysdeps/x86_64/multiarch/varshift.c: New file.
11072 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11073 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11074 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11075 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11077 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11080 strlen-sse2 strlen-sse2-bsf.
11081 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11082 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11083 (__strlen_sse2): Removed.
11084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11087 bit_Slow_BSF for Atom.
11088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11089 (index_Slow_BSF): Define.
11090 (HAS_SLOW_BSF): Define.
11092 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11095 * resolv/res_init.c (__res_vinit): When no server address at all
11096 is given default to loopback.
11098 2010-08-24 Roland McGrath <roland@redhat.com>
11100 * configure.in: Remove config-name.h generation.
11101 * configure: Regenerated.
11102 * config-name.in: File removed.
11103 * scripts/config-uname.sh: New file.
11104 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11105 ($(objdir)config-name.h): New target.
11107 * sunrpc/rpc_parse.h: Avoid nested comment.
11109 2010-08-24 Richard Henderson <rth@redhat.com>
11110 Ulrich Drepper <drepper@redhat.com>
11111 H.J. Lu <hongjiu.lu@intel.com>
11113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11115 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11116 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11117 _mm_alignr_epi8 with _mm_loadu_si128.
11118 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11119 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11120 (__m128i_shift_right): Removed.
11121 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11122 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11123 * sysdeps/x86_64/multiarch/varshift.h: New file.
11124 * sysdeps/x86_64/multiarch/varshift.S: New file.
11126 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11128 * configure.in: Move assembler checks to before sysdep dir checking.
11130 2010-08-20 Petr Baudis <pasky@suse.cz>
11132 * LICENSES: Sync the sunrpc license.
11134 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11136 * sunrpc/auth_des.c: Update copyright notice once again.
11137 * sunrpc/auth_none.c: Likewise.
11138 * sunrpc/auth_unix.c: Likewise.
11139 * sunrpc/authdes_prot.c: Likewise.
11140 * sunrpc/authuxprot.c: Likewise.
11141 * sunrpc/bindrsvprt.c: Likewise.
11142 * sunrpc/clnt_gen.c: Likewise.
11143 * sunrpc/clnt_perr.c: Likewise.
11144 * sunrpc/clnt_raw.c: Likewise.
11145 * sunrpc/clnt_simp.c: Likewise.
11146 * sunrpc/clnt_tcp.c: Likewise.
11147 * sunrpc/clnt_udp.c: Likewise.
11148 * sunrpc/clnt_unix.c: Likewise.
11149 * sunrpc/des_crypt.c: Likewise.
11150 * sunrpc/des_soft.c: Likewise.
11151 * sunrpc/get_myaddr.c: Likewise.
11152 * sunrpc/getrpcport.c: Likewise.
11153 * sunrpc/key_call.c: Likewise.
11154 * sunrpc/key_prot.c: Likewise.
11155 * sunrpc/openchild.c: Likewise.
11156 * sunrpc/pm_getmaps.c: Likewise.
11157 * sunrpc/pm_getport.c: Likewise.
11158 * sunrpc/pmap_clnt.c: Likewise.
11159 * sunrpc/pmap_prot.c: Likewise.
11160 * sunrpc/pmap_prot2.c: Likewise.
11161 * sunrpc/pmap_rmt.c: Likewise.
11162 * sunrpc/rpc/auth.h: Likewise.
11163 * sunrpc/rpc/auth_unix.h: Likewise.
11164 * sunrpc/rpc/clnt.h: Likewise.
11165 * sunrpc/rpc/des_crypt.h: Likewise.
11166 * sunrpc/rpc/key_prot.h: Likewise.
11167 * sunrpc/rpc/netdb.h: Likewise.
11168 * sunrpc/rpc/pmap_clnt.h: Likewise.
11169 * sunrpc/rpc/pmap_prot.h: Likewise.
11170 * sunrpc/rpc/pmap_rmt.h: Likewise.
11171 * sunrpc/rpc/rpc.h: Likewise.
11172 * sunrpc/rpc/rpc_des.h: Likewise.
11173 * sunrpc/rpc/rpc_msg.h: Likewise.
11174 * sunrpc/rpc/svc.h: Likewise.
11175 * sunrpc/rpc/svc_auth.h: Likewise.
11176 * sunrpc/rpc/types.h: Likewise.
11177 * sunrpc/rpc/xdr.h: Likewise.
11178 * sunrpc/rpc_clntout.c: Likewise.
11179 * sunrpc/rpc_cmsg.c: Likewise.
11180 * sunrpc/rpc_common.c: Likewise.
11181 * sunrpc/rpc_cout.c: Likewise.
11182 * sunrpc/rpc_dtable.c: Likewise.
11183 * sunrpc/rpc_hout.c: Likewise.
11184 * sunrpc/rpc_main.c: Likewise.
11185 * sunrpc/rpc_parse.c: Likewise.
11186 * sunrpc/rpc_parse.h: Likewise.
11187 * sunrpc/rpc_prot.c: Likewise.
11188 * sunrpc/rpc_sample.c: Likewise.
11189 * sunrpc/rpc_scan.c: Likewise.
11190 * sunrpc/rpc_scan.h: Likewise.
11191 * sunrpc/rpc_svcout.c: Likewise.
11192 * sunrpc/rpc_tblout.c: Likewise.
11193 * sunrpc/rpc_util.c: Likewise.
11194 * sunrpc/rpc_util.h: Likewise.
11195 * sunrpc/rpcinfo.c: Likewise.
11196 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11197 * sunrpc/rpcsvc/key_prot.x: Likewise.
11198 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11199 * sunrpc/rpcsvc/mount.x: Likewise.
11200 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11201 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11202 * sunrpc/rpcsvc/rex.x: Likewise.
11203 * sunrpc/rpcsvc/rstat.x: Likewise.
11204 * sunrpc/rpcsvc/rusers.x: Likewise.
11205 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11206 * sunrpc/rpcsvc/spray.x: Likewise.
11207 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11208 * sunrpc/rtime.c: Likewise.
11209 * sunrpc/svc.c: Likewise.
11210 * sunrpc/svc_auth.c: Likewise.
11211 * sunrpc/svc_authux.c: Likewise.
11212 * sunrpc/svc_raw.c: Likewise.
11213 * sunrpc/svc_run.c: Likewise.
11214 * sunrpc/svc_simple.c: Likewise.
11215 * sunrpc/svc_tcp.c: Likewise.
11216 * sunrpc/svc_udp.c: Likewise.
11217 * sunrpc/svc_unix.c: Likewise.
11218 * sunrpc/svcauth_des.c: Likewise.
11219 * sunrpc/xcrypt.c: Likewise.
11220 * sunrpc/xdr.c: Likewise.
11221 * sunrpc/xdr_array.c: Likewise.
11222 * sunrpc/xdr_float.c: Likewise.
11223 * sunrpc/xdr_mem.c: Likewise.
11224 * sunrpc/xdr_rec.c: Likewise.
11225 * sunrpc/xdr_ref.c: Likewise.
11226 * sunrpc/xdr_sizeof.c: Likewise.
11227 * sunrpc/xdr_stdio.c: Likewise.
11229 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11232 2010-08-19 Andreas Schwab <schwab@redhat.com>
11234 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11236 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11238 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11241 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11242 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11243 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11245 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11248 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11250 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11253 2010-07-26 Anton Blanchard <anton@samba.org>
11255 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11256 * malloc/arena.c (heap_trim): Likewise.
11258 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11260 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11263 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11265 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11267 * sysdeps/i386/elf/Makefile: New file.
11269 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11271 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11272 from fanotify_init.
11273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11276 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11278 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11280 * sysdeps/multiarch/strcmp.S: Likewise.
11282 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11284 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11285 strncase_l-nonascii.
11286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11287 Add strncase_l-ssse3.
11288 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11289 * sysdeps/x86_64/strcmp.S: Likewise.
11290 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11291 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11292 * sysdeps/x86_64/strncase.S: New file.
11293 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11294 * sysdeps/x86_64/strncase_l.S: New file.
11295 * string/Makefile (strop-tests): Add strncasecmp.
11296 * string/test-strncasecmp.c: New file.
11298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11301 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11302 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11304 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11306 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11308 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11310 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11314 2010-05-01 Alan Modra <amodra@gmail.com>
11316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11317 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11318 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11319 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11320 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11321 tidying. Don't tail-call __sigjmp_save for static lib.
11322 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11324 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11325 (CALL_MCOUNT): Add eh info, and nop after bl.
11326 (TAIL_CALL_SYSCALL_ERROR): New macro.
11327 (PSEUDO_RET): Use it.
11328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11329 Correct save location of integer regs and cr.
11330 (_dl_profile_resolve): Correct cr save location. Delete nops
11331 after bl when SHARED. Reduce cfi size a little by better
11332 placement of cfi directives.
11333 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11334 make a stack frame. Instead use parm save area as a temp.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11336 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11338 Don't make a stack frame for parent, use parm save area.
11339 Increase child stack frame to 112 bytes. Don't save unused reg,
11340 and adjust reg usage. Set up cfi on error recovery and
11341 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11343 (__makecontext): Add dummy nop after jump to exit.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11345 Use correct parm save area and cr save, reduce stack frame.
11346 Correct cfi for possible PSEUDO_RET frame setup.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11348 Branch to local label emitted by PSEUDO_RET rather than
11351 2010-08-12 Andreas Schwab <schwab@redhat.com>
11354 * locale/programs/locale.c (print_assignment): New function.
11355 (show_locale_vars): Use it.
11357 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11359 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11361 (struct statfs64): Likewise.
11362 (_STATFS_F_FLAGS): Define.
11363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11365 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11366 (ST_VALID): Define locally.
11367 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11368 __statvfs_getflags, use the provided value.
11369 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11370 __ASSUME_STATFS_F_FLAGS.
11372 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11374 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11375 Add sys/fanotify.h.
11376 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11377 fanotify_mask for GLIBC_2.13.
11378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11379 fanotify_init and fanotify_mark.
11380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11381 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11385 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11386 prlimit64 for GLIBC_2.13.
11387 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11397 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11400 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11401 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11403 * nss/Makefile: Add rules to build and run tst-nss-test1.
11404 * shlib-versions: Add entry for libnss_test1.
11405 * nss/nss_test1.c: New file.
11406 * nss/tst-nss-test1.c: New file.
11408 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11409 (__nss_configure_lookup): Set appropriate entry in
11410 __nss_configure_lookup to true.
11411 * nss/nsswitch.h: Define enum with indeces of databases in
11412 databases and __nss_database_custom arrays. Declare
11413 __nss_database_custom.
11414 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11415 to avoid using nscd when custom rules are installed.
11416 * nss/getXXbyYY_r.c: Likewise.
11417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11419 * nss/nss_files/files-parse.c: Whitespace fixes.
11421 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11424 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11425 * posix/fnmatch_loop.c: Likewise.
11427 2010-07-17 Andi Kleen <ak@linux.intel.com>
11429 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11430 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11431 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11432 * Versions.def [GLIBC_2.13]: Add.
11434 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11437 Also fail if tpwd after pwuid call is NULL.
11439 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11441 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11442 when converting to ms.
11444 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11446 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11447 EOPNOTSUPP errors with ENOTTY.
11448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11449 EOPNOTSUPP errors with ENOTTY.
11451 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11454 Add strcasecmp_l-ssse3.
11455 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11457 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11459 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11461 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11463 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11465 * string/Makefile (strop-tests): Add strcasecmp.
11466 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11467 strcasecmp_l-nonascii.
11468 (gen-as-const-headers): Add locale-defines.sym.
11469 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11470 * sysdeps/x86_64/strcasecmp.S: New file.
11471 * sysdeps/x86_64/strcasecmp_l.S: New file.
11472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11473 * sysdeps/x86_64/locale-defines.sym: New file.
11474 * string/test-strcasecmp.c: New file.
11476 * string/test-strcasestr.c: Test both ends of the range of characters.
11477 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11479 2010-07-29 Roland McGrath <roland@redhat.com>
11482 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11484 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11486 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11489 2010-07-27 Andreas Schwab <schwab@redhat.com>
11491 * manual/memory.texi (Malloc Tunable Parameters): Document
11494 2010-07-26 Roland McGrath <roland@redhat.com>
11497 * configure.in (-fgnu89-inline check): Set and substitute
11498 gnu89_inline, not libc_cv_gnu89_inline.
11499 * configure: Regenerated.
11500 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11502 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11504 * string/test-strnlen.c: New file.
11505 * string/Makefile (strop-tests): Add strnlen.
11506 * string/tester.c (test_strnlen): Add a few more test cases.
11507 * string/tst-strlen.c: Better error reporting.
11509 * sysdeps/x86_64/strnlen.S: New file.
11511 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11514 lower-latency instructions.
11516 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11518 * string/test-strcasestr.c: New file.
11519 * string/test-strstr.c: New file.
11520 * string/Makefile (strop-tests): Add strstr and strcasestr.
11521 * string/str-two-way.h: Don't undefine MAX.
11522 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11524 2010-07-21 Andreas Schwab <schwab@redhat.com>
11526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11527 strcasestr-nonascii.
11528 (CFLAGS-strcasestr-nonascii.c): Define.
11529 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11531 Remove unused attribute.
11533 2010-07-20 Roland McGrath <roland@redhat.com>
11535 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11536 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11537 ld.so.cache was broken. With it, there is no way to disable dsocaps
11538 like LD_HWCAP_MASK can disable hwcaps.
11540 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11542 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11544 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11546 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11547 call in strcasestr.
11548 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11549 __strcasestr_sse42_nonascii.
11550 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11551 strcasestr-nonascii.c.
11552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11554 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11561 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11566 2010-07-06 Andreas Schwab <schwab@redhat.com>
11569 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11572 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11575 _PC_PIPE_BUF using F_GETPIPE_SZ.
11577 2010-07-05 Roland McGrath <roland@redhat.com>
11579 * manual/arith.texi (Rounding Functions): Fix rint description
11580 implicit in round description.
11582 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11584 * elf/Makefile: Fix linking for a few tests to make recent linker
11587 2010-06-30 Andreas Schwab <schwab@redhat.com>
11589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11590 $(common-objpfx)libc_nonshared.a.
11592 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11594 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11595 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11596 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11597 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11598 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11599 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11600 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11601 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11616 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11617 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11618 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11619 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11620 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11621 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11622 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11623 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11624 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11625 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11626 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11627 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11643 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11645 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11646 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11647 * string/memmove.c (memmove): Renamed to ...
11648 (MEMMOVE): ...this. Default to memmove.
11649 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11650 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11653 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11654 mempcpy-ssse3-back memmove-ssse3-back.
11655 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11658 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11659 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11660 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11661 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11662 * sysdeps/x86_64/multiarch/memmove.c: New file.
11663 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11664 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11665 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11666 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11667 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11670 (index_Fast_Copy_Backward): Define.
11671 (HAS_ARCH_FEATURE): Define.
11672 (HAS_FAST_REP_STRING): Define.
11673 (HAS_FAST_COPY_BACKWARD): Define.
11675 2010-06-21 Andreas Schwab <schwab@redhat.com>
11677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11678 Restore proper fallback handling.
11680 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11683 * posix/group_member.c (__group_member): Correct checking loop.
11685 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11686 OOM in getpwuid_r correctly. Return error number when the caller
11687 should return, otherwise -1.
11688 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11689 call returning > 0 value.
11690 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11692 2010-06-07 Andreas Schwab <schwab@redhat.com>
11694 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11695 libc_nonshared.a from targets in modules-names.
11697 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11699 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11702 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11704 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11705 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11709 2010-06-02 Andreas Schwab <schwab@redhat.com>
11711 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11713 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11717 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11724 2010-06-14 Roland McGrath <roland@redhat.com>
11726 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11728 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11730 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11731 __REDIRECT followed by __THROW.
11732 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11733 * posix/getopt.h (getopt): Likewise.
11735 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11737 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11738 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11739 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11741 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11742 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11744 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11748 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11752 Properly check family and model.
11754 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11756 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11758 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11760 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11762 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11764 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11767 2010-05-19 Andreas Schwab <schwab@redhat.com>
11769 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11772 2010-05-21 Andreas Schwab <schwab@redhat.com>
11774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11775 and internal_recvmmsg.
11776 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11777 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11778 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11779 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11781 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11782 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11783 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11785 2010-05-20 Andreas Schwab <schwab@redhat.com>
11787 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11789 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11791 POWER7 optimizations.
11792 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11793 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11795 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11797 * version.h: Update for 2.13 development version.
11799 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11802 exceptions. Return 0.
11804 2010-05-07 Roland McGrath <roland@redhat.com>
11806 * elf/ldconfig.c (main): Add a const.
11808 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11810 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11811 (args_options): Add no-idn option.
11812 (ahosts_keys_int): Add idn_flags to ai_flags.
11813 (parse_option): Handle 'i' option to clear idn_flags.
11815 * malloc/malloc.c (_int_free): Possible race in the most recently
11816 added check. Only act on the data if no current modification
11819 See ChangeLog.17 for earlier changes.