1 2012-04-25 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4 HWCAP_* values only after the memory barriers have been defined.
5 (atomic_full_barrier): Define.
6 (atomic_read_barrier): Define.
7 (atomic_write_barrier): Define.
9 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * shlib-versions: Add libgcc_s version information.
12 * sysdeps/generic/libgcc_s.h: Remove.
13 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15 * sysdeps/gnu/unwind-resume.c: Likewise.
16 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18 2012-04-25 David S. Miller <davem@davemloft.net>
20 * sysdeps/unix/sparc/brk.S: Delete.
21 * sysdeps/unix/sparc/dl-brk.S: Delete.
22 * sysdeps/unix/sparc/pipe.S: Delete.
23 * sysdeps/unix/sparc/sysdep.S: Delete.
24 * sysdeps/unix/sparc/sysdep.h: Delete.
25 * sysdeps/unix/sparc/vfork.S: Delete.
26 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29 ret_ERRVAL, r0, r1, MOVE): Define.
31 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32 sysdeps/unix/sparc/sysdep.h
34 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42 * timezone/README: Update upstream location and email address for
44 * timezone/zdump.c: Update from tzcode 2012b.
45 * timezone/zic.c: Likewise.
47 * configure.in (libc_cv_as_needed): Remove test.
48 * configure: Regenerated.
49 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50 conditional definition.
51 [$(have-as-needed) != yes] (no-as-needed): Likewise.
52 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53 * config.make.in (have-as-needed): Remove variable.
55 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
56 Paul Pluzhnikov <ppluzhnikov@google.com>
58 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
63 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65 * sysdeps/sh/strlen.S: Likewise.
67 2012-04-24 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/unix/fork.S: Remove file.
70 * sysdeps/unix/i386/fork.S: Likewise.
71 * sysdeps/unix/sparc/fork.S: Likewise.
73 * sysdeps/unix/system.c: Remove file.
74 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76 * sysdeps/unix/getegid.S: Remove file.
77 * sysdeps/unix/geteuid.S: Likewise.
79 2012-04-24 Roland McGrath <roland@hack.frob.com>
81 * scripts/check-localplt.awk: New file.
82 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84 * scripts/data/localplt-generic.data: Add a comment.
86 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
87 NODE when __dir_mkfile failed.
88 * sysdeps/mach/hurd/symlinkat.c: Likewise.
89 Reported by Ludovic Courtès <ludo@gnu.org>.
91 2012-04-24 Andreas Jaeger <aj@suse.de>
93 * Makerules (common-clean): Also remove gen-as-const-headers
96 2012-04-24 Joseph Myers <joseph@codesourcery.com>
98 * Makerules (native-compile): Do not change working directory for
99 build. Use $(OUTPUT_OPTION) in command.
100 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
102 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
105 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
106 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
107 * math/libm-test.inc (floor_test): Add more tests.
108 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
110 2012-04-24 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/unix/getdents.c: Remove file.
113 * sysdeps/unix/sysv/getdents.c: Likewise.
114 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
116 * sysdeps/unix/syscalls.list (madvise): Add syscall from
117 sysdeps/unix/mman/syscalls.list.
119 (mprotect): Likewise.
122 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
123 * sysdeps/unix/mman/syscalls.list: Remove.
124 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
126 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
127 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
128 * configure: Regenerated.
129 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
131 * config.make.in (libgcc_s_suffix): Remove variable.
133 2012-04-23 Joseph Myers <joseph@codesourcery.com>
135 * sysdeps/unix/sysv/gethostname.c: Move to ...
136 * sysdeps/posix/gethostname.c: ... here.
138 * sysdeps/unix/execve.S: Remove file.
140 * sysdeps/unix/_exit.S: Remove file.
142 2012-04-23 Andreas Jaeger <aj@suse.de>
145 * manual/Makefile: Remove make dist support, there's no
146 need for a stand-alone documentation tar ball.
147 (TEXI2DVI): Define always, it's not in Makeconfig.
151 (glibc-doc-$(edition).tar): Removed
155 (ETAGS): Remove, it's in Makeconfig.
156 (move-if-change): Remove, it's in Makeconfig.
158 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
161 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
162 (strtod, strtof, strtold, strtol, strtoul, strtoq)
163 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
164 (strtod_l, strtof_l, strtold_l): Remove __wur.
165 It is not necessarily an error to ignore strtol's return value.
166 One can reliably look at the stored endptr to decide whether
167 the number had valid syntax.
169 2012-04-21 Andreas Jaeger <aj@suse.de>
172 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
174 2012-04-21 Joseph Myers <joseph@codesourcery.com>
176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
177 * sysdeps/unix/sysv/Versions: Remove file.
179 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
184 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
190 2012-04-20 Joseph Myers <joseph@codesourcery.com>
192 * sysdeps/unix/common/lxstat.c: Remove file.
193 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
195 * sysdeps/unix/sysv/Makefile: Remove file.
197 * sysdeps/unix/sysv/direct.h: Remove file.
199 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
200 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
201 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
202 * sysdeps/unix/sysv/bits/signum.h: Likewise.
203 * sysdeps/unix/sysv/bits/stat.h: Likewise.
204 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
205 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
207 * sysdeps/unix/sysv/setrlimit.c: Remove file.
209 * sysdeps/unix/xmknod.c: Remove file.
210 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
212 * sysdeps/unix/sysv/settimeofday.c: Remove file.
214 * sysdeps/unix/sysv/i386/time.S: Remove file.
216 * sysdeps/unix/fxstat.c: Remove file.
217 * sysdeps/unix/xstat.c: Likewise.
218 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
220 * sysdeps/unix/sysv/sigaction.c: Remove file.
222 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
223 (sysdep_headers): Remove variable.
224 [termio.h not in sysdep_headers] (generated): Likewise.
225 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
226 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
227 * sysdeps/unix/sysv/tcdrain.c: Likewise.
228 * sysdeps/unix/sysv/tcflow.c: Likewise.
229 * sysdeps/unix/sysv/tcflush.c: Likewise.
230 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
231 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
232 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
233 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
234 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
236 * sysdeps/unix/siglist.c: Remove file.
238 * sysdeps/unix/getppid.S: Remove file.
240 * sysdeps/unix/mkdir.c: Remove file.
241 * sysdeps/unix/rmdir.c: Likewise.
243 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
245 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
247 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
248 errlist-compat value.
250 2012-04-18 David S. Miller <davem@davemloft.net>
252 * sysdeps/generic/memcopy.h (reg_char): Delete.
253 * debug/strcat_chk.c: Use char, not reg_char.
254 * debug/strcpy_chk.c: Likewise.
255 * debug/strncat_chk.c: Likewise.
256 * debug/strncpy_chk.c: Likewise.
257 * string/memchr.c: Likewise.
258 * string/memrchr.c: Likewise.
259 * string/rawmemchr.c: Likewise.
260 * string/strcat.c: Likewise.
261 * string/strchr.c: Likewise.
262 * string/strchrnul.c: Likewise.
263 * string/strcmp.c: Likewise.
264 * string/strcpy.c: Likewise.
265 * string/strncat.c: Likewise.
266 * string/strncmp.c: Likewise.
267 * string/strncpy.c: Likewise.
269 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
271 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
272 __builtin_memcopy is called when src and dest ranges are known to not
275 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
278 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
279 fwd_align_merge macro call.
280 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
281 bwd_align_merge macro call.
282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
284 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
286 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
287 bwd_align_merge macros.
288 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
289 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
292 2012-04-18 David S. Miller <davem@davemloft.net>
294 * sysdeps/sparc/sparc64/memcopy.h: Delete.
296 2012-04-18 Andreas Jaeger <aj@suse.de>
299 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
300 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
304 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
307 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
308 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
309 Adjust for changed ldbl-128 files.
311 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
312 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
315 2012-04-17 David S. Miller <davem@davemloft.net>
317 * sysdeps/sparc/sparc32/memcopy.h: Delete.
319 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
321 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
322 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
323 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
324 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
326 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
328 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
332 * math/libm-test.inc: Add ilogb errno and exception tests.
333 * math/w_ilogb.c: New file: ilogb wrapper.
334 * math/w_ilogbf.c: New file: ilogbf wrapper.
335 * math/w_ilogbl.c: New file: ilogbl wrapper.
336 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
337 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
338 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
339 exception being thrown with 0.0 as argument.
340 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
341 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
342 exception being thrown with 0.0 as argument.
343 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
344 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
345 exception being thrown with 0.0 as argument.
346 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
347 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
348 exception being thrown with 0.0 as argument.
349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
350 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
352 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
353 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
354 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
355 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
356 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
357 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
359 2012-04-17 Petr Baudis <pasky@ucw.cz>
361 * include/sys/uio.h: Change __vector to __iovec to avoid clash
364 2012-04-16 Marek Polacek <polacek@redhat.com>
366 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
368 2012-04-16 Marek Polacek <polacek@redhat.com>
370 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
371 operands of fdivp instruction.
373 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
375 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
376 * elf/tst-auditmod3b.c: Likewise.
377 * elf/tst-auditmod4b.c: Likewise.
378 * elf/tst-auditmod5b.c: Likewise.
379 * elf/tst-auditmod6b.c: Likewise.
380 * elf/tst-auditmod6c.c: Likewise.
381 * elf/tst-auditmod7b.c: Likewise.
382 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
383 * sysdeps/x86_64/preconfigure.in: Likewise.
384 * sysdeps/x86_64/preconfigure: Regenerated.
386 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
391 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
394 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
396 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
399 * locale/iso-639.def: Fix gl language name. Spotted by
402 2012-04-12 Roland McGrath <roland@hack.frob.com>
405 * libio/libio.h (__io_write_fn): Update comment.
407 2012-04-12 Petr Baudis <pasky@ucw.cz>
410 * stdio.texi (Hook Functions): The user provided writer function
411 is not allowed to return -1.
413 2012-04-11 David S. Miller <davem@davemloft.net>
415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
417 2012-04-11 Mike Frysinger <vapier@gentoo.org>
419 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
420 Add a leading slash to rtkaio.
422 2012-04-11 Jim Meyering <meyering@redhat.com>
425 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
426 It is not necessarily an error to ignore fwrite's return
427 value. One can reliably use ferror to test for errors after
430 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
432 * bits/types.h (__snseconds_t): New type.
433 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
435 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
437 (__SNSECONDS_T_TYPE): Likewise.
438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
439 (__SNSECONDS_T_TYPE): Likewise.
440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
441 (__SNSECONDS_T_TYPE): Likewise.
443 2012-04-10 Andreas Jaeger <aj@suse.de>
446 * manual/time.texi (Processor Time): Return type of times is
447 elapsed real time since an arbitrary point in the past.
448 (CPU Time): Move CLK_TCK from here...
449 (Processor Time): ...to here. Correct description.
450 * manual/conf.texi (Constants for Sysconf): Correct description of
453 2012-04-10 David S. Miller <davem@davemloft.net>
456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
457 where the is a gap between DT_REL(A) and DT_JMPREL.
459 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
465 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
467 * elf/dl-support.c (_dl_inhibit_cache): New variable.
468 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
469 (dl_main): Handle --inhibit-cache.
470 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
472 * elf/dl-load.c (_dl_map_object): Use it.
473 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
475 2012-04-09 Joseph Myers <joseph@codesourcery.com>
478 * sysdeps/i386/fpu/e_powl.S (p78): New object.
479 (__ieee754_powl): Saturate large exponents rather than testing for
480 overflow of y*log2(x).
481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
482 * math/libm-test.inc (pow_test): Do not permit spurious overflow
486 * math/s_ctan.c: Include <float.h>.
487 (__ctan): Avoid internal overflow or cancellation in calculating
489 * math/s_ctanf.c: Likewise.
490 * math/s_ctanl.c: Likewise.
491 * math/s_ctanh.c: Likewise.
492 * math/s_ctanhf.c: Likewise.
493 * math/s_ctanhl.c: Likewise.
494 * math/libm-test.inc (ctan_test): Add more tests.
495 (ctanh_test): Likewise.
496 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499 2012-04-09 Andreas Jaeger <aj@suse.de>
502 * manual/filesys.texi (Directory Entries): Mention that d_namlen
503 is an optional BSD extension.
506 * manual/stdio.texi (Opening Streams): Document additional fopen
509 2012-04-09 Roland McGrath <roland@hack.frob.com>
511 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
512 %eax without telling the compiler.
514 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
517 * manual/install.texi: Use sourceware.org.
519 2012-04-09 Joseph Myers <joseph@codesourcery.com>
522 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
523 (__ieee754_pow): Generate overflow and underflow using huge*huge
524 and tiny*tiny rather than just returning constant infinity or zero
526 * math/libm-test.inc (pow_test): Require overflow exceptions for
527 applicable cases of large exponents.
530 * sysdeps/i386/fpu/e_pow.S (p10): New object.
531 (__ieee754_pow): Use iterative multiplication algorithm only for
532 integer exponents with absolute value below 1024. Check for odd
533 integer exponents when using algorithm for real exponents.
534 * math/libm-test.inc (pow_test): Add more tests.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
537 2012-04-08 Joseph Myers <joseph@codesourcery.com>
540 * math/libm-test.inc (exp_test): Do not allow overflow exception
543 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
546 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
547 instead of __kernel_standard_f.
549 2012-04-08 Mike Frysinger <vapier@gentoo.org>
551 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
552 * sysdeps/x86_64/memset_chk.S: Likewise.
554 2012-04-08 Andreas Jaeger <aj@suse.de>
557 * manual/startup.texi (Environment Access): Describe return value
558 for putenv and setenv.
561 * manual/filesys.texi (Directory Entries): Add description for
565 * manual/filesys.texi (Directory Entries): Clarify that it's file
566 system not operating system in the description of DT_UNKNOWN.
569 * manual/syslog.texi (closelog): Fix reference, it's openlog.
571 2012-04-08 Stephen Compall <s11@member.fsf.org>
574 * manual/llio.texi (Opening and Closing Files): Add cross
575 reference to explain mode argument.
577 2012-04-07 Mike Frysinger <vapier@gentoo.org>
579 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
580 * sysdeps/x86_64/memset_chk.S: Likewise.
582 2012-04-07 David S. Miller <davem@davemloft.net>
584 * elf/elf.h (R_SPARC_WDISP10): Define.
585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
587 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
588 R_SPARC_SIZE64 and R_SPARC_H34.
590 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
593 conditions and remove no longer applicable assertion.
595 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
597 * bits/byteswap.h: Include <features.h>.
598 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
599 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
601 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
603 * bits/byteswap.h (__bswap_16): Removed.
604 Include <bits/byteswap-16.h> to get __bswap_16.
605 * sysdeps/i386/bits/byteswap.h: Likewise.
606 * sysdeps/s390/bits/byteswap.h: Likewise.
607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
608 * bits/byteswap-16.h: New file.
609 * sysdeps/i386/bits/byteswap-16.h: Likewise.
610 * sysdeps/s390/bits/byteswap-16.h: Likewise.
611 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
612 * string/Makefile (headers): Add bits/byteswap-16.h.
614 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
617 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
619 * nss/Makefile (tests-static, tests): Add tst-nss-static.
620 * nss/tst-nss-static.c: New.
622 2012-04-06 Robert Millan <rmh@gnu.org>
625 * manual/llio.texi (File Position Primitive): lseek
626 refers to WHENCE when it really means OFFSET.
628 2012-04-06 Andreas Jaeger <aj@suse.de>
630 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
631 strncmp declarations.
633 * abilist/libc.abilist: Add __poll and __ppoll.
635 2012-04-05 David S. Miller <davem@davemloft.net>
637 * scripts/check-local-headers.sh: Accept a host triplet in the
638 path matched by the exclude regexp.
640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
642 * sysdeps/powerpc/powerpc32/dl-machine.h
643 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
644 * sysdeps/s390/s390-32/dl-machine.h
645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
646 * sysdeps/sparc/sparc32/dl-machine.h
647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
648 * sysdeps/sparc/sparc64/dl-machine.h
649 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
651 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
653 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
654 undefined symbol errors.
656 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
659 2012-04-05 Michael Matz <matz@suse.de>
662 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
664 2012-04-05 Andreas Jaeger <aj@suse.de>
667 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
670 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
673 which ROUND is no valid rounding mode.
675 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
679 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
681 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
683 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
684 an exception using FPU order intentionally.
686 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
688 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
689 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
690 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
691 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
693 2012-04-05 Simon Josefsson <simon@josefsson.org>
696 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
697 EINVAL when BUFLEN is too smal.
699 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
702 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
703 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
705 2012-04-03 Andreas Jaeger <aj@suse.de>
708 * manual/setjmp.texi (System V contexts): Fix sentence.
711 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
712 New macro for this case.
713 [!__GNUC__] (__bswap_64): New inline function for this case.
714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
715 * bits/byteswap.h: Likewise.
716 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
717 ull, guard with __GLIBC_HAVE_LONG_LONG.
719 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
720 __GLIBC_HAVE_LONG_LONG.
722 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
723 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
725 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
729 inptr and inend, rather than using last_ch.
731 2012-04-02 David S. Miller <davem@davemloft.net>
733 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
734 * stdio-common/printf-parse.h (read_int): Change return type to
735 'int', return -1 on INT_MAX overflow.
736 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
737 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
738 overflows INT_MAX. Check for overflow of in-format-string precision
739 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
740 SIZE_MAX not INT_MAX for integer overflow test.
741 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
742 skip the construct in the format string but do not record anything.
743 * stdio-common/bug22.c: Adjust to test both width/prevision
744 INT_MAX overflow as well as total length INT_MAX overflow. Check
745 explicitly for proper errno values.
747 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
749 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
751 * string/test-strcmp.c [! WIDE]: Likewise.
752 * time/tst-mktime2.c: Likewise for INT_MAX.
753 * string/test-string.h: #include <sys/param.h> for MIN.
755 * csu/init-first.c (__libc_init_first): Call __ctype_init.
756 * sysdeps/i386/init-first.c (init): Likewise.
757 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
758 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
759 * sysdeps/sh/init-first.c (init): Likewise.
761 2012-04-01 Ulrich Drepper <drepper@gmail.com>
763 * po/ru.po: Update from translation team.
764 * po/vi.po: Likewise.
766 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
768 * resolv/nss_dns/dns-host.c: Merge copyright years.
770 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
773 Optimize memcpy with prefetch if
774 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
775 src, dst pointers have unequal 16 byte alignments.
777 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
780 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
781 from a CNAME entry and return the minimum ttl for the query.
782 (gaih_getanswer_slice): Likewise.
784 2012-03-30 Jeff Law <law@redhat.com>
786 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
788 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
789 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
791 * resolv/nss_dns/dns-host.c: Update copyright year.
793 2012-03-30 Ulrich Drepper <drepper@gmail.com>
795 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
796 requests to save a system call. Fix check that all bytes are sent.
798 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
799 comments for sendmmsg.
801 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
805 with only 1 character between 0x0041 and 0x01b0.
806 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
807 * wcsmbs/tst-mbsnrtowcs.c: New file.
809 2012-03-29 David S. Miller <davem@davemloft.net>
811 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
812 small copies by hand.
814 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
817 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
818 _nss_compat_initgroups_dyn): Fall back to malloc/free
819 for large group memberships.
821 2012-03-28 David S. Miller <davem@davemloft.net>
823 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
824 that branches into memcpy.
825 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
828 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
831 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
833 * sysdeps/sparc/mempcpy.S: New file.
835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
836 the IFUNC routine in the libc case.
837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
840 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
841 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
842 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
843 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
844 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
845 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
846 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
848 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
849 loop to 256 bytes instead of 64 bytes and fix test signedness.
851 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
852 * sysdeps/sparc/sparc32/Makefile: rather than here...
853 * sysdeps/sparc/sparc64/Makefile: and here.
855 2012-03-28 Ulrich Drepper <drepper@gmail.com>
857 * malloc/mallocbug.c: Avoid warnings about unused variables.
859 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
862 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
863 in the right place. Discard and retry query if response is
864 larger than input buffer size.
866 2012-03-28 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
872 x for large integer exponent.
873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
874 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
875 sign of result as needed afterwards.
876 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
878 result for underflowing pow the same as for overflow.
879 (__kernel_standard_l): Handle powl overflow and underflow here
880 rather than calling __kernel_standard.
881 * math/libm-test.inc (pow_test): Add more tests.
896 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
897 * sysdeps/ieee754/k_standard.c: Include <float.h>.
898 (__kernel_standard_l): New function.
899 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
901 * math/w_acosl.c (__acosl): Likewise.
902 * math/w_asinl.c (__asinl): Likewise.
903 * math/w_atan2l.c (__atan2l): Likewise.
904 * math/w_atanhl.c (__atanhl): Likewise.
905 * math/w_coshl.c (__coshl): Likewise.
906 * math/w_exp10l.c (__exp10l): Likewise.
907 * math/w_exp2l.c (__exp2l): Likewise.
908 * math/w_fmodl.c (__fmodl): Likewise.
909 * math/w_hypotl.c (__hypotl): Likewise.
910 * math/w_j0l.c (__j0l, __y0l): Likewise.
911 * math/w_j1l.c (__j1l, __y1l): Likewise.
912 * math/w_jnl.c (__jnl, __ynl): Likewise.
913 * math/w_lgammal.c (__lgammal): Likewise.
914 * math/w_log10l.c (__log10l): Likewise.
915 * math/w_log2l.c (__log2l): Likewise.
916 * math/w_logl.c (__logl): Likewise.
917 * math/w_powl.c (__powl): Likewise.
918 * math/w_remainderl.c (__remainderl): Likewise.
919 * math/w_scalbl.c (sysv_scalbl): Likewise.
920 * math/w_sinhl.c (__sinhl): Likewise.
921 * math/w_sqrtl.c (__sqrtl): Likewise.
922 * math/w_tgammal.c (__tgammal): Likewise.
923 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
924 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
925 * math/libm-test.inc (acos_test): Add more tests.
926 (acosh_test): Likewise.
927 (asin_test): Likewise.
928 (atanh_test): Likewise.
929 (exp_test): Likewise.
930 (exp10_test): Likewise.
931 (exp2_test): Likewise.
932 (expm1_test): Likewise.
933 (lgamma_test): Likewise.
934 (log_test): Likewise.
935 (log10_test): Likewise.
936 (log1p_test): Likewise.
937 (log2_test): Likewise.
938 (pow_test): Do not allow some spurious overflow exceptions.
939 (sqrt_test): Add more tests.
940 (tgamma_test): Likewise.
945 2012-03-27 Anton Blanchard <anton@samba.org>
947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
953 2012-03-27 David S. Miller <davem@davemloft.net>
955 * conform/Makefile: Run run-conformtest.sh using $(BASH).
957 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
960 2012-03-27 Andreas Jaeger <aj@suse.de>
962 * sysdeps/x86_64/elf/configure.in: Moved to ...
963 * sysdeps/x86_64/configure.in: ... here.
964 * sysdeps/x86_64/elf/start.S: Moved to ...
965 * sysdeps/x86_64/start.S: ... here.
966 * sysdeps/x86_64/elf/configure: Delete.
968 * sysdeps/x86_64/configure.in: Merge contents from
969 sysdeps/i386/configure.in (without i686 check).
971 * sysdeps/i386/elf/Versions: Merge into ...
972 * sysdeps/i386/Versions: ... this.
973 * sysdeps/i386/elf/Versions: Delete file.
974 * sysdeps/i386/elf/start.S: Moved to ...
975 * sysdeps/i386/start.S: ...here.
976 * sysdeps/i386/elf/configure.in: Merge into...
977 * sysdeps/i386/configure.in: ...here.
978 * sysdeps/i386/elf/configure.in: Delete file.
979 * sysdeps/i386/elf/configure: Delete file.
981 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
982 * debug/backtracesyms.c: ... here.
983 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
984 * debug/backtracesymsfd.c: ... here.
985 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
986 * sysdeps/generic/ifunc-sel.h: ... here.
988 * sysdeps/unix/i386/start.c: Delete file.
989 * sysdeps/unix/sparc/start.c: Delete file.
990 * sysdeps/unix/start.c: Delete file.
992 * sysdeps/sh/elf/configure.in: Moved to ...
993 * sysdeps/sh/configure.in: ... here.
994 * sysdeps/sh/elf/start.S: Moved to ...
995 * sysdeps/sh/start.S: ... here.
996 * sysdeps/sh/elf/configure: Delete file.
998 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
999 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1000 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1001 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1002 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1003 * sysdeps/powerpc/powerpc64/start.S: here.
1004 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1005 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1006 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1007 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1008 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1010 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1011 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1012 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1013 * sysdeps/powerpc/powerpc32/start.S: ... here.
1014 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1015 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1016 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1018 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1019 * sysdeps/powerpc/ifunc-sel.h: ... here.
1020 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1021 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1023 * sysdeps/sparc/elf/configure.in: Moved to ...
1024 * sysdeps/sparc/configure.in: ... here.
1025 * sysdeps/sparc/elf/configure: Delete file.
1026 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1027 * sysdeps/sparc/sparc32/start.S: ... here.
1028 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1029 * sysdeps/sparc/sparc64/start.S: ... here.
1030 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1031 * sysdeps/sparc/sparc32/Makefile: ... this.
1032 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1033 * sysdeps/sparc/sparc64/Makefile: ... this.
1035 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1036 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1037 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1038 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1039 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1040 * sysdeps/s390/s390-32/setjmp.S: ... here.
1041 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1042 * sysdeps/s390/s390-32/configure.in: ... here.
1043 * sysdeps/s390/s390-32/elf/configure: Delete file.
1044 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1045 * sysdeps/s390/s390-32/start.S: ... here.
1047 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1048 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1049 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1050 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1051 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1052 * sysdeps/s390/s390-64/setjmp.S: ... here.
1053 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1054 * sysdeps/s390/s390-64/configure.in: ... here
1055 * sysdeps/s390/s390-64/elf/configure: Delete file.
1056 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1057 * sysdeps/s390/s390-64/start.S: ... here.
1058 * sysdeps/s390/s390-64/elf/configure: Delete.
1060 * configure.in: Remove support for elf directories in sysdeps.
1062 * configure: Regenerated.
1063 * sysdeps/i386/configure: Regenerated.
1064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1066 * sysdeps/s390/s390-32/configure: Regenerated.
1067 * sysdeps/s390/s390-64/configure: Regenerated.
1068 * sysdeps/sh/configure: Regenerated.
1069 * sysdeps/sparc/configure: Regenerated.
1070 * sysdeps/x86_64/configure: Regenerated.
1072 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1077 denormal result into account.
1079 2012-03-25 Roland McGrath <roland@hack.frob.com>
1081 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1082 Reported by Allan McRae <allan@archlinux.org>.
1084 2012-03-23 Jeff Law <law@redhat.com>
1086 * nss/getnssent.c (__nss_getent): Fix typo.
1088 2012-03-23 David S. Miller <davem@davemloft.net>
1090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1092 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1094 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1095 to pad to uint64_t for each field.
1096 (dl_tls_index): Replace unsigned long with uint64_t.
1098 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1099 Paul Pluzhnikov <ppluzhnikov@google.com>
1102 * grp/Makefile (otherlibs): Don't set it.
1103 * inet/Makefile (otherlibs): Likewise.
1104 * login/Makefile (otherlibs): Likewise.
1105 * nscd/Makefile (otherlibs): Likewise.
1106 * posix/Makefile (otherlibs): Likewise.
1107 * pwd/Makefile (otherlibs): Likewise.
1108 * rt/Makefile (otherlibs): Likewise.
1109 * sunrpc/Makefile (otherlibs): Likewise.
1110 * nss/Makefile (otherlibs): Likewise.
1111 Add libnss_files to routines and static-only-routines.
1112 ($(objpfx)getent): Remove rule.
1113 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1114 static-only-routines.
1116 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1119 * math/s_cexp.c: Include <float.h>.
1120 (__cexp): Handle exp result overflowing not necessarily
1121 overflowing both real and imaginary parts of result.
1122 * math/s_cexpf.c: Likewise.
1123 * math/s_cexpl.c: Likewise.
1124 * math/libm-test.inc (cexp_test): Add more tests.
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1128 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1130 * include/link.h (ELFW): New macro.
1131 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1132 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1134 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1136 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1139 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1141 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1143 (struct La_x32_retval): Likewise.
1145 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1147 * sysdeps/x86_64/preconfigure.in: New file.
1148 * sysdeps/x86_64/preconfigure: New generated file.
1150 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1153 * math/e_exp2l.c: Include <float.h>.
1154 (__ieee754_exp2l): Handle overflow and underflow cases
1155 separately. Only pass fractional part of argument to
1157 * math/libm-test.inc (exp2_test): Add more tests.
1159 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1160 negating x to take absolute value.
1161 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1166 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1167 computing low part if x was negated.
1168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1170 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1172 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1174 (pltexit): Cast int_retval to ptrdiff_t.
1175 * elf/tst-auditmod3b.c: Likewise.
1176 * elf/tst-auditmod4b.c: Likewise.
1177 * elf/tst-auditmod5b.c: Likewise.
1178 * elf/tst-auditmod6b.c: Likewise.
1179 * elf/tst-auditmod6c.c: Likewise.
1180 * elf/tst-auditmod7b.c: Likewise.
1182 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1183 and x32_gnu_pltexit.
1185 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1187 (La_x32_regs): New macro.
1188 (La_x32_retval): Likewise.
1189 (la_x32_gnu_pltenter): New function prototype.
1190 (la_x32_gnu_pltexit): Likewise.
1192 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1199 * configure.in (libc_cv_cc_nofma): Check for option to disable
1200 generation of FMA instructions.
1201 * configure: Regenerate.
1202 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1203 * sysdeps/ieee754/dbl-64/Makefile: New file.
1204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1205 Remove brandred-fma4.
1206 (CFLAGS-brandred-fma4.c): Remove.
1207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1213 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1216 LLONG_MAX != LONG_MAX.
1217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1218 (_fitoa_word): Likewise.
1219 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1220 LLONG_MAX != LONG_MAX.
1221 * stdio-common/_itowa.h: Include <_itoa.h>.
1222 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1223 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1224 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1225 only if not defined.
1226 (_ITOA_WORD_TYPE): Likewise.
1227 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1228 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1230 2012-03-21 David S. Miller <davem@davemloft.net>
1232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1234 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1236 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1237 of x86_64 when setting libc_cv_slibdir, libdir and
1239 * sysdeps/unix/sysv/linux/configure: Regenerated.
1241 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1243 * manual/lang.texi (Old Varargs): Remove section.
1244 (How Variadic): Update menu.
1245 (va_start): Do not mention varargs.h.
1247 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1248 Joseph Myers <joseph@codesourcery.com>
1250 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1252 * configure: Regenerated.
1254 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1256 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1257 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1260 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1263 * Makefile (files-for-dist): Remove NOTES.
1264 (NOTES): Remove rule.
1265 * README: Don't refer to NOTES.
1266 * manual/creature.texi: Don't include macros.texi.
1267 * manual/intro.texi (creature.texi): Remove comment referring to
1270 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1271 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1272 * configure: Regenerated.
1273 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1275 (libc_cv_as_i686): Likewise.
1276 (libc_cv_cc_avx): Likewise.
1277 (libc_cv_cc_sse2avx): Likewise.
1278 (libc_cv_cc_fma4): Likewise.
1279 (libc_cv_cc_novzeroupper): Likewise.
1280 * sysdeps/i386/configure: Regenerated.
1283 * sysdeps/i386/fpu/s_cexp.S: Remove.
1284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1285 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1286 * math/libm-test.inc (cexp_test): Add more tests.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1290 2012-03-21 Allan McRae <allan@archlinux.org>
1292 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1294 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1297 * math/w_exp2.c: Do not include <float.h>.
1298 (o_threshold, u_threshold): Remove.
1299 (__exp2): Calculate result before checking finiteness and calling
1301 * math/w_exp2f.c: Likewise.
1302 * math/w_exp2l.c: Likewise.
1303 * math/libm-test.inc (exp2_test): Require overflow exception for
1307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1308 range of signed 64-bit integers before using fistpll. Remove
1309 checks for whether integers fit in mantissa bits.
1310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1311 the range of signed 32-bit integers before using fistpl. Remove
1312 checks for whether integers fit in mantissa bits.
1313 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1314 (__ieee754_powl): Test for y outside the range of signed 64-bit
1315 integers before using fistpll. Reduce 64-bit values to 63-bit
1317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1318 divide-by-zero is raised for zero to large negative powers.
1319 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1320 (__ieee754_powl): Test for y outside the range of signed 64-bit
1321 integers before using fistpll. Reduce 64-bit values to 63-bit
1323 * math/libm-test.inc (pow_test): Add more tests.
1325 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1327 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1328 <stdio-common/_itoa.h>.
1329 * debug/segfault.c: Likewise.
1330 * elf/dl-cache.c: Likewise.
1331 * elf/dl-minimal.c: Likewise.
1332 * elf/dl-misc.c: Likewise.
1333 * elf/dl-sysdep.c: Likewise.
1334 * elf/dl-version.c: Likewise.
1335 * elf/rtld.c: Likewise.
1336 * hurd/hurdsock.c: Likewise.
1337 * hurd/lookup-retry.c: Likewise.
1338 * malloc/malloc.c: Likewise.
1339 * malloc/mtrace.c: Likewise.
1340 * nscd/nscd_getgr_r.c: Likewise.
1341 * nscd/nscd_getpw_r.c: Likewise.
1342 * nscd/nscd_getserv_r.c: Likewise.
1343 * posix/getopt_init.c: Likewise.
1344 * posix/wordexp.c: Likewise.
1345 * stdio-common/_itoa.c: Likewise.
1346 * stdio-common/printf_fphex.c: Likewise.
1347 * stdio-common/vfprintf.c: Likewise.
1348 * string/_strerror.c: Likewise.
1349 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1350 * sysdeps/i386/i686/hp-timing.h: Likewise.
1351 * sysdeps/mach/_strerror.c: Likewise.
1352 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1353 * sysdeps/mach/hurd/sethostid.c: Likewise.
1354 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1355 * sysdeps/mach/xpg-strerror.c: Likewise.
1356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1358 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1359 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1360 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1361 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1362 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1363 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1364 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1365 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1366 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1367 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1368 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1373 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1374 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1375 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1378 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1380 * stdio-common/_itoa.h: Moved to ...
1381 * sysdeps/generic/_itoa.h: Here.
1383 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1385 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1386 instead of "_itoa.h" and "_itowa.h".
1387 * stdio-common/vfprintf.: Likewise.
1389 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1393 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1394 (__signbit): Likwise.
1398 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1400 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1403 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1405 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1406 OVERFLOW_EXCEPTION_OK.
1407 * math/libm-test.inc ("Philosophy"): Update comment about
1409 (OVERFLOW_EXCEPTION): Define.
1410 (OVERFLOW_EXCEPTION_OK): Likewise.
1411 (INVALID_EXCEPTION_OK): Renumber.
1412 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1413 (IGNORE_ZERO_INF_SIGN): Likewise.
1414 (test_exceptions): Handle FE_OVERFLOW.
1415 (exp10_test): Expect overflow exceptions.
1416 (exp2_test): Likewise.
1417 (expm1_test): Likewise.
1418 (nextafter_test): Likewise.
1419 (pow_test): Likewise.
1420 (scalbn_test): Likewise.
1421 (scalbln_test): Likewise.
1423 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1425 * sysdeps/x86_64/bits/atomic.h
1426 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1428 (atomic_exchange_acq): Likewise.
1429 (__arch_exchange_and_add_body): Likewise.
1430 (__arch_add_body): Likewise.
1431 (atomic_add_negative): Likewise.
1432 (atomic_add_zero): Likewise.
1434 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1436 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1437 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1439 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1441 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1442 Check __x86_64__ instead of __WORDSIZE.
1444 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1446 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1448 2012-03-19 David S. Miller <davem@davemloft.net>
1450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1452 * sysdeps/sparc/fpu/fenv_private.h: New file.
1453 * sysdeps/sparc/fpu/math_private.h: Use it.
1454 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1456 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1457 (libc_feholdexcept_setroundl): Remove.
1458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1460 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1461 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1463 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1465 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1466 int64_t instead of long int.
1467 (INSERT_WORDS64): Likwise.
1469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1471 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1472 _Unwind_GetCFA return to _Unwind_Ptr first.
1474 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1477 * math/s_clog.c: Include <float.h>.
1478 (__clog): Scale large or subnormal inputs.
1479 * math/s_clogf.c: Likewise.
1480 * math/s_clogl.c: Likewise.
1481 * math/s_clog10.c: Include <float.h>.
1482 (M_LOG10_2): Define.
1483 (__clog10): Scale large or subnormal inputs.
1484 * math/s_clog10f.c: Likewise.
1485 * math/s_clog10l.c: Likewise.
1486 * math/libm-test.inc (clog_test): Add more tests.
1487 (clog10_test): Likewise.
1488 * sysdeps/i386/fpu/libm-test-ulps: Update.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1492 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1494 * math/libm-test.inc (atan2_test): Add another test.
1496 * Makerules (common-objdir-compile): Remove.
1497 * sysdeps/unix/Makefile (config-generated): Do not add
1498 $(unix-generated) to variable.
1499 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1500 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1502 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1504 [generic bits/local_lim.h] (before-compile): Do not append to
1506 [generic bits/local_lim.h] (common-generated): Likewise.
1507 [generic sys/param.h] (before-compile): Do not append to variable.
1508 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1509 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1510 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1511 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1513 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1514 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1515 [generic sys/param.h] ($(addprefix
1516 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1517 [generic sys/param.h] (common-generated): Do not append to
1519 [generic sys/param.h] (sysdep_headers): Likewise.
1520 [generic bits/errno.h] (before-compile): Do not append to
1522 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1524 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1525 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1526 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1527 [generic bits/errno.h] (common-generated): Do not append to
1529 [generic bits/ioctls.h] (before-compile): Do not append to
1531 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1533 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1534 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1537 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1538 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1539 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1540 [generic bits/ioctls.h] (common-generated): Do not append to
1542 [generic sys/syscall.h] (syscall.h): Remove variable.
1543 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1545 [generic sys/syscall.h] (before-compile): Do not append to
1547 [generic sys/syscall.h] (common-generated): Likewise.
1548 * sysdeps/unix/errnos-tmpl.c: Remove file.
1549 * sysdeps/unix/errnos.awk: Likewise.
1550 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1551 * sysdeps/unix/ioctls.awk: Likewise.
1552 * sysdeps/unix/mk-local_lim.c: Likewise.
1553 * sysdeps/unix/snarf-ioctls: Likewise.
1555 2012-03-19 Richard Henderson <rth@twiddle.net>
1557 * sysdeps/i386/fpu/fenv_private.h: New file.
1558 * sysdeps/i386/fpu/math_private.h: Use it.
1559 (math_opt_barrier, math_force_eval): Remove.
1560 (libc_feholdexcept_setround_53bit): Remove.
1561 (libc_feupdateenv_53bit): Remove.
1562 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1563 (math_opt_barrier, math_force_eval): Remove.
1564 (libc_feholdexcept): Remove.
1565 (libc_feholdexcept_setround): Remove.
1566 (libc_fetestexcept, libc_fesetenv): Remove.
1567 (libc_feupdateenv_test): Remove.
1568 (libc_feupdateenv, libc_feholdsetround): Remove.
1569 (libc_feresetround): Remove.
1571 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1572 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1574 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1575 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1576 (libc_feupdateenv_testl): New.
1577 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1578 (libc_feupdateenv_testf): New.
1579 (libc_feupdateenv): Use libc_feupdateenv_test.
1580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1583 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1584 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1585 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1586 (libc_feresetround_noex): New.
1587 (libc_feresetround_noexf): New.
1588 (libc_feresetround_noexl): New.
1589 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1590 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1591 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1592 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1597 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1599 SET_RESTORE_ROUND_NOEX.
1600 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1601 SET_RESTORE_ROUND_NOEXF.
1602 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1603 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1604 (libc_feholdsetroundf): New.
1605 (libc_feresetround, libc_feresetroundf): New.
1607 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1608 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1609 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1611 * sysdeps/generic/math_private.h: Include <fenv.h>.
1612 (default_libc_feholdexcept): New.
1613 (default_libc_feholdexcept_setround): New.
1614 (default_libc_fesetenv, default_libc_feupdateenv): New.
1615 (libc_feholdexcept): Only define if undefined.
1616 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1617 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1618 (libc_feholdexcept_setroundl): Likewise.
1619 (libc_feholdexcept_setround_53bit): Likewise.
1620 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1621 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1622 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1623 (libc_feupdateenv_53bit): Likewise.
1624 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1625 (libc_feholdexcept): Convert from macro to inline function.
1626 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1627 (libc_fesetenv, libc_feupdateenv): Likewise.
1629 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1630 not previously defined.
1631 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1632 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1633 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1635 * sysdeps/ieee754/flt-32/math_private.h: New file.
1636 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1637 math_private.h below SET_FLOAT_WORD.
1638 (__isnan, __isinf_ns, __finite): Remove.
1639 (__isnanf, __isinf_nsf, __finitef): Remove.
1641 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1645 2012-03-17 David S. Miller <davem@davemloft.net>
1648 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1651 2012-03-16 David S. Miller <davem@davemloft.net>
1653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1659 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1660 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1661 sysdep_routines when subdir is sysvipc.
1662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1665 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1667 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1669 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1672 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1676 (__lround): Renamed to ...
1677 (__llround): This. Replace long int with long long int.
1678 Define lround functions as aliases of llround functions.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1681 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1683 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1684 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1685 adresses to uintptr_t. Replace "long int" and "unsigned long
1686 int" with "greg_t" on va_arg.
1688 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1690 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1691 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1693 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1694 Move e_machine check before EI_CLASS check. Handle x32
1695 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1696 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1697 SKIP_EM_IA_64 and include
1698 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1700 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1701 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1702 (add_system_dir): New macro.
1704 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1705 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1707 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1718 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1720 * math/w_j0f.c (j0f): Likewise.
1722 * math/w_j0l.c (__j0l): Likewise.
1724 * math/w_j1.c (j1): Likewise.
1726 * math/w_j1f.c (j1f): Likewise.
1728 * math/w_j1l.c (__j1l): Likewise.
1730 * math/w_jn.c (jn): Likewise.
1732 * math/w_jnf.c (jnf): Likewise.
1734 * math/w_jnl.c (__jnl): Likewise.
1736 * math/libm-test.inc (j0_test): Add more tests.
1737 (j1_test): Likewise.
1738 (jn_test): Likewise. Add trailing semicolon to existing test.
1739 (y0_test): Likewise.
1740 (y1_test): Likewise.
1741 * sysdeps/i386/fpu/libm-test-ulps: Update.
1742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1747 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1748 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1750 (__tanl): Set errno for infinite argument.
1751 * sysdeps/i386/fpu/mptan.c: Remove.
1752 * sysdeps/i386/fpu/s_tan.S: Likewise.
1753 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1754 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1755 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1756 * math/libm-test.inc (tan_test): Add more tests and enable more
1757 tests for double and long double.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1761 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1763 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1764 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1766 2012-03-16 Roland McGrath <roland@hack.frob.com>
1768 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1769 * configure.in: Use it for both main tree and add-ons.
1770 * configure: Regenerated.
1772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1774 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1776 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1782 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1783 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1788 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1791 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1792 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1793 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1794 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1795 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1796 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1797 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1798 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1799 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1800 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1801 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1802 * math/libm-test.inc (cos_test): Add more tests and enable more
1803 tests for long double.
1804 (sin_test): Likewise.
1805 (sincos_test): Likewise.
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1809 2012-03-16 David S. Miller <davem@davemloft.net>
1811 * sysdeps/sparc/fpu/math_private.h: New file.
1813 2012-03-15 David S. Miller <davem@davemloft.net>
1815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1829 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1830 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1832 * sysdeps/sparc/sparc-ifunc.h: New file.
1833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1878 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1880 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884 2012-03-15 Andreas Jaeger <aj@suse.de>
1887 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1888 ieee754/flt-32 implementation for sin, cos and sincos.
1889 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1890 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1891 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1892 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1893 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1894 ieee754/flt-32 implementation for tan.
1896 * math/libm-test.inc (cos_test): Enable some large input tests for
1898 (sin_test): Likewise.
1899 (sincos_test): Likewise.
1900 (tan_test): Add tests for large input.
1902 * sysdeps/i386/fpu/libm-test-ulps: Update.
1904 2012-03-15 Andreas Jaeger <aj@suse.de>
1907 * math/libm-test.inc (cos_test): Add more test cases.
1908 (sin_test): Likewise.
1909 (sincos_test): Likewise.
1911 2012-03-15 Andreas Jaeger <aj@suse.de>
1914 * math/libm-test.inc (cos_test): Add a test case for large input
1916 (sin_test): Likewise.
1917 (sincos_test): Likewise.
1919 2012-03-15 Andreas Jaeger <aj@suse.de>,
1920 Joseph Myers <joseph@codesourcery.com>
1923 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1924 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1925 * sysdeps/i386/fpu/branred.c: Likewise.
1926 * sysdeps/i386/fpu/dosincos.c: Likewise.
1927 * sysdeps/i386/fpu/mpa.c: Likewise.
1928 * sysdeps/i386/fpu/s_cos.S: Likewise.
1929 * sysdeps/i386/fpu/s_sin.S: Likewise.
1930 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1931 * sysdeps/i386/fpu/sincos32.c: Likewise.
1933 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1935 (libc_feupdateenv_53bit): Define.
1936 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1938 (libc_feupdateenv_53bit): Define.
1940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1941 53 bit (without extend i386 double precision).
1943 * math/libm-test.inc (sincos_test): Add tests for large input.
1947 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1949 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1953 2012-03-15 David S. Miller <davem@davemloft.net>
1955 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1983 fmin/fmax sysdep routines.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1986 2012-03-14 David S. Miller <davem@davemloft.net>
1988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2060 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2065 * sysdeps/sparc/configure.in: New file.
2066 * sysdeps/sparc/configure: Generate.
2067 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2068 * configure: Regenerate.
2069 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2070 * config.make.in (have-as-vis3): New.
2071 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2072 available use -Av9d instead of -Av9a.
2073 * sysdeps/sparc/sparc64/Makefile: Likewise.
2074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2089 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2090 fzeros/fnegs to load 0x80000000 into a float register instead of
2092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2094 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2098 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2099 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2100 ($(inst_includedir)/bits/syscall.h): Remove rule.
2101 ($(objpfx)bits/syscall.d): Include instead of
2102 $(objpfx)syscall-list.d.
2103 (generated): Change syscall-list.h and syscall-list.d to
2104 bits/syscall.h and bits/syscall.d.
2106 2012-03-14 Roland McGrath <roland@hack.frob.com>
2109 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2111 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2114 * math/s_csqrt.c: Include <float.h>.
2115 (__csqrt): Scale large or subnormal inputs.
2116 * math/s_csqrtf.c: Likewise.
2117 * math/s_csqrtl.c: Likewise.
2118 * math/libm-test.inc (csqrt_test): Add more tests.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2123 * math/libm-test.inc (hypot_test): Add more tests.
2125 2012-03-13 David S. Miller <davem@davemloft.net>
2128 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2129 double-precision for the calculation instead of scaling.
2131 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2133 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2134 manipulate bits before adding and subtracting TWO52[sx].
2135 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2140 2012-03-13 David S. Miller <davem@davemloft.net>
2142 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2143 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2145 rtld-global-offsets.h
2146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2148 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2151 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2154 'err' in the ifdef scope in which it is actually used.
2156 * nss/nss_db/db-init.c: Include string.h
2158 2012-03-12 David S. Miller <davem@davemloft.net>
2160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2161 masking out of the most significant byte of random value used.
2162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2163 Fix coding style in previous change.
2165 * sysdeps/unix/sysv/linux/kernel-features.h
2166 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2167 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2169 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2172 2012-03-11 David S. Miller <davem@davemloft.net>
2174 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2175 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2177 for 'resultvar' otherwise things get truncated on 64-bit.
2179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2180 Fix masking out of the most significant byte of random value used.
2182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2184 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2188 2012-03-09 David S. Miller <davem@davemloft.net>
2190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2191 variables with appropriate CPP guards.
2192 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2193 frame pointer, not the stack pointer. Correct layout comments. Fix test
2194 on resulting framesize and the management of the outregs buffer for pltexit.
2195 Preserve floating point return values across _dl_call_pltexit call.
2196 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2197 framesize and the management of the outregs buffer for pltexit.
2198 Preserve floating point return values across _dl_call_pltexit
2200 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2201 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2202 (print_exit): Fix format string for return register value.
2204 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2206 * sunrpc/Makefile (others): Add rpcgen.
2207 ($(objpfx)rpcgen): Remove special build rule and dependency on
2209 * sunrpc/rpcgen.c: New file.
2211 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2214 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2215 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2216 * sysdeps/i386/crti.S: Likewise.
2217 * sysdeps/i386/crtn.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2220 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2221 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2222 * sysdeps/sh/crti.S: Likewise.
2223 * sysdeps/sh/crtn.S: Likewise.
2224 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2227 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2229 * locale/programs/locfile-kw.gperf: Likewise.
2230 * locale/programs/charmap-kw.h: Regenerated.
2231 * locale/programs/locfile-kw.h: Likewise.
2234 * intl/plural.y: Replace FSF snail mail address with URL.
2235 * intl/plural.c: Regenerated.
2237 2012-03-09 Richard Henderson <rth@twiddle.net>
2239 * include/math_private.h: Remove file.
2240 * math/math_private.h: Move file ...
2241 * sysdeps/generic/math_private.h: ... here.
2243 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2244 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2245 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2247 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2248 and <math_private.h>.
2249 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2250 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2251 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2252 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2253 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2301 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2308 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2344 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2346 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2349 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2350 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2351 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2352 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2357 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2359 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2360 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2361 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2363 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2366 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2372 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2376 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2378 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2379 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2382 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2383 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2385 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2386 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2387 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2388 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2390 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2392 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2397 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2398 * sysdeps/ieee754/k_standard.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2531 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2559 * sysdeps/ieee754/s_lib_version.c: Likewise.
2560 * sysdeps/ieee754/s_matherr.c: Likewise.
2561 * sysdeps/ieee754/s_signgam.c: Likewise.
2562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2565 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2566 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2568 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2569 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2570 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2571 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2572 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2573 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2574 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2575 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2576 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2579 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2584 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2586 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2587 * sunrpc/rpc_main.c: Likewise.
2588 * sunrpc/rpc_svcout.c: Likewise.
2590 2012-03-09 David S. Miller <davem@davemloft.net>
2592 * include/math_private.h: New file.
2594 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2596 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2597 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2598 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2599 from <bits/socket_type.h>.
2600 (enum __socket_type): Don't define here.
2601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2606 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2609 * Makerules ($(inst_includedir)/%.h): New rule.
2610 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2611 (install-others): Remove variable setting.
2612 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2614 2012-03-08 Richard Henderson <rth@twiddle.net>
2616 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2617 from macro to inline function; merge with the
2618 !__LIBC_INTERNAL_MATH_INLINES version.
2619 (__ieee754_sqrtf): Likewise.
2621 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2623 (__rintf, __floor, __floorf): Likewise.
2625 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2626 macro to inline function.
2627 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2629 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2630 not <math/math_private.h>.
2632 2012-03-08 David S. Miller <davem@davemloft.net>
2634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2636 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2638 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2640 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2642 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2645 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2647 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2648 be defined individually, they must be defined as a block. Define
2649 S for printing a string instead of hidint the different by using a
2650 macro for adding the 'l'.
2651 * stdio-common/tst-fphex-wide.c: Adjust.
2653 2012-03-07 Marek Polacek <polacek@redhat.com>
2655 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2657 2012-03-08 Marek Polacek <polacek@redhat.com>
2660 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2661 * stdio-common/tst-fphex.c: Define a few macros to make the
2662 test reusable. Use them.
2663 * stdio-common/tst-fphex-wide.c: New file.
2665 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2668 * manual/macros.texi (gnusystems): New macro.
2669 (nongnusystems): Likewise.
2670 (gnulinuxhurdsystems): Likewise.
2671 (gnuhurdsystems): Likewise..
2672 (gnulinuxsystems): Likewise.
2673 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2674 variants of the GNU system, not "GNU system".
2675 * manual/conf.texi: Likewise.
2676 * manual/errno.texi: Likewise. Update example of errno macro
2678 * manual/filesys.texi: Likewise.
2679 (getumask): Document as specific to GNU/Hurd.
2680 * manual/install.texi: Likewise. Reword some references to
2682 * manual/intro.texi: Likewise.
2683 * manual/io.texi: Likewise.
2684 (File Name Portability): Detail which constraints are inapplicable
2685 to all GNU systems and which are only inapplicable to GNU/Hurd.
2686 * manual/job.texi: Likewise.
2687 * manual/llio.texi: Likewise.
2688 (O_NOCTTY): Document as present on GNU/Linux.
2689 * manual/maint.texi: Likewise.
2690 * manual/memory.texi: Likewise.
2691 * manual/pattern.texi: Likewise.
2692 * manual/pipe.texi: Likewise.
2693 * manual/process.texi: Likewise.
2694 * manual/resource.texi: Likewise.
2695 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2697 * manual/setjmp.texi: Likewise.
2698 * manual/signal.texi: Likewise.
2699 * manual/startup.texi: Likewise.
2700 * manual/stdio.texi: Likewise.
2701 * manual/terminal.texi: Likewise.
2702 (ONLCR): Document as POSIX.
2703 (OXTABS): Document availability on GNU/Linux as XTABS.
2704 (ONOEOT): Document availability separately from other bits.
2705 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2706 * manual/time.texi: Likewise.
2707 * manual/users.texi: Likewise.
2708 * INSTALL: Regenerated.
2709 * sysdeps/gnu/errlist.c: Regenerated.
2711 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2712 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2713 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2715 * configure: Regenerated.
2717 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2719 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2720 default includes instead of AC_HEADER_CHECK.
2721 * sysdeps/i386/configure: Regenerated.
2724 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2725 * math/s_cacoshf.c (__cacoshf): Likewise.
2726 * math/s_cacoshl.c (__cacoshl): Likewise.
2727 * math/s_casinh.c (__casinh): Set signs of result from argument.
2728 * math/s_casinhf.c (__casinhf): Likewise.
2729 * math/s_casinhl.c (__casinhl): Likewise.
2730 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2731 (casinh_test): Add more tests.
2732 * sysdeps/i386/fpu/libm-test-ulps: Update.
2733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2735 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2737 * po/zh_TW.po: Update from translation team.
2739 * login/Makefile (distribute): Remove variable.
2740 * catgets/Makefile: Likewise.
2741 * mach/Makefile: Likewise.
2742 * malloc/Makefile: Likewise.
2743 * misc/Makefile: Likewise.
2744 * iconv/Makefile: Likewise.
2745 * nscd/Makefile: Likewise.
2746 * hurd/Makefile: Likewise.
2747 * manual/Makefile: Likewise.
2748 * locale/Makefile: Likewise.
2749 * intl/Makefile: Likewise.
2750 * conform/Makefile: Likewise.
2751 * nss/Makefile: Likewise.
2752 * time/Makefile: Likewise.
2753 * soft-fp/Makefile: Likewise.
2754 * dirent/Makefile: Likewise.
2755 * gmon/Makefile: Likewise.
2756 * po/Makefile: Likewise.
2757 * rt/Makefile: Likewise.
2758 * socket/Makefile: Likewise.
2759 * math/Makefile: Likewise.
2760 * signal/Makefile: Likewise.
2761 * debug/Makefile: Likewise.
2762 * elf/Makefile: Likewise.
2763 * timezone/Makefile: Likewise.
2764 * stdlib/Makefile: Likewise.
2765 * iconvdata/Makefile: Likewise.
2766 * sunrpc/Makefile: Likewise.
2767 * io/Makefile: Likewise.
2768 * argp/Makefile: Likewise.
2769 * inet/Makefile: Likewise.
2770 * hesiod/Makefile: Likewise.
2771 * grp/Makefile: Likewise.
2772 * csu/Makefile: Likewise.
2773 * wctype/Makefile: Likewise.
2774 * crypt/Makefile: Likewise.
2775 * libio/Makefile: Likewise.
2776 * string/Makefile: Likewise.
2777 * nis/Makefile: Likewise.
2778 * resolv/Makefile: Likewise.
2779 * stdio-common/Makefile: Likewise.
2780 * wcsmbs/Makefile: Likewise.
2781 * dlfcn/Makefile: Likewise.
2782 * posix/Makefile: Likewise.
2784 * timezone/Makefile: Don't install timezone files, just the programs
2787 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2789 * nss/databases.def: Add missing gshadow entry.
2791 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2793 2012-03-06 Marek Polacek <polacek@redhat.com>
2796 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2797 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2798 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2799 * stdio-common/tst-long-dbl-fphex.c: New file.
2801 2012-03-06 David S. Miller <davem@davemloft.net>
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2804 (set_obp_int): New function.
2805 (get_obp_int): New function.
2806 (__get_clockfreq_via_dev_openprom): Likewise.
2807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2808 Avoid unused variable warnings on 'val' and use builtin_expect.
2809 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2811 (INLINE_CLONE_SYSCALL): Likewise.
2813 2012-03-05 David S. Miller <davem@davemloft.net>
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2817 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2825 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2828 Replace gettimeofday with __vdso_gettimeofday.
2830 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2831 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2832 __vdso_clock_gettime and __vdso_getcpu.
2834 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2835 time with __vdso_time.
2837 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2839 * manual/lang.texi (size_t): Note types to which size_t may be
2840 equivalent with the GNU C Library, but do not describe when
2841 differences between them are significant.
2843 2012-03-05 Andreas Jaeger <aj@suse.de>
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2850 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2851 (__ieee754_pow): Save and restore rounding mode and use
2852 round-to-nearest for main computations.
2853 * math/libm-test.inc (pow_test_tonearest): New function.
2854 (pow_test_towardzero): Likewise.
2855 (pow_test_downward): Likewise.
2856 (pow_test_upward): Likewise.
2857 (main): Call the new functions.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862 * math/libm-test.inc (cosh_test_tonearest): New function.
2863 (cosh_test_towardzero): Likewise.
2864 (cosh_test_downward): Likewise.
2865 (cosh_test_upward): Likewise.
2866 (sinh_test_tonearest): Likewise.
2867 (sinh_test_towardzero): Likewise.
2868 (sinh_test_downward): Likewise.
2869 (sinh_test_upward): Likewise.
2870 (main): Call the new functions.
2871 * sysdeps/i386/fpu/libm-test-ulps: Update.
2872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2874 2012-03-05 Tom de Vries <tom@codesourcery.com>
2876 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2877 default stack guard is set in last bytes.
2878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2880 2012-03-05 Kees Cook <keescook@chromium.org>
2882 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2885 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2886 possibly allocate from heap instead of stack.
2887 * stdio-common/bug-vfprintf-nargs.c: New file.
2888 * stdio-common/Makefile (tests): Add nargs overflow test.
2890 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2894 2012-03-03 Marek Polacek <polacek@redhat.com>
2896 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2897 * math/math_private.h: Likewise.
2898 * stdlib/tst-strtod.c: Likewise.
2899 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2900 * sysdeps/x86_64/bits/atomic.h: Likewise.
2902 2012-03-02 David S. Miller <davem@davemloft.net>
2904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2908 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2909 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2910 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2911 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2913 2012-03-02 Roland McGrath <roland@hack.frob.com>
2916 * manual/examples/README: New file, says the example source files
2917 can be used under GPL>=2.
2918 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2919 line containing just "*/".
2920 * manual/examples/add.c: Add copyright header (GPL>=2).
2921 * manual/examples/argp-ex1.c: Likewise.
2922 * manual/examples/argp-ex2.c: Likewise.
2923 * manual/examples/argp-ex3.c: Likewise.
2924 * manual/examples/argp-ex4.c: Likewise.
2925 * manual/examples/atexit.c: Likewise.
2926 * manual/examples/db.c: Likewise.
2927 * manual/examples/dir.c: Likewise.
2928 * manual/examples/dir2.c: Likewise.
2929 * manual/examples/execinfo.c: Likewise.
2930 * manual/examples/filecli.c: Likewise.
2931 * manual/examples/filesrv.c: Likewise.
2932 * manual/examples/fmtmsgexpl.c: Likewise.
2933 * manual/examples/genpass.c: Likewise.
2934 * manual/examples/inetcli.c: Likewise.
2935 * manual/examples/inetsrv.c: Likewise.
2936 * manual/examples/isockad.c: Likewise.
2937 * manual/examples/longopt.c: Likewise.
2938 * manual/examples/memopen.c: Likewise.
2939 * manual/examples/memstrm.c: Likewise.
2940 * manual/examples/mkfsock.c: Likewise.
2941 * manual/examples/mkisock.c: Likewise.
2942 * manual/examples/mygetpass.c: Likewise.
2943 * manual/examples/pipe.c: Likewise.
2944 * manual/examples/popen.c: Likewise.
2945 * manual/examples/rprintf.c: Likewise.
2946 * manual/examples/search.c: Likewise.
2947 * manual/examples/select.c: Likewise.
2948 * manual/examples/setjmp.c: Likewise.
2949 * manual/examples/sigh1.c: Likewise.
2950 * manual/examples/sigusr.c: Likewise.
2951 * manual/examples/stpcpy.c: Likewise.
2952 * manual/examples/strdupa.c: Likewise.
2953 * manual/examples/strftim.c: Likewise.
2954 * manual/examples/strncat.c: Likewise.
2955 * manual/examples/subopt.c: Likewise.
2956 * manual/examples/swapcontext.c: Likewise.
2957 * manual/examples/termios.c: Likewise.
2958 * manual/examples/testopt.c: Likewise.
2959 * manual/examples/testpass.c: Likewise.
2960 * manual/examples/timeval_subtract.c: Likewise.
2963 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2965 * manual/timeval_subtract.c.texi: ... here, new file.
2967 2012-03-02 David S. Miller <davem@davemloft.net>
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2971 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2974 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2975 (__sin): Save and restore rounding mode and use round-to-nearest
2976 for all computations.
2977 (__cos): Save and restore rounding mode and use round-to-nearest
2978 for all computations.
2979 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2981 (tan): Save and restore rounding mode and use round-to-nearest for
2983 * math/libm-test.inc (cos_test_tonearest): New function.
2984 (cos_test_towardzero): Likewise.
2985 (cos_test_downward): Likewise.
2986 (cos_test_upward): Likewise.
2987 (sin_test_tonearest): Likewise.
2988 (sin_test_towardzero): Likewise.
2989 (sin_test_downward): Likewise.
2990 (sin_test_upward): Likewise.
2991 (tan_test_tonearest): Likewise.
2992 (tan_test_towardzero): Likewise.
2993 (tan_test_downward): Likewise.
2994 (tan_test_upward): Likewise.
2995 (main): Call the new functions.
2996 * sysdeps/i386/fpu/libm-test-ulps: Update.
2997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3001 small n, then large n, before computing and testing k+n.
3002 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3007 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3008 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3014 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3015 * math/libm-test.inc (scalbn_test): Add more tests.
3016 (scalbln_test): Likewise.
3018 * manual/filesys.texi (mode_t): Describe constraints on size and
3019 signedness, not exact equivalence to a particular type.
3021 (ino64_t): Likewise.
3023 (nlink_t): Likewise.
3024 (blkcnt_t): Likewise.
3025 (blkcnt64_t): Likewise.
3026 * manual/llio.texi (off_t): Likewise.
3029 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3030 (__ieee754_exp): Save and restore rounding mode and use
3031 round-to-nearest for all computations.
3032 * math/libm-test.inc (exp_test_tonearest): New function.
3033 (exp_test_towardzero): Likewise.
3034 (exp_test_downward): Likewise.
3035 (exp_test_upward): Likewise.
3036 (main): Call the new functions.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3040 2012-03-01 Chris Demetriou <cgd@google.com>
3042 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3043 have predictable order.
3045 2012-03-01 David S. Miller <davem@davemloft.net>
3047 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3049 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3050 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3051 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3052 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3054 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3055 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3056 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3058 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3060 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3061 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3062 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3067 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3068 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3070 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3071 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3072 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3073 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3074 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3077 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3079 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3080 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3086 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3087 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3088 * sysdeps/sparc/elf/configure: Regenerated.
3090 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3092 * configure.in (AS, LD): Require binutils 2.20 or later.
3093 * configure: Regenerated.
3094 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3095 as required minimum version.
3096 * INSTALL: Regenerated.
3100 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3101 before squaring exponent.
3102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3103 bottom long double and 27 bits of top long double before squaring
3105 * math/libm-test.inc (erfc_test): Add more tests.
3106 * sysdeps/i386/fpu/libm-test-ulps: Update.
3107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3110 2012-03-01 Kai Tietz <ktietz@redhat.com>
3112 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3113 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3114 containing bit-fields.
3115 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3116 * soft-fp/single.h (_FP_UNION_S): Likewise.
3117 * soft-fp/double.h (_FP_UNION_D): Likewise.
3119 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3122 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3123 not include ../strcmp.S.
3124 [USE_AS_STRNCASECMP_L]: Likewise.
3125 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3126 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3127 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3128 (__strncasecmp_l_ia32): Define as alias to
3129 __strncasecmp_l_nonascii.
3132 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3133 * sysdeps/i386/fpu/libm-test-ulps: Update.
3134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3136 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3139 2012-02-29 Jeff Law <law@redhat.com>
3141 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3144 2012-02-29 Marek Polacek <polacek@redhat.com>
3147 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3148 * elf/Makefile: Add rules to run tst-unused-dep.out.
3150 2012-02-28 David S. Miller <davem@davemloft.net>
3152 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3153 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3156 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3157 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3159 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3161 * math/libm-test.inc (llround_test): Move one test from
3162 lround_test. Use TEST_f_L in moved test.
3163 (lround_test): Move misplaced test to llround_test. Add testcase
3166 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3168 * sysdeps/x86_64/fpu/e_expf.S: New file.
3169 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3171 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3174 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3175 of remain_len that may cause incomplete multi-byte character and
3177 * posix/bug-regex33.c: New file.
3178 * posix/Makefile (tests): Add bug-regex33.
3180 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3182 * manual/macros.texi: New file.
3183 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3184 * manual/libc.texinfo: Include macros.texi.
3185 * manual/creatute.texi: Likewise.
3186 * manual/install.texi: Likewise.
3187 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3188 @glibcadj{} in references to the GNU C Library.
3189 * manual/charset.texi: Likewise.
3190 * manual/conf.texi: Likewise.
3191 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3192 when not using those macros.
3193 * manual/creature.texi: Likewise.
3194 * manual/crypt.texi: Likewise.
3195 * manual/errno.texi: Likewise.
3196 * manual/filesys.texi: Likewise.
3197 * manual/header.texi: Likewise.
3198 * manual/install.texi: Likewise.
3199 * manual/intro.texi: Likewise.
3200 * manual/io.texi: Likewise.
3201 * manual/job.texi: Likewise.
3202 * manual/lang.texi: Likewise.
3203 * manual/libc.texiinfo: Likewise.
3204 * manual/llio.texi: Likewise.
3205 * manual/locale.texi: Likewise.
3206 * manual/maint.texi: Likewise.
3207 * manual/math.texi: Likewise.
3208 * manual/memory.texi: Likewise.
3209 * manual/message.texi: Likewise.
3210 * manual/nss.texi: Likewise.
3211 * manual/pattern.texi: Likewise.
3212 * manual/process.texi: Likewise.
3213 * manual/resource.texi: Likewise.
3214 * manual/search.texi: Likewise.
3215 * manual/setjmp.texi: Likewise.
3216 * manual/signal.texi: Likewise.
3217 * manual/socket.texi: Likewise.
3218 * manual/startup.texi: Likewise.
3219 * manual/stdio.texi: Likewise.
3220 * manual/string.texi: Likewise.
3221 * manual/sysinfo.texi: Likewise.
3222 * manual/syslog.texi: Likewise.
3223 * manual/terminal.texi: Likewise.
3224 * manual/time.texi: Likewise.
3225 * manual/users.texi: Likewise.
3226 * INSTALL: Regenerated.
3227 * NOTES: Regenerated.
3228 * sysdeps/gnu/errlist.c: Regenerated.
3230 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3232 * include/dirent.h: Include <dirstream.h> before
3235 2012-02-28 David S. Miller <davem@davemloft.net>
3237 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3238 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3239 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3242 2012-02-27 David S. Miller <davem@davemloft.net>
3244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3250 frame pointer instead of stack pointer relative arg slot.
3251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3252 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3253 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3255 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3258 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3260 2012-02-27 David S. Miller <davem@davemloft.net>
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3266 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3267 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3268 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3269 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3271 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3273 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3274 later. Allow versions 5-9.
3275 * configure: Regenerated.
3276 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3277 required minimum version and 4.6 as recommended version. Do not
3278 mention bugs in GCC 2.7 and 2.8.
3279 * INSTALL: Regenerated.
3281 2012-02-27 David S. Miller <davem@davemloft.net>
3283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3289 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3293 manipulate bits before adding and subtracting TWO112[sx].
3294 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3296 2012-02-27 Roland McGrath <roland@hack.frob.com>
3299 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3300 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3301 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3302 being in POSIX, because they are in 1003.1-2008.
3304 * rt/tst-aio.c: Include <fcntl.h>.
3305 * rt/tst-aio7.c: Likewise.
3306 * rt/tst-aio64.c: Likewise.
3308 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3310 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3312 * manual/install.texi (--with-headers): Describe headers as
3313 interface headers, not private headers.
3314 (Specific advice for GNU/Linux systems): Describe use of headers
3315 from "make headers_install", not private headers from older
3317 * INSTALL: Regenerated.
3318 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3320 * sysdeps/unix/sysv/linux/configure: Regenerated.
3322 * manual/llio.texi (fclean): Remove documentation.
3324 * manual/Makefile (libc-texi-generated): New variable. Include
3326 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3327 $(libc-texi-generated), not duplicated list of files.
3328 (version.texi, stamp-version): New rules.
3329 (realclean): Remove $(libc-texi-generated), not individual files
3330 from that list. Do not remove dir-add.texinfo.
3331 * manual/libc.texinfo: Comment out uses of edition numbers and
3332 references to printed manual. Remove last-updated dates.
3333 (EDITION): Comment out.
3335 (VERSION, UPDATED): Remove.
3336 (version.texi): Include.
3338 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3340 * sysdeps/posix/spawni.c: Include <signal.h>.
3341 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3342 * sysdeps/pthread/aio_fsync.c: Likewise.
3344 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3346 * conform/Makefile (tests): Run only when not cross-compiling and
3347 when fast-check is not defined.
3349 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3350 * conform/data/limits.h-data: Fixes for POSIX2008.
3351 * conform/run-conformtest.sh: Run all tests.
3352 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3354 * include/bits/dlfcn.h: Likewise.
3355 * include/langinfo.h: Likewise.
3356 * include/monetary.h: Likewise.
3357 * include/sys/poll.h: Likewise.
3359 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3361 * posix/spawn.h: Define __need_sigset_t.
3362 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3363 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3364 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3365 to get sigevent_t only.
3366 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3369 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3370 process_vm_writev only for __USE_GNU.
3371 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3373 * conform/Makefile: For now ignore errors from run-conformtest.
3374 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3375 POSIX to avoid namespace pollution. Don't prepend headers.
3376 * conform/data/aio.h-data: Fixes for POSIX testing.
3377 * conform/data/fcntl.h-data: Likewise.
3378 * conform/data/glob.h-data: Likewise.
3379 * conform/data/grp.h-data: Likewise.
3380 * conform/data/pthread.h-data: Likewise.
3381 * conform/data/pwd.h-data: Likewise.
3382 * conform/data/signal.h-data: Likewise.
3383 * conform/data/spawn.h-data: Likewise.
3384 * conform/data/stdio.h-data: Likewise.
3385 * conform/data/stdlib.h-data: Likewise.
3386 * conform/data/stropts.h-data: Likewise.
3387 * conform/data/sys/mman.h-data: Likewise.
3388 * conform/data/sys/stat.h-data: Likewise.
3389 * conform/data/sys/types.h-data: Likewise.
3390 * conform/data/sys/wait.h-data: Likewise.
3391 * conform/data/time.h-data: Likewise.
3392 * conform/data/unistd.h-data: Likewise.
3393 * conform/data/utime.h-data: Likewise.
3395 * io/sys/stat.h: fchmod was always in POSIX.
3396 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3397 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3398 * rt/aio.h: Define __need_timespec before including <time.h>.
3399 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3400 struct. Add forward declaration of pthread_attr_t and use it in
3402 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3404 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3405 always remove CLK_TCK definition.
3407 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3409 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3411 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3413 * conform/run-conformtest.sh: New file.
3414 * conform/Makefile: Run run-conformtest for tests.
3415 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3418 * conform/data/uchar.h-data: New file.
3419 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3420 * conform/data/arpa/inet.h-data: Likewise.
3421 * conform/data/assert.h-data: Likewise.
3422 * conform/data/complex.h-data: Likewise.
3423 * conform/data/cpio.h-data: Likewise.
3424 * conform/data/ctype.h-data: Likewise.
3425 * conform/data/dirent.h-data: Likewise.
3426 * conform/data/dlfcn.h-data: Likewise.
3427 * conform/data/errno.h-data: Likewise.
3428 * conform/data/fcntl.h-data: Likewise.
3429 * conform/data/float.h-data: Likewise.
3430 * conform/data/fmtmsg.h-data: Likewise.
3431 * conform/data/fnmatch.h-data: Likewise.
3432 * conform/data/ftw.h-data: Likewise.
3433 * conform/data/glob.h-data: Likewise.
3434 * conform/data/grp.h-data: Likewise.
3435 * conform/data/iconv.h-data: Likewise.
3436 * conform/data/inttypes.h-data: Likewise.
3437 * conform/data/langinfo.h-data: Likewise.
3438 * conform/data/libgen.h-data: Likewise.
3439 * conform/data/limits.h-data: Likewise.
3440 * conform/data/locale.h-data: Likewise.
3441 * conform/data/math.h-data: Likewise.
3442 * conform/data/monetary.h-data: Likewise.
3443 * conform/data/mqueue.h-data: Likewise.
3444 * conform/data/ndbm.h-data: Likewise.
3445 * conform/data/net/if.h-data: Likewise.
3446 * conform/data/netdb.h-data: Likewise.
3447 * conform/data/netinet/in.h-data: Likewise.
3448 * conform/data/nl_types.h-data: Likewise.
3449 * conform/data/poll.h-data: Likewise.
3450 * conform/data/pthread.h-data: Likewise.
3451 * conform/data/pwd.h-data: Likewise.
3452 * conform/data/regex.h-data: Likewise.
3453 * conform/data/sched.h-data: Likewise.
3454 * conform/data/search.h-data: Likewise.
3455 * conform/data/semaphore.h-data: Likewise.
3456 * conform/data/setjmp.h-data: Likewise.
3457 * conform/data/signal.h-data: Likewise.
3458 * conform/data/spawn.h-data: Likewise.
3459 * conform/data/stdarg.h-data: Likewise.
3460 * conform/data/stdio.h-data: Likewise.
3461 * conform/data/stdlib.h-data: Likewise.
3462 * conform/data/string.h-data: Likewise.
3463 * conform/data/strings.h-data: Likewise.
3464 * conform/data/stropts.h-data: Likewise.
3465 * conform/data/sys/ipc.h-data: Likewise.
3466 * conform/data/sys/mman.h-data: Likewise.
3467 * conform/data/sys/msg.h-data: Likewise.
3468 * conform/data/sys/resource.h-data: Likewise.
3469 * conform/data/sys/select.h-data: Likewise.
3470 * conform/data/sys/sem.h-data: Likewise.
3471 * conform/data/sys/shm.h-data: Likewise.
3472 * conform/data/sys/socket.h-data: Likewise.
3473 * conform/data/sys/stat.h-data: Likewise.
3474 * conform/data/sys/statvfs.h-data: Likewise.
3475 * conform/data/sys/time.h-data: Likewise.
3476 * conform/data/sys/timeb.h-data: Likewise.
3477 * conform/data/sys/times.h-data: Likewise.
3478 * conform/data/sys/types.h-data: Likewise.
3479 * conform/data/sys/uio.h-data: Likewise.
3480 * conform/data/sys/un.h-data: Likewise.
3481 * conform/data/sys/utsname.h-data: Likewise.
3482 * conform/data/sys/wait.h-data: Likewise.
3483 * conform/data/syslog.h-data: Likewise.
3484 * conform/data/tar.h-data: Likewise.
3485 * conform/data/termios.h-data: Likewise.
3486 * conform/data/utime.h-data: Likewise.
3487 * conform/data/utmpx.h-data: Likewise.
3488 * conform/data/varargs.h-data: Likewise.
3489 * conform/data/wchar.h-data: Likewise.
3490 * conform/data/wctype.h-data: Likewise.
3491 * conform/data/wordexp.h-data: Likewise.
3493 * include/stropts.h: New file.
3494 * include/uchar.h: New file.
3495 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3496 * include/assert.h: Likewise.
3497 * include/ctype.h: Likewise.
3498 * include/dirent.h: Likewise.
3499 * include/dlfcn.h: Likewise.
3500 * include/fcntl.h: Likewise.
3501 * include/fnmatch.h: Likewise.
3502 * include/glob.h: Likewise.
3503 * include/grp.h: Likewise.
3504 * include/libio.h: Likewise.
3505 * include/locale.h: Likewise.
3506 * include/math.h: Likewise.
3507 * include/net/if.h: Likewise.
3508 * include/netdb.h: Likewise.
3509 * include/netinet/in.h: Likewise.
3510 * include/pthread.h: Likewise.
3511 * include/pwd.h: Likewise.
3512 * include/regex.h: Likewise.
3513 * include/sched.h: Likewise.
3514 * include/search.h: Likewise.
3515 * include/setjmp.h: Likewise.
3516 * include/signal.h: Likewise.
3517 * include/stdio.h: Likewise.
3518 * include/stdlib.h: Likewise.
3519 * include/string.h: Likewise.
3520 * include/sys/cdefs.h: Likewise.
3521 * include/sys/mman.h: Likewise.
3522 * include/sys/msg.h: Likewise.
3523 * include/sys/resource.h: Likewise.
3524 * include/sys/select.h: Likewise.
3525 * include/sys/socket.h: Likewise.
3526 * include/sys/stat.h: Likewise.
3527 * include/sys/statvfs.h: Likewise.
3528 * include/sys/time.h: Likewise.
3529 * include/sys/times.h: Likewise.
3530 * include/sys/uio.h: Likewise.
3531 * include/sys/utsname.h: Likewise.
3532 * include/sys/wait.h: Likewise.
3533 * include/termios.h: Likewise.
3534 * include/time.h: Likewise.
3535 * include/ulimit.h: Likewise.
3536 * include/unistd.h: Likewise.
3537 * include/utime.h: Likewise.
3538 * include/wchar.h: Likewise.
3539 * include/wctype.h: Likewise.
3540 * include/wordexp.h: Likewise.
3542 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3544 * time/time.h: TIME_UTC must be a macro.
3545 Make timespec_get available for ISO C11 only as well.
3547 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3549 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3550 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3552 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3554 * configure.in: Use -o not -a in test for unsupported multi-arch.
3556 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3558 * manual/texinfo.tex: Update to version 2012-01-19.16.
3560 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3562 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3564 2012-02-24 Roland McGrath <roland@hack.frob.com>
3567 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3568 * manual/fdl-1.3.texi: New file.
3569 * manual/fdl-1.1.texi: File removed.
3572 * manual/libc.texinfo (FDL_VERSION): New @set.
3573 Use it for mention of FDL in cover text.
3574 (Documentation License): Use it in @include file name.
3576 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3577 Roland McGrath <roland@hack.frob.com>
3580 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3581 not LONG_LONG_MAX and LONG_LONG_MIN.
3582 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3583 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3585 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3587 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3591 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3592 manipulate bits before adding and subtracting TWO23[sx].
3593 * math/libm-test.inc (nearbyint_test): Add more tests.
3595 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3599 bits before adding and subtracting TWO23[sx].
3600 * math/libm-test.inc (rint_test): Add more tests.
3601 (rint_test_tonearest): Likewise.
3602 (rint_test_towardzero): Likewise.
3603 (rint_test_downward): Likewise.
3604 (rint_test_upward: Likewise.
3606 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3609 * include/stdc-predef.h: New file. Extracted from features.h.
3610 * include/features.h: Include stdc-predef.h.
3611 * Makefile (headers): Add stdc-predef.h.
3612 * CONFORMANCE (Compiler limitations): Update.
3614 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3616 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3618 2012-02-21 David S. Miller <davem@davemloft.net>
3620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3623 2012-02-20 David S. Miller <davem@davemloft.net>
3625 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3626 using a normal save/restore sequence, rather than allocating a
3627 dummy stack frame just to store a frame pointer and restore.
3628 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3630 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3632 * manual/install.texi: Fix stray word in line-wrapped comment.
3634 2012-02-20 David S. Miller <davem@davemloft.net>
3636 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3637 both binutils and gcc support GOTDATA.
3639 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3640 "rd %pc" in the PIC register setup sequences.
3642 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3643 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3644 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3645 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3646 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3651 (SYSCALL_ERROR_HANDLER): Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3653 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3655 (SYSCALL_ERROR_HANDLER): Likewise.
3657 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3658 (HAVE_GCC_GOTDATA): New.
3659 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3660 relocation support in both binutils and gcc.
3661 * sysdeps/sparc/elf/configure: Regenerate.
3663 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3664 * sysdeps/sparc/sparc32/elf/configure: Delete.
3665 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3666 * sysdeps/sparc/sparc64/elf/configure: Delete.
3667 * sysdeps/sparc/elf/configure.in: New file.
3668 * sysdeps/sparc/elf/configure: Generate.
3670 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3671 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3672 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3673 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3674 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3676 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3678 * manual/install.texi: Do not mention specific glibc version
3680 * manual/libc.texinfo (VERSION, UPDATED): Update.
3681 (@copying): Use @copyright{} and range of years.
3683 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3686 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3687 [crti.S not in sysdirs] (generated): Do not append.
3688 [crti.S not in sysdirs] (omit-deps): Likewise.
3689 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3690 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3691 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3692 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3693 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3695 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3696 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3697 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3698 * csu/defs.awk: Remove file.
3699 * sysdeps/generic/initfini.c: Likewise.
3700 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3702 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3705 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3707 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3708 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3709 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3712 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3714 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3715 (__EPOLL_PACKED): Define to empty if not defined by
3717 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3721 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3723 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3724 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3726 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3728 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3732 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3734 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3737 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3741 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3744 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3746 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3748 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3749 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3751 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3753 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3756 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3758 * math/w_acos.c: Use non-signaling floating-point comparisons.
3759 * math/w_acosf.c: Likewise.
3760 * math/w_acosh.c: Likewise.
3761 * math/w_acoshf.c: Likewise.
3762 * math/w_acoshl.c: Likewise.
3763 * math/w_acosl.c: Likewise.
3764 * math/w_asin.c: Likewise.
3765 * math/w_asinf.c: Likewise.
3766 * math/w_asinl.c: Likewise.
3767 * math/w_atanh.c: Likewise.
3768 * math/w_atanhf.c: Likewise.
3769 * math/w_atanhl.c: Likewise.
3770 * math/w_exp2.c: Likewise.
3771 * math/w_exp2f.c: Likewise.
3772 * math/w_exp2l.c: Likewise.
3773 * math/w_j0.c: Likewise.
3774 * math/w_j0f.c: Likewise.
3775 * math/w_j0l.c: Likewise.
3776 * math/w_j1.c: Likewise.
3777 * math/w_j1f.c: Likewise.
3778 * math/w_j1l.c: Likewise.
3779 * math/w_jn.c: Likewise.
3780 * math/w_jnf.c: Likewise.
3781 * math/w_log.c: Likewise.
3782 * math/w_log10.c: Likewise.
3783 * math/w_log10f.c: Likewise.
3784 * math/w_log10l.c: Likewise.
3785 * math/w_log2.c: Likewise.
3786 * math/w_log2f.c: Likewise.
3787 * math/w_log2l.c: Likewise.
3788 * math/w_logf.c: Likewise.
3789 * math/w_logl.c: Likewise.
3790 * math/w_sqrt.c: Likewise.
3791 * math/w_sqrtf.c: Likewise.
3792 * math/w_sqrtl.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3796 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3799 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3802 * manual/string.texi (strnlen): Use correct parameter name in
3803 equivalent expression.
3805 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3808 * manual/users.texi (seteuid): Consistently use neweuid for
3811 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3814 * manual/nss.texi (Services in the NSS configuration): Correct
3815 list of services in example configuration file.
3817 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3820 * manual/arith.texi: Remove statements about negative zero
3821 behaving identically to zero.
3823 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3826 * manual/install.texi: Do not document upgrading from libc5.
3828 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3831 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3833 2012-02-18 David S. Miller <davem@davemloft.net>
3835 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3836 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3837 %o7 across the call.
3838 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3843 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3844 * sysdeps/sparc/crtn.S: Likewise.
3846 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3848 * aout/Makefile: Remove.
3850 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3853 * manual/examples/argp-ex1.c (main): Format definition in GNU
3855 * manual/examples/argp-ex2.c (main): Likewise.
3856 * manual/examples/argp-ex3.c (main): Likewise.
3857 * manual/examples/argp-ex4.c (main): Likewise.
3858 * manual/examples/longopt.c (main): Use new-style prototype
3860 * manual/examples/strncat.c (main): Specify return type and use
3861 (void) for arguments.
3862 * manual/examples/subopt.c (main): Use char **argv argument.
3864 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3867 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3870 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3873 * manual/string.texi (strchr): Change when strchrnul is
3876 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3879 * manual/locale.texi (setlocale): Document LOCPATH.
3881 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3884 * manual/process.texi (execle): Move @dots{} before last argument.
3886 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3889 * manual/charset.texi (Generic Charset Conversion): Fix typo
3890 (LC_TYPE -> LC_CTYPE).
3892 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3895 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3896 (scalbnf): Likewise.
3897 (scalbnl): Likewise.
3898 (scalbln): Likewise.
3899 (scalblnf): Likewise.
3900 (scalblnl): Likewise.
3901 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3905 * manual/filesys.texi (telldir): Use braces around return type.
3906 * manual/llio.texi (mmap): Add space after comma.
3908 * manual/math.texi (jn): Use @var{} on parameter names.
3914 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3916 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3918 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3919 (sched_get_priority_max): Likewise.
3920 * manual/signal.texi (sigvec): Add space after comma.
3921 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3923 (if_indextoname): Likewise.
3924 (if_freenameindex): Likewise.
3925 (sendto): Use ',' instead of '.' in prototype.
3926 * manual/startup.texi (syscall): Use @dots{} instead of literal
3928 * manual/stdio.texi (__fpending): Separate initial words of
3929 paragraph from @deftypefun line.
3930 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3932 (vsyslog): Use @var{} on parameter names.
3933 * manual/terminal.texi (stty): Use @var{} on parameter names.
3934 * manual/users.texi (getutmp): Use @var{} on parameter names.
3935 (getutmpx): Likewise.
3937 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3940 * manual/stdio.texi (fopen): Fix typos in description of
3943 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3946 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3947 get clock_id definition.
3949 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3952 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3953 (madvise): Cast every argument to void on its own.
3955 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3958 * manual/startup.texi (Exit Status): Fix typo.
3960 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3963 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3964 * manual/examples/argp-ex2.c: Likewise.
3965 * manual/examples/argp-ex3.c: Likewise.
3967 2012-02-16 Richard Henderson <rth@redhat.com>
3969 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3970 * sysdeps/s390/s390-32/initfini.c: Remove.
3971 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3972 * sysdeps/s390/s390-64/initfini.c: Remove.
3974 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3976 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3977 compiler output for sysdeps/generic/initfini.c.
3978 * sysdeps/sh/elf/initfini.c: Remove file.
3980 2012-02-16 David S. Miller <davem@davemloft.net>
3983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3985 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3986 * sysdeps/sparc/crti.S: New file.
3987 * sysdeps/sparc/crtn.S: New file.
3988 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3989 * sysdeps/sparc/sparc64/Makefile: Likewise.
3991 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3994 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3996 2012-02-15 Roland McGrath <roland@hack.frob.com>
3999 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4001 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4002 (write, read, close): Likewise.
4003 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4005 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4007 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4008 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4009 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4010 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4012 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4016 2012-02-14 Marek Polacek <polacek@redhat.com>
4018 * sysdeps/x86_64/crti.S: New file.
4019 * sysdeps/x86_64/crtn.S: New file.
4020 * sysdeps/x86_64/elf/initfini.c: Remove file.
4022 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4024 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4025 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4026 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4027 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4029 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4033 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4035 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4036 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4038 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4040 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4044 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4046 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4047 __feraiseexcept instead of feraiseexcept.
4049 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4050 nanosleep invocations.
4051 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4052 strings, and add error checking for a nanosleep invocations.
4054 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4056 Replace FSF snail mail address with URLs, as per GNU coding standards.
4057 Most of the snail mail addresses were wrong anyway, and omitting
4058 them makes the source code easier to maintain. Almost all of the
4059 changes are to license notices and to locale LC_IDENTIFICATION
4060 addresses, except for this one:
4061 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4062 not its snail mail address.
4064 2012-02-09 Richard Henderson <rth@twiddle.net>
4066 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4067 of kernel-features.h.
4069 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4071 2012-02-08 Marek Polacek <polacek@redhat.com>
4073 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4074 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4075 * sysdeps/gnu/_G_config.h: Likewise.
4076 * sysdeps/generic/_G_config.h: Likewise.
4078 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4080 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084 * sysdeps/powerpc/powerpc32/crti.S: New file.
4085 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4086 * sysdeps/powerpc/powerpc64/crti.S: New file.
4087 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4089 * Makeconfig (have-initfini): Don't set.
4090 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4091 * configure.in (nopic_initfini): Don't substitute.
4092 * config.h.in (HAVE_INITFINI): Don't #undef.
4093 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4094 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4096 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4098 Support crti.S and crtn.S provided directly by architectures.
4099 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4100 [crti.S in sysdirs] (omit-deps): Likewise.
4101 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4102 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4103 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4104 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4105 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4106 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4107 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4108 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4109 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4110 compiler output for sysdeps/generic/initfini.c.
4111 * sysdeps/i386/elf/Makefile: Remove file.
4112 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4114 2012-02-07 Marek Polacek <polacek@redhat.com>
4116 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4117 * sysdeps/gnu/_G_config.h: Likewise.
4118 * sysdeps/mach/hurd/_G_config.h: Likewise.
4120 2012-02-07 Marek Polacek <polacek@redhat.com>
4122 * math/Makefile (tests): Add tst-CMPLX2.
4123 * math/tst-CMPLX2.c: New file.
4125 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4127 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4129 * math/libm-test.inc (jn_test): Add missing L suffix.
4131 2012-02-06 Marek Polacek <polacek@redhat.com>
4133 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4134 * sysdeps/i386/fpu/e_powf.S: Likewise.
4135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4137 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4138 * sysdeps/i386/fpu/e_pow.S: Likewise.
4139 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4140 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4141 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4142 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4143 * sysdeps/i386/fpu/e_log2.S: Likewise.
4144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4146 * sysdeps/i386/fpu/e_powl.S: Likewise.
4147 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4149 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4150 * sysdeps/i386/fpu/e_logl.S: Likewise.
4151 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4152 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4153 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4154 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4156 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4157 * sysdeps/i386/fpu/e_log.S: Likewise.
4158 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4160 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4161 * sysdeps/i386/fpu/e_logf.S: Likewise.
4162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4164 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4165 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4166 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4167 * sysdeps/i386/fpu/e_log10.S: Likewise.
4168 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4169 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4170 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4171 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4172 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4173 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4174 * sysdeps/i386/asm-syntax.h: Likewise.
4175 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4177 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4178 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4179 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4180 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4181 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4182 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4184 * sysdeps/powerpc/sysdep.h: Likewise.
4185 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4188 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4191 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4193 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4195 * sysdeps/i386/sysdep.h: Include <features.h>.
4196 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4199 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4201 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4203 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4206 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4208 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4209 (SETUP_PIC_REG): Use GET_PC_THUNK.
4210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4213 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4215 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4216 for non-PIC compilation.
4217 (SETUP_PIC_REG): Add .p2align directive.
4218 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4219 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4220 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4221 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4222 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4223 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4224 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4227 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4228 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4229 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4230 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4231 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4232 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4233 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4234 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4238 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4239 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4240 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4241 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4242 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4251 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4252 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4253 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4255 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4258 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4260 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4262 * math/tst-CMPLX.c: Include <stdio.h>.
4264 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4266 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4268 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4269 * sysdeps/sparc/bits/mathdef.h: Likewise.
4271 2012-01-31 Marek Polacek <polacek@redhat.com>
4273 * libio/libio.h: Don't define _PARAMS.
4274 * locale/programs/config.h: Don't define PARAMS.
4275 * stdlib/strtol_l.c: Likewise.
4276 (__strtol_l): Remove PARAMS from the prototype.
4278 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4280 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4281 names. Just use the correct names. Remove unnecessary wrapper
4283 * malloc/arena.c: Likewise.
4284 * malloc/hooks.c: Likewise.
4286 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4287 ARENA_TEST says not to. Simplify test for creation of a new arena.
4288 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4290 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4292 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4294 (update_get_addr): New function.
4295 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4296 GET_ADDR_MODULE parameter.
4298 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4300 * crypt/cert.c: Remove __STDC__ conditionals.
4301 * crypt/crypt-entry.c: Likewise.
4302 * crypt/crypt_util.c: Likewise.
4303 * libio/filedoalloc.c: Likewise.
4304 * libio/fileops.c: Likewise.
4305 * libio/genops.c: Likewise.
4306 * libio/iofclose.c: Likewise.
4307 * libio/iofdopen.c: Likewise.
4308 * libio/iofopen.c: Likewise.
4309 * libio/iofopen64.c: Likewise.
4310 * libio/iogetdelim.c: Likewise.
4311 * libio/iopopen.c: Likewise.
4312 * libio/obprintf.c: Likewise.
4313 * libio/oldfileops.c: Likewise.
4314 * libio/oldiofclose.c: Likewise.
4315 * libio/oldiofdopen.c: Likewise.
4316 * libio/oldiofopen.c: Likewise.
4317 * libio/oldiopopen.c: Likewise.
4318 * libio/wfiledoalloc.c: Likewise.
4319 * libio/wgenops.c: Likewise.
4320 * locale/programs/xmalloc.c: Likewise.
4321 * misc/syslog.c: Likewise.
4322 * stdio-common/xbug.c: Likewise.
4323 * string/memchr.c: Likewise.
4324 * string/memcmp.c: Likewise.
4325 * string/memrchr.c: Likewise.
4326 * string/rawmemchr.c: Likewise.
4327 * sysdeps/posix/getcwd.c: Likewise.
4328 * time/strftime_l.c: Likewise.
4330 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4332 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4333 * config.make.in (config-cflags-sse2avx): Define.
4334 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4337 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4339 * scripts/config.guess: Update from upstream config git repository.
4340 * scripts/config.sub: Likewise.
4342 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4344 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4346 (R_TILEPRO_*, R_TILEGX_*): New macros.
4348 * scripts/firstversions.awk: Fix bug in version range handling.
4350 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4352 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4354 * include/sys/epoll.h: New file.
4355 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4358 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4360 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4361 Avoid unnecessary __WORDSIZE == 64 test.
4362 (fmaxf): Use VEX format if possible.
4367 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4368 * math/math_private.h: Remove libc_fegetround* and
4370 * sysdeps/i386/configure.in: Check for -msse2avx.
4371 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4372 also if SSE2AVX is defined.
4373 Remove libc_fegetround* and libc_fesetround*.
4374 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4375 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4379 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4384 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4386 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4390 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4392 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4395 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4397 * Makeconfig (libm): Define.
4398 * elf/Makefile: Add rules to build and run tst-relsort1.
4399 * elf/tst-relsort1.c: New file.
4400 * elf/tst-relsort1mod1.c: New file.
4401 * elf/tst-relsort1mod2.c: New file.
4403 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4405 * math/s_ldexp.c: Remove __STDC__ conditionals.
4406 * math/s_ldexpf.c: Likewise.
4407 * math/s_ldexpl.c: Likewise.
4408 * math/s_nextafter.c: Likewise.
4409 * math/s_nexttowardf.c: Likewise.
4410 * math/s_significand.c: Likewise.
4411 * math/s_significandf.c: Likewise.
4412 * math/s_significandl.c: Likewise.
4413 * math/w_jnl.c: Likewise.
4414 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4415 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4416 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4417 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4418 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4436 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4442 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4444 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4445 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4448 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4451 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4452 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4453 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4454 * sysdeps/ieee754/k_standard.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4504 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4534 * sysdeps/ieee754/s_matherr.c: Likewise.
4535 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4536 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4540 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4542 * crypt/md5.h: Remove __STDC__ conditionals.
4543 * libio/libioP.h: Likewise.
4544 * locale/programs/config.h: Likewise.
4545 * sysdeps/generic/sysdep.h: Likewise.
4546 * sysdeps/i386/asm-syntax.h: Likewise.
4547 * sysdeps/s390/asm-syntax.h: Likewise.
4548 * sysdeps/unix/sysdep.h: Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4552 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4554 * libio/libio.h: Remove __STDC__ conditionals.
4555 * malloc/obstack.h: Likewise.
4556 * math/complex.h: Likewise.
4557 * math/math.h: Likewise.
4558 * sysdeps/generic/_G_config.h: Likewise.
4559 * sysdeps/gnu/_G_config.h: Likewise.
4560 * sysdeps/mach/hurd/_G_config.h: Likewise.
4561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4562 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4563 * sysdeps/sparc/bits/mathdef.h: Likewise.
4565 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4568 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4569 Clean up HAS_* macros.
4570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4571 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4573 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4575 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4576 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4577 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4578 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4579 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4581 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4583 * elf/tst-unique3.cc (gets): Remove declaration.
4584 * elf/tst-unique3lib.cc (gets): Likewise.
4585 * elf/tst-unique3lib2.cc (gets): Likewise.
4586 * elf/tst-unique4.cc (gets): Likewise.
4588 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4590 * include/stdio.h: Add C++ protection. Add gets declarations and
4592 * debug/tst-chk1.c: Don't declare gets here.
4593 * stdio-common/tst-gets.c: Likewise.
4595 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4597 * posix/glob: Remove directory.
4599 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4601 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4603 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4605 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4606 of the non-standard EPFNOSUPPORT.
4608 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4610 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4611 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4612 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4614 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4616 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4618 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4620 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4622 * nscd/grpcache.c (cache_addgr): Likewise.
4623 * nscd/hstcache.c (cache_addhst): Likewise.
4624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4625 * nscd/pwdcache.c (cache_addpw): Likewise.
4626 * nscd/servicescache.c (cache_addserv): Likewise.
4628 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4630 * malloc/malloc.c: Various cleanups.
4631 * malloc/hooks.c: Likewise.
4633 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4634 * stdlib/bug-fmtmsg1.c: New file.
4636 * stdlib/fmtmsg.c (init): Add missing unlock.
4637 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4639 2012-01-12 Marek Polacek <polacek@redhat.com>
4641 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4644 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4646 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4647 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4648 macro to ensure uniqueness of label name.
4649 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4650 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4652 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4657 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4661 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4663 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4665 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4666 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4669 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4672 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4676 * math/bits/math-finite.h: Add ldexp support.
4678 2012-01-10 Marek Polacek <polacek@redhat.com>
4680 * locale/programs/localedef.h (show_archive_content): Add noreturn
4683 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4687 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4689 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4691 * io/Makefile (headers): Add bits/poll2.h.
4693 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4696 typo #include statement.
4698 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4700 * include/sys/cdefs.h: Define __attribute_alloc_size.
4701 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4702 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4703 * elf/pldd.c: Likewise.
4704 * iconv/iconv_charmap.c: Likewise.
4705 * iconv/iconvconfig.c: Likewise.
4706 * iconv/strtab.c: Likewise.
4707 * locale/programs/locale.c: Likewise.
4708 * locale/programs/localedef.h: Likewise.
4709 * locale/programs/simple-hash.c: Likewise.
4710 * nscd/nscd.h: Likewise.
4711 * nss/makedb.c: Likewise.
4712 * sysdeps/generic/ldconfig.h: Likewise.
4713 * locale/programs/localedef.c: Remove xmalloc prototype.
4714 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4716 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4718 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4721 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4723 * math/Makefile (tests): Add tst-CMPLX.
4724 * math/tst-CMPLX.c: New file.
4726 * math/complex.h (CMPLXL): Fix typo.
4728 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4729 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4731 * debug/tst-chk1.c: Add poll and ppoll tests.
4732 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4733 * include/sys/poll.h: Add hidden proto for ppoll.
4734 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4735 * sysdeps/mach/hurd/ppoll.c: Likewise.
4736 * io/ppoll.c: Likewise.
4737 * debug/poll_chk.c: New file.
4738 * debug/ppoll_chk.c: New file.
4739 * include/bits/poll2.h: New file.
4740 * io/bits/poll2.h: New file.
4743 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4745 * configure.in: static is always set to yes. Remove.
4746 * config.make.in: Don't set build-static.
4747 * Makeconfig: Remove use of build-static.
4748 * dlfcn/Makefile: Likewise.
4749 * elf/Makefile: Likewise.
4750 * math/Makefile: Likewise.
4751 * misc/Makefile: Likewise.
4752 * nptl/Makefile: Likewise.
4753 * sysdeps/mach/hurd/Makefile: Likewise.
4755 * configure.in: PWD_P is not used anymore.
4756 * config.make.in: Remove PWD_P entry.
4758 * configure.in: Remove last remnants of RANLIB.
4759 No need to check for signed size_t anymore.
4760 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4762 Remove __builtin_expect test because we require at least gcc 3.4.
4763 * aclocal.m4: Likewise.
4765 * wcsmbs/mbrtoc16.c: Implement using towc function.
4766 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4767 * wcsmbs/wcsmbsload.c: Likewise.
4768 * iconv/gconv_simple.c: Likewise.
4769 * iconv/gconv_int.h: Likewise.
4770 * iconv/gconv_builtin.h: Likewise.
4771 * iconv/iconv_prog.c: Remove CHAR16 handling.
4773 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4775 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4777 * configure.in: Remove --with-elf and --enable-bounded options.
4778 Dont set base_machine for ia64. More non-ELF conditions removed.
4779 Remove testing and setting of leading underscore information.
4780 * config.make.in (build-bounded): Set to no.
4781 * config.h.in: Remove NO_UNDERSCORES entry.
4782 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4784 * csu/start.c: Remove !NO_UNDERSCORE code.
4785 * locale/localeinfo.h: Likewise.
4786 * sysdeps/generic/machine-gmon.h: Likewise.
4787 * sysdeps/generic/sysdep.h: Likewise.
4788 * sysdeps/i386/sysdep.h: Likewise.
4789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4790 * sysdeps/mach/sysdep.h: Likewise.
4791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4793 * sysdeps/sh/sysdep.h: Likewise.
4794 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4795 * sysdeps/unix/i386/sysdep.S: Likewise.
4796 * sysdeps/unix/sparc/start.c: Likewise.
4797 * sysdeps/unix/sparc/sysdep.S: Likewise.
4798 * sysdeps/unix/sparc/sysdep.h: Likewise.
4799 * sysdeps/unix/start.c: Likewise.
4800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4801 * sysdeps/x86_64/sysdep.h: Likewise.
4803 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4806 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4808 * argp/argp-fmtstream.h: Use const instead __const.
4809 * argp/argp.h: Likewise.
4810 * assert/assert.h: Likewise.
4811 * bits/fenv.h: Likewise.
4812 * bits/sched.h: Likewise.
4813 * bits/sigset.h: Likewise.
4814 * bits/sigthread.h: Likewise.
4815 * catgets/nl_types.h: Likewise.
4816 * conform/data/pthread.h-data: Likewise.
4817 * crypt/crypt-private.h: Likewise.
4818 * crypt/crypt.h: Likewise.
4819 * crypt/crypt_util.c: Likewise.
4820 * ctype/ctype.h: Likewise.
4821 * debug/execinfo.h: Likewise.
4822 * debug/mbsnrtowcs_chk.c: Likewise.
4823 * debug/mbsrtowcs_chk.c: Likewise.
4824 * debug/wcsnrtombs_chk.c: Likewise.
4825 * debug/wcsrtombs_chk.c: Likewise.
4826 * debug/wcstombs_chk.c: Likewise.
4827 * dirent/dirent.h: Likewise.
4828 * dlfcn/dlfcn.h: Likewise.
4829 * elf/neededtest4.c: Likewise.
4830 * grp/grp.h: Likewise.
4831 * gshadow/gshadow.h: Likewise.
4832 * iconv/gconv.h: Likewise.
4833 * iconv/gconv_int.h: Likewise.
4834 * iconv/gconv_simple.c: Likewise.
4835 * iconv/iconv.h: Likewise.
4836 * iconv/loop.c: Likewise.
4837 * iconv/skeleton.c: Likewise.
4838 * include/aio.h: Likewise.
4839 * include/aliases.h: Likewise.
4840 * include/argz.h: Likewise.
4841 * include/arpa/inet.h: Likewise.
4842 * include/assert.h: Likewise.
4843 * include/dirent.h: Likewise.
4844 * include/dlfcn.h: Likewise.
4845 * include/execinfo.h: Likewise.
4846 * include/fcntl.h: Likewise.
4847 * include/fenv.h: Likewise.
4848 * include/glob.h: Likewise.
4849 * include/grp.h: Likewise.
4850 * include/libintl.h: Likewise.
4851 * include/mntent.h: Likewise.
4852 * include/netdb.h: Likewise.
4853 * include/pwd.h: Likewise.
4854 * include/rpc/netdb.h: Likewise.
4855 * include/sched.h: Likewise.
4856 * include/search.h: Likewise.
4857 * include/shadow.h: Likewise.
4858 * include/signal.h: Likewise.
4859 * include/stdio.h: Likewise.
4860 * include/stdlib.h: Likewise.
4861 * include/string.h: Likewise.
4862 * include/sys/socket.h: Likewise.
4863 * include/sys/stat.h: Likewise.
4864 * include/sys/statfs.h: Likewise.
4865 * include/sys/statvfs.h: Likewise.
4866 * include/sys/syslog.h: Likewise.
4867 * include/sys/time.h: Likewise.
4868 * include/sys/uio.h: Likewise.
4869 * include/time.h: Likewise.
4870 * include/unistd.h: Likewise.
4871 * include/utmp.h: Likewise.
4872 * include/wchar.h: Likewise.
4873 * include/wctype.h: Likewise.
4874 * inet/aliases.h: Likewise.
4875 * inet/arpa/inet.h: Likewise.
4876 * inet/netinet/ether.h: Likewise.
4877 * inet/netinet/in.h: Likewise.
4878 * intl/libintl.h: Likewise.
4879 * io/bits/fcntl2.h: Likewise.
4880 * io/fcntl.h: Likewise.
4881 * io/ftw.h: Likewise.
4882 * io/sys/poll.h: Likewise.
4883 * io/sys/stat.h: Likewise.
4884 * io/sys/statfs.h: Likewise.
4885 * io/sys/statvfs.h: Likewise.
4886 * io/utime.h: Likewise.
4887 * libio/bits/stdio.h: Likewise.
4888 * libio/bits/stdio2.h: Likewise.
4889 * libio/libio.h: Likewise.
4890 * libio/libioP.h: Likewise.
4891 * libio/stdio.h: Likewise.
4892 * locale/lc-ctype.c: Likewise.
4893 * locale/locale.h: Likewise.
4894 * login/utmp.h: Likewise.
4895 * malloc/arena.c: Likewise.
4896 * malloc/malloc.c: Likewise.
4897 * malloc/malloc.h: Likewise.
4898 * malloc/mcheck.c: Likewise.
4899 * malloc/mtrace.c: Likewise.
4900 * math/bits/mathcalls.h: Likewise.
4901 * math/fenv.h: Likewise.
4902 * math/math_private.h: Likewise.
4903 * misc/bits/error.h: Likewise.
4904 * misc/bits/syslog.h: Likewise.
4905 * misc/err.h: Likewise.
4906 * misc/error.h: Likewise.
4907 * misc/fstab.h: Likewise.
4908 * misc/mntent.h: Likewise.
4909 * misc/regexp.h: Likewise.
4910 * misc/search.h: Likewise.
4911 * misc/sgtty.h: Likewise.
4912 * misc/sys/mman.h: Likewise.
4913 * misc/sys/syslog.h: Likewise.
4914 * misc/sys/uio.h: Likewise.
4915 * misc/sys/xattr.h: Likewise.
4916 * misc/ttyent.h: Likewise.
4917 * nis/rpcsvc/ypclnt.h: Likewise.
4918 * nss/nss.h: Likewise.
4919 * posix/bits/unistd.h: Likewise.
4920 * posix/fnmatch.h: Likewise.
4921 * posix/glob.h: Likewise.
4922 * posix/sched.h: Likewise.
4923 * posix/spawn.h: Likewise.
4924 * posix/sys/wait.h: Likewise.
4925 * posix/unistd.h: Likewise.
4926 * posix/wordexp.h: Likewise.
4927 * pwd/pwd.h: Likewise.
4928 * resolv/netdb.h: Likewise.
4929 * resource/sys/resource.h: Likewise.
4930 * rt/aio.h: Likewise.
4931 * rt/bits/mqueue2.h: Likewise.
4932 * rt/mqueue.h: Likewise.
4933 * shadow/shadow.h: Likewise.
4934 * signal/signal.h: Likewise.
4935 * socket/send.c: Likewise.
4936 * socket/sendto.c: Likewise.
4937 * socket/sys/socket.h: Likewise.
4938 * stdio-common/printf.h: Likewise.
4939 * stdlib/bits/stdlib.h: Likewise.
4940 * stdlib/fmtmsg.h: Likewise.
4941 * stdlib/monetary.h: Likewise.
4942 * stdlib/stdlib.h: Likewise.
4943 * stdlib/ucontext.h: Likewise.
4944 * streams/stropts.h: Likewise.
4945 * string/argz.h: Likewise.
4946 * string/bits/string2.h: Likewise.
4947 * string/string.h: Likewise.
4948 * string/strings.h: Likewise.
4949 * sunrpc/rpc/auth.h: Likewise.
4950 * sunrpc/rpc/auth_des.h: Likewise.
4951 * sunrpc/rpc/clnt.h: Likewise.
4952 * sunrpc/rpc/netdb.h: Likewise.
4953 * sunrpc/rpc/pmap_clnt.h: Likewise.
4954 * sunrpc/rpc/xdr.h: Likewise.
4955 * sysdeps/generic/inttypes.h: Likewise.
4956 * sysdeps/generic/net/if.h: Likewise.
4957 * sysdeps/generic/sys/swap.h: Likewise.
4958 * sysdeps/gnu/net/if.h: Likewise.
4959 * sysdeps/gnu/utmpx.h: Likewise.
4960 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4961 * sysdeps/i386/i486/bits/string.h: Likewise.
4962 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4963 * sysdeps/s390/bits/string.h: Likewise.
4964 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4965 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4966 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4967 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4968 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4969 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4970 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4971 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4972 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4973 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4974 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4975 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4976 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4977 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4978 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4979 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4980 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4986 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4987 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4988 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4989 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4992 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4994 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4995 * sysvipc/sys/ipc.h: Likewise.
4996 * sysvipc/sys/msg.h: Likewise.
4997 * sysvipc/sys/sem.h: Likewise.
4998 * sysvipc/sys/shm.h: Likewise.
4999 * termios/termios.h: Likewise.
5000 * time/sys/time.h: Likewise.
5001 * time/time.h: Likewise.
5002 * wcsmbs/bits/wchar2.h: Likewise.
5003 * wcsmbs/uchar.h: Likewise.
5004 * wcsmbs/wchar.h: Likewise.
5005 * wctype/wctype.h: Likewise.
5008 * Makeconfig: Remove all but ELF support including AIX support.
5009 * Makerules: Likewise.
5010 * config.h.in: Likewise.
5011 * config.make.in: Likewise.
5012 * configure: Likewise.
5013 * configure.in: Likewise.
5014 * csu/Makefile: Likewise.
5015 * csu/version.c: Likewise.
5016 * debug/Makefile: Likewise.
5017 * dlfcn/Makefile: Likewise.
5018 * elf/Makefile: Likewise.
5019 * extra-lib.mk: Likewise.
5020 * iconv/Makefile: Likewise.
5021 * include/libc-symbols.h: Likewise.
5022 * include/shlib-compat.h: Likewise.
5023 * resolv/Makefile: Likewise.
5024 * resolv/res_libc.c: Likewise.
5025 * rt/Makefile: Likewise.
5026 * sysdeps/i386/asm-syntax.h: Likewise.
5027 * sysdeps/i386/sysdep.h: Likewise.
5028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5029 * sysdeps/mach/sysdep.h: Likewise.
5030 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5031 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5032 * sysdeps/s390/asm-syntax.h: Likewise.
5033 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5035 * sysdeps/sh/sysdep.h: Likewise.
5036 * sysdeps/unix/sparc/sysdep.h: Likewise.
5037 * sysdeps/wordsize-32/divdi3.c: Likewise.
5038 * sysdeps/x86_64/sysdep.h: Likewise.
5040 * argp/Versions: Remove _argp_unlock_xxx.
5043 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5044 * abilist/libBrokenLocale.abilist: Likewise.
5045 * abilist/libanl.abilist: Likewise.
5046 * abilist/libc.abilist: Likewise.
5047 * abilist/libcrypt.abilist: Likewise.
5048 * abilist/libdl.abilist: Likewise.
5049 * abilist/libm.abilist: Likewise.
5050 * abilist/libnsl.abilist: Likewise.
5051 * abilist/libpthread.abilist: Likewise.
5052 * abilist/libresolv.abilist: Likewise.
5053 * abilist/librt.abilist: Likewise.
5054 * abilist/libthread_db.abilist: Likewise.
5055 * abilist/libutil.abilist: Likewise.
5056 * abilist/libnss_db.abilist: New file.
5058 * scripts/abilist.awk: Add support for indirect functions.
5060 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5062 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5064 * shlib-versions: Remove entries for ports architectures.
5066 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5068 * elf/stackguard-macros.h: Remove support for IA-64.
5069 * elf/tst-auditmod1.c: Likewise.
5070 * sysdeps/generic/ldsodefs.h: Likewise.
5072 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5073 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5077 * configure.in: Remove --enable-omitfp support.
5079 * config.make.in: Likewise.
5080 * Makeconfig: Likewise.
5081 * manual/install.texi: Likewise.
5083 In case anyone cares, the IA-64 architecture could move to ports.
5084 * sysdeps/ia64/*: Removed.
5085 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5086 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5089 * configure.in: Remove entries for unsupported architectures.
5092 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5093 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5095 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5096 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5097 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5098 fall back to using wcrtomb.
5099 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5100 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5102 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5103 * wcsmbs/tst-c16c32-1.c: New file.
5105 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5108 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5110 * elf/tst-unique3.cc: Add explicit declaration of gets.
5111 * elf/tst-unique3lib.cc: Likewise.
5112 * elf/tst-unique3lib2.cc: Likewise.
5113 * elf/tst-unique4.cc: Likewise.
5115 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5117 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5120 * assert/assert.h (static_assert): Don't define for C++.
5121 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5122 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5124 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5126 * iconv/loop.c (single loop): Fix assertion in storing of
5129 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5131 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5133 * posix/getconf.c: Update copyright year.
5134 * nss/getent.c: Likewise.
5135 * nss/makedb.c: Likewise.
5136 * iconv/iconvconfig.c: Likewise.
5137 * iconv/iconv_prog.c: Likewise.
5138 * elf/ldconfig.c: Likewise.
5139 * elf/pldd.c: Likewise.
5140 * elf/sotruss.ksh: Likewise.
5141 * catgets/gencat.c: Likewise.
5142 * csu/version.c: Likewise.
5143 * elf/ldd.bash.in: Likewise.
5144 * elf/sprof.c (print_version): Likewise.
5145 * locale/programs/locale.c: Likewise.
5146 * locale/programs/localedef.c: Likewise.
5147 * login/programs/pt_chown.c: Likewise.
5148 * nscd/nscd.c (print_version): Likewise.
5149 * debug/xtrace.sh: Likewise.
5150 * malloc/memusage.sh: Likewise.
5151 * malloc/mtrace.pl: Likewise.
5152 * debug/catchsegv.sh: Likewise.
5154 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5156 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5159 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5162 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5163 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5165 * iconv/gconv_int.h: Likewise.
5166 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5167 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5168 from libc for GLIBC_2.16.
5169 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5170 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5171 * wcsmbs/uchar.h: Really define mbstate_t.
5172 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5173 * wcsmbs/c16rtomb.c: New file.
5174 * wcsmbs/mbrtoc16.c: New file.
5175 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5177 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5178 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5180 * wcsmbs/wchar.h: Add missing __restrict.
5182 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5185 * time/Makefile (routines): Add timespec_get.
5186 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5187 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5188 timespec for ISO C11.
5189 * time/timespec_get.c: New file.
5190 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5191 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5194 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5195 * stdlib/stdlib.h: Declare aligned_alloc.
5196 * Versions.def: Add GLIBC_2.16 for libc.
5197 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5200 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5203 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5207 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5210 * assert/assert.h (static_assert): Define.
5212 * version.h: Update for 2.16 development version.
5215 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5218 * version.h (RELEASE): Bump for 2.15 release.
5219 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5221 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5222 Patch by Marek Polacek <mpolacek@redhat.com>.
5224 * bits/byteswap.h: Protect long long constants with __extension__.
5225 * sysdeps/i386/bits/byteswap.h: Likewise.
5226 * sysdeps/ia64/bits/byteswap.h: Likewise.
5227 * sysdeps/s390/bits/byteswap.h: Likewise.
5228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5230 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5235 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5237 2011-12-23 Marek Polacek <polacek@redhat.com>
5239 * elf/dl-addr.c (determine_info): Add inline keyword.
5240 * elf/tst-auditmod4b.c (check_avx): Likewise.
5241 * elf/tst-auditmod6b.c (check_avx): Likewise.
5242 * elf/tst-auditmod6c.c (check_avx): Likewise.
5243 * elf/tst-auditmod7b.c (check_avx): Likewise.
5245 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5250 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5253 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5254 processing for last bytes.
5256 2011-08-06 Bruno Haible <bruno@clisp.org>
5259 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5260 U+0385, not to U+1FEE.
5263 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5264 entry for U+00A5 U+0301.
5266 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5269 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5270 buffer for the output is too small.
5272 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5276 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5277 SSE flags if possible.
5279 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5283 processing for last bytes.
5285 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5288 (syscall-list-default-options, syscall-list-default-condition)
5289 (syscall-list-includes): Define.
5290 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5291 list of ABIs and options and #if conditions for each ABI. Do not
5292 handle common syscalls between ABIs specially.
5293 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5295 (syscall-list-variants, syscall-list-32bit-options)
5296 (syscall-list-32bit-condition, syscall-list-64bit-options)
5297 (syscall-list-64bit-condition): Define.
5298 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5299 (syscall-list-variants, syscall-list-32bit-options)
5300 (syscall-list-32bit-condition, syscall-list-64bit-options)
5301 (syscall-list-64bit-condition): Define.
5302 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5304 (syscall-list-variants, syscall-list-32bit-options)
5305 (syscall-list-32bit-condition, syscall-list-64bit-options)
5306 (syscall-list-64bit-condition): Define.
5307 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5309 (syscall-list-variants, syscall-list-32bit-options)
5310 (syscall-list-32bit-condition, syscall-list-64bit-options)
5311 (syscall-list-64bit-condition): Define.
5313 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5315 * locale/iso-639.def: Add brx entry.
5318 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5319 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5321 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5322 __feraiseexcept_renamed.
5324 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5327 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5328 EPOLLET with unsigned values.
5329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5332 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5333 to large cancellation.
5334 * math/s_cacoshf.c: Likewise.
5335 * math/s_cacoshl.c: Likewise.
5337 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5341 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5342 * math/s_cacoshf.c: Likewise.
5343 * math/s_cacoshl.c: Likewise.
5345 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5348 * iconv/gconv.h: Define __GCONV_SWAP.
5349 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5350 * iconvdata/utf-16.c: Likewise.
5351 * iconvdata/utf-32.c: Likewise.
5353 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5357 numerator after shifting it by one limb.
5359 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5362 under [__USE_EXTERN_INLINES].
5364 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5367 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5369 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5372 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5374 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5376 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5377 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5378 for strncasecmp/strncasecmp_l compilation.
5379 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5380 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5382 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5385 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5388 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5391 * time/tzfile.c (__tzfile_read): Check values from file header.
5393 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5395 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5396 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5397 * powerpc/powerpc32/dl-start.S: Likewise.
5398 * powerpc/powerpc32/elf/start.S: Likewise.
5399 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5400 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5401 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5402 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5403 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5404 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5405 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5406 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5407 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5408 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5409 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5410 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5411 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5412 * powerpc/powerpc32/memset.S: Likewise.
5413 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5414 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5415 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5416 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5417 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5418 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5419 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5420 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5421 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5422 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5423 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5424 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5425 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5427 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429 * math/libm-test.inc: Added more nearbyint tests.
5430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5435 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5437 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5440 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5442 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5443 Add wcscpy-ssse3 wcscpy-c.
5444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5445 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5446 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5447 * sysdeps/x86_64/wcschr.S: New file.
5448 * sysdeps/x86_64/wcsrchr.S: New file.
5449 * string/test-strcmp.c: Remove checking of wcscmp function for
5451 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5452 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5453 wcsrchr-sse2 wcsrchr-c.
5454 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5455 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5456 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5457 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5458 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5459 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5460 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5461 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5463 * wcsmbc/wcschr.c (WCSCHR): New macro.
5465 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5467 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5468 * wcsmbs/test-wcsrchr.c: New file.
5469 * string/test-strrchr.c: Add wcsrchr support.
5471 * wcsmbs/test-wcscpy.c: New file.
5472 * string/test-strcpy.c: Add wcscpy support.
5475 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5477 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5480 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5483 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5485 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5487 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5488 Minor optimizations.
5490 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5491 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5492 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5494 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5496 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5497 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5498 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5499 for gcc to avoid warnings.
5500 * inet/Makefile (tests): Add tst-checks.
5501 * inet/tst-checks.c: New file.
5503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5506 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5509 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5510 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5512 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5514 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5516 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5519 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5521 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5523 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5524 conditional on GCC version.
5525 (__arch_compare_and_exchange_val_8_acq)
5526 (__arch_compare_and_exchange_val_16_acq)
5527 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5528 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5529 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5531 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5533 * sysdeps/sh/backtrace.c: New file.
5535 2011-12-02 Andreas Schwab <schwab@redhat.com>
5537 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5540 2011-12-01 Andreas Schwab <schwab@redhat.com>
5542 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5543 falling back to utime.
5545 2011-11-30 Andreas Schwab <schwab@redhat.com>
5547 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5548 expectations for float.
5550 2011-11-29 Andreas Schwab <schwab@redhat.com>
5552 * locale/weight.h (findidx): Add parameter len.
5553 * locale/weightwc.h (findidx): Likewise.
5554 * posix/fnmatch_loop.c (FCT): Adjust caller.
5555 * posix/regcomp.c (build_equiv_class): Likewise.
5556 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5557 * posix/regexec.c (check_node_accept_bytes): Likewise.
5558 * string/strcoll_l.c (STRCOLL): Likewise.
5559 * string/strxfrm_l.c (STRXFRM): Likewise.
5561 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5563 * Makefile.in: Remove CVSOPT handling.
5564 * configure.in: Remove use of AC_REVISION.
5565 * iconvdata/Makefile (distribute): No need to filter out CVS.
5566 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5569 2011-11-16 Andreas Schwab <schwab@redhat.com>
5571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5572 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5573 [USE_AS_STRNCASECMP_L]: Likewise.
5574 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5575 NO_TLS_DIRECT_SEG_REFS.
5576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5577 Fix argument offsets for non-PIC.
5578 [USE_AS_STRNCASECMP_L]: Likewise.
5579 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5580 NO_TLS_DIRECT_SEG_REFS.
5582 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5584 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5586 * locale/loadlocale.c (_nl_load_locale): Likewise.
5588 2011-11-15 Andreas Schwab <schwab@redhat.com>
5590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5591 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5593 (SYSCALL_GETTIME): Set errno on error.
5595 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5596 count references to noai6ai_cached.
5598 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5600 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5602 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5603 FD_CLOEXEC for /proc/self/maps.
5605 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5606 FD_CLOEXEC for /proc/meminfo.
5608 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5611 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5612 FD_CLOEXEC for given file.
5614 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5616 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5617 FD_CLOEXEC for /etc/hosts.
5618 (_gethtent): Likewise.
5620 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5622 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5623 cancellation and set FD_CLOEXEC for /etc/netgroup.
5625 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5626 reading /etc/publickey.
5628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5629 allow cancellation when reading /etc/group.
5631 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5633 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5635 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5636 when using data file.
5638 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5640 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5641 (write_nis_obj): Use "c" and "e" in fopen.
5643 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5645 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5647 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5649 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5651 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5654 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5656 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5658 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5660 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5661 file parsing and set FD_CLOEXEC.
5663 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5665 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5667 2011-11-14 Andreas Schwab <schwab@redhat.com>
5669 * malloc/arena.c (arena_get2): Don't call reused_arena when
5670 _int_new_arena failed.
5672 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5674 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5675 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5676 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5680 to compile strcasecmp and strncasecmp.
5681 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5682 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5686 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5688 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5689 locale-defines.sym to gen-as-const-headers.
5690 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5691 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5693 to compile strcasecmp and strncasecmp.
5694 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5695 strcasecmp_l and strncasecmp_l.
5696 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5697 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5698 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5700 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5701 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5702 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5703 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5704 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5705 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5706 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5708 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5710 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5711 result of SYSDEP_GETTIME_CPU to retval.
5712 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5713 parameter list to macro. Remove trailing semicolon. Adjust users.
5715 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5718 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5723 from unused variable.
5725 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5727 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5730 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5733 * sunrpc/rpc_prot.c (rejected): Fix case value.
5735 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5736 unsigned long long int to avoid warnings in shift.
5738 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5740 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5743 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5744 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5745 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5747 * nis/nis_table.c (nis_list): Use variable of correct type for
5748 result of __follow_path call.
5750 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5752 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5753 of math functions ceil, trunc, floor, round, and sqrt, when
5754 avaliable on the platform.
5755 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5758 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5759 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5761 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5763 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5766 2011-11-11 Roland McGrath <roland@hack.frob.com>
5768 * include/unistd.h: Fix __readlink return type.
5769 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5771 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5773 * stdlib/ucontext.h: Undo last change for makecontext.
5775 2011-11-11 Andreas Schwab <schwab@redhat.com>
5777 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5779 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5780 * setjmp/setjmp.h: Mark functions as non-leaf.
5781 * setjmp/bits/setjmp2.h: Likewise.
5782 * stdlib/ucontext.h: Likewise.
5784 2011-11-10 Andreas Schwab <schwab@redhat.com>
5786 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5787 (reused_arena): Don't check arena limit.
5788 (arena_get2): Atomically check arena limit.
5790 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5792 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5793 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5798 2011-11-07 Andreas Schwab <schwab@redhat.com>
5800 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5801 handler when locking.
5803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5804 Fix size of allocated buffer.
5806 2011-11-04 Andreas Schwab <schwab@redhat.com>
5809 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5810 declarations for long double functions.
5811 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5813 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5815 2011-11-03 Andreas Schwab <schwab@redhat.com>
5817 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5820 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5823 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5825 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5827 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5829 * include/alloca.h (stackinfo_alloca_round): Define.
5830 (extend_alloca): Use it.
5831 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5832 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5835 * scripts/check-local-headers.sh: Ignore libaudit.h.
5837 * nscd/Makefile (extra-objs): Make recursively expanded.
5839 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5841 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5844 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5845 * posix/tst-rfc3484-2.c: Likewise.
5846 * posix/tst-rfc3484-3.c: Likewise.
5848 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5850 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5852 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5853 process_vm_writev from libc using GLIBC_2.15 version.
5855 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5857 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5859 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5862 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5865 * nss/getent.c (initgroups_keys): Show error message in case no group
5868 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5869 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5870 __bump_nl_timestamp.
5871 * nscd/connections (nscd_init): When host database is served open
5872 netlink socket and request notification about configuration changes.
5873 (main_loop_poll): Track netlink file descriptor and bump timestamp
5874 in case data becomes available.
5875 (main_loop_epoll): Likewise.
5876 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5877 (database_pers_head): Add extra_data fileds.
5878 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5880 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5883 in6ai data, call __free_in6ai.
5884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5886 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5887 interface information. Reuse previous data if netlink timestamp
5889 (__bump_nl_timestamp): New function.
5890 (__free_in6ai): New function.
5892 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5895 close_not_cancel_no_status here.
5896 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5898 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5901 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5904 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5905 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5906 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5908 2011-07-03 Andreas Jaeger <aj@suse.de>
5911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5912 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5913 * math/libm-test.inc (sin_test): Add test case.
5915 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5918 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5919 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5921 * elf/chroot_canon.c (chroot_canon): Cleanups.
5923 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5926 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5927 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5929 * string/test-strchr.c: Make usable for strchrnul testing.
5930 * string/test-strchrnul.c: New file.
5931 * string/Makefile (strop-tests): Add strchrnul.
5933 * po/it.po: Update from translation team.
5934 * po/es.po: Likewise.
5936 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5939 the three constants needed as parameters. Drop the others.
5940 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5941 __m128i_strloadu_tolower.
5942 Create and initialize variable zero and use it in all the places
5943 where _mm_setzero_si128 was used.
5945 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5946 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5947 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5951 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5952 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5953 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5955 __mpranred, __mptan.
5956 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5957 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5958 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5959 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5960 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5961 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5963 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5964 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5966 2011-10-28 Andreas Schwab <schwab@redhat.com>
5968 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5970 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5973 wide char related routines to wcsmbs subdir.
5975 2011-10-27 Andreas Schwab <schwab@redhat.com>
5978 * misc/sys/cdefs.h (__THROWNL): Define.
5979 * posix/unistd.h: Use __THREADNL instead of __THREAD
5980 for memory synchronization functions.
5982 2011-10-26 Roland McGrath <roland@hack.frob.com>
5985 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5987 * manual/stdio.texi (Obstack Streams): Node removed.
5989 2011-10-26 Andreas Schwab <schwab@redhat.com>
5991 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5995 * math/math_private.h (math_force_eval): Allow non-addressable
5997 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5999 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6001 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6013 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6014 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6015 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6016 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6019 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6020 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6021 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6022 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6023 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6024 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6026 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6027 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6028 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6030 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6031 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6033 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6034 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6037 place. Use VEX encoding when compiling for AVX.
6039 2011-10-25 Andreas Schwab <schwab@redhat.com>
6041 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6042 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6044 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6046 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6048 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6049 useless if() expression.
6050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6062 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6064 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6070 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6072 2011-10-25 Andreas Schwab <schwab@redhat.com>
6074 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6078 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6080 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6081 .text section. Avoid duplicate constants.
6082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6092 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6105 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6106 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6108 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6109 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6110 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6111 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6112 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6113 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6115 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6116 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6117 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6121 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6124 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6126 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6128 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6130 * sysdeps/x86_64/dla.h: Move to ...
6131 * sysdeps/x86_64/fpu/dla.h: ...here.
6132 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6133 situations. Use __builtin_fma only for gcc 4.6 and up.
6135 * config.make.in: Add have-mfma4 entry.
6136 * configure.in: Substitute libc_cv_cc_fma4.
6137 * math/Makefile (dbl-only-routines): Add sincostab.
6138 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6139 Use __sincostab not sincos.
6140 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6147 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6148 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6149 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6150 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6152 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6153 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6155 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6156 define aliases when function name is a macro.
6157 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6158 sysdeps/ieee754/dbl-64/sincos.tbl.
6159 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6160 fma4-enabled routines.
6161 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6162 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6163 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6164 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6166 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6168 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6170 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6171 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6173 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6176 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6177 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6178 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6179 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6181 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6182 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6192 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6203 2011-10-24 Andreas Schwab <schwab@redhat.com>
6205 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6207 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6211 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6213 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6215 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6216 Remove unused variable magic_bits.
6217 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6219 * string/strnlen.c: Define and use STRNLEN macro.
6220 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6221 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6223 * wcsmbs/wcslen.c: Define and use WCSLEN.
6224 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6225 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6226 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6227 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6228 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6229 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6230 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6232 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6235 strnlen-sse2-no-bsf.
6236 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6238 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6239 Add strnlen support.
6240 (USE_AS_STRNLEN): New macro.
6241 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6242 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6243 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6244 * sysdeps/x86_64/wcslen.S: New file.
6246 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6248 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6249 XMM-moves are used for copying on small sizes.
6251 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6253 * wcsmbs/Makefile (strop-tests): Add wcschr.
6254 * wcsmbs/test-wcschr.c: New file.
6255 * string/test-strchr.c: Update.
6259 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6261 * wcsmbs/Makefile (strop-tests): Add wcslen.
6262 * wcsmbs/test-wcslen.c: New file.
6263 * string/test-strlen.c: Update.
6267 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6269 * po/it.po: Update from translation team.
6271 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6273 * sysdeps/x86_64/wcscmp.S: Update.
6274 Fix wrong comparison semantics.
6275 wcscmp shall use signed comparison not unsigned.
6276 Don't use substraction to avoid overflow bug.
6277 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6278 * wcsmbc/wcscmp.c: Likewise.
6279 * string/test-strcmp.c: Likewise.
6280 Add new tests to check cases with negative values.
6282 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6284 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6285 * sysdeps/x86_64/dla.h: ...here. New file.
6286 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6296 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6299 __ynl_finite aliases.
6301 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6305 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6307 [DLA_FMA] (EMULV): Use DLA_FMA.
6308 [DLA_FMA] (MUL12): Use EMULV.
6309 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6310 that are not needed.
6311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6319 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6321 * math/s_nan.c: Undef __nan.
6322 * math/s_nanf.c: Undef __nanf.
6323 * math/s_nanl.c: Undef __nanl.
6324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6327 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6329 * math/s_catan.c: Add branch predictions.
6330 * math/s_catanf.c: Likewise.
6331 * math/s_catanh.c: Likewise.
6332 * math/s_catanhf.c: Likewise.
6333 * math/s_catanhl.c: Likewise.
6334 * math/s_catanl.c: Likewise.
6335 * math/s_cexp.c: Likewise.
6336 * math/s_cexpf.c: Likewise.
6337 * math/s_cexpl.c: Likewise.
6338 * math/s_clog.c: Likewise.
6339 * math/s_clog10.c: Likewise.
6340 * math/s_clog10f.c: Likewise.
6341 * math/s_clog10l.c: Likewise.
6342 * math/s_clogf.c: Likewise.
6343 * math/s_clogl.c: Likewise.
6344 * math/s_csqrt.c: Likewise.
6345 * math/s_csqrtf.c: Likewise.
6346 * math/s_csqrtl.c: Likewise.
6347 * math/s_ctanf.c: Likewise.
6348 * math/s_ctanh.c: Likewise.
6349 * math/s_ctanhf.c: Likewise.
6350 * math/s_ctanhl.c: Likewise.
6351 * math/s_ctanl.c: Likewise.
6353 * math/math_private.h: Define __nan, __nanf, __nanl.
6354 * math/s_cacosh.c: Include <math_private.h>.
6355 * math/s_cacoshl.c: Likewise.
6356 * math/s_casinh.c: Likewise.
6357 * math/s_casinhf.c: Likewise.
6358 * math/s_casinhl.c: Likewise.
6359 * math/s_ccos.c: Rely entire on ccosh.
6360 * math/s_ccosf.c: Rely entire on ccoshf.
6361 * math/s_ccosl.c: Rely entirely on ccoshl.
6362 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6363 Remove tests for FE_INVALID.
6364 * math/s_ccoshf.c: Likewise.
6365 * math/s_ccoshl.c: Likewise.
6366 * math/s_csin.c: Likewise.
6367 * math/s_csinf.c: Likewise.
6368 * math/s_csinh.c Likewise.
6369 * math/s_csinhf.c: Likewise.
6370 * math/s_csinhl.c: Likewise.
6371 * math/s_csinl.c: Likewise.
6372 * math/s_ctan.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6374 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6377 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6380 compilation problems.
6382 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6385 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6387 * sysdeps/i386/configure.in: Test for -mfma4 option.
6388 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6389 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6390 COMMON_CPUID_INDEX_80000001.
6391 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6392 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6393 use it if FMA3 is not supported.
6394 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6396 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6399 2011-10-20 Andreas Schwab <schwab@redhat.com>
6402 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6403 it would create a cycle with a link time dependency.
6405 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6407 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6409 * string/Makefile (strop-tests): Add rawmemchr.
6410 * string/test-rawmemchr.c: New file.
6412 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6414 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6415 when compiling str{,n}casecmp and when AVX is available. Hook up
6416 new optimized code in initializers.
6418 2011-10-19 Andreas Schwab <schwab@redhat.com>
6420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6421 __feraiseexcept instead of feraiseexcept.
6423 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6425 * math/math_private.h: Define defaults for libc_fetestexcept and
6427 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6428 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6432 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6433 libc_fetestexcept and libc_feupdateenv.
6435 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6436 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6437 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6438 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6439 libc_feholdexcept_setround.
6441 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6442 Add s_nearbyint-c and s_nearbyintf-c.
6443 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6445 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6448 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6450 * math/math_private.h: Define defaults for libc_fegetround,
6451 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6452 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6453 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6455 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6458 Remove comments and hacks for old compiler versions.
6459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6460 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6463 2011-10-18 Andreas Schwab <schwab@redhat.com>
6465 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6466 (__feraiseexcept_renamed): Add __NTH.
6467 (feraiseexcept): Add __NTH. Rename local variables to fix
6468 namespace violations.
6470 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6472 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6476 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6477 recently added interfaces.
6478 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6480 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6481 about macro parameter expansion.
6483 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6484 __NO_MATH_INLINES is defined. Cleanups.
6486 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6487 and __floorf is target has SSE4.1.
6488 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6493 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6497 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6499 2011-10-17 Andreas Schwab <schwab@redhat.com>
6501 * misc/sys/cdefs.h: Fix last change.
6503 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6506 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6508 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6510 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6518 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6519 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6520 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6521 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6522 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6523 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6524 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6525 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6526 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6527 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6528 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6529 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6530 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6531 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6533 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6534 ceil, ceilf, floor, floorf.
6536 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6537 Perform IRELATIVE relocations last.
6539 * elf/do-rel.h: Add another parameter nrelative, replacing the
6540 local variable with the same name. Change name of the function
6541 to end in Rel or Rela (uppercase).
6542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6543 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6544 elf_dynamic_do_##reloc function.
6546 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6548 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6549 is sufficient, at least on modern CPUs.
6551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6553 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6556 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6558 * math/bits/math-finite.h: Add entries for exp.
6559 * math/e_expl.c: Add __*_finite alias.
6560 * sysdeps/i386/fpu/e_exp.S: Likewise.
6561 * sysdeps/i386/fpu/e_expf.S: Likewise.
6562 * sysdeps/i386/fpu/e_expl.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6564 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6568 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6571 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6572 is sufficient, at least on modern CPUs.
6574 * ctype/ctype-info.c (__ctype_init): Define.
6575 * include/ctype.h (__ctype_init): Declare.
6576 (__ctype_b_loc): The variable is always initialized.
6577 (__ctype_toupper_loc): Likewise.
6578 (__ctype_tolower_loc): Likewise.
6579 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6580 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6582 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6584 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6586 * configure.in: Also look in $cxxmachine/include for C++ system
6589 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6591 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6592 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6593 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6594 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6595 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6596 (USE_AS_WMEMCMP): New macro.
6598 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6599 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6600 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6601 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6603 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6604 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6605 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6606 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6607 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6609 (USE_AS_WMEMCMP): New macro.
6610 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6611 * sysdeps/string/test-memcmp.c: Update.
6614 * wcsmbs/wmemcmp.c: Update.
6615 (WMEMCMP): New macro.
6618 2011-10-12 Andreas Jaeger <aj@suse.de>
6621 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6623 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6625 * libio/iofwide.c (do_length): Avoid warning.
6627 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6629 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6631 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6633 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6634 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6635 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6636 * sysdeps/i386/i686/fpu/e_log.S: New file.
6637 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6638 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6640 * ctype/ctype.h: Add support for inlined isXXX functions when
6643 2011-10-14 Andreas Schwab <schwab@redhat.com>
6645 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6649 2011-10-13 Roland McGrath <roland@hack.frob.com>
6652 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6654 2011-10-13 Andreas Schwab <schwab@redhat.com>
6656 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6657 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6660 * sysdeps/x86_64/memrchr.S: Check for zero size.
6662 * string/stratcliff.c: Add memrchr tests.
6664 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6667 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6668 rawmemchr-sse2 rawmemchr-sse2-bsf.
6669 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6670 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6671 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6672 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6673 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6674 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6675 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6676 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6677 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6678 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6679 * string/memrchr.c (MEMRCHR): New macro.
6681 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6683 Add integration with gcc's -ffinite-math-only and optimize wrapper
6685 * Versions.def: Define GLIBC_2.15 version for libm.
6686 * math/Makefile (headers): Add bits/math-finite.h.
6687 * math/bits/math-finite.h: New file.
6688 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6689 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6690 * math/e_acoshl.c: Add __*_finite alias.
6691 * math/e_acosl.c: Likewise.
6692 * math/e_asinl.c: Likewise.
6693 * math/e_atan2l.c: Likewise.
6694 * math/e_atanhl.c: Likewise.
6695 * math/e_coshl.c: Likewise.
6696 * math/e_exp10.c: Likewise.
6697 * math/e_exp10f.c: Likewise.
6698 * math/e_exp10l.c: Likewise.
6699 * math/e_exp2l.c: Likewise.
6700 * math/e_fmodl.c: Likewise.
6701 * math/e_gammal_r.c: Likewise.
6702 * math/e_hypotl.c: Likewise.
6703 * math/e_j0l.c: Likewise.
6704 * math/e_j1l.c: Likewise.
6705 * math/e_jnl.c: Likewise.
6706 * math/e_lgammal_r.c: Likewise.
6707 * math/e_log10l.c: Likewise.
6708 * math/e_log2l.c: Likewise.
6709 * math/e_logl.c: Likewise.
6710 * math/e_powl.c: Likewise.
6711 * math/e_sinhl.c: Likewise.
6712 * math/e_sqrtl.c: Likewise.
6713 * math/e_scalb.c: Completely rewritten and optimized.
6714 * math/e_scalbf.c: Likewise.
6715 * math/e_scalbl.c: Likewise.
6716 * math/w_acos.c: Likewise.
6717 * math/w_acosf.c: Likewise.
6718 * math/w_acosl.c: Likewise.
6719 * math/w_acosh.c: Likewise.
6720 * math/w_acoshf.c: Likewise.
6721 * math/w_acoshl.c: Likewise.
6722 * math/w_asin.c: Likewise.
6723 * math/w_asinf.c: Likewise.
6724 * math/w_asinl.c: Likewise.
6725 * math/w_atan2.c: Likewise.
6726 * math/w_atan2f.c: Likewise.
6727 * math/w_atan2l.c: Likewise.
6728 * math/w_atanh.c: Likewise.
6729 * math/w_atanhf.c: Likewise.
6730 * math/w_atanhl.c: Likewise.
6731 * math/w_exp10.c: Likewise.
6732 * math/w_exp10f.c: Likewise.
6733 * math/w_exp10l.c: Likewise.
6734 * math/w_fmod.c: Likewise.
6735 * math/w_fmodf.c: Likewise.
6736 * math/w_fmodl.c: Likewise.
6737 * math/w_j0.c: Likewise.
6738 * math/w_j0f.c: Likewise.
6739 * math/w_j0l.c: Likewise.
6740 * math/w_j1.c: Likewise.
6741 * math/w_j1f.c: Likewise.
6742 * math/w_j1l.c: Likewise.
6743 * math/w_jn.c: Likewise.
6744 * math/w_jnf.c: Likewise.
6745 * math/w_log.c: Likewise.
6746 * math/w_logf.c: Likewise.
6747 * math/w_logl.c: Likewise.
6748 * math/w_log10.c: Likewise.
6749 * math/w_log10f.c: Likewise.
6750 * math/w_log10l.c: Likewise.
6751 * math/w_log2.c: Likewise.
6752 * math/w_log2f.c: Likewise.
6753 * math/w_log2l.c: Likewise.
6754 * math/w_pow.c: Likewise.
6755 * math/w_powf.c: Likewise.
6756 * math/w_powl.c: Likewise.
6757 * math/w_remainder.c: Likewise.
6758 * math/w_remainderf.c: Likewise.
6759 * math/w_remainderl.c: Likewise.
6760 * math/w_scalb.c: Likewise.
6761 * math/w_scalbf.c: Likewise.
6762 * math/w_scalbl.c: Likewise.
6763 * math/w_sqrt.c: Likewise.
6764 * math/w_sqrtf.c: Likewise.
6765 * math/w_sqrtl.c: Likewise.
6766 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6767 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6769 * math/math_private.h: Declare __kernel_standard_f.
6770 * math/w_cosh.c: Remove cruft and optimize a bit.
6771 * math/w_coshf.c: Likewise.
6772 * math/w_coshl.c: Likewise.
6773 * math/w_exp2.c: Likewise.
6774 * math/w_exp2f.c: Likewise.
6775 * math/w_exp2l.c: Likewise.
6776 * math/w_hypot.c: Likewise.
6777 * math/w_hypotf.c: Likewise.
6778 * math/w_hypotl.c: Likewise.
6779 * math/w_lgamma.c: Likewise.
6780 * math/w_lgamma_r.c: Likewise.
6781 * math/w_lgammaf.c: Likewise.
6782 * math/w_lgammaf_r.c: Likewise.
6783 * math/w_lgammal.c: Likewise.
6784 * math/w_lgammal_r.c: Likewise.
6785 * math/w_sinh.c: Likewise.
6786 * math/w_sinhf.c: Likewise.
6787 * math/w_sinhl.c: Likewise.
6788 * math/w_tgamma.c: Likewise.
6789 * math/w_tgammaf.c: Likewise.
6790 * math/w_tgammal.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6793 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6794 Minor optimizations. Pretty printing. Remove cruft.
6795 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6796 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6798 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6799 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6800 * sysdeps/i386/fpu/e_asin.S: Likewise.
6801 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6802 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6803 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6804 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6806 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6808 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6809 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6810 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6811 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6812 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6813 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6814 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6815 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6816 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6817 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6818 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6819 * sysdeps/i386/fpu/e_log.S: Likewise.
6820 * sysdeps/i386/fpu/e_log10.S: Likewise.
6821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6822 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6823 * sysdeps/i386/fpu/e_log2.S: Likewise.
6824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6826 * sysdeps/i386/fpu/e_logf.S: Likewise.
6827 * sysdeps/i386/fpu/e_logl.S: Likewise.
6828 * sysdeps/i386/fpu/e_pow.S: Likewise.
6829 * sysdeps/i386/fpu/e_powf.S: Likewise.
6830 * sysdeps/i386/fpu/e_powl.S: Likewise.
6831 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6832 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6833 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6834 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6835 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6837 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6838 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6839 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6861 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6865 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6867 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6869 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6870 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6871 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6872 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6874 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6875 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6876 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6877 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6878 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6880 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6881 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6933 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6935 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6936 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6937 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6938 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6939 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6940 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6942 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6943 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6945 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6948 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6949 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6950 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6951 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6952 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6953 (__isnanf): Likewise.
6954 (__isinf_ns): Likewise.
6955 (__isinf_nsf): Likewise.
6956 (__finite): Likewise.
6957 (__finitef): Likewise.
6958 (__ieee754_sqrt): Define as macro.
6959 (__ieee754_sqrtf): Define as macro.
6960 (__ieee754_sqrtl): Define as macro.
6961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6963 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6964 __FINITE_MATH_ONLY__ consistent.
6965 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6967 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6969 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6972 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6974 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6976 * po/ja.po: Update from translation team.
6978 2011-10-08 Roland McGrath <roland@hack.frob.com>
6980 * locale/programs/locarchive.c (prepare_address_space): New function.
6981 (create_archive, enlarge_archive, open_archive): Use it.
6983 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6984 inside [SHARED], where it is used.
6986 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6988 * nss/getent.c (netgroup_keys): Remove unused variable.
6989 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6991 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6993 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6994 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6997 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6998 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6999 * math/Makefile (libm-calls): Add s_isinf_ns.
7000 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7001 * math/multc3.c: Likewise.
7002 * math/s_casin.c: Likewise.
7003 * math/s_casinf.c: Likewise.
7004 * math/s_casinl.c: Likewise.
7005 * math/s_ccos.c: Likewise.
7006 * math/s_ccosf.c: Likewise.
7007 * math/s_ccosl.c: Likewise.
7008 * math/s_ctan.c: Likewise.
7009 * math/s_ctanf.c: Likewise.
7010 * math/s_ctanh.c: Likewise.
7011 * math/s_ctanhf.c: Likewise.
7012 * math/s_ctanhl.c: Likewise.
7013 * math/s_ctanl.c: Likewise.
7014 * math/w_fmod.c: Likewise.
7015 * math/w_fmodf.c: Likewise.
7016 * math/w_fmodl.c: Likewise.
7017 * math/w_remainder.c: Likewise.
7018 * math/w_remainderf.c: Likewise.
7019 * math/w_remainderl.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7021 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7024 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7025 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7026 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7027 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7029 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7031 * stdio-common/printf_fphex.c: Likewise.
7032 * stdio-common/printf_size.c: Likewise.
7034 * math/e_exp10.c: Include math_private.h using <...> not "...".
7035 * math/e_exp10f.c: Likewise.
7036 * math/e_exp10l.c: Likewise.
7037 * math/e_exp2l.c: Likewise.
7038 * math/e_j0l.c: Likewise.
7039 * math/e_j1l.c: Likewise.
7040 * math/e_jnl.c: Likewise.
7041 * math/e_lgammal_r.c: Likewise.
7042 * math/e_rem_pio2l.c: Likewise.
7043 * math/e_scalb.c: Likewise.
7044 * math/e_scalbf.c: Likewise.
7045 * math/e_scalbl.c: Likewise.
7046 * math/k_cosl.c: Likewise.
7047 * math/k_sinl.c: Likewise.
7048 * math/k_tanl.c: Likewise.
7049 * math/s_cacoshf.c: Likewise.
7050 * math/s_catan.c: Likewise.
7051 * math/s_catanf.c: Likewise.
7052 * math/s_catanh.c: Likewise.
7053 * math/s_catanhf.c: Likewise.
7054 * math/s_catanhl.c: Likewise.
7055 * math/s_catanl.c: Likewise.
7056 * math/s_ccosh.c: Likewise.
7057 * math/s_ccoshf.c: Likewise.
7058 * math/s_ccoshl.c: Likewise.
7059 * math/s_cexp.c: Likewise.
7060 * math/s_cexpf.c: Likewise.
7061 * math/s_cexpl.c: Likewise.
7062 * math/s_clog.c: Likewise.
7063 * math/s_clog10.c: Likewise.
7064 * math/s_clog10f.c: Likewise.
7065 * math/s_clog10l.c: Likewise.
7066 * math/s_clogf.c: Likewise.
7067 * math/s_clogl.c: Likewise.
7068 * math/s_csin.c: Likewise.
7069 * math/s_csinf.c: Likewise.
7070 * math/s_csinh.c: Likewise.
7071 * math/s_csinhf.c: Likewise.
7072 * math/s_csinhl.c: Likewise.
7073 * math/s_csinl.c: Likewise.
7074 * math/s_csqrt.c: Likewise.
7075 * math/s_csqrtf.c: Likewise.
7076 * math/s_csqrtl.c: Likewise.
7077 * math/s_ctan.c: Likewise.
7078 * math/s_ctanf.c: Likewise.
7079 * math/s_ctanh.c: Likewise.
7080 * math/s_ctanhf.c: Likewise.
7081 * math/s_ctanhl.c: Likewise.
7082 * math/s_ctanl.c: Likewise.
7083 * math/s_ldexp.c: Likewise.
7084 * math/s_ldexpf.c: Likewise.
7085 * math/s_ldexpl.c: Likewise.
7086 * math/s_significand.c: Likewise.
7087 * math/s_significandf.c: Likewise.
7088 * math/s_significandl.c: Likewise.
7089 * math/w_acos.c: Likewise.
7090 * math/w_acosf.c: Likewise.
7091 * math/w_acosh.c: Likewise.
7092 * math/w_acoshf.c: Likewise.
7093 * math/w_acoshl.c: Likewise.
7094 * math/w_acosl.c: Likewise.
7095 * math/w_asin.c: Likewise.
7096 * math/w_asinf.c: Likewise.
7097 * math/w_asinl.c: Likewise.
7098 * math/w_atan2.c: Likewise.
7099 * math/w_atan2f.c: Likewise.
7100 * math/w_atan2l.c: Likewise.
7101 * math/w_atanh.c: Likewise.
7102 * math/w_atanhf.c: Likewise.
7103 * math/w_atanhl.c: Likewise.
7104 * math/w_cosh.c: Likewise.
7105 * math/w_coshf.c: Likewise.
7106 * math/w_coshl.c: Likewise.
7107 * math/w_dremf.c: Likewise.
7108 * math/w_exp10.c: Likewise.
7109 * math/w_exp10f.c: Likewise.
7110 * math/w_exp10l.c: Likewise.
7111 * math/w_exp2.c: Likewise.
7112 * math/w_exp2f.c: Likewise.
7113 * math/w_fmod.c: Likewise.
7114 * math/w_fmodf.c: Likewise.
7115 * math/w_fmodl.c: Likewise.
7116 * math/w_hypot.c: Likewise.
7117 * math/w_hypotf.c: Likewise.
7118 * math/w_hypotl.c: Likewise.
7119 * math/w_j0.c: Likewise.
7120 * math/w_j0f.c: Likewise.
7121 * math/w_j0l.c: Likewise.
7122 * math/w_j1.c: Likewise.
7123 * math/w_j1f.c: Likewise.
7124 * math/w_j1l.c: Likewise.
7125 * math/w_jn.c: Likewise.
7126 * math/w_jnf.c: Likewise.
7127 * math/w_jnl.c: Likewise.
7128 * math/w_lgamma.c: Likewise.
7129 * math/w_lgamma_r.c: Likewise.
7130 * math/w_lgammaf.c: Likewise.
7131 * math/w_lgammaf_r.c: Likewise.
7132 * math/w_lgammal.c: Likewise.
7133 * math/w_lgammal_r.c: Likewise.
7134 * math/w_log.c: Likewise.
7135 * math/w_log10.c: Likewise.
7136 * math/w_log10f.c: Likewise.
7137 * math/w_log10l.c: Likewise.
7138 * math/w_log2.c: Likewise.
7139 * math/w_log2f.c: Likewise.
7140 * math/w_log2l.c: Likewise.
7141 * math/w_logf.c: Likewise.
7142 * math/w_logl.c: Likewise.
7143 * math/w_pow.c: Likewise.
7144 * math/w_powf.c: Likewise.
7145 * math/w_powl.c: Likewise.
7146 * math/w_remainder.c: Likewise.
7147 * math/w_remainderf.c: Likewise.
7148 * math/w_remainderl.c: Likewise.
7149 * math/w_scalb.c: Likewise.
7150 * math/w_scalbf.c: Likewise.
7151 * math/w_scalbl.c: Likewise.
7152 * math/w_sinh.c: Likewise.
7153 * math/w_sinhf.c: Likewise.
7154 * math/w_sinhl.c: Likewise.
7155 * math/w_sqrt.c: Likewise.
7156 * math/w_sqrtf.c: Likewise.
7157 * math/w_sqrtl.c: Likewise.
7158 * math/w_tgamma.c: Likewise.
7159 * math/w_tgammaf.c: Likewise.
7160 * math/w_tgammal.c: Likewise.
7162 * po/ja.po: Update from translation team.
7164 2011-09-29 Andreas Jaeger <aj@suse.de>
7167 * sunrpc/netname.c (netname2host): Fix logic.
7171 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7173 * math/w_remainder.c (__remainder): Likewise.
7174 * math/w_remainderf.c (__remainderf): Likewise.
7175 * math/libm-test.inc (remainder_test): Add test cases.
7177 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7179 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7182 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7184 * string/test-memcmp.c: Avoid unncessary #defines.
7185 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7187 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7189 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7190 Use new sse2 version for core i3 - i7 as it's faster
7192 (bit_Prefer_PMINUB_for_stringop): New.
7193 * sysdeps/x86_64/rawmemchr.S: Update.
7194 Replace with faster SSE2 version.
7195 * sysdeps/x86_64/memrchr.S: New file.
7196 * sysdeps/x86_64/memchr.S: Update.
7197 Replace with faster SSE2 version.
7199 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7201 * elf/dl-load.c (lose): Add cast to avoid warning.
7203 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7205 * po/ca.po: Update from translation team.
7207 * inet/getnetgrent_r.c: Hook up nscd.
7208 * nscd/Makefile (routines): Add nscd_netgroup.
7209 (nscd-modules): Add netgroupcache.
7210 (CFLAGS-netgroupcache.c): Define.
7211 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7212 (cache_search): Add const to second parameter.
7213 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7215 (dbs): Add netgrdb entry.
7216 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7217 (verify_persistent_db): Handle netgrdb.
7218 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7219 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7221 (netgroup_response_header): Define.
7222 (innetgroup_response_header): Define.
7223 (datahead): Add netgroup_response_header and innetgroup_response_header
7225 * nscd/nscd.conf: Add entries for netgroup cache.
7226 * nscd/nscd.h (dbtype): Add netgrdb.
7227 (_PATH_NSCD_NETGROUP_DB): Define.
7228 (netgroup_iov_disabled): Declare.
7229 (xmalloc, xcalloc, xrealloc): Move declarations here.
7230 (cache_search): Adjust prototype.
7231 Add netgroup-related prototypes.
7232 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7233 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7234 (__nscd_innetgr): Declare.
7235 * nscd/selinux.c (perms): Use access_vector_t as element type and
7236 add netgroup-related initializers.
7237 * nscd/netgroupcache.c: New file.
7238 * nscd/nscd_netgroup.c: New file.
7239 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7240 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7241 For four parameters use innetgr.
7242 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7243 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7244 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7245 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7247 * nscd/connections.c (register_traced_file): Don't register file
7248 for disabled databases.
7250 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7252 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7254 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7255 from tree and freeing node.
7257 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7259 * nss/nsswitch.c (__nss_database_lookup): Handle
7260 nss_parse_service_list out of memory case.
7262 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7264 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7267 2011-10-04 Andreas Schwab <schwab@redhat.com>
7269 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7270 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7272 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7273 elf_machine_rela, elf_machine_lazy_rel.
7274 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7275 (ELF_DYNAMIC_DO_REL): Likewise.
7276 (ELF_DYNAMIC_DO_RELA): Likewise.
7277 (ELF_DYNAMIC_RELOCATE): Likewise.
7278 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7279 to ELF_DYNAMIC_DO_REL.
7280 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7281 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7282 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7285 skip_ifunc, don't call ifunc function if non-zero.
7286 (elf_machine_rela): Likewise.
7287 (elf_machine_lazy_rel): Likewise.
7288 (elf_machine_lazy_rela): Likewise.
7289 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7290 (elf_machine_lazy_rel): Likewise.
7291 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7293 (elf_machine_lazy_rel): Likewise.
7294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7296 (elf_machine_lazy_rel): Likewise.
7297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7298 (elf_machine_lazy_rel): Likewise.
7299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7300 (elf_machine_lazy_rel): Likewise.
7301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7302 (elf_machine_lazy_rel): Likewise.
7303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7304 (elf_machine_lazy_rel): Likewise.
7305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7306 (elf_machine_lazy_rel): Likewise.
7307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7308 (elf_machine_lazy_rel): Likewise.
7310 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7312 * nss/nss_files/files-init.c (_nss_files_init): Use static
7313 initialization for all the *_traced_file variables.
7315 2011-09-28 Andreas Schwab <schwab@redhat.com>
7317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7319 2011-09-27 Roland McGrath <roland@hack.frob.com>
7322 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7324 2011-09-27 Andreas Schwab <schwab@redhat.com>
7326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7327 Reread the line before reparsing it.
7329 2011-09-26 Andreas Schwab <schwab@redhat.com>
7331 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7333 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7334 Maxim Kuvyrkov <maxim@codesourcery.com>
7335 Joseph Myers <joseph@codesourcery.com>
7337 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7338 if needed for __stack_chk_guard.
7340 2011-09-19 Roland McGrath <roland@hack.frob.com>
7342 * sysdeps/posix/spawni.c (script_execute): Always define it.
7343 It will be optimized away if unused.
7344 (maybe_script_execute): New function.
7345 (__spawni): Call it.
7347 * Makerules: Don't include tls.make.
7348 (config-tls): Always set to thread.
7349 * tls.make.c: File removed.
7351 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7353 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7354 * config.make.in (CPPFLAGS-config): New substituted variable.
7356 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7358 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7361 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7362 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7364 2011-09-15 Roland McGrath <roland@hack.frob.com>
7366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7367 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7369 (CALL_FAIL): Likewise.
7370 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7371 (CALL_FAIL): Macro removed.
7372 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7374 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7376 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7377 for __FINITE_MATH_ONLY__ == 1.
7379 2011-09-15 Andreas Schwab <schwab@redhat.com>
7381 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7382 __ieee754_sqrt instead of sqrt.
7383 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7384 __ieee754_sqrtf instead of sqrtf.
7385 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7386 __floorf instead of floorf.
7387 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7388 __floorf, __truncf instead of floorf, truncf.
7390 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7392 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7394 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7395 __extern_always_inline.
7396 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7399 2011-09-14 Andreas Schwab <schwab@redhat.com>
7401 * elf/rtld.c (dl_main): Also relocate in dependency order when
7402 doing symbol dependency testing.
7404 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7407 Always define `refsym'.
7409 2011-09-13 Andreas Schwab <schwab@redhat.com>
7411 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7412 (__FD_ELT): Renamed from __FDELT.
7413 * misc/bits/select2.h (__FD_ELT): Likewise.
7414 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7415 __FD_MASK instead of __FDELT, __FDMASK.
7416 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7418 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7421 * elf/Makefile (gen-ldd): Fix pattern.
7423 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7424 (init_tls): Likewise.
7426 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7430 2011-09-12 Andreas Schwab <schwab@redhat.com>
7432 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7433 `struct cmsghdr *' instead of `void *'.
7434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7437 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7439 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7441 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7444 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7446 * configure.in: Remove --with-tls option.
7447 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7448 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7449 out in case it is missing.
7450 * sysdeps/ia64/elf/configure.in: Likewise.
7451 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7452 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7453 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7454 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7455 * sysdeps/sh/elf/configure.in: Likewise.
7456 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7457 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7458 * sysdeps/x86_64/elf/configure.in: Likewise.
7459 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7460 * sysdeps/mach/hurd/tls.h: Likewise.
7463 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7466 * configure.in: Fix use of AC_INIT.
7468 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7470 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7472 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7474 * malloc/hooks.c: Likewise.
7477 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7478 variables statically.
7479 (narenas): Initialize.
7480 (list_lock): Initialize.
7481 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7482 initializtion of main_arena and list_lock. Small cleanups.
7483 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7484 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7485 Add initializers to main_arena and mp_.
7486 (malloc_state): Remove pagesize member. Change all users to use
7489 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7490 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7491 is always initialized.
7493 * malloc/malloc.c: Removed unused configurations and dead code.
7494 * malloc/arena.c: Likewise.
7495 * malloc/hooks.c: Likewise.
7496 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7498 * include/tls.h: Removed. USE___THREAD must always be defined.
7499 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7500 * elf/dl-libc.c: Likewise.
7501 * elf/dl-tsd.c: Likewise.
7502 * include/errno.h: Likewise.
7503 * include/netdb.h: Likewise.
7504 * include/resolv.h: Likewise.
7505 * inet/herrno-loc.c: Likewise.
7506 * inet/herrno.c: Likewise.
7507 * malloc/arena.c: Likewise.
7508 * malloc/hooks.c: Likewise.
7509 * malloc/malloc.c: Likewise.
7510 * resolv/res-state.c: Likewise.
7511 * resolv/res_libc.c: Likewise.
7512 * sysdeps/i386/dl-machine.h: Likewise.
7513 * sysdeps/ia64/dl-machine.h: Likewise.
7514 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7516 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7517 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7518 * sysdeps/sh/dl-machine.h: Likewise.
7519 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7521 * sysdeps/unix/i386/sysdep.S: Likewise.
7522 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7523 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7528 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7532 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7533 * sysdeps/x86_64/dl-machine.h: Likewise.
7534 * tls.make.c: Likewise.
7536 * configure.in: Remove --with-__thread option. Make tests for
7537 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7538 tls_model attribute fail if no support is available. Remove
7540 * Makeconfig: Adjust for dropped configure option. All features are
7542 * Makerules: Likewise.
7543 * Versions.def: Likewise.
7544 * argp/argp-fmtstream.c: Likewise.
7545 * argp/argp-fmtstream.h: Likewise.
7546 * argp/argp-help.c: Likewise.
7547 * assert/assert.c: Likewise.
7548 * config.h.in: Likewise.
7549 * config.make.in: Likewise.
7550 * configure: Likewise.
7551 * configure.in: Likewise.
7552 * csu/Versions: Likewise.
7553 * csu/init.c: Likewise.
7554 * elf/tst-audit2.c: Likewise.
7555 * elf/tst-tls10.c: Likewise.
7556 * elf/tst-tls10.h: Likewise.
7557 * elf/tst-tls11.c: Likewise.
7558 * elf/tst-tls12.c: Likewise.
7559 * elf/tst-tls14.c: Likewise.
7560 * elf/tst-tlsmod11.c: Likewise.
7561 * elf/tst-tlsmod12.c: Likewise.
7562 * elf/tst-tlsmod13.c: Likewise.
7563 * elf/tst-tlsmod13a.c: Likewise.
7564 * elf/tst-tlsmod14a.c: Likewise.
7565 * elf/tst-tlsmod15b.c: Likewise.
7566 * elf/tst-tlsmod16a.c: Likewise.
7567 * elf/tst-tlsmod16b.c: Likewise.
7568 * elf/tst-tlsmod7.c: Likewise.
7569 * elf/tst-tlsmod8.c: Likewise.
7570 * elf/tst-tlsmod9.c: Likewise.
7571 * gmon/gmon.c: Likewise.
7572 * grp/fgetgrent_r.c: Likewise.
7573 * grp/putgrent.c: Likewise.
7574 * hurd/fopenport.c: Likewise.
7575 * include/libc-symbols.h: Likewise.
7576 * include/tls.h: Likewise.
7577 * intl/gettextP.h: Likewise.
7578 * intl/loadinfo.h: Likewise.
7579 * locale/global-locale.c: Likewise.
7580 * locale/localeinfo.h: Likewise.
7581 * mach/devstream.c: Likewise.
7582 * malloc/arena.c: Likewise.
7583 * malloc/set-freeres.c: Likewise.
7584 * misc/err.c: Likewise.
7585 * misc/getttyent.c: Likewise.
7586 * misc/mntent_r.c: Likewise.
7587 * posix/getopt.c: Likewise.
7588 * posix/wordexp.c: Likewise.
7589 * pwd/fgetpwent_r.c: Likewise.
7590 * resolv/Versions: Likewise.
7591 * resolv/res_hconf.c: Likewise.
7592 * shadow/fgetspent_r.c: Likewise.
7593 * shadow/putspent.c: Likewise.
7594 * stdio-common/printf_fphex.c: Likewise.
7595 * stdio-common/tmpfile.c: Likewise.
7596 * stdlib/abort.c: Likewise.
7597 * stdlib/fmtmsg.c: Likewise.
7598 * sunrpc/auth_unix.c: Likewise.
7599 * sunrpc/clnt_perr.c: Likewise.
7600 * sunrpc/clnt_tcp.c: Likewise.
7601 * sunrpc/clnt_udp.c: Likewise.
7602 * sunrpc/clnt_unix.c: Likewise.
7603 * sunrpc/openchild.c: Likewise.
7604 * sunrpc/svc_simple.c: Likewise.
7605 * sunrpc/svc_tcp.c: Likewise.
7606 * sunrpc/svc_udp.c: Likewise.
7607 * sunrpc/svc_unix.c: Likewise.
7608 * sunrpc/xdr.c: Likewise.
7609 * sunrpc/xdr_array.c: Likewise.
7610 * sunrpc/xdr_rec.c: Likewise.
7611 * sunrpc/xdr_ref.c: Likewise.
7612 * sunrpc/xdr_stdio.c: Likewise.
7614 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7616 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7618 2011-07-03 Andreas Jaeger <aj@suse.de>
7620 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7621 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7622 regenerate with gen-libm-tests.pl.
7624 2010-05-12 Petr Baudis <pasky@suse.cz>
7627 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7628 around j0() zero points by switching to j1().
7629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7634 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7636 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7641 Patch in part by Pavel Roskin <proski@gnu.org>.
7644 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7646 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7647 Free memory block if necessary.
7650 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7651 be NULL. Don't lock in this case.
7653 2011-09-09 Roland McGrath <roland@hack.frob.com>
7655 * elf/elf.h (ELFOSABI_GNU): New macro.
7656 (ELFOSABI_LINUX): Define to that.
7658 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7660 * string/strncat.c (strncat): Undef the symbol in case it has been
7661 defined in bits/string.h.
7663 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7665 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7667 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7670 2011-08-17 Andreas Jaeger <aj@suse.de>
7672 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7674 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7675 Ian Lance Taylor <iant@google.com>
7677 * math/libm-test.inc (lround_test): New testcase.
7678 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7680 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7682 * Makefile: Remove support for automatic cvs check-ins.
7683 * Makerules: Likewise.
7684 * config.make.in: Likewise.
7685 * configure.in: Likewise.
7686 * intl/Makefile: Likewise.
7687 * locale/Makefile: Likewise.
7688 * po/Makefile: Likewise.
7689 * posix/Makefile: Likewise.
7690 * sysdeps/gnu/Makefile: Likewise.
7691 * sysdeps/mach/hurd/Makefile: Likewise.
7692 * sysdeps/sparc/sparc32/Makefile: Likewise.
7695 * posix/Makefile (bug-regex32-ENV): Define.
7696 Patch by John Stanley <jpsinthemix@verizon.net>.
7698 * misc/Makefile (headers): Add bits/select2.h.
7699 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7700 * misc/bits/select2.h: New file.
7701 * include/bits/select2.h: New file.
7702 * debug/Makefile (routines): Add fdelt_chk.
7703 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7704 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7706 * debug/fdelt_chk.c: New file.
7708 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7709 * wcsmbs/test-wmemcmp.c: Likewise.
7710 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7711 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7713 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7715 * string/Makefile (strop-tests): Add memcmp.
7716 * string/test-wmemcmp.c: New file.
7717 * string/test-memcmp.c: Add wmemcmp support.
7719 2011-09-08 Roland McGrath <roland@hack.frob.com>
7722 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7725 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7726 garbage value in a __mach_port_mod_refs call in the cases of the
7727 task-self and thread-self ports.
7729 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7731 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7733 2011-09-08 Andreas Schwab <schwab@redhat.com>
7735 * elf/dl-load.c (lose): Check for non-null L.
7737 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7739 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7741 * elf/dl-libc.c (dlerror_run): Pass back error code from
7745 * elf/dl-load.c (lose): Free l_origin if it is valid.
7747 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7749 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7753 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7754 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7756 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7758 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7759 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7760 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7761 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7762 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7763 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7764 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7765 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7766 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7767 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7769 2011-08-15 Alan Modra <amodra@gmail.com>
7772 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7773 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7774 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7775 ppc_mcount to static-only-routines.
7776 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7778 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7779 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7781 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7784 for finite and infinity parameters.
7786 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7789 and add nop instructions for throughput optimization.
7790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7792 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7795 aligned copy for power7 with vector-scalar instructions.
7796 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7798 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7803 2011-09-07 Andreas Schwab <schwab@redhat.com>
7806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7809 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7811 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7812 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7813 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7817 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7820 Forgot to demangle the pointer.
7822 * sysdeps/i386/sysdep.h: Define atom_text_section.
7823 * sysdeps/x86_64/sysdep.h: Likewise.
7824 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7825 section with atom_text_section.
7826 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7828 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7830 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7833 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7834 already be defined. Change to take two parameters and don't assign
7835 result to variable. Adjust all users.
7836 Define INTERNAL_GETTIME if not already defined.
7837 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7840 HAVE_CLOCK_GETTIME_VSYSCALL.
7841 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7844 gettimeofday vsyscall, just use time.
7846 2011-09-06 Andreas Schwab <schwab@redhat.com>
7848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7851 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7853 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7857 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7859 syscall if possible.
7861 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7863 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7864 e_ident. Don't pass to find_mapsXX.
7865 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7867 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7870 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7871 * sysdeps/x86_64/multiarch/strchr.S: Update.
7872 Check bit_slow_BSF bit.
7873 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7874 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7875 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7877 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7880 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7883 (__spawni): Change last parameter to be flag. Test
7884 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7885 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7886 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7887 * posix/spawni.c: Likewise.
7888 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7889 * posix/spawnp.c: Likewise. Change normal version to use
7890 SPAWN_XFLAGS_USE_PATH.
7891 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7892 SPAWN_XFLAGS_TRY_SHELL.
7895 * posix/glob.h: Remove gcc 1.x support.
7898 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7900 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7903 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7905 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7906 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7907 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7912 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7914 * sysdeps/x86_64/wcscmp.S: New file.
7916 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7917 wcscmp-c wcscmp-sse2
7918 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7919 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7920 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7921 * wcsmbs/wcscmp.c: Allow renaming.
7923 2011-09-05 David S. Miller <davem@davemloft.net>
7925 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7926 stack slot, rather than the struct return pointer slot.
7927 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7928 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7930 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7932 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7934 * po/ja.po: Update from translation team.
7937 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7938 kernel in 64-bit binaries.
7940 2011-09-01 David S. Miller <davem@davemloft.net>
7942 * elf/elf.h (HWCAP_SPARC_*): Move to..
7943 * sysdeps/sparc/sysdep.h: this new file and add new values.
7944 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7945 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7946 _DL_HWCAP_COUNT to 24.
7947 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7949 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7950 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7951 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7953 instead of magic constants.
7954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7956 2011-08-31 David S. Miller <davem@davemloft.net>
7958 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7960 Reimplement to do errno handling inline.
7961 (SYSCALL_ERROR_HANDLER): New macro.
7962 (__SYSCALL_STRING): Do not do errno handling in asm.
7963 (__CLONE_SYSCALL_STRING): Delete.
7964 (__INTERNAL_SYSCALL_STRING): Delete.
7965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7966 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7967 (PSEUDO): Reimplement to do errno handling inline.
7968 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7969 (SYSCALL_ERROR_HANDLER): New macro.
7970 (__SYSCALL_STRING): Do not do errno handling in asm.
7971 (__CLONE_SYSCALL_STRING): Delete.
7972 (__INTERNAL_SYSCALL_STRING): Delete.
7973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7974 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7976 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7977 (inline_syscall*): Add 'err' argument.
7978 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7979 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7980 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7981 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7983 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7984 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7986 2011-08-30 Andreas Schwab <schwab@redhat.com>
7988 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7990 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7992 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7995 2011-08-24 David S. Miller <davem@davemloft.net>
7997 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7999 2011-08-24 Andreas Schwab <schwab@redhat.com>
8001 * elf/Makefile: Add rules to build and run unload8 test.
8002 * elf/unload8.c: New file.
8003 * elf/unload8mod1.c: New file.
8004 * elf/unload8mod1x.c: New file.
8005 * elf/unload8mod2.c: New file.
8006 * elf/unload8mod3.c: New file.
8008 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8011 2011-08-23 David S. Miller <davem@davemloft.net>
8013 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8014 subtract stack bias.
8015 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8016 %sp not %fp in calculations.
8017 (_JMPBUF_UNWINDS_ADJ): Likewise.
8019 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8020 (aio_suspend): Call it to force an exception region around the
8021 AIO_MISC_WAIT() invocation.
8023 2011-08-23 Andreas Schwab <schwab@redhat.com>
8025 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8028 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8030 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8032 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8034 (Elf64_FuncDesc): Remove.
8036 2011-08-22 David S. Miller <davem@davemloft.net>
8038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8039 sigaltstack check, add missing cfi directives.
8040 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8041 missing cfi directives, and sigaltstack handling.
8043 2011-08-16 Andreas Schwab <schwab@redhat.com>
8046 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8047 object is seen twice.
8048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8050 * elf/Makefile (distribute): Add tst-initorder2.c.
8051 (tests): Add tst-initorder2.
8052 (modules-names): Add tst-initorder2a tst-initorder2b
8053 tst-initorder2c tst-initorder2d. Add rules to build them.
8054 ($(objpfx)tst-initorder2.out): New rule.
8055 * elf/tst-initorder2.c: New file.
8056 * elf/tst-initorder2.exp: New file.
8058 2011-08-22 Andreas Schwab <schwab@redhat.com>
8060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8062 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8063 dependencies back to end of function.
8065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8068 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8071 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8073 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8074 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8075 of __vdso_gettimeofday.
8076 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8077 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8079 (_libc_vdso_platform_setup): Remove initialization of
8080 __vdso_gettimeofday and __vdso_time.
8082 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8084 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8086 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8089 * elf/dl-open.c (add_to_global): Report additions to the global scope
8090 for LD_DEBUG=scopes.
8091 (dl_open_worker): Also print scope of newly loaded dependencies.
8092 (_dl_show_scope): Indicate if there is no scope.
8095 * stdio-common/Makefile (tests): Add bug24.
8096 * stdio-common/bug24.c: New file.
8098 2011-08-19 Andreas Jaeger <aj@suse.de>
8101 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8102 non-existant file when using close-on-exec mode.
8104 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8107 the very first instruction.
8109 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8110 the CFI state in the end.
8111 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8112 inclusion of dl-trampoline.h.
8113 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8115 2011-08-19 Andreas Schwab <schwab@redhat.com>
8117 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8118 expectations for long double.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8121 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8123 2011-08-14 David S. Miller <davem@davemloft.net>
8125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8126 artificual limit depends upon the system page size.
8128 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8130 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8131 * resolv/Makefile: Define CFLAGS-libresolv.
8133 2011-08-17 Andreas Schwab <schwab@redhat.com>
8135 * nss/makedb.c (compute_tables): Make variables used in nested
8138 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8140 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8141 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8142 if buffer was too small.
8144 * elf/pldd.c (main): Attach to all threads in the process.
8145 Rewrite /proc handling to use *at functions.
8147 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8149 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8150 specifies first scope to show.
8151 (dl_open_worker): Update callers. Move printing scope of new
8152 object to before the relocation.
8153 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8154 * sysdeps/generic/ldsodefs.h: Update declaration.
8156 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8157 string for the scope number.
8159 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8161 * nscd/servicescache.c (cache_addserv): Make sure written is always
8164 2011-08-14 Roland McGrath <roland@hack.frob.com>
8166 * sysdeps/i386/i486/bits/atomic.h
8167 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8168 statement expression, so as to suppress "set but not used" warning.
8169 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8171 * string/strncat.c (STRNCAT): Use prototype definition.
8173 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8174 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8176 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8177 (localedef-modules): Add localedef.
8178 (locale-modules): Add locale.
8180 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8181 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8184 2011-08-14 David S. Miller <davem@davemloft.net>
8186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8187 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8189 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8191 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8192 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8193 * elf/rtld.c (dl_main): Set l_name of vDSO.
8194 Call _dl_show_scope when DL_DEBUG_SCOPES.
8195 (process_dl_debug): Recognize scopes flag and also set it for all.
8196 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8197 Declare _dl_show_scope.
8199 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8200 (do_dlopen): Pass caller_dlopen to dl_open.
8201 (__libc_dlopen_mode): Initialize caller_dlopen.
8203 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8204 of libc. Make tolower call locale-independent. Optimize a bit by
8205 using isdigit instead of isalnum.
8206 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8208 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8210 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8211 was a dependency or dynamically loaded.
8213 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8215 * intl/l10nflist.c: Allow architecture-specific pop function.
8216 * sysdeps/x86_64/l10nflist.c: New file.
8218 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8221 2011-08-10 Andreas Schwab <schwab@redhat.com>
8223 * include/dirent.h: Add libc_hidden_proto for scandirat and
8224 scandirat64. Don't declare __scandirat64.
8225 * dirent/scandirat.c: Add libc_hidden_def.
8226 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8227 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8229 2011-08-10 David S. Miller <davem@davemloft.net>
8231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8234 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8237 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8239 * Versions.def [libc]: Add GLIBC_2.15.
8240 * dirent/Makefile (routines): Add scandirat and scandirat64.
8241 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8243 * dirent/dirent.h: Declare scandirat and scandirat64.
8244 * dirent/scandirat.c: New file.
8245 * dirent/scandirat64.c: New file.
8246 * sysdeps/wordsize-64/scandirat.c: New file.
8247 * sysdeps/wordsize-64/scandirat64.c: New file.
8248 * dirent/opendir.c: Define opendirat.
8249 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8251 * dirent/scandir64.c: Adjust for scandir.c change.
8252 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8253 __scandirat64, and __scandir_cancel_handler.
8254 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8255 additional parameter and use openat instead of open (outside of ld.so).
8256 Add new __opendir as wrapper around __opendirat.
8257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8258 here without requiring old scandirat implementation.
8260 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8262 * dirent/scandir.c (cancel_handler): Renamed to
8263 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8264 defined. Adjust users.
8265 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8268 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8270 * string/test-string.h (IMPL): Use __STRING to expand name and then
8273 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8276 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8278 * string/Makefile: Update.
8279 (strop-tests): Append strncat.
8280 * string/test-wcscmp.c: New file.
8281 New comprehensive test for wcscmp.
8282 * string/test-strcmp.c: Update.
8285 2011-07-22 Andreas Schwab <schwab@redhat.com>
8287 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8290 2011-07-26 Andreas Schwab <schwab@redhat.com>
8292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8293 encoding to ACE if AI_IDN.
8295 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8298 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8300 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8303 Fix overflow bug in strncat.
8304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8306 * string/test-strncat.c: Update.
8307 Add new tests for checking overflow bugs.
8309 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8312 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8313 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8314 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8315 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8316 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8318 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8319 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8322 (USE_AS_STRCAT): Define.
8323 Add strcat and strncat support.
8324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8326 2011-07-25 Andreas Schwab <schwab@redhat.com>
8328 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8329 __n bigger than INT_MAX+1.
8330 (__strncmp_g): Likewise.
8332 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8334 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8335 * libio/stido.h: Likewise.
8337 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8342 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8349 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8354 (_dl_x86_64_save_sse): Likewise.
8356 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8360 (_dl_x86_64_save_sse): Likewise.
8362 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8364 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8366 2011-07-21 Andreas Schwab <schwab@redhat.com>
8368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8370 (_dl_x86_64_save_sse): Use correct AVX check.
8372 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8374 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8375 bug in strncpy/strncat.
8376 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8378 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8380 * string/tester.c (test_strcat): Add tests for different alignments
8381 of source and destination.
8382 (test_strncat): Likewise.
8384 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8387 * posix/glob.c (glob): Check passed in values before using them in
8388 expressions to avoid some overflows.
8389 (glob_in_dir): Likewise.
8392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8393 check for AVX enablement so that we don't crash with old kernels and
8395 * elf/tst-audit4.c: Add same checks here.
8396 * elf/tst-audit6.c: Likewise.
8398 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8400 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8402 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8404 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8406 * po/cs.po: Update from translation team.
8407 * po/bg.po: Likewise.
8409 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8411 * misc/sys/cdefs.h: Add support for const attribute.
8412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8413 to gnu_dev_{major,minor,makedev} functions.
8415 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8417 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8419 2011-07-20 Andreas Schwab <schwab@redhat.com>
8421 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8424 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8427 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8428 register in order to avoid conflicts with the soft frame pointer
8429 being held in r11 when necessary.
8430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8431 (INTERNAL_VSYSCALL_NCS): Likewise.
8433 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8435 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8436 * elf/dl-fini.c (_dl_fini): Adjust caller.
8437 * elf/dl-close.c (_dl_close_worker): Likewise.
8438 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8440 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8442 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8443 "aux_cache->nlibs < 0".
8445 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8446 in the reload-count case.
8448 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8451 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8452 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8453 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8454 * sysdeps/x86_64/multiarch/strcat.S: New file.
8455 * sysdeps/x86_64/multiarch/strncat.S: New file.
8456 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8457 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8458 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8459 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8461 (USE_AS_STRCAT): Define.
8462 Add strcat and strncat support.
8463 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8465 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8466 * string/strncat.c: Update.
8467 (USE_AS_STRNCAT): Define.
8468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8469 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8471 * sysdeps/x86_64/multiarch/init-arch.h
8472 (bit_Prefer_PMINUB_for_stringop): New.
8473 (index_Prefer_PMINUB_for_stringop): Likewise.
8474 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8475 bit_Prefer_PMINUB_for_stringop.
8477 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8479 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8481 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8482 of casting of buffer.
8483 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8484 buffer32 and buffer64.
8485 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8486 writes instead of casting of buffer.
8487 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8489 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8492 2011-07-19 Andreas Schwab <schwab@redhat.com>
8494 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8496 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8498 * nscd/nscd.c (termination_handler): Don't do anything for a database
8499 if it has not yet been initialized.
8501 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8503 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8505 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8507 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8509 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8511 * po/nl.po: Update from translation team.
8512 * po/sv.po: Likewise.
8514 2011-07-16 Roland McGrath <roland@hack.frob.com>
8516 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8517 now disallowed by GCC.
8519 * configure.in (use-default-link): Default to yes if a test -shared
8520 link meets our qualifications.
8521 * configure: Regenerated.
8523 * config.make.in (output-format): New variable.
8524 * configure.in: Check for ld --print-output-format support.
8525 * configure: Regenerated.
8526 * Makerules ($(common-objpfx)format.lds)
8527 [$(output-format) != unknown]: Just use $(output-format),
8528 instead of the linker-script munging.
8530 2011-07-14 Roland McGrath <roland@hack.frob.com>
8532 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8533 of $(common-objpfx)shlib.lds.
8534 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8536 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8537 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8539 * configure.in (-z relro check): Adjust test code to add a large
8540 writable data section after it.
8541 * configure: Regenerated.
8543 2011-07-11 Roland McGrath <roland@hack.frob.com>
8545 * configure.in (-z relro check): Fix test code to make the variable
8547 * configure: Regenerated.
8549 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8551 * nscd/nscd.h (struct traced_file): Define.
8552 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8553 elements. Add traced_files.
8554 (inotify_fd): Declare.
8555 (register_traced_file): Declare.
8556 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8557 (inotify_fd): Export.
8558 (resolv_conf_descr): Remove.
8559 (nscd_init): Move inotify descriptor creation to main.
8560 Don't register files for notification here.
8561 (register_traced_file): New function.
8562 (invalidate_cache): Don't use reset_res to determine whether to call
8563 res_init, go through the list of registered files.
8564 (main_loop_poll): The inotify descriptors are now stored in the
8565 structures for the traced files.
8566 (main_loop_epoll): Likewise
8567 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8568 to __nss_disable_nscd.
8569 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8570 for a database anymore. Check the records for all the registered
8572 * nss/Makefile (libnss_files-routines): Add files-init.
8573 (libnss_db-routines): Add db-init.
8574 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8575 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8576 * nss/nss_db/db-init.c: New file.
8577 * nss/nss_files/files-init.c: New file.
8578 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8579 __nss_lookup_function.
8580 (__nss_lookup_function): Call nss_load_library.
8581 (nss_load_all_libraries): New function.
8582 (__nss_disable_nscd): Take parameter with callback function for files
8583 to register. Set is_nscd. Load all the DSOs for the NSS modules
8584 used for the cached services.
8585 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8586 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8587 options for features to all the files in nscd.
8589 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8591 2011-07-10 Roland McGrath <roland@hack.frob.com>
8593 * csu/elf-init.c (__libc_csu_init): Comment typo.
8595 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8597 * po/pl.po: Update from translation team.
8598 * po/ja.po: Likewise.
8599 * po/ru.po: Likewise.
8600 * po/ko.po: Likewise.
8601 * po/fr.po: Likewise.
8603 2011-07-09 Roland McGrath <roland@hack.frob.com>
8605 * configure.in (.ctors/.dtors header and trailer check):
8606 Use an empirical test on a built program.
8607 * configure: Regenerated.
8609 * configure.in (-z relro check): Use an empirical test on a built DSO.
8610 Detect, but do not require, on ia64.
8611 * configure: Regenerated.
8613 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8614 Update tests that use readelf to use $READELF instead.
8615 * configure: Regenerated.
8617 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8619 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8620 if the result is not used.
8622 2011-07-05 Andreas Jaeger <aj@suse.de>
8625 * stdlib/tst-strtod.c: Add testcase.
8627 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8629 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8630 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8631 The latter has a higher limit. Take additional parameter to pass to
8633 (__pathconf): Pass file to __statfs_link_max.
8634 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8636 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8640 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8644 (__statfs_filesize_max): Likewise.
8645 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8647 2011-07-05 Andreas Jaeger <aj@suse.de>
8649 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8651 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8653 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8655 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8658 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8660 * Makefile (strop-tests): Add strncat.
8661 * string/test-strncat.c: New file.
8663 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8665 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8667 2011-06-21 Andreas Jaeger <aj@suse.de>
8669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8670 Copy rule from iconvdata/Makefile.
8672 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8675 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8676 but no long options are defined, just return 'W'.
8678 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8681 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8683 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8685 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8687 (innetgr): Likewise.
8689 2011-07-05 Roland McGrath <roland@hack.frob.com>
8691 * config.make.in (install_root): Default to $(DESTDIR).
8693 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8697 2011-07-02 Roland McGrath <roland@hack.frob.com>
8699 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8701 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8702 containing directory rather than embedding absolute directory names.
8704 * scripts/check-local-headers.sh: Rewritten using awk.
8705 Match by word, not by line. Print error messages for matches.
8706 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8708 * Makerules [shlib-lds-flags empty]:
8709 ($(common-objpfx)libc_pic.opts): New target.
8710 ($(common-objpfx)libc_pic.os.clean): New target.
8711 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8713 * config.make.in (OBJCOPY): New variable.
8714 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8715 * configure: Regenerated.
8717 * config.make.in (use-default-link): New variable.
8718 * configure.in (use_default_link): Grok --with-default-link to set it.
8719 * configure: Regenerated.
8720 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8721 (shlib-lds, shlib-lds-flags): Define to empty.
8723 * Makerules (shlib-lds): New variable.
8724 (shlib-lds-flags): New variable.
8725 (build-shlib, build-moduile, build-module-asneeded): Use it.
8726 ($(common-objpfx)libc.so): Use $(shlib-lds).
8727 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8728 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8730 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8731 DT_FLAGS/DT_FLAGS_1 with zero flags.
8733 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8734 linker script munging.
8736 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8738 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8740 * crypt/sha512.c (sha512_process_block): Perform total addition using
8741 128-bit if possible.
8742 (__sha512_finish_ctx): Likewise.
8743 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8745 * crypt/sha256.c (SWAP64): Define.
8746 (sha256_process_block): Perform total addition using 64-bit if
8748 (__sha256_finish_ctx): Likewise.
8750 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8752 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8754 * nscd/hstcache.c (cache_addhst): Likewise.
8755 * nscd/grpcache.c (cache_addgr): Likewise.
8756 * nscd/aicache.c (addhstaiX): Likewise
8757 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8759 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8761 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8763 * nscd/hstcache.c (cache_addhst): Likewise.
8764 * nscd/grpcache.c (cache_addgr): Likewise.
8765 * nscd/aicache.c (addhstaiX): Likewise
8767 2011-07-01 Andreas Schwab <schwab@redhat.com>
8769 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8770 domain only when needed.
8772 2011-06-30 Andreas Schwab <schwab@redhat.com>
8774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8777 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8779 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8780 are re-adding the entry.
8781 * nscd/servicescache.c (cache_addserv): Likewise.
8783 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8785 * sysdeps/generic/dl-irel.h: fix protection against multiple
8787 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8789 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8792 * malloc/memusage.sh: Fix quoting in message.
8793 * debug/xtrace.sh: Likewise.
8795 * configure.in: Remove support for --experimental-malloc option, make
8797 * config.make.in: Likewise.
8798 * malloc/Makefile: Likewise.
8800 2011-06-27 Andreas Schwab <schwab@redhat.com>
8802 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8803 two-byte characters.
8805 2011-06-27 Roland McGrath <roland@hack.frob.com>
8807 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8808 AC_CACHE_CHECK invocation.
8809 * configure: Regenerated.
8811 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8813 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8816 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8817 bit from old_res_options.
8819 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8821 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8822 value type for setfct.
8824 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8827 __gettimeofday instead of gettimeofday.
8829 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8831 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8833 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8840 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8843 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8844 strcpy-sse2-unaligned strncpy-sse2-unaligned
8845 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8846 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8847 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8848 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8849 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8852 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8853 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8854 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8855 (STRCPY): Support SSE2 and SSSE3 versions.
8857 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8861 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8862 kernels which artificially limit size of requests.
8864 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8867 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8868 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8869 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8870 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8871 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8872 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8873 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8876 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8877 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8878 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8879 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8880 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8882 Enable unaligned load optimization for Intel Core i3, i5 and i7
8884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8886 (index_Fast_Unaligned_Load): Define.
8887 (HAS_FAST_UNALIGNED_LOAD): Define.
8889 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8891 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8893 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8897 until it is clear that the information is realy needed.
8898 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8900 2011-06-22 Andreas Schwab <schwab@redhat.com>
8902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8904 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8907 /sys/devices/system/cpu/online if it is usable.
8909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8910 reading the information from the /proc filesystem to once a second.
8912 2011-06-21 Andreas Jaeger <aj@suse.de>
8914 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8915 NULL after inclusion of kernel headers.
8917 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8919 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8920 calls to internal_setent.
8923 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8924 addresses using gethostbyname4_r ignore IPv4 addresses.
8926 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8927 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8929 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8931 2011-06-20 David S. Miller <davem@davemloft.net>
8933 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8935 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8937 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8939 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8940 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8941 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8942 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8943 * sysdeps/x86_64/dl-irel.h: Likewise.
8945 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8946 * elf/dl-sym.c: Likewise.
8948 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8950 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8951 need to dereference resplen2.
8953 2011-06-14 Andreas Schwab <schwab@redhat.com>
8955 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8957 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8959 * Makeconfig: Define vardbdir and inst_vardbdir.
8960 * nss/Makefile: Add rules to install db-Makefile.
8962 * nss/nss_db/db-XXX.c: Cleanup.
8964 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8965 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8967 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8968 * nss/makedb.c: Implement -g option to specify that value strings
8969 are generated and should not be added to table iterated over for
8971 * nss/nss_db/db-initgroups.c: New file.
8973 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8976 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8977 (internal_getgrouplist): Adjust to name change.
8978 Update use_initgroups_entry if this is not the first call.
8979 * nss/databases.def: Add initgroups entry.
8981 * nss/makedb.c (compute_tables): Check result of multiple hash table
8982 sizes to minimize maximum chain length.
8984 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8986 * Versions.def: Add entry for libnss_db.
8987 * shlib-versions: Likewise.
8988 * nss/Makefile: Add rules to build libnss_db.
8989 * nss/Versions: Add libnss_db information. Organize libnss_files
8991 * nss/db-Makefile: Add gshadow support. Change rules for the new
8992 makedb progra. Some minor improvements to generate smaller files.
8993 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8995 * nss/makedb.c: ...here.
8996 Improve database format to be smaller and require less memory at
8998 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9000 * nss/nss_db/db-netgrp.c: Likewise.
9001 * nss/nss_db/db-open.c: Likewise.
9002 * nss/nss_files/flies-XXX.x: Adjust comments.
9003 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9004 * nss/nss_files/files-grp.c: Likewise.
9005 * nss/nss_files/files-hosts.c: Likewise.
9006 * nss/nss_files/files-network.c: Likewise.
9007 * nss/nss_files/files-proto.c: Likewise.
9008 * nss/nss_files/files-pwd.c: Likewise.
9009 * nss/nss_files/files-rpc.c: Likewise.
9010 * nss/nss_files/files-service.c: Likewise.
9011 * nss/nss_files/files-sgrp.c: Likewise.
9012 * nss/nss_files/files-spwd.c: Likewise.
9013 * nss/nss_db/db-alias.c: Removed.
9014 * nss/nss_db/dummy-db.h: Removed.
9016 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9018 * nss/makedb.c: Rewritten to not use database library.
9019 * nss/Makefile: Update to build new makedb program.
9021 2011-06-14 Andreas Jaeger <aj@suse.de>
9023 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9026 2011-06-10 Andreas Schwab <schwab@redhat.com>
9028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9031 2011-06-10 Roland McGrath <roland@hack.frob.com>
9033 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9034 * elf/Makefile ($(objpfx)ld.so): Likewise.
9036 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9037 Don't list ld.so twice in dependencies.
9039 * posix/bug-regex31.c: Include <stdlib.h>.
9041 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9043 * nis/nss_compat/compat-spwd.c
9044 (getspent_next_nss_netgr): Remove unused variable.
9045 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9047 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9048 nonmembers" output to use the right array.
9050 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9052 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9054 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9055 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9056 * catgets/gencat.c (read_input_file): Likewise.
9057 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9059 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9060 variable definition inside #if's controlling its use.
9062 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9064 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9066 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9068 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9071 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9073 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9074 * configure: Regenerated.
9076 * Makerules: Revert last change.
9077 * elf/Makefile: Likewise.
9079 2011-06-09 Roland McGrath <roland@hack.frob.com>
9081 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9082 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9083 (reloc-link): Likewise.
9085 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9087 * elf/Makefile: Add rules to build pldd.
9088 * elf/pldd.c: New file.
9089 * elf/pldd-xx.c: New file.
9091 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9093 * version.h: Update for 2.15 development version.
9095 2011-06-07 David S. Miller <davem@davemloft.net>
9097 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9100 elf_machine_lazy_rel): Likewise.
9101 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9103 elf_machine_lazy_rel): Likewise.
9104 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9105 dl_hwcap via passed in argument.
9106 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9109 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9111 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9113 2011-06-06 Roland McGrath <roland@hack.frob.com>
9116 * manual/fdl-1.1.texi: New file, verbatim from:
9117 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9118 * manual/lgpl-2.1.texi: New file, verbatim from:
9119 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9120 * manual/Makefile (licenses): New variable, list those new file names.
9122 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9124 * manual/fdl.texi: File removed.
9125 * manual/lesser.texi: File removed.
9126 * manual/libc.texinfo (Copying, Documentation License):
9127 Use new @include file names, put @appendix directive before @include.
9129 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9132 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9133 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9134 (mq_open): Add __NTH.
9136 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9139 Assume Intel Core i3/i5/i7 processor if AVX is available.
9141 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9146 2011-05-31 Andreas Schwab <schwab@redhat.com>
9148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9149 memory. Use alloca_account. Fix memory leak when retrying.
9151 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9153 * version.h (RELEASE): Bump for 2.14 release.
9154 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9156 * config.make.in (RANLIB): Remove entry.
9158 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9160 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9161 (libc.pot): Work around missing support for .ksh extension in xgettext.
9164 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9165 if both request failed.
9166 (send_dg): In case of server errors clear resplen or *resplen2.
9169 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9170 when there are multiple maps.
9171 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9172 (_dl_fini): Remove test here.
9174 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9176 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9179 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9180 bit from old_res_options.
9181 (gaih_inet): Likewise.
9184 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9187 * resolv/res_init.c (res_setoptions): Make the code more compact.
9190 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9194 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9196 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9199 * malloc/malloc.h: Declare malloc hook variables as volatile.
9201 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9205 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9206 raise in the comment.
9207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9209 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9211 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9214 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9215 grow the buffers more if it already has to be sufficient.
9216 (build_wcs_upper_buffer): Likewise.
9217 * posix/regexec.c (check_matching): Likewise.
9218 (clean_state_log_if_needed): Likewise.
9219 (extend_buffers): Don't enlarge buffers beyond size of the input
9221 Patches mostly by Emil Wojak <emil@wojak.eu>.
9222 * posix/bug-regex32.c: New file.
9223 * posix/Makefile (tests): Add bug-regex32.
9225 * locale/findlocale.c (_nl_find_locale): Return right away if
9226 _nl_explode_name failed.
9227 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9231 * debug/xtrace.sh: Unify messages.
9232 * malloc/memusage.sh: Likewise.
9235 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9236 time symbol from vDSO. Substitute with vsyscall if not available.
9237 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9241 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9242 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9243 Add sendmmsg and internal_sendmmsg.
9244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9245 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9248 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9249 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9252 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9255 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9256 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9262 * iconvdata/Makefile (tests): Add bug-iconv9.
9263 * iconvdata/bug-iconv9.c: New file.
9265 2011-05-27 Andreas Schwab <schwab@redhat.com>
9268 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9270 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9273 (struct user_regs_struct): Change intcs field back to cs.
9275 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9277 * po/ja.po: Update from translation team.
9279 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9282 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9283 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9285 2011-05-20 Andreas Schwab <schwab@redhat.com>
9287 * stdlib/longlong.h: Update from GCC.
9289 2011-05-23 Andreas Schwab <schwab@redhat.com>
9291 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9293 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9295 (__sysconf): Pass it down.
9297 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9300 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9303 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9304 add in in __libc_use_alloca calls. Adjust callers.
9305 (glob): Use malloc in some situations.
9307 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9308 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9311 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9313 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9314 and CLOCK_BOOTTIME_ALARM.
9317 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9320 * string/_strerror.c (__strerror_r): Print negative errors as signed
9324 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9325 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9326 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9328 * configure.in: Fix typo in redirection and correct removal of test
9332 * locale/setlocale.c (new_composite_name): Fix test to check for
9333 identical name of all categories.
9336 * libio/filedoalloc.c (local_isatty): New function.
9337 (_IO_file_doallocate): Use local_isatty.
9338 * stdio-common/perror.c (perror): In case a new stream is used
9339 forward the stream error.
9340 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9343 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9348 * include/alloca.h (extend_alloca_account): Define.
9351 * posix/regex.h: Fix comments with documentation of user-accessible
9352 fields after compilation and describe correct free'ing of pattern
9353 after re_compile_pattern.
9354 Patch by Reuben Thomas <rrt@sc3d.org>.
9356 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9358 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9359 and -mno-altivec to prevent the compiler from using Altivec and/or
9360 VSX instructions when the corresponding registers are not available.
9362 2011-05-19 Andreas Schwab <schwab@redhat.com>
9364 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9366 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9368 * libio/freopen.c (freopen): Use __dup2, not dup2.
9369 * libio/freopen64.c (freopen64): Likewise.
9371 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9374 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9375 * math/Makefile (tests): Add test-powl.
9376 (CFLAGS-test-powl.c): Define.
9377 * math/test-powl.c: New file.
9379 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9381 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9383 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9386 * iconvdata/gb18030.c: Update to GB18020-2005.
9388 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9390 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9391 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9392 Patch by Aharon Robbins <arnold@skeeve.com>.
9395 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9399 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9403 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9404 point to strings before performing equality test for error_one_per_line
9408 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9412 (struct user_fpregs_struct): Avoid __uint*_t types.
9415 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9416 symbol info. Use it instead of calling _dl_addr locally.
9417 (lock_and_info): New function.
9418 (tr_freehook): Call lock_and_info and pass symbol info as additional
9419 parameter to tr_where.
9420 (tr_mallochook): Likewise.
9421 (tr_reallochook): Likewise.
9422 (tr_memalignhook): Likewise.
9424 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9425 used and couldn't be at all thread-safe.
9427 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9429 * libio/freopen.c (freopen): Don't close old file descriptor
9430 before the new one is opened. Instead dup the new file descriptor
9431 to the old one after the new stream is created.
9432 * libio/freopen64.c (freopen64): Likewise.
9433 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9434 * libio/fileops.c (_IO_new_file_close_it): Handle new
9435 _IO_FLAGS2_NOCLOSE flag.
9436 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9437 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9438 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9439 _IO_FLAGS2_NOCLOSE flag.
9440 * include/unistd.h: Add hidden_proto for dup3.
9442 * io/dup3.c: Define hidden symbol.
9443 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9446 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9447 when an incomplete long option is used.
9448 * posix/tst-getopt_long1.c: New file.
9449 * posix/Makefile (tests): Add tst-getopt_long1.
9452 * scripts/config.guess: Update from autoconf-2.68.
9453 * scripts/config.sub: Likewise.
9456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9458 (has_cpuclock): ...this. New function.
9459 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9460 macro here based on has_cpuclock code.
9463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9464 First byte (not low byte) is now always NUL.
9465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9468 Use non-cancelable interfaces.
9471 * locale/iso-639.def: Add entry for Sorani.
9474 * include/stdlib.h: Move include protection to the right place.
9475 Define abort_msg_s. Declare __abort_msg with it.
9476 * stdlib/abort.c (__abort_msg): Adjust type.
9477 * assert/assert.c (__assert_fail_base): New function. Majority
9478 of code from __assert_fail. Allocate memory for __abort_msg with
9480 (__assert_fail): Now call __assert_fail_base.
9481 * assert/assert-perr.c: Remove bulk of implementation. Use
9483 * include/assert.hL Declare __assert_fail_base.
9484 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9486 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9488 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9492 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9493 until all modules are registered in the DTV.
9494 * elf/Makefile: Add rules to build and run tst-tls19.
9495 * elf/tst-tls19.c: New file.
9496 * elf/tst-tls19mod1.c: New file.
9497 * elf/tst-tls19mod2.c: New file.
9498 * elf/tst-tls19mod3.c: New file.
9499 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9502 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9506 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9507 two-byte sequence errors.
9508 * iconvdata/Makefile (tests): Add bug-iconv8.
9509 * iconvdata/bug-iconv8.c: New file.
9512 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9515 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9518 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9519 (dummy_getcfa): New function.
9520 (init): Get _Unwind_GetCFA address, use dummy if not found.
9521 (backtrace_helper): In recursion check, also check whether CFA changes.
9522 (__backtrace): Completely initialize arg.
9524 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9525 storing incomplete byte sequence in state object. Avoid testing for
9526 guaranteed too small input if we know there is enough data available.
9528 2011-05-11 Andreas Schwab <schwab@redhat.com>
9530 * Makeconfig (+link-pie): Indent.
9531 * Rules (binaries-pie): Define if $(have-fpie) and
9533 (binaries-shared): Also filter out $(binaries-pie).
9534 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9535 * nscd/Makefile (others-pie): Add nscd.
9536 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9537 ($(objpfx)nscd): Remove command override.
9538 * login/Makefile (others-pie): Add pt_chown.
9539 ($(objpfx)pt_chown): Remove command override.
9540 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9541 remove command overrides.
9543 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9545 * libio/tst_putwc.c: Fix error messages.
9548 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9549 currently writing and seek to current position when not.
9550 * libio/Makefile (tests): Add bug-fclose1.
9551 * libio/bug-fclose1.c: New file.
9553 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9556 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9557 don't set DF_1_NODELETE here.
9558 (do_lookup_x): When entering new entry test for copy relocation
9559 and if necessary set DF_1_NODELETE flag.
9560 * elf/tst-unique4.cc: New file.
9561 * elf/tst-unique4.h: New file.
9562 * elf/tst-unique4lib.cc: New file.
9563 * elf/Makefile: Add rules to build and run tst-unique4.
9564 Patch by Piotr Bury <pbury@goahead.com>.
9566 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9569 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9572 * misc/mntent_r.c (addmntent): Flush the stream after the output
9575 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9576 (is_trusted_path_normalize): Skip initial colon. Append slash
9577 to empty buffer. Duplicate is_trusted_path code but allow
9578 constructed patch to be prefix.
9579 (is_dst): Allow $ORIGIN followed by /.
9580 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9581 Correct testing of result of is_trusted_path_normalize
9582 (decompose_rpath): Fix warning.
9584 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9587 * grp/initgroups.c (internal_getgrouplist): When we found the service
9588 list through the initgroups entry in nsswitch.conf do not always
9589 continue on a successful lookup. Don't always use the
9590 __nss_group_database value if it is set.
9591 * nss/nsswitch.conf (initgroups): Change action for successful db
9592 lookup to continue for compatibility.
9594 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9597 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9599 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9601 * iconvdata/tst-tables.sh: Likewise.
9602 * iconvdata/cp770.c: New file.
9603 * iconvdata/cp771.c: New file.
9604 * iconvdata/cp772.c: New file.
9605 * iconvdata/cp773.c: New file.
9606 * iconvdata/cp774.c: New file.
9607 * iconvdata/testdata/CP770: New file.
9608 * iconvdata/testdata/CP770..UTF8: New file.
9609 * iconvdata/testdata/CP771: New file.
9610 * iconvdata/testdata/CP771..UTF8: New file.
9611 * iconvdata/testdata/CP772: New file.
9612 * iconvdata/testdata/CP772..UTF8: New file.
9613 * iconvdata/testdata/CP773: New file.
9614 * iconvdata/testdata/CP773..UTF8: New file.
9615 * iconvdata/testdata/CP774: New file.
9616 * iconvdata/testdata/CP774..UTF8: New file.
9618 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9620 * iconvdata/gen-8bit-gap.sh: Likewise.
9621 * iconvdata/gen-8bit.sh: Likewise.
9623 * locale/iso-639.def: Add ary entry.
9626 * locale/C-translit.h.in: Add U20A1 transliteration.
9629 * locale/iso-639.def: Add wae entry.
9630 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9633 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9637 * locale/C-translit.h.in: Add entry for U20B9.
9638 Patch by pravin.d.s@gmail.com.
9640 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9643 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9644 ENAMETOOLONG use generic getcwd.
9645 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9646 in rtld. Use *stat64.
9647 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9648 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9649 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9650 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9651 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9652 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9653 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9655 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9656 * dirent/rewinddir.c: Add libc_hidden_def.
9657 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9658 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9660 * include/dirent.h (__alloc_dir): Add flags parameter.
9661 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9662 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9664 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9665 from fdopendir if O_CLOEXEC is already set.
9667 2011-03-15 Alan Modra <amodra@gmail.com>
9669 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9670 l_tls_firstbyte_offset non-zero. Save padding offset in
9671 l_tls_firstbyte_offset for later use.
9672 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9673 freeing static tls block.
9675 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9677 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9678 where #ifdef was intended. The intent is to prevent ARG_MAX from
9679 being defined by the kernel headers.
9681 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9684 * resolv/resolv.h: Define RES_NOTLDQUERY.
9685 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9686 no-tld-query and set RES_NOTLDQUERY.
9687 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9688 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9689 modern BIND to search name as TLD unless forbidden.
9691 2011-05-07 Petr Baudis <pasky@suse.cz>
9692 Ulrich Drepper <drepper@gmail.com>
9695 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9696 (is_trusted_path): ...to here.
9697 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9698 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9699 using is_trusted_path_normalize() in setuid scripts.
9701 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9704 __BEGIN/__END_DECLS.
9706 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9709 NSS_STATUS_NOTFOUND if no record was found.
9711 2011-05-05 Andreas Schwab <schwab@redhat.com>
9713 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9714 (headers-not-in-tirpc): Remove rpc/netdb.h
9715 * resolv/netdb.h: Revert last change.
9717 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9719 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9720 circular dependency between libgcc.a and libc.a.
9722 2011-05-05 Andreas Schwab <schwab@redhat.com>
9724 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9725 * nis/Makefile: Don't install rpcsvc/*.
9726 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9727 instead of <rpc/types.h>.
9728 (MAXHOSTNAMELEN): Define.
9730 2011-05-03 Andreas Schwab <schwab@redhat.com>
9732 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9734 2011-04-28 Maciej Babinski <mbabinski@google.com>
9737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9738 gethostbyname4_r when IPv6 results are possible.
9740 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9743 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9744 _PC_PIPE_BUF handling.
9746 2011-04-30 Bruno Haible <bruno@clisp.org>
9749 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9750 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9752 * inet/getnameinfo.c (getnameinfo): Likewise.
9754 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9756 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9757 to groups setting in database lookup.
9758 * nss/nsswitch.conf: Add initgroups entry.
9760 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9763 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9765 Patch by Eric Blake <eblake@redhat.com>.
9767 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9769 * sunrpc/Makefile (need-export-routines): Add svc_run.
9770 (routines): Remove svc_run.
9771 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9772 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9773 * sunrpc/svc_run.c (svc_run): Likewise.
9774 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9776 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9779 problem in reallocation in last patch.
9781 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9783 * sunrpc/Makefile: Move inclusion of Rules.
9785 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9787 * nss/nss_files/files-initgroups.c: New file.
9788 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9789 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9790 _nss_files_initgroups_dyn.
9792 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9794 * elf/elf.h (R_ARM_IRELATIVE): Define.
9796 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9798 * po/ru.po: Update from translation team.
9800 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9802 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9805 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9808 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9809 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9814 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9822 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9825 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9827 * stdlib/bug-getcontext.c: New file.
9828 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9830 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9832 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9833 instructions into .machine "z9-109".
9834 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9835 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9837 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9839 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9840 between environment variables and auxiliary vector.
9842 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9844 * Makefile: Add rules to build linkobj/libc.so.
9845 * include/libc-symbols.h: Define libc_hidden_nolink.
9846 * include/rpc/auth.h: Mark functions which are to be hidden.
9847 * include/rpc/auth_des.h: Likewise.
9848 * include/rpc/auth_unix.h: Likewise.
9849 * include/rpc/clnt.h: Likewise.
9850 * include/rpc/des_crypt.h: Likewise.
9851 * include/rpc/key_prot.h: Likewise.
9852 * include/rpc/pmap_clnt.h: Likewise.
9853 * include/rpc/pmap_prot.h: Likewise.
9854 * include/rpc/pmap_rmt.h: Likewise.
9855 * include/rpc/rpc_msg.h: Likewise.
9856 * include/rpc/svc.h: Likewise.
9857 * include/rpc/svc_auth.h: Likewise.
9858 * include/rpc/xdr.h: Likewise.
9859 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9860 * nss/Makefile: Likewise.
9861 * sunrpc/Makefile: Don't install headers. Build library with normal
9862 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9863 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9864 for the compat linking library. Remove use of INTDEF/INTUSE.
9865 * sunrpc/auth_none.c: Likewise.
9866 * sunrpc/auth_unix.c: Likewise.
9867 * sunrpc/authdes_prot.c: Likewise.
9868 * sunrpc/authuxprot.c: Likewise.
9869 * sunrpc/clnt_gen.c: Likewise.
9870 * sunrpc/clnt_perr.c: Likewise.
9871 * sunrpc/clnt_raw.c: Likewise.
9872 * sunrpc/clnt_simp.c: Likewise.
9873 * sunrpc/clnt_tcp.c: Likewise.
9874 * sunrpc/clnt_udp.c: Likewise.
9875 * sunrpc/clnt_unix.c: Likewise.
9876 * sunrpc/des_crypt.c: Likewise.
9877 * sunrpc/des_soft.c: Likewise.
9878 * sunrpc/get_myaddr.c: Likewise.
9879 * sunrpc/key_call.c: Likewise.
9880 * sunrpc/key_prot.c: Likewise.
9881 * sunrpc/netname.c: Likewise.
9882 * sunrpc/pm_getmaps.c: Likewise.
9883 * sunrpc/pm_getport.c: Likewise.
9884 * sunrpc/pmap_clnt.c: Likewise.
9885 * sunrpc/pmap_prot.c: Likewise.
9886 * sunrpc/pmap_prot2.c: Likewise.
9887 * sunrpc/pmap_rmt.c: Likewise.
9888 * sunrpc/publickey.c: Likewise.
9889 * sunrpc/rpc_cmsg.c: Likewise.
9890 * sunrpc/rpc_common.c: Likewise.
9891 * sunrpc/rpc_dtable.c: Likewise.
9892 * sunrpc/rpc_prot.c: Likewise.
9893 * sunrpc/rpc_thread.c: Likewise.
9894 * sunrpc/rtime.c: Likewise.
9895 * sunrpc/svc.c: Likewise.
9896 * sunrpc/svc_auth.c: Likewise.
9897 * sunrpc/svc_authux.c: Likewise.
9898 * sunrpc/svc_raw.c: Likewise.
9899 * sunrpc/svc_run.c: Likewise.
9900 * sunrpc/svc_simple.c: Likewise.
9901 * sunrpc/svc_tcp.c: Likewise.
9902 * sunrpc/svc_udp.c: Likewise.
9903 * sunrpc/svc_unix.c: Likewise.
9904 * sunrpc/svcauth_des.c: Likewise.
9905 * sunrpc/xcrypt.c: Likewise.
9906 * sunrpc/xdr.c: Likewise.
9907 * sunrpc/xdr_array.c: Likewise.
9908 * sunrpc/xdr_float.c: Likewise.
9909 * sunrpc/xdr_intXX_t.c: Likewise.
9910 * sunrpc/xdr_mem.c: Likewise.
9911 * sunrpc/xdr_rec.c: Likewise.
9912 * sunrpc/xdr_ref.c: Likewise.
9913 * sunrpc/xdr_sizeof.c: Likewise.
9914 * sunrpc/xdr_stdio.c: Likewise.
9916 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9919 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9920 * sysdeps/ia64/dl-tls.h: Likewise.
9921 * sysdeps/powerpc/dl-tls.h: Likewise.
9922 * sysdeps/s390/dl-tls.h: Likewise.
9923 * sysdeps/sh/dl-tls.h: Likewise.
9924 * sysdeps/sparc/dl-tls.h: Likewise.
9925 * sysdeps/x86_64/dl-tls.h: Likewise.
9926 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9928 2011-03-14 Andreas Schwab <schwab@redhat.com>
9930 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9931 rpath element also skip the following colon.
9932 (expand_dynamic_string_token): Add is_path parameter and pass
9933 down to DL_DST_REQUIRED and _dl_dst_substitute.
9934 (decompose_rpath): Call expand_dynamic_string_token with
9935 non-zero is_path. Ignore empty rpaths.
9936 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9939 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9944 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9947 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9948 Patch by Filipe David Manana <fdmanana@apache.org>.
9950 2011-04-07 Andreas Schwab <schwab@redhat.com>
9952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9953 Maintain aligned stack.
9954 (CHECK_RSP): Remove unused macro.
9956 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9958 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9961 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9963 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9965 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9967 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9970 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9971 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9972 * sysdeps/x86_64/memmove.c: New file.
9973 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9974 (memcpy): Renamed to ...
9975 (__new_memcpy): This.
9976 (memcpy): Provide GLIBC_2_14 memcpy.
9977 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9978 (memcpy): Provide GLIBC_2_2_5 memcpy.
9980 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9983 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9985 2011-03-30 Andreas Schwab <schwab@redhat.com>
9987 * misc/syncfs.c: New file.
9988 * misc/Makefile (routines): Add syncfs.
9989 * posix/unistd.h: Declare syncfs.
9990 * sysdeps/unix/syscalls.list: Add syncfs.
9992 2011-04-01 Andreas Schwab <schwab@redhat.com>
9994 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9997 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10001 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10004 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10007 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10014 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10015 sync_file_range.c with -fexceptions.
10016 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10017 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10018 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10019 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10020 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10021 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10023 sync_file_range as cancellation point
10024 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10025 now a wrapper around __call_sync_file_range with cancellation handling.
10026 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10027 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10028 function name to __call_sync_file_range.
10029 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10030 Add call_sync_file_range.
10032 2011-04-01 Andreas Schwab <schwab@redhat.com>
10034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10037 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10039 * iconv/iconv.h: Fix typo in comment.
10040 * io/fcntl.h: Likewise.
10041 * libio/stdio.h: Likewise.
10042 * posix/spawn.h: Likewise.
10043 * posix/unistd.h: Likewise.
10044 * stdlib/stdlib.h: Likewise.
10045 * time/time.h: Likewise.
10046 * wcsmbs/wchar.h: Likewise.
10048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10049 open_by_handle): Add.
10050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10051 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10052 Augment a few comments.
10053 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10055 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10058 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10061 * io/fcntl.h (AT_EMPTY_PATH): Define.
10063 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10065 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10066 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10067 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10069 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10070 * Versions.def: Add GLIBC_2.14.
10071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10074 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10078 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10080 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10083 * string/test-strncmp.c (do_page_test): New function.
10084 (check2): Likewise.
10085 (test_main): Call check2.
10086 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10088 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10092 Handle cache information in CPU leaf 4.
10093 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10095 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10098 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10099 character representation.
10100 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10102 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10104 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10105 END(__isnan) to END(__isnanf) to match function entry point/label
10106 EALIGN(__isnanf,...).
10108 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10110 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10112 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10115 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10116 copy from the symbol referenced in the relocation to initialize the
10118 Patch by Piotr Bury <pbury@goahead.com>.
10119 * elf/Makefile: Add rules to build and tst-unique3.
10120 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10121 * elf/tst-unique3.cc: New file.
10122 * elf/tst-unique3.h: New file.
10123 * elf/tst-unique3lib.cc: New file.
10124 * elf/tst-unique3lib2.cc: New file.
10126 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10128 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10130 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10131 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10134 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10136 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10137 to-be-loaded object along a path to loader is ld.so.
10139 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10140 Ulrich Drepper <drepper@gmail.com>
10142 * sysdeps/x86_64/memset.S: After aligning destination, code
10143 branches to different locations depending on the value of
10144 misalignment, when multiarch is enabled. Fix this.
10146 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10148 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10149 Set _x86_64_preferred_memory_instruction for AMD processsors.
10150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10151 Set bit_Prefer_SSE_for_memop for AMD processors.
10153 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10155 * libio/fmemopen.c (fmemopen): Optimize a bit.
10157 2011-03-03 Andreas Schwab <schwab@redhat.com>
10159 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10161 2011-03-03 Roland McGrath <roland@redhat.com>
10163 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10165 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10167 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10168 __bzero_ultra1 instead of __memset_ultra1.
10170 2011-02-23 Andreas Schwab <schwab@redhat.com>
10171 Ulrich Drepper <drepper@gmail.com>
10174 * include/link.h (struct link_map): Add l_orig_initfini.
10175 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10176 returning unsuccessfully.
10177 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10178 close of a file loaded at startup, restore the original l_initfini
10180 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10181 list, store the pointer.
10182 * elf/Makefile ($(objpfx)noload-mem): New rule.
10183 (noload-ENV): Define.
10184 (tests): Add $(objpfx)noload-mem.
10185 * elf/noload.c: Include <memcheck.h>.
10186 (main): Call mtrace. Close all opened handles.
10188 2011-02-17 Andreas Schwab <schwab@redhat.com>
10191 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10192 dependencies are missing.
10194 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10196 Fix __if_freereq crash: Unlike the generic version which uses free,
10198 * sysdeps/mach/hurd/ifreq.h: New file.
10200 2011-01-27 Petr Baudis <pasky@suse.cz>
10201 Ulrich Drepper <drepper@gmail.com>
10204 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10205 to extend_alloca().
10206 * stdio-common/bug23.c: New file.
10207 * stdio-common/Makefile (tests): Add bug23.
10209 2010-09-28 Andreas Schwab <schwab@redhat.com>
10210 Ulrich Drepper <drepper@gmail.com>
10213 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10214 before performing relro protection. At old place add assertion
10215 to make sure nothing changed.
10217 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10218 Glauber de Oliveira Costa <glommer@gmail.com>
10220 * elf/elf.h: Add new ARM TLS relocs.
10222 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10225 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10227 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10229 * sysdeps/wordsize-64/tst-writev.c: New file.
10231 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10233 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10234 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10235 insns in _dl_start to prevent a TOC reference before relocs are
10238 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10241 * Makeconfig: Remove RANLIB definition.
10242 * Makerules: Don't use RANLIB.
10243 * aclocal.m4: Remove ranlib test.
10244 * configure.in: No need to check for ranlib.
10245 * elf/rtld-Rules: Don't use RANLIB.
10247 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10249 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10251 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10252 inclusion protection macro.
10254 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10255 SIGRTMIN and SIGRTMAX and print information in that case only when
10256 SIGRTMIN is defined.
10258 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10260 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10261 arginfo fn returning -1.
10263 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10264 and thousands string is zero terminated.
10266 2011-02-03 Andreas Schwab <schwab@redhat.com>
10268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10269 sysdeps/unix/sysv/linux/bits/socket.h.
10271 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10273 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10274 (__CPU_COUNT): Remove old macros.
10275 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10276 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10277 (__CPU_ALLOC, __CPU_FREE): Add macros.
10278 (__sched_cpualloc, __sched_cpufree): Add declarations.
10280 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10282 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10283 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10284 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10285 (readdhstai): Return value of addhstaiX call.
10286 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10287 (addgrbyX): Return value returned by cache_addgr.
10288 (readdgrbyname): Return value returned by addgrbyX.
10289 (readdgrbygid): Likewise.
10290 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10291 (addpwbyX): Return value returned by cache_addpw.
10292 (readdpwbyname): Return value returned by addhstbyX.
10293 (readdpwbyuid): Likewise.
10294 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10295 (addservbyX): Return value returned by cache_addserv.
10296 (readdservbyname): Return value returned by addservbyX:
10297 (readdservbyport): Likewise.
10298 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10299 (addhstbyX): Return value returned by cache_addhst.
10300 (readdhstbyname): Return value returned by addhstbyX.
10301 (readdhstbyaddr): Likewise.
10302 (readdhstbynamev6): Likewise.
10303 (readdhstbyaddrv6): Likewise.
10304 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10305 (readdinitgroups): Return value returned by addinitgroupsX.
10306 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10307 (prune_cache): Keep track of timeout value of re-added entries.
10308 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10309 * nscd/nscd.h: Adjust prototypes of readd* functions.
10311 2011-02-04 Roland McGrath <roland@redhat.com>
10313 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10314 (nis_stats): Likewise.
10315 * nis/nis_modify.c (nis_modify): Likewise.
10316 * nis/nis_remove.c (nis_remove): Likewise.
10317 * nis/nis_add.c (nis_add): Likewise.
10319 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10321 * posix/fnmatch_loop.c: Add some consts.
10323 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10325 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10328 * config.make.in (config-cflags-novzeroupper): Define.
10329 * configure.in: Substitute libc_cv_cc_novzeroupper.
10330 * elf/Makefile (AVX-CFLAGS): Define.
10331 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10332 (CFLAGS-tst-auditmod4a.c): Likewise.
10333 (CFLAGS-tst-auditmod4b.c): Likewise.
10334 (CFLAGS-tst-auditmod6b.c): Likewise.
10335 (CFLAGS-tst-auditmod6c.c): Likewise.
10336 (CFLAGS-tst-auditmod7b.c): Likewise.
10337 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10339 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10341 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10342 function to the callback.
10343 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10345 2011-02-02 Andreas Schwab <schwab@redhat.com>
10347 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10350 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10353 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10355 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10357 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10360 * elf/Makefile: Add rules to build and run new test.
10361 * elf/tst-initorder.c: New file.
10362 * elf/tst-initorder.exp: New file.
10363 * elf/tst-initordera1.c: New file.
10364 * elf/tst-initordera2.c: New file.
10365 * elf/tst-initordera3.c: New file.
10366 * elf/tst-initordera4.c: New file.
10367 * elf/tst-initorderb1.c: New file.
10368 * elf/tst-initorderb2.c: New file.
10369 * elf/tst-order-a1.c: New file.
10370 * elf/tst-order-a2.c: New file.
10371 * elf/tst-order-a3.c: New file.
10372 * elf/tst-order-a4.c: New file.
10373 * elf/tst-order-b1.c: New file.
10374 * elf/tst-order-b2.c: New file.
10375 * elf/tst-order-main.c: New file.
10376 New test case by George Gensure <werkt0@gmail.com>.
10378 2010-10-01 Andreas Schwab <schwab@redhat.com>
10380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10381 decoding ACE if AI_CANONIDN.
10383 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10385 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10387 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10389 * version.h (RELEASE): Bump for 2.13 release.
10390 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10392 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10396 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10400 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10403 * posix/getconf.c: Update copyright year.
10404 * catgets/gencat.c: Likewise.
10405 * csu/version.c: Likewise.
10406 * debug/catchsegv.sh: Likewise.
10407 * debug/xtrace.sh: Likewise.
10408 * elf/ldconfig.c: Likewise.
10409 * elf/ldd.bash.in: Likewise.
10410 * elf/sprof.c (print_version): Likewise.
10411 * iconv/iconv_prog.c: Likewise.
10412 * iconv/iconvconfig.c: Likewise.
10413 * locale/programs/locale.c: Likewise.
10414 * locale/programs/localedef.c: Likewise.
10415 * malloc/memusage.sh: Likewise.
10416 * malloc/mtrace.pl: Likewise.
10417 * nscd/nscd.c (print_version): Likewise.
10418 * nss/getent.c: Likewise.
10420 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10421 PF_CAIF, and PF_ALG.
10422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10424 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10426 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10427 (modules-names): Use them.
10428 (ifunc-test-modules, ifunc-pie-tests): Define.
10429 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10430 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10431 (test-extras): Likewise.
10432 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10433 $(compile-command.c).
10434 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10435 (all-built-dso): Define.
10436 (check-textrel.out, check-execstack.out): Depend on it.
10438 * configure.in: Don't override --enable-multi-arch.
10440 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10443 * nscd/hstcache.c (tryagain): Define.
10444 (cache_addhst): Return tryagain not notfound for temporary errors.
10445 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10448 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10451 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10452 to make the syscall.
10453 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10456 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10457 and fall back to matching as normal character if the string ends before
10458 the matching ']' is found. This is what POSIX requires.
10459 * posix/testfnm.c: Adjust test result.
10460 * posix/globtest.sh: Adjust test result. Add new test.
10461 * posix/tst-fnmatch.input: Likewise.
10462 * posix/tst-fnmatch2.c: Add new test.
10464 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10466 * elf/Makefile (check-execstack): Revert last change. Depend on
10468 (check-execstack.h): New target.
10469 (generated): Add check-execstack.h.
10470 * elf/check-execstack.c: Include "check-execstack.h".
10471 (main): Revert last change.
10472 (handle_file): Return zero if GNU_STACK is absent and
10473 DEFAULT_STACK_PERMS doesn't include PF_X.
10475 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10477 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10478 in child fails because the descriptor is already closed.
10479 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10480 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10481 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10484 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10488 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10489 temporary buffer used to handle multi lookups locally.
10490 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10492 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10494 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10497 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10499 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10500 alignment for SSE2.
10502 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10505 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10506 characters. When rounding increased number of integer digits recompute
10508 * stdio-common/tst-grouping.c: New file.
10509 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10511 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10513 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10514 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10516 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10518 * bits/select.h: Likewise.
10520 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10522 * po/ja.po: Update from translation team.
10524 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10527 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10528 implementation just like for lxstat, fxstatat, et al.
10530 2010-12-27 Jim Meyering <meyering@redhat.com>
10533 * posix/regexec.c (build_trtable): Return failure indication upon
10534 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10536 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10539 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10540 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10542 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10545 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10548 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10549 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10551 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10553 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10554 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10555 script has SORT_BY_INIT_PRIORITY.
10556 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10557 NO_CTORS_DTORS_SECTIONS is defined.
10558 * elf/soinit.c: Likewise.
10559 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10560 NO_CTORS_DTORS_SECTIONS is defined.
10561 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10562 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10563 * sysdeps/sh/init-first.c: Likewise.
10564 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10566 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10568 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10569 always use the slow path.
10571 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10573 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10574 similar rule which adds the sysdep directories to the header search in
10575 order to pick up the correct platform stackinfo.h.
10576 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10577 perform test if it is, otherwise return successfully without testing.
10578 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10579 DEFAULT_STACK_PERMS define in stackinfo.h.
10580 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10581 defined in stackinfo.h.
10582 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10583 DEFAULT_STACK_PERMS defined in stackinfo.h.
10584 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10585 * sysdeps/ia64/stackinfo.h: Likewise.
10586 * sysdeps/s390/stackinfo.h: Likewise.
10587 * sysdeps/sh/stackinfo.h: Likewise.
10588 * sysdeps/sparc/stackinfo.h: Likewise.
10589 * sysdeps/x86_64/stackinfo.h: Likewise.
10590 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10591 PF_X for powerpc64. Retain PF_X for powerpc32.
10593 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10595 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10597 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10598 GETDENTS_64BIT_ALIGNED.
10600 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10602 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10604 2010-12-10 Andreas Schwab <schwab@redhat.com>
10606 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10609 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10610 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10612 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10613 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10615 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10618 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10621 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10623 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10625 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10627 * po/it.po: Update from translation team.
10629 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10634 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10636 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10638 2010-11-24 Andreas Schwab <schwab@redhat.com>
10640 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10642 (gaih_getanswer_slice): Likewise.
10644 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10648 2010-05-31 Petr Baudis <pasky@suse.cz>
10651 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10652 silently even in the chroot mode.
10654 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10657 last patch a bit. Pretty printing
10659 2010-05-31 Petr Baudis <pasky@suse.cz>
10662 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10663 initialization of skip_initgroups_dyn.
10665 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10667 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10670 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10672 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10674 2010-11-11 Andreas Schwab <schwab@redhat.com>
10676 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10677 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10678 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10679 ($(objpfx)tst-fnmatch-mem): New rule.
10680 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10681 * posix/tst-fnmatch.c (main): Call mtrace.
10683 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10686 Support Intel processor model 6 and model 0x2c.
10688 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10693 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10696 * string/test-strncasecmp.c (check_result): New function.
10697 (do_one_test): Use it.
10698 (check1): New function.
10699 (test_main): Use it.
10700 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10701 Support strcasecmp and strncasecmp.
10703 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10706 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10709 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10711 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10715 * sysdeps/x86_64/multiarch/bzero.S: New file.
10716 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10717 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10718 * sysdeps/x86_64/multiarch/memset.S: New file.
10719 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10721 Set bit_Prefer_SSE_for_memop for Intel processors.
10722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10724 (index_Prefer_SSE_for_memop): Define.
10725 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10727 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10729 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10730 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10732 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10735 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10736 (__x86_64_raw_data_cache_size_half): Likewise.
10737 (__x86_64_raw_shared_cache_size): Likewise.
10738 (__x86_64_raw_shared_cache_size_half): Likewise.
10740 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10741 (__x86_64_raw_data_cache_size_half): Likewise.
10742 (__x86_64_raw_shared_cache_size): Likewise.
10743 (__x86_64_raw_shared_cache_size_half): Likewise.
10744 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10745 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10746 and __x86_64_raw_shared_cache_size_half. Round
10747 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10748 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10749 to multiple of 256 bytes.
10751 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10755 of inacessible symlinks. Verify result of symlink before returning it.
10756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10757 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10759 2010-10-28 Erich Ritz <erichritz@gmail.com>
10761 * math/math.h (isinf): Fix typo in comment.
10763 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10765 * po/da.po: Update from translation team.
10767 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10769 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10770 is added to the list.
10772 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10773 Ulrich Drepper <drepper@gmail.com>
10775 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10776 the global list here. Move code to...
10777 (_dl_add_to_namespace_list): ...here. New function.
10778 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10779 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10780 * elf/dl-load.c (lose): Don't remove the element from the list.
10781 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10782 (_dl_map_object): Likewise.
10784 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10787 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10788 into all bytes of SSE register.
10789 Patch by Richard Li <richardpku@gmail.com>.
10791 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10794 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10797 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10799 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10800 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10801 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10802 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10807 2010-10-22 Andreas Schwab <schwab@redhat.com>
10809 * include/dlfcn.h (__RTLD_SECURE): Define.
10810 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10811 mode & __RTLD_SECURE instead.
10812 (open_path): Rename preloaded parameter to secure.
10813 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10814 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10815 * elf/dl-deps.c (openaux): Likewise.
10816 * elf/rtld.c (struct map_args): Remove is_preloaded.
10817 (map_doit): Don't use it.
10818 (dl_main): Likewise.
10819 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10820 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10822 2010-09-09 Andreas Schwab <schwab@redhat.com>
10824 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10825 (sysd-rules-targets): Remove duplicates.
10826 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10827 rtld-%.$o dependency.
10829 2010-10-18 Andreas Schwab <schwab@redhat.com>
10831 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10832 _dl_map_object do it.
10834 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10836 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10837 fast fma builtins, define the macros in the C99 standard.
10838 (FP_FAST_FMAF): Likewise.
10839 (FP_FAST_FMAL): Likewise.
10840 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10842 * bits/mathdef.h: Update copyright year.
10843 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10845 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10847 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10848 builtins, define the macros in the C99 standard.
10849 (FP_FAST_FMAF): Likewise.
10850 (FP_FAST_FMAL): Likewise.
10851 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10853 (FP_FAST_FMAF): Likewise.
10855 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10858 * math/libm-test.inc (fma_test): Some new testcases.
10859 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10861 y and infinite z. Do multiplication by C already in long double.
10862 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10864 y and infinite z. Do bitwise or of inexact bit into u.d.
10865 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10866 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10867 * sysdeps/i386/fpu/s_fma.S: Removed.
10868 * sysdeps/i386/fpu/s_fmal.S: Removed.
10870 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10873 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10875 computation is not scheduled after fetestexcept. Fix value
10876 of minimum denormal long double.
10878 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10881 * math/libm-test.inc (fma_test): Add some more tests.
10882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10885 2010-10-15 Andreas Schwab <schwab@redhat.com>
10887 * scripts/data/localplt-s390-linux-gnu.data: New file.
10888 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10890 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10893 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10894 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10896 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10898 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10900 if one of x and y is very large and the other is subnormal.
10901 * sysdeps/s390/fpu/s_fmaf.c: New file.
10902 * sysdeps/s390/fpu/s_fma.c: New file.
10903 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10904 * sysdeps/powerpc/fpu/s_fma.S: New file.
10905 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10906 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10907 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10909 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10912 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10915 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10916 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10917 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10918 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10919 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10922 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10925 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10926 * posix/bug-regex31.input: Add test case.
10928 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10930 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10931 * posix/bug-regex31.input: New file.
10934 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10935 (parse_sub_exp): Fix last change, use postorder.
10937 * posix/bug-regex31.c: New file.
10938 * posix/Makefile: Add rules to build and run bug-regex31.
10940 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10943 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10946 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10947 to have entries in sys_siglist.
10950 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10953 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10956 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10957 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10958 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10959 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10960 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10961 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10962 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10963 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10964 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10965 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10966 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10967 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10968 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10969 * math/ftestexcept.c (fetestexcept): Likewise.
10970 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10971 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10972 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10973 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10974 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10975 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10978 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10981 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10984 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10986 * string/bug-strstr1.c: New file.
10987 * string/Makefile: Add rules to build and run bug-strstr1.
10989 2010-10-05 Eric Blake <eblake@redhat.com>
10992 * string/str-two-way.h (two_way_long_needle): Always clear memory
10993 when skipping input due to the shift table.
10995 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10998 * malloc/mcheck.c: Handle large requests.
11001 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11002 for strncmp and strncasecmp.
11003 * string/stratcliff.c: Add tests for strcmp and strncmp.
11004 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11006 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11008 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11011 2010-09-30 Andreas Jaeger <aj@suse.de>
11013 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11014 (CGROUP_SUPER_MAGIC): Define.
11015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11016 Handle btrfs and cgroup file systems.
11017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11020 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11022 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11023 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11025 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11028 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11029 trying to locate the ELF header.
11031 2010-09-27 Andreas Schwab <schwab@redhat.com>
11034 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11035 Mask out sign-bit copies when constructing f_fsid.
11037 2010-09-24 Petr Baudis <pasky@suse.cz>
11039 * debug/stack_chk_fail_local.c: Add missing licence exception.
11040 * debug/warning-nop.c: Likewise.
11042 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11045 implementing getdents64 using getdents syscall, set d_type if
11046 __ASSUME_GETDENTS32_D_TYPE.
11048 2010-09-16 Andreas Schwab <schwab@redhat.com>
11050 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11051 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11053 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11056 * posix/unistd.h: Undo change of feature selection for ftruncate from
11059 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11061 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11064 2010-09-20 Andreas Schwab <schwab@redhat.com>
11066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11068 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11070 2010-09-14 Andreas Schwab <schwab@redhat.com>
11072 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11073 variables after CHECK_SP call.
11074 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11076 2010-09-13 Andreas Schwab <schwab@redhat.com>
11077 Ulrich Drepper <drepper@redhat.com>
11079 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11080 re-relocationg ld.so.
11081 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11082 _dl_init_paths call.
11083 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11086 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11088 * resolv/res_init.c (__res_vinit): Count the default server we added.
11090 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11091 Ulrich Drepper <drepper@redhat.com>
11094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11095 (____longjmp_chk): Use %ebx for saving value across system call.
11098 2010-09-06 Andreas Schwab <schwab@redhat.com>
11100 * manual/Makefile: Don't mix pattern rules with normal rules.
11102 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11104 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11106 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11107 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11108 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11109 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11113 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11116 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11117 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11119 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11121 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11122 * sysdeps/x86_64/addmul_1.S: Likewise.
11123 * sysdeps/x86_64/lshift.S: Likewise.
11124 * sysdeps/x86_64/mul_1.S: Likewise.
11125 * sysdeps/x86_64/rshift.S: Likewise.
11126 * sysdeps/x86_64/sub_n.S: Likewise.
11127 * sysdeps/x86_64/submul_1.S: Likewise.
11129 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11131 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11132 Define __sched_param instead of SCHED_* and sched_param when
11133 <bits/sched.h> is included with __need_schedparam defined.
11134 * bits/sched.h [__need_schedparam]
11135 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11136 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11137 (__defined_schedparam): Define to 1.
11138 (__sched_param): New structure, identical to sched_param.
11139 (__need_schedparam): Undefine.
11141 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11144 (epoll_create1): Declare.
11146 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11148 2010-08-31 Andreas Schwab <schwab@redhat.com>
11151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11152 shifting retval into place.
11154 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11156 * nis/rpcsvc/nis.h: Update copyright notice.
11157 * nis/rpcsvc/nis.x: Likewise.
11158 * nis/rpcsvc/nis_callback.h: Likewise.
11159 * nis/rpcsvc/nis_callback.x: Likewise.
11160 * nis/rpcsvc/nis_object.x: Likewise.
11161 * nis/rpcsvc/nis_tags.h: Likewise.
11162 * nis/rpcsvc/yp.h: Likewise.
11163 * nis/rpcsvc/yp.x: Likewise.
11164 * nis/rpcsvc/ypupd.h: Likewise.
11165 * nis/yp_xdr.c: Likewise.
11166 * nis/ypupdate_xdr.c: Likewise.
11168 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11169 mainly the body of pmap_getport. Add parameters to specify timeouts.
11170 (pmap_getport): Use __libc_rpc_getport.
11171 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11172 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11173 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11175 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11180 2010-08-27 Roland McGrath <roland@redhat.com>
11182 * sysdeps/i386/i686/multiarch/Makefile
11183 (CFLAGS-varshift.c): New variable.
11185 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11187 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11188 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11192 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11194 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11196 * sysdeps/x86_64/strlen.S: Unroll the loop.
11197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11198 strlen-sse2 strlen-sse2-bsf.
11199 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11200 __strlen_no_bsf if bit_Slow_BSF is set.
11201 (__strlen_sse42): Removed.
11202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11203 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11205 2010-08-25 Roland McGrath <roland@redhat.com>
11207 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11208 * sysdeps/x86_64/multiarch/varshift.c: New file.
11209 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11210 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11211 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11214 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11217 strlen-sse2 strlen-sse2-bsf.
11218 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11219 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11220 (__strlen_sse2): Removed.
11221 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11224 bit_Slow_BSF for Atom.
11225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11226 (index_Slow_BSF): Define.
11227 (HAS_SLOW_BSF): Define.
11229 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11232 * resolv/res_init.c (__res_vinit): When no server address at all
11233 is given default to loopback.
11235 2010-08-24 Roland McGrath <roland@redhat.com>
11237 * configure.in: Remove config-name.h generation.
11238 * configure: Regenerated.
11239 * config-name.in: File removed.
11240 * scripts/config-uname.sh: New file.
11241 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11242 ($(objdir)config-name.h): New target.
11244 * sunrpc/rpc_parse.h: Avoid nested comment.
11246 2010-08-24 Richard Henderson <rth@redhat.com>
11247 Ulrich Drepper <drepper@redhat.com>
11248 H.J. Lu <hongjiu.lu@intel.com>
11250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11252 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11253 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11254 _mm_alignr_epi8 with _mm_loadu_si128.
11255 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11256 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11257 (__m128i_shift_right): Removed.
11258 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11259 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11260 * sysdeps/x86_64/multiarch/varshift.h: New file.
11261 * sysdeps/x86_64/multiarch/varshift.S: New file.
11263 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11265 * configure.in: Move assembler checks to before sysdep dir checking.
11267 2010-08-20 Petr Baudis <pasky@suse.cz>
11269 * LICENSES: Sync the sunrpc license.
11271 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11273 * sunrpc/auth_des.c: Update copyright notice once again.
11274 * sunrpc/auth_none.c: Likewise.
11275 * sunrpc/auth_unix.c: Likewise.
11276 * sunrpc/authdes_prot.c: Likewise.
11277 * sunrpc/authuxprot.c: Likewise.
11278 * sunrpc/bindrsvprt.c: Likewise.
11279 * sunrpc/clnt_gen.c: Likewise.
11280 * sunrpc/clnt_perr.c: Likewise.
11281 * sunrpc/clnt_raw.c: Likewise.
11282 * sunrpc/clnt_simp.c: Likewise.
11283 * sunrpc/clnt_tcp.c: Likewise.
11284 * sunrpc/clnt_udp.c: Likewise.
11285 * sunrpc/clnt_unix.c: Likewise.
11286 * sunrpc/des_crypt.c: Likewise.
11287 * sunrpc/des_soft.c: Likewise.
11288 * sunrpc/get_myaddr.c: Likewise.
11289 * sunrpc/getrpcport.c: Likewise.
11290 * sunrpc/key_call.c: Likewise.
11291 * sunrpc/key_prot.c: Likewise.
11292 * sunrpc/openchild.c: Likewise.
11293 * sunrpc/pm_getmaps.c: Likewise.
11294 * sunrpc/pm_getport.c: Likewise.
11295 * sunrpc/pmap_clnt.c: Likewise.
11296 * sunrpc/pmap_prot.c: Likewise.
11297 * sunrpc/pmap_prot2.c: Likewise.
11298 * sunrpc/pmap_rmt.c: Likewise.
11299 * sunrpc/rpc/auth.h: Likewise.
11300 * sunrpc/rpc/auth_unix.h: Likewise.
11301 * sunrpc/rpc/clnt.h: Likewise.
11302 * sunrpc/rpc/des_crypt.h: Likewise.
11303 * sunrpc/rpc/key_prot.h: Likewise.
11304 * sunrpc/rpc/netdb.h: Likewise.
11305 * sunrpc/rpc/pmap_clnt.h: Likewise.
11306 * sunrpc/rpc/pmap_prot.h: Likewise.
11307 * sunrpc/rpc/pmap_rmt.h: Likewise.
11308 * sunrpc/rpc/rpc.h: Likewise.
11309 * sunrpc/rpc/rpc_des.h: Likewise.
11310 * sunrpc/rpc/rpc_msg.h: Likewise.
11311 * sunrpc/rpc/svc.h: Likewise.
11312 * sunrpc/rpc/svc_auth.h: Likewise.
11313 * sunrpc/rpc/types.h: Likewise.
11314 * sunrpc/rpc/xdr.h: Likewise.
11315 * sunrpc/rpc_clntout.c: Likewise.
11316 * sunrpc/rpc_cmsg.c: Likewise.
11317 * sunrpc/rpc_common.c: Likewise.
11318 * sunrpc/rpc_cout.c: Likewise.
11319 * sunrpc/rpc_dtable.c: Likewise.
11320 * sunrpc/rpc_hout.c: Likewise.
11321 * sunrpc/rpc_main.c: Likewise.
11322 * sunrpc/rpc_parse.c: Likewise.
11323 * sunrpc/rpc_parse.h: Likewise.
11324 * sunrpc/rpc_prot.c: Likewise.
11325 * sunrpc/rpc_sample.c: Likewise.
11326 * sunrpc/rpc_scan.c: Likewise.
11327 * sunrpc/rpc_scan.h: Likewise.
11328 * sunrpc/rpc_svcout.c: Likewise.
11329 * sunrpc/rpc_tblout.c: Likewise.
11330 * sunrpc/rpc_util.c: Likewise.
11331 * sunrpc/rpc_util.h: Likewise.
11332 * sunrpc/rpcinfo.c: Likewise.
11333 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11334 * sunrpc/rpcsvc/key_prot.x: Likewise.
11335 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11336 * sunrpc/rpcsvc/mount.x: Likewise.
11337 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11338 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11339 * sunrpc/rpcsvc/rex.x: Likewise.
11340 * sunrpc/rpcsvc/rstat.x: Likewise.
11341 * sunrpc/rpcsvc/rusers.x: Likewise.
11342 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11343 * sunrpc/rpcsvc/spray.x: Likewise.
11344 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11345 * sunrpc/rtime.c: Likewise.
11346 * sunrpc/svc.c: Likewise.
11347 * sunrpc/svc_auth.c: Likewise.
11348 * sunrpc/svc_authux.c: Likewise.
11349 * sunrpc/svc_raw.c: Likewise.
11350 * sunrpc/svc_run.c: Likewise.
11351 * sunrpc/svc_simple.c: Likewise.
11352 * sunrpc/svc_tcp.c: Likewise.
11353 * sunrpc/svc_udp.c: Likewise.
11354 * sunrpc/svc_unix.c: Likewise.
11355 * sunrpc/svcauth_des.c: Likewise.
11356 * sunrpc/xcrypt.c: Likewise.
11357 * sunrpc/xdr.c: Likewise.
11358 * sunrpc/xdr_array.c: Likewise.
11359 * sunrpc/xdr_float.c: Likewise.
11360 * sunrpc/xdr_mem.c: Likewise.
11361 * sunrpc/xdr_rec.c: Likewise.
11362 * sunrpc/xdr_ref.c: Likewise.
11363 * sunrpc/xdr_sizeof.c: Likewise.
11364 * sunrpc/xdr_stdio.c: Likewise.
11366 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11369 2010-08-19 Andreas Schwab <schwab@redhat.com>
11371 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11373 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11375 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11378 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11380 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11381 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11382 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11384 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11385 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11386 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11387 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11388 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11390 2010-07-26 Anton Blanchard <anton@samba.org>
11392 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11393 * malloc/arena.c (heap_trim): Likewise.
11395 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11397 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11400 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11402 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11404 * sysdeps/i386/elf/Makefile: New file.
11406 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11408 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11409 from fanotify_init.
11410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11413 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11415 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11417 * sysdeps/multiarch/strcmp.S: Likewise.
11419 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11421 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11422 strncase_l-nonascii.
11423 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11424 Add strncase_l-ssse3.
11425 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11426 * sysdeps/x86_64/strcmp.S: Likewise.
11427 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11428 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11429 * sysdeps/x86_64/strncase.S: New file.
11430 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11431 * sysdeps/x86_64/strncase_l.S: New file.
11432 * string/Makefile (strop-tests): Add strncasecmp.
11433 * string/test-strncasecmp.c: New file.
11435 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11438 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11439 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11441 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11443 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11445 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11447 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11448 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11451 2010-05-01 Alan Modra <amodra@gmail.com>
11453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11454 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11455 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11456 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11457 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11458 tidying. Don't tail-call __sigjmp_save for static lib.
11459 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11461 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11462 (CALL_MCOUNT): Add eh info, and nop after bl.
11463 (TAIL_CALL_SYSCALL_ERROR): New macro.
11464 (PSEUDO_RET): Use it.
11465 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11466 Correct save location of integer regs and cr.
11467 (_dl_profile_resolve): Correct cr save location. Delete nops
11468 after bl when SHARED. Reduce cfi size a little by better
11469 placement of cfi directives.
11470 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11471 make a stack frame. Instead use parm save area as a temp.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11473 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11475 Don't make a stack frame for parent, use parm save area.
11476 Increase child stack frame to 112 bytes. Don't save unused reg,
11477 and adjust reg usage. Set up cfi on error recovery and
11478 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11480 (__makecontext): Add dummy nop after jump to exit.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11482 Use correct parm save area and cr save, reduce stack frame.
11483 Correct cfi for possible PSEUDO_RET frame setup.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11485 Branch to local label emitted by PSEUDO_RET rather than
11488 2010-08-12 Andreas Schwab <schwab@redhat.com>
11491 * locale/programs/locale.c (print_assignment): New function.
11492 (show_locale_vars): Use it.
11494 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11496 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11498 (struct statfs64): Likewise.
11499 (_STATFS_F_FLAGS): Define.
11500 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11502 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11503 (ST_VALID): Define locally.
11504 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11505 __statvfs_getflags, use the provided value.
11506 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11507 __ASSUME_STATFS_F_FLAGS.
11509 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11512 Add sys/fanotify.h.
11513 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11514 fanotify_mask for GLIBC_2.13.
11515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11516 fanotify_init and fanotify_mark.
11517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11518 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11520 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11522 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11523 prlimit64 for GLIBC_2.13.
11524 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11530 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11534 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11537 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11538 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11540 * nss/Makefile: Add rules to build and run tst-nss-test1.
11541 * shlib-versions: Add entry for libnss_test1.
11542 * nss/nss_test1.c: New file.
11543 * nss/tst-nss-test1.c: New file.
11545 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11546 (__nss_configure_lookup): Set appropriate entry in
11547 __nss_configure_lookup to true.
11548 * nss/nsswitch.h: Define enum with indeces of databases in
11549 databases and __nss_database_custom arrays. Declare
11550 __nss_database_custom.
11551 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11552 to avoid using nscd when custom rules are installed.
11553 * nss/getXXbyYY_r.c: Likewise.
11554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11556 * nss/nss_files/files-parse.c: Whitespace fixes.
11558 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11561 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11562 * posix/fnmatch_loop.c: Likewise.
11564 2010-07-17 Andi Kleen <ak@linux.intel.com>
11566 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11567 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11568 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11569 * Versions.def [GLIBC_2.13]: Add.
11571 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11574 Also fail if tpwd after pwuid call is NULL.
11576 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11578 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11579 when converting to ms.
11581 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11583 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11584 EOPNOTSUPP errors with ENOTTY.
11585 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11586 EOPNOTSUPP errors with ENOTTY.
11588 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11590 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11591 Add strcasecmp_l-ssse3.
11592 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11594 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11595 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11596 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11598 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11600 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11602 * string/Makefile (strop-tests): Add strcasecmp.
11603 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11604 strcasecmp_l-nonascii.
11605 (gen-as-const-headers): Add locale-defines.sym.
11606 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11607 * sysdeps/x86_64/strcasecmp.S: New file.
11608 * sysdeps/x86_64/strcasecmp_l.S: New file.
11609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11610 * sysdeps/x86_64/locale-defines.sym: New file.
11611 * string/test-strcasecmp.c: New file.
11613 * string/test-strcasestr.c: Test both ends of the range of characters.
11614 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11616 2010-07-29 Roland McGrath <roland@redhat.com>
11619 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11621 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11623 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11626 2010-07-27 Andreas Schwab <schwab@redhat.com>
11628 * manual/memory.texi (Malloc Tunable Parameters): Document
11631 2010-07-26 Roland McGrath <roland@redhat.com>
11634 * configure.in (-fgnu89-inline check): Set and substitute
11635 gnu89_inline, not libc_cv_gnu89_inline.
11636 * configure: Regenerated.
11637 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11639 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11641 * string/test-strnlen.c: New file.
11642 * string/Makefile (strop-tests): Add strnlen.
11643 * string/tester.c (test_strnlen): Add a few more test cases.
11644 * string/tst-strlen.c: Better error reporting.
11646 * sysdeps/x86_64/strnlen.S: New file.
11648 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11651 lower-latency instructions.
11653 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11655 * string/test-strcasestr.c: New file.
11656 * string/test-strstr.c: New file.
11657 * string/Makefile (strop-tests): Add strstr and strcasestr.
11658 * string/str-two-way.h: Don't undefine MAX.
11659 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11661 2010-07-21 Andreas Schwab <schwab@redhat.com>
11663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11664 strcasestr-nonascii.
11665 (CFLAGS-strcasestr-nonascii.c): Define.
11666 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11668 Remove unused attribute.
11670 2010-07-20 Roland McGrath <roland@redhat.com>
11672 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11673 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11674 ld.so.cache was broken. With it, there is no way to disable dsocaps
11675 like LD_HWCAP_MASK can disable hwcaps.
11677 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11679 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11681 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11683 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11684 call in strcasestr.
11685 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11686 __strcasestr_sse42_nonascii.
11687 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11688 strcasestr-nonascii.c.
11689 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11691 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11698 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11703 2010-07-06 Andreas Schwab <schwab@redhat.com>
11706 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11709 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11712 _PC_PIPE_BUF using F_GETPIPE_SZ.
11714 2010-07-05 Roland McGrath <roland@redhat.com>
11716 * manual/arith.texi (Rounding Functions): Fix rint description
11717 implicit in round description.
11719 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11721 * elf/Makefile: Fix linking for a few tests to make recent linker
11724 2010-06-30 Andreas Schwab <schwab@redhat.com>
11726 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11727 $(common-objpfx)libc_nonshared.a.
11729 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11731 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11732 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11733 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11734 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11735 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11736 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11738 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11753 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11754 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11755 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11756 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11757 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11758 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11759 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11760 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11761 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11762 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11763 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11764 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11780 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11782 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11783 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11784 * string/memmove.c (memmove): Renamed to ...
11785 (MEMMOVE): ...this. Default to memmove.
11786 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11787 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11790 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11791 mempcpy-ssse3-back memmove-ssse3-back.
11792 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11793 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11795 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11796 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11797 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11798 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11799 * sysdeps/x86_64/multiarch/memmove.c: New file.
11800 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11801 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11802 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11803 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11804 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11807 (index_Fast_Copy_Backward): Define.
11808 (HAS_ARCH_FEATURE): Define.
11809 (HAS_FAST_REP_STRING): Define.
11810 (HAS_FAST_COPY_BACKWARD): Define.
11812 2010-06-21 Andreas Schwab <schwab@redhat.com>
11814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11815 Restore proper fallback handling.
11817 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11820 * posix/group_member.c (__group_member): Correct checking loop.
11822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11823 OOM in getpwuid_r correctly. Return error number when the caller
11824 should return, otherwise -1.
11825 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11826 call returning > 0 value.
11827 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11829 2010-06-07 Andreas Schwab <schwab@redhat.com>
11831 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11832 libc_nonshared.a from targets in modules-names.
11834 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11836 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11839 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11841 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11842 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11846 2010-06-02 Andreas Schwab <schwab@redhat.com>
11848 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11850 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11852 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11861 2010-06-14 Roland McGrath <roland@redhat.com>
11863 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11865 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11867 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11868 __REDIRECT followed by __THROW.
11869 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11870 * posix/getopt.h (getopt): Likewise.
11872 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11874 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11875 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11876 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11878 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11879 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11881 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11885 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11889 Properly check family and model.
11891 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11895 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11897 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11899 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11901 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11904 2010-05-19 Andreas Schwab <schwab@redhat.com>
11906 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11909 2010-05-21 Andreas Schwab <schwab@redhat.com>
11911 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11912 and internal_recvmmsg.
11913 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11914 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11915 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11916 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11918 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11919 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11920 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11922 2010-05-20 Andreas Schwab <schwab@redhat.com>
11924 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11926 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11928 POWER7 optimizations.
11929 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11930 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11932 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11934 * version.h: Update for 2.13 development version.
11936 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11938 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11939 exceptions. Return 0.
11941 2010-05-07 Roland McGrath <roland@redhat.com>
11943 * elf/ldconfig.c (main): Add a const.
11945 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11947 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11948 (args_options): Add no-idn option.
11949 (ahosts_keys_int): Add idn_flags to ai_flags.
11950 (parse_option): Handle 'i' option to clear idn_flags.
11952 * malloc/malloc.c (_int_free): Possible race in the most recently
11953 added check. Only act on the data if no current modification
11956 See ChangeLog.17 for earlier changes.