1 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3 * bits/types.h (__snseconds_t): Removed.
4 * time/time.h (struct timespec): Replace __snseconds_t with
6 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10 (__SNSECONDS_T_TYPE): Likewise.
11 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12 (__SNSECONDS_T_TYPE): Likewise.
13 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14 (__SNSECONDS_T_TYPE): Likewise.
16 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18 * sysdeps/mach/hurd/bits/typesizes.h
19 (__SYSCALL_SLONG_TYPE): New macro.
20 (__SYSCALL_ULONG_TYPE): Likewise.
22 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24 * bits/types.h (__syscall_slong_t): New type.
25 (__syscall_ulong_t): Likewise.
27 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28 (__SYSCALL_ULONG_TYPE): Likewise.
29 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30 (__SYSCALL_SLONG_TYPE): Likewise.
31 (__SYSCALL_ULONG_TYPE): Likewise.
32 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33 (__SYSCALL_SLONG_TYPE): Likewise.
34 (__SYSCALL_ULONG_TYPE): Likewise.
35 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36 (__SYSCALL_SLONG_TYPE): Likewise.
37 (__SYSCALL_ULONG_TYPE): Likewise.
39 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42 Add sigaltstack-offsets.sym.
43 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44 <sigaltstack-offsets.h>.
45 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52 2012-05-15 Joseph Myers <joseph@codesourcery.com>
54 * elf/stackguard-macros.h: Remove file.
55 * sysdeps/generic/stackguard-macros.h: New file.
56 * sysdeps/i386/stackguard-macros.h: Likewise.
57 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63 * sysdeps/x86_64/stackguard-macros.h: Likewise.
64 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65 <elf/stackguard-macros.h>.
68 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69 __aligned__ in attribute.
70 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71 (gregset_t): Likewise.
73 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
75 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76 * sysdeps/x86_64/64/Implies-after: Here. New file.
77 * sysdeps/x86_64/x32/Implies-after: New file.
79 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82 and access return value for _dl_profile_fixup. Use R10_LP to
85 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
87 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
89 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
91 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
92 * sysdeps/x86_64/x32/sysdep.h: New file.
94 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
96 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
97 * sysdeps/x86_64/setjmp.S: Likewise.
99 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
103 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
105 remove unused global constant.
107 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
109 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
110 include of <not-cancel.h>.
112 2012-05-15 Roland McGrath <roland@hack.frob.com>
114 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
116 2012-05-15 Jeff Law <law@redhat.com>
117 Andreas Jaeger <aj@suse.de>
120 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
122 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
123 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
125 code changing __hst_map_handle.map.
127 2012-05-15 Roland McGrath <roland@hack.frob.com>
129 * configure.in (sysnames): Look for Implies-before and Implies-after
131 * configure: Regenerated.
133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
136 8-byte data alignment with LP_SIZE alignment.
138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
145 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
150 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
157 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
158 (stackinfo_sub_sp): Likewise.
160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
177 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
181 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
182 into R11_LP and load __x86_64_shared_cache_size_half into
185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
187 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
190 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
199 powerpc32/power7/fpu/s_logb.c via #include.
200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
201 powerpc32/power7/fpu/s_logbf.c via #include.
202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
203 powerpc32/power7/fpu/s_logbl.c via #include.
205 2012-05-15 Joseph Myers <joseph@codesourcery.com>
207 * README.libm: Remove file.
209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
211 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
212 count for x32. Use R*_LP and omit operand-size suffix.
214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
216 * shlib-versions: Move x86_64-.*-linux.* entries to ...
217 * sysdeps/x86_64/64/shlib-versions: Here. New file.
218 * sysdeps/x86_64/x32/shlib-versions: New file.
220 2012-05-14 Roland McGrath <roland@hack.frob.com>
222 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
223 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
224 Use _dl_fatal_printf instead.
226 2012-05-14 Joseph Myers <joseph@codesourcery.com>
228 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
229 set if not set by the user. Do not allow for being unset.
230 * sysdeps/unix/sysv/linux/configure: Regenerated.
232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
234 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
235 the `q' suffix from lea and replace .quad with ASM_ADDR.
237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
240 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
242 (PTR_DEMANGLE): Likewise.
244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
246 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
248 (ASM_ADDR): Likewise.
266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
268 * sysdeps/x86_64/x32/dl-machine.h: New file.
270 2012-05-14 Andreas Jaeger <aj@suse.de>
272 * manual/Makefile (subdir): Remove export of subdir.
273 (all): Remove target.
274 (.PHONY): Remove all from list.
275 (mkinstalldirs): Remove.
276 (.PHONY): Remove installdirs from list.
277 ($(inst_infodir)/libc.info): Use make-target-directory.
278 (installdirs): Remove.
280 (glibc-targets): Remove.
283 ($(objpfx)stubs ../po/manual.pot): Remove.
284 ($(objpfx)stamp%): Remove.
285 (make-target-directory): Remove.
286 (subdir_install): Remove.
294 * manual/.gitignore: Remove, it's not needed anymore.
295 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
297 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
299 (texis): Renamed to $(objpfx)texis.
300 (texis-path): New, contains path to generated files.
301 (chapters.%): Use texis-path for complete path, add extra argument
303 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
304 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
305 (summary,texi, stamp-summary): Use complete path of
306 files. Generate files in build dir.
307 (dir-add.texi): Build in build dir.
308 (libm-err.texi,stamp-libm-err): Likewise.
309 (version.texi, stamp-version): Likewise.
310 (.%c.texi): Likewise.
311 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
312 (mostlyclean): Remove target.
313 (realclean): Remove target.
314 (generated): Add new variable with contents from mostlyclean and
315 realclean, remove entries duplicated in common-mostlyclean, add
316 stamp-libm-err and stamp-version.
317 (generated-dirs): Add libc directory.
318 ($(inst_infodir)/libc.info): Install files from build dir.
320 * manual/install.texi (Configuring and compiling): Adjust since
321 the info files are not part of the tar ball anymore.
323 2012-05-14 Andreas Jaeger <aj@suse.de>
325 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
328 2012-05-14 Joseph Myers <joseph@codesourcery.com>
331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
332 to 2.2.0 where earlier.
333 * sysdeps/unix/sysv/linux/configure: Regenerated.
334 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
335 Remove conditional code.
336 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
337 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
338 Remove conditional code.
339 [!__NR_lchown]: Likewise.
340 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
341 [__NR_lchown]: Likewise.
342 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
343 comment referencing __ASSUME_LCHOWN_SYSCALL.
344 * sysdeps/unix/sysv/linux/i386/sigaction.c
345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
347 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
348 Remove conditional code.
349 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
350 (__protocol_available): Remove #if 0 code.
351 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
353 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
354 * sysdeps/unix/sysv/linux/kernel-features.h
355 (__ASSUME_GETCWD_SYSCALL): Don't define.
356 (__ASSUME_REALTIME_SIGNALS): Likewise.
357 (__ASSUME_PREAD_SYSCALL): Likewise.
358 (__ASSUME_PWRITE_SYSCALL): Likewise.
359 (__ASSUME_POLL_SYSCALL): Likewise.
360 (__ASSUME_LCHOWN_SYSCALL): Likewise.
361 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
363 (__ASSUME_SIOCGIFNAME): Don't define.
364 (__ASSUME_MSG_NOSIGNAL): Likewise.
365 (__ASSUME_SENDFILE): Define unconditionally.
366 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
367 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
369 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
370 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
371 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
372 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
373 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
374 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
375 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
400 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
401 Remove conditional code.
402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
403 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
404 Remove conditional code.
405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
406 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
407 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
408 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
409 Remove conditional code.
410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
411 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
412 Remove conditional code.
413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
414 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
415 Remove conditional code.
416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
417 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
418 Remove conditional code.
419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
420 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
421 Remove conditional code.
422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
423 * sysdeps/unix/sysv/linux/sh/pwrite64.c
424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
426 * sysdeps/unix/sysv/linux/sigaction.c
427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
429 * sysdeps/unix/sysv/linux/sigpending.c
430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
432 * sysdeps/unix/sysv/linux/sigprocmask.c
433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
435 * sysdeps/unix/sysv/linux/sigsuspend.c
436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
439 (__libc_missing_rt_sigs): Remove.
440 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
441 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
442 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
443 Remove conditional code.
444 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
445 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
448 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
452 2012-05-14 Andreas Jaeger <aj@suse.de>
454 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
455 it's not used in glibc.
456 (__coshm1): Likewise.
457 (__acosh1p): Likewise.
460 * manual/string.texi (Copying and Concatenation): Add missing
461 variable in concat example.
462 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
468 __builtin_clzl with __builtin_clzll.
470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
476 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
478 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
479 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
480 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
481 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
483 2012-05-14 Mike Frysinger <vapier@gentoo.org>
485 * NEWS: Update ia64 info.
487 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
489 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
492 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
494 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
495 * sysdeps/unix/syscalls.list (dup3): Likewise.
496 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
497 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
499 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
501 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
502 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
504 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
506 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
508 (TLS_IE): Use mov/add instead of movq/addq to load thread
510 (TLS_GD_PREFIX): New.
513 2012-05-11 David S. Miller <davem@davemloft.net>
515 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
516 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
517 (_FPU_SETCW): Likewise.
519 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
521 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
524 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
527 * iconvdata/gb18030.c: Update tables.
528 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
529 characters specially.
530 (BODY for TO_LOOP): Add encoding of missing ranges.
532 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
535 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
536 * sysdeps/mach/hurd/dup3.c: Likewise.
537 * sysdeps/mach/hurd/readlinkat.c: Likewise.
538 * sysdeps/powerpc/memmove.c:: Likewise.
540 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
543 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
545 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
547 * elf/elf.h (R_X86_64_RELATIVE64): New.
548 (R_X86_64_NUM): Updated.
549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
550 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
551 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
552 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
553 tst-quad1pie tst-quad2pie
554 (modules-names): Add tst-quadmod1 tst-quadmod2.
555 ($(objpfx)tst-quad1): New dependency.
556 ($(objpfx)tst-quad2): Likewise.
557 ($(objpfx)tst-quad1pie): Likewise.
558 ($(objpfx)tst-quad2pie): Likewise.
559 * sysdeps/x86_64/tst-quad1.c: New file.
560 * sysdeps/x86_64/tst-quad1pie.c: New file.
561 * sysdeps/x86_64/tst-quad2.c: Likewise.
562 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
563 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
564 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
565 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
566 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
570 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
571 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
572 * streams/stropts.h (t_scalar_t): Define type.
574 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
575 (_PATH_PRESERVE): Set to "/var/lib".
576 (_PATH_RWHODIR): Set to "/var/spool/rwho".
578 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
581 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
582 if __dir_mkfile succeeded.
584 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
585 checking for _hurd_dtablesize. Unlock it right after having
586 finished _hurd_dtable allocation.
588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
590 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
591 * sysdeps/mach/hurd/configure: Regenerated.
592 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
594 * sysdeps/gnu/configure.in: ... this new file.
595 * sysdeps/unix/sysv/linux/configure: Regenerated.
596 * sysdeps/gnu/configure: New generated file.
598 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
599 for Linux: use nsec instead of usec, as well as:
600 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
601 members of type struct timespec.
602 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
604 (struct stat64): Likewise.
605 (_STATBUF_ST_NSEC): New macro.
606 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
608 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
609 __strtoul_internal rather than strtoul.
611 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
613 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
618 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
619 which preserves existing values.
620 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
622 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
624 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
625 TIMEOUT values. Return EINVAL for NFDS values either negative or
626 greater than FD_SETSIZE.
628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
630 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
631 allocated, call __vm_protect to finish enabling the existing space, and
632 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
633 allocate the remainder.
635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
637 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
638 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
642 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
643 sysdeps/mach/hurd/readlink.c.
645 * posix/tst-sysconf.c (posix_options): Only use
646 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
647 _POSIX_SYNCHRONIZED_IO when they are defined
648 * sysdeps/mach/hurd/bits/posix_opt.h:
649 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
650 (_XOPEN_REALTIME): Undefine macro.
651 (_XOPEN_REALTIME_THREADS): Undefine macro.
652 (_XOPEN_SHM): Undefine macro.
653 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
657 (_POSIX_ASYNC_IO): Undefine macro.
658 (_POSIX_PRIORITIZED_IO): Undefine macro.
659 (_POSIX_SPIN_LOCKS): Define macro to -1.
661 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
662 SA_NODEFER, SA_RESETHAND.
663 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
664 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
669 * elf/Makefile (pldd-modules): Define unconditionally.
671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
673 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
677 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
678 Return ENOENT when name is empty.
679 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
683 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
685 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
689 Fix mlock in all cases except non-readable pages.
690 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
691 instead of VM_PROT_ALL as parameter to __vm_wire function.
693 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
694 (__mkdir): When path is `/', just fail with EEXIST.
695 * sysdeps/mach/hurd/mkdirat.c: Likewise.
697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
699 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
700 <sys/uio.h> (for writev).
701 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
702 and <sys/param.h> (for MIN).
704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
706 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
707 REQUESTED_TIME. Properly set the remaining time and return EINTR
710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
712 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
713 Depend on against $(link-rpcuserlibs).
715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
717 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
718 (__libc_stack_end): Do not use attribute_relro.
719 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
720 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
721 to libthread-provided value.
722 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
728 * bits/libc-lock.h (__libc_once_get): New macro.
729 * sysdeps/mach/bits/libc-lock.h: Likewise.
730 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
732 instead of using implementation details.
734 * libio/fileops.c: Unconditionally include <kernel-features.h>.
735 * libio/freopen.c: Likewise.
736 * libio/freopen64.c: Likewise.
737 * misc/syslog.c: Likewise.
738 * nscd/connections.c: Likewise.
739 * nscd/netgroupcache.c: Likewise.
740 * sysdeps/posix/getcwd.c: Likewise.
742 2012-05-10 Roland McGrath <roland@hack.frob.com>
744 * math/w_ilogbf.c: Add #include <limits.h>.
746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
748 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
749 path instead of returning without unlocking.
751 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
752 immediate-write ioctls.
753 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
757 * sysdeps/mach/hurd/i386/init-first.c (init): Use
758 __builtin_frame_address instead of making assumptions about the
759 location of the return address relative to DATA. Force early load of
761 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
762 __builtin_frame_address.
765 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
766 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
767 implement dup3 and do some further code clean-ups.
768 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
769 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
773 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
775 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
776 HURD_CRITICAL_END around holding _hurd_dtable_lock.
777 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
778 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
779 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
782 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
783 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
784 when handler == SIG_ERR, not when handler != SIG_ERR.
786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
788 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
789 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
792 accept4 for GNU Hurd.
793 * include/sys/socket.h (__libc_accept4): New prototype.
794 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
795 to implement __libc_accept4.
796 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
798 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
800 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
801 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
802 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
807 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
811 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
812 assertion on O_CLOEXEC flag.
813 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
814 * hurd/intern-fd.c: Likewise.
815 * hurd/port2fd.c: Likewise.
817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
820 * bits/in.h (IPV6_PKTINFO): Define new macro.
821 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
823 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
830 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
831 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
833 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
834 * math/libm-test.inc (logb_test) : Additional logb tests.
836 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
837 Andreas Jaeger <aj@suse.de>
839 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
840 * configure: Regenerated.
841 * config.h.in (LINK_OBSOLETE_RPC): New macro.
842 * config.make.in (link-obsolete-rpc): New substituted variable.
843 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
844 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
845 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
846 (shared-only-routines): Don't set it under [link-obsolete-rpc],
847 so that libc.a contains the symbols.
848 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
849 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
850 * sunrpc/auth_none.c: Likewise.
851 * sunrpc/auth_unix.c: Likewise.
852 * sunrpc/authdes_prot.c: Likewise.
853 * sunrpc/authuxprot.c: Likewise.
854 * sunrpc/clnt_gen.c: Likewise.
855 * sunrpc/clnt_perr.c: Likewise.
856 * sunrpc/clnt_raw.c: Likewise.
857 * sunrpc/clnt_simp.c: Likewise.
858 * sunrpc/clnt_tcp.c: Likewise.
859 * sunrpc/clnt_udp.c: Likewise.
860 * sunrpc/clnt_unix.c: Likewise.
861 * sunrpc/des_crypt.c: Likewise.
862 * sunrpc/des_soft.c: Likewise.
863 * sunrpc/get_myaddr.c: Likewise.
864 * sunrpc/key_call.c: Likewise.
865 * sunrpc/key_prot.c: Likewise.
866 * sunrpc/netname.c: Likewise.
867 * sunrpc/pm_getmaps.c: Likewise.
868 * sunrpc/pm_getport.c: Likewise.
869 * sunrpc/pmap_clnt.c: Likewise.
870 * sunrpc/pmap_prot.c: Likewise.
871 * sunrpc/pmap_prot2.c: Likewise.
872 * sunrpc/pmap_rmt.c: Likewise.
873 * sunrpc/publickey.c: Likewise.
874 * sunrpc/rpc_cmsg.c: Likewise.
875 * sunrpc/rpc_common.c: Likewise.
876 * sunrpc/rpc_dtable.c: Likewise.
877 * sunrpc/rpc_prot.c: Likewise.
878 * sunrpc/rpc_thread.c: Likewise.
879 * sunrpc/rtime.c: Likewise.
880 * sunrpc/svc.c: Likewise.
881 * sunrpc/svc_auth.c: Likewise.
882 * sunrpc/svc_raw.c: Likewise.
883 * sunrpc/svc_run.c: Likewise.
884 * sunrpc/svc_tcp.c: Likewise.
885 * sunrpc/svc_udp.c: Likewise.
886 * sunrpc/svc_unix.c: Likewise.
887 * sunrpc/svcauth_des.c: Likewise.
888 * sunrpc/xcrypt.c: Likewise.
889 * sunrpc/xdr.c: Likewise.
890 * sunrpc/xdr_array.c: Likewise.
891 * sunrpc/xdr_float.c: Likewise.
892 * sunrpc/xdr_intXX_t.c: Likewise.
893 * sunrpc/xdr_mem.c: Likewise.
894 * sunrpc/xdr_rec.c: Likewise.
895 * sunrpc/xdr_ref.c: Likewise.
896 * sunrpc/xdr_sizeof.c: Likewise.
897 * sunrpc/xdr_stdio.c: Likewise.
899 2012-05-10 Roland McGrath <roland@hack.frob.com>
901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
902 change. Update copyright years.
904 2012-05-10 Joseph Myers <joseph@codesourcery.com>
906 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
908 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
909 Joseph Myers <joseph@codesourcery.com>
910 Paul Pluzhnikov <ppluzhnikov@google.com>
913 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
915 [cross-compiling] (extra-libs): Likewise.
916 [cross-compiling] (extra-libs-others): Likewise.
917 [cross-compiling] (librpcsvc-routines): Likewise.
918 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
919 [cross-compiling] (omit-deps): Likewise.
920 (sunrpc-CPPFLAGS): New variable.
921 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
922 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
923 (cross-rpcgen-objs): New variable.
924 (extra-objs): Append $(cross-rpcgen-objs).
925 ($(cross-rpcgen-objs)): New rule.
926 ($(objpfx)cross-rpcgen): Likewise.
927 (rpcgen-cmd): Define to use $(built-program-file). Expand
929 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
930 ($(objpfx)x%.stmp): Likewise.
931 * sunrpc/proto.h [IS_IN_build] (_): Define.
932 [IS_IN_build] (_libc_intl_domainname): Likewise.
934 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
937 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
938 and R_X86_64_TPOFF64.
940 2012-05-10 Joseph Myers <joseph@codesourcery.com>
942 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
943 sysdeps/unix/sysv/syscalls.list.
946 * sysdeps/unix/sysv/syscalls.list: Remove file.
948 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
951 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
952 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
953 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
954 (__LC_IDENTIFICATION): Make these macros useful in #if
955 expressions, as required by C99.
957 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
959 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
960 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
963 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
965 * stdlib/longlong.h: Updated from GCC.
967 2012-05-09 Andreas Jaeger <aj@suse.de>
969 * nscd/nscd.c (run_modes): Make named enum, reorder so that
970 default is first entry.
971 (run_mode): Set type.
972 (main): Remove informal message about syslog.
976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
983 (nearbyint): Likewise.
984 (nearbyintf): Likewise.
986 2012-05-09 Andreas Jaeger <aj@suse.de>
987 Pedro Alves <palves@redhat.com>
989 * nscd/nscd.c (run_mode): Use enum.
990 (main): Cleanup coding style issue.
992 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
993 Andreas Jaeger <aj@suse.de>
995 * nscd/nscd.c (go_background): Replaced with...
996 (run_mode): ... this.
997 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
998 (options): Add -F --foreground.
999 (main): Implement it.
1000 (parse_opt): Parse it.
1002 2012-05-09 Andreas Jaeger <aj@suse.de>
1005 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1006 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1007 -Wconversion warning.
1008 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1011 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1013 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1015 (LC_ALL): Use macro-int-constant.
1016 (LC_COLLATE): Likewise.
1017 (LC_CTYPE): Likewise.
1018 (LC_MESSAGES): Likewise.
1019 (LC_MONETARY): Likewise.
1020 (LC_NUMERIC): Likewise.
1021 (LC_TIME): Likewise.
1022 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1023 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1025 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1027 [C99-based standards] (float_t): Expect type.
1028 [C99-based standards] (double_t): Expect type.
1029 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1031 [C99-based standards] (HUGE_VALL): Likewise.
1032 [C99-based standards] (INFINITY): Likewise.
1033 [C99-based standards] (NAN): Likewise.
1034 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1035 [C99-based standards] (FP_NAN): Likewise.
1036 [C99-based standards] (FP_NORMAL): Likewise.
1037 [C99-based standards] (FP_SUBNORMAL): Likewise.
1038 [C99-based standards] (FP_ZERO): Likewise.
1039 [C99-based standards] (FP_FAST_FMA): Use
1040 optional-macro-int-constant. Specify type. Require == 1.
1041 [C99-based standards] (FP_FAST_FMAF): Likewise.
1042 [C99-based standards] (FP_FAST_FMAL): Likewise.
1043 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1044 [C99-based standards] (FP_ILOGBNAN): Likewise.
1045 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1047 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1048 [C99-based standards] (math_errhandling): Specify type.
1049 [ISO99 || ISO11] (signgam): Do not allow.
1050 [non-C99-based standards] (copysignf): Do not allow.
1051 [non-C99-based standards] (exp2f): Likewise.
1052 [non-C99-based standards] (log2f): Likewise.
1053 [non-C99-based standards] (modff): Allow.
1054 [non-C99-based standards] (erff): Do not allow.
1055 [non-C99-based standards] (erfcf): Likewise.
1056 [non-C99-based standards] (gammaf): Likewise.
1057 [non-C99-based standards] (hypotf): Likewise.
1058 [non-C99-based standards] (j0f): Likewise.
1059 [non-C99-based standards] (j1f): Likewise.
1060 [non-C99-based standards] (jnf): Likewise.
1061 [non-C99-based standards] (lgammaf): Likewise.
1062 [non-C99-based standards] (tgammaf): Likewise.
1063 [non-C99-based standards] (y0f): Likewise.
1064 [non-C99-based standards] (y1f): Likewise.
1065 [non-C99-based standards] (ynf): Likewise.
1066 [non-C99-based standards] (isnanf): Likewise.
1067 [non-C99-based standards] (acoshf): Likewise.
1068 [non-C99-based standards] (asinhf): Likewise.
1069 [non-C99-based standards] (atanhf): Likewise.
1070 [non-C99-based standards] (cbrtf): Likewise.
1071 [non-C99-based standards] (expm1f): Likewise.
1072 [non-C99-based standards] (ilogbf): Likewise.
1073 [non-C99-based standards] (log1pf): Likewise.
1074 [non-C99-based standards] (logbf): Likewise.
1075 [non-C99-based standards] (nextafterf): Likewise.
1076 [non-C99-based standards] (remainderf): Likewise.
1077 [non-C99-based standards] (rintf): Likewise.
1078 [non-C99-based standards] (scalbf): Likewise.
1079 [non-C99-based standards] (copysignl): Likewise.
1080 [non-C99-based standards] (exp2l): Likewise.
1081 [non-C99-based standards] (log2l): Likewise.
1082 [non-C99-based standards] (modfl): Allow.
1083 [non-C99-based standards] (erfl): Do not allow.
1084 [non-C99-based standards] (erfcl): Likewise.
1085 [non-C99-based standards] (gammal): Likewise.
1086 [non-C99-based standards] (hypotl): Likewise.
1087 [non-C99-based standards] (j0l): Likewise.
1088 [non-C99-based standards] (j1l): Likewise.
1089 [non-C99-based standards] (jnl): Likewise.
1090 [non-C99-based standards] (lgammal): Likewise.
1091 [non-C99-based standards] (tgammal): Likewise.
1092 [non-C99-based standards] (y0l): Likewise.
1093 [non-C99-based standards] (y1l): Likewise.
1094 [non-C99-based standards] (ynl): Likewise.
1095 [non-C99-based standards] (isnanl): Likewise.
1096 [non-C99-based standards] (acoshl): Likewise.
1097 [non-C99-based standards] (asinhl): Likewise.
1098 [non-C99-based standards] (atanhl): Likewise.
1099 [non-C99-based standards] (cbrtl): Likewise.
1100 [non-C99-based standards] (expm1l): Likewise.
1101 [non-C99-based standards] (ilogbl): Likewise.
1102 [non-C99-based standards] (log1pl): Likewise.
1103 [non-C99-based standards] (logbl): Likewise.
1104 [non-C99-based standards] (nextafterl): Likewise.
1105 [non-C99-based standards] (remainderl): Likewise.
1106 [non-C99-based standards] (rintl): Likewise.
1107 [non-C99-based standards] (scalbl): Likewise.
1108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1109 [non-C99-based standards] (FP_*): Do not allow.
1110 [C99-based standards] (FP_*): Change to
1111 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1112 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1114 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1115 (SIG_ERR): Likewise.
1116 [X/Open-based standards] (SIG_HOLD): Likewise.
1117 (SIG_IGN): Likewise.
1118 (SIGABRT): Use macro-int-constant. Specify type. Require
1123 (SIGSEGV): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1143 [X/Open-based standards] (SIGTRAP): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1148 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1151 2012-05-08 Ian Wienand <ianw@vmware.com>
1154 * time/tzset.c (__tzset_parse_tz): Update default rules for
1155 daylight time changes in the Energy Policy Act of 2005.
1157 2012-05-09 Andreas Jaeger <aj@suse.de>
1160 * elf/ldconfig.c (parse_conf): Change string to make clear that
1161 ldconfig only issued a warning if ld.so.conf does not exist.
1163 2012-05-08 David S. Miller <davem@davemloft.net>
1165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1166 movxtod instead of popping the value on the stack.
1168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1170 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1172 * config.h.in: Add HAVE_ARM_PCS_VFP.
1174 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1177 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1178 checking but the checks are disabled for any reason.
1180 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1182 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1183 and ELF64_R_TYPE with ELFW(R_TYPE).
1185 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1187 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1190 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1191 (settimeofday): Likewise.
1193 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1195 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1196 a struct th_u2 inside the union, and move tu_block/tu_code into
1197 a new th_u3 union of tu_block/tu_code inside of that. Move
1198 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1199 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1200 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1201 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1202 (th_stuff): Change to th_u1.tu_stuff.
1204 (th_msg): Change to th_u1.th_u2.tu_data.
1206 2012-05-07 David S. Miller <davem@davemloft.net>
1208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1212 (SETUP_PIC_REG): Use it.
1213 (SETUP_PIC_REG_LEAF): Use it.
1215 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1219 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1221 (EXPL_FINITE): Likewise.
1223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1224 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1228 (EXPL_FINITE): Likewise.
1230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1231 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1233 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1234 test of -max_value argument for long double.
1235 * sysdeps/i386/fpu/libm-test-ulps: Update.
1236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1238 2012-05-06 David S. Miller <davem@davemloft.net>
1240 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1241 quad soft-float symbols whose references which are compiler
1243 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1245 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1251 (EXPL_FINITE): Likewise.
1255 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1256 Adjust comments for base varying.
1257 (__expl_finite): Change alias to EXPL_FINITE.
1258 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1260 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1261 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1263 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1266 (EXPL_FINITE): Likewise.
1270 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1271 Adjust comments for base varying.
1272 (__expl_finite): Change alias to EXPL_FINITE.
1273 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1278 * math/libm-test.inc (check_float_internal): Correct ulp
1279 calculation for subnormal expected results.
1281 2012-05-06 Andreas Jaeger <aj@suse.de>
1283 * Makeconfig (+math-flags): New, set to -frounding-math.
1284 (+cflags): Add +math-flags so that all of glibc gets compiled with
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1289 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1291 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1297 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1298 (__ieee754_expl): Allow for and saturate large arguments.
1299 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1300 (u_threshold): Likewise.
1301 (__exp): Call __ieee754_exp before checking for overflow and
1303 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1304 (u_threshold): Likewise.
1305 (__expf): Call __ieee754_expf before checking for overflow and
1307 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1308 (u_threshold): Likewise.
1309 (__expl): Call __ieee754_expl before checking for overflow and
1311 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1312 (__ieee754_expl): Allow for and saturate large arguments.
1313 * math/libm-test.inc (exp_test): Add another test. Do not allow
1314 missing overflow exception on overflow.
1315 (expm1_test): Do not allow missing overflow exception on overflow.
1317 * sysdeps/i386/fpu/e_expl.c: Move to ...
1318 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1319 rather than using inline asm.
1320 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1321 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1322 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1324 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1331 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1334 sysdeps/unix/common/syscalls.list.
1337 (ftruncate): Likewise.
1338 (getrusage): Likewise.
1339 (gettimeofday): Likewise.
1340 (setpgid): Likewise.
1341 (setregid): Likewise.
1342 (setreuid): Likewise.
1343 (sigaction): Likewise.
1344 (truncate): Likewise.
1345 (vhangup): Likewise.
1346 * sysdeps/unix/common/syscalls.list: Remove file.
1347 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1348 * sysdeps/unix/sysv/linux/Implies: Likewise.
1350 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1352 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1354 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1364 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1370 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1373 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1376 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1380 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1384 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1387 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1391 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1395 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/unix/common/bits/dirent.h: Remove file.
1398 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1400 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1401 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1402 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1403 * sysdeps/unix/bsd/isatty.c: Likewise.
1404 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1405 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1406 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1408 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1412 long double comparison inaccuracies.
1413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1416 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1418 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1421 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1425 nonzero digits before rounding a hex value.
1426 * stdlib/tst-strtod.c (tests): Add another test.
1428 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1430 * sysdeps/s390/fpu/libm-test-ulps: Update.
1432 2012-05-03 Andreas Jaeger <aj@suse.de>
1434 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1435 does not get optimized out.
1436 (malloc_opt_barrier): New.
1438 2012-05-03 Andreas Jaeger <aj@suse.de>
1439 Roland McGrath <roland@hack.frob.com>
1441 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1442 intermediate file deletion.
1443 (generated): Add .symlist files.
1445 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1448 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1449 Redirect under this condition.
1450 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1451 [__USE_GNU] (__dprintf_chk): Not under this condition.
1452 [__USE_GNU] (__vdprintf_chk): Likewise.
1453 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1454 under this condition.
1455 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1456 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1457 [__USE_XOPEN2K8] (vdprintf): Likewise.
1458 [__USE_GNU] (__dprintf_chk): Not under this condition.
1459 [__USE_GNU] (__vdprintf_chk): Likewise.
1460 [__USE_GNU] (dprintf): Likewise.
1461 [__USE_GNU] (vdprintf): Likewise.
1463 2012-05-03 Roland McGrath <roland@hack.frob.com>
1465 * elf/Makefile (common-generated): Set this instead of generated for
1466 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1467 $(all-built-dso)-derived lists.
1469 2012-05-03 Andreas Jaeger <aj@suse.de>
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1475 * scripts/gen-FAQ.pl: Likewise.
1476 * manual/install.texi (Installation): Point to online location of
1478 * Makefile (files-for-dist): Remove FAQ.
1481 2012-05-02 Allan McRae <allan@archlinux.org>
1483 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1484 (LDFLAGS-reldepmod5.so): Likewise.
1485 (LDFLAGS-reldep6mod1.so): Likewise.
1486 (LDFLAGS-reldep6mod4.so): Likewise.
1487 (LDFLAGS-reldep8mod3.so): Likewise.
1488 (LDFLAGS-unload4mod1.so): Likewise.
1489 (LDFLAGS-unload4mod2.so): Likewise.
1490 (LDFLAGS-tst-initorder): Likewise.
1491 (LDFLAGS-tst-initordera2.so): Likewise.
1492 (LDFLAGS-tst-initordera3.so): Likewise.
1493 (LDFLAGS-tst-initordera4.so): Likewise.
1494 (LDFLAGS-tst-initorderb2.so): Likewise.
1495 (LDFLAGS-noload): Likewise.
1496 (LDFLAGS-next): Likewise.
1497 (LDFLAGS-order2mod1.so): Likewise.
1498 (LDFLAGS-order2mod2.so): Likewise.
1499 (LDFLAGS-tst-initorder2): Likewise.
1500 (LDFLAGS-tst-initorder2a.so): Likewise.
1501 (LDFLAGS-tst-initorder2b.so): Likewise.
1502 (LDFLAGS-tst-initorder2c.so): Likewise.
1503 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1505 2012-05-02 David S. Miller <davem@davemloft.net>
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1509 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1512 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1514 2012-05-02 Andreas Jaeger <aj@suse.de>
1516 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1517 since we manipulate rounding mode.
1518 (CPPFLAGS-test-idouble.c): Likewise.
1519 (CPPFLAGS-test-ifloat.c): Likewise.
1520 (CFLAGS-test-ldouble.c): Likewise.
1521 (CFLAGS-test-double.c): Likewise.
1522 (CFLAGS-test-float.c): Likewise.
1523 (CFLAGS-test-misc.c): Likewise.
1524 (CFLAGS-test-test-fenv.c): Likewise.
1526 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1531 comparisons to determine direction to adjust input.
1533 2012-05-01 Roland McGrath <roland@hack.frob.com>
1535 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1536 output to the target.
1538 * scripts/localplt.awk: New file.
1539 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1540 (check-localplt-CFLAGS): Variable removed.
1541 ($(all-built-dso:=.jmprel)): New static pattern rule.
1542 (generated): Add those targets.
1543 (localplt-built-dso): New variable.
1544 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1546 * elf/check-localplt.c: File removed.
1548 * scripts/check-execstack.awk: New file.
1549 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1550 (check-execstack-CFLAGS): Variable removed.
1551 ($(objpfx)check-execstack.h): Target removed.
1552 ($(objpfx)execstack-default): New target.
1553 (generated): Add that instead of check-execstack.h.
1554 ($(all-built-dso:=.phdr)): New static pattern rule.
1555 (generated): Add those targets.
1556 * elf/check-execstack.c: File removed.
1558 * scripts/check-textrel.awk: New file.
1559 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1560 (check-textrel-CFLAGS): Variable removed.
1561 (all-built-dso): Use := to define.o
1562 ($(all-built-dso:=.dyn)): New static pattern rule.
1563 (generated): Add those targets.
1564 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1565 * config.make.in (READELF): New substituted variable.
1566 * elf/check-textrel.c: File removed.
1568 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1570 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1572 * conform/data/ctype.h-data [C99-based standards] (isblank):
1574 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1575 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1577 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1578 Specify type. Require positive value.
1581 [ISO || POSIX] (EILSEQ): Do not expect.
1582 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1583 Specify type. Require positive value.
1584 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1592 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1593 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1594 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1595 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1596 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1601 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1602 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1603 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1604 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1605 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1606 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1607 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1608 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1609 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1610 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1614 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1615 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1616 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1617 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1620 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1621 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1622 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1623 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1624 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1625 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1626 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1627 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1628 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1629 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1630 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1631 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1632 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1633 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1634 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1635 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1636 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1637 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1638 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1639 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1640 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1641 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1642 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1643 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1644 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1645 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1646 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1647 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1648 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1649 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1650 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1651 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1652 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1653 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1654 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1655 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1656 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1657 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1658 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1659 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1660 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1662 (FLT_ROUNDS): Expect as macro, not constant.
1663 (FLT_MANT_DIG): Use macro-int-constant.
1664 (DBL_MANT_DIG): Likewise.
1665 (LDBL_MANT_DIG): Likewise.
1666 (FLT_DIG): Likewise.
1667 (DBL_DIG): Likewise.
1668 (LDBL_DIG): Likewise.
1669 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1670 (DBL_MIN_EXP): Likewise.
1671 (LDBL_MIN_EXP): Likewise.
1672 (FLT_MAX_EXP): Use macro-int-constant.
1673 (DBL_MAX_EXP): Likewise.
1674 (LDBL_MAX_EXP): Likewise.
1675 (FLT_MAX_10_EXP): Likewise.
1676 (DBL_MAX_10_EXP): Likewise.
1677 (LDBL_MAX_10_EXP): Likewise.
1678 (FLT_MAX): Use macro-constant.
1679 (DBL_MAX): Likewise.
1680 (LDBL_MAX): Likewise.
1681 (FLT_EPSILON): Use macro-constant. Give upper bound.
1682 (DBL_EPSILON): Likewise.
1683 (LDBL_EPSILON): Likewise.
1684 (FLT_MIN): Likewise.
1685 (DBL_MIN): Likewise.
1686 (LDBL_MIN): Likewise.
1687 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1688 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1689 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1690 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1691 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1692 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1693 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1694 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1695 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1696 [ISO11] (FLT_TRUE_MIN): Likewise.
1697 [ISO11] (LDBL_TRUE_MIN): Likewise.
1698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1699 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1700 (SCHAR_MIN): Use macro-int-constant. Specify type.
1701 (SCHAR_MAX): Likewise.
1702 (UCHAR_MAX): Likewise.
1703 (CHAR_MIN): Likewise.
1704 (CHAR_MAX): Likewise.
1705 (MB_LEN_MAX): Use macro-int-constant.
1706 (SHRT_MIN): Use macro-int-constant. Specify type.
1707 (SHRT_MAX): Likewise.
1708 (USHRT_MAX): Likewise.
1709 (INT_MAX): Likewise.
1710 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1712 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1714 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1716 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1717 bound negative. Suffix upper bound with "L".
1718 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1720 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1722 [C99-based standards] (LLONG_MAX): Likewise.
1723 [C99-based standards] (ULLONG_MAX): Likewise.
1724 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1726 [ISO11] (max_align_t): Require type.
1727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1729 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1730 from $CFLAGS, without defining away __attribute__ calls.
1731 (checknamespace): Use $CFLAGS_namespace.
1733 * conform/conformtest.pl (@keywords): Only include C99 keywords
1734 for standards based on C99 or C11.
1736 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1738 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1741 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1742 usability of symbols in #if.
1744 * conform/conformtest.pl: If macro or constant types start
1745 "promoted:", expect the symbol to be of the following type
1746 promoted by the integer promotions.
1748 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1749 in one place. Also handle "macro-constant".
1751 * conform/conformtest.pl: Only accept expected macro values with
1752 "==". Parse all "macro" lines in one place.
1753 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1755 * conform/conformtest.pl: Handle braced types on "constant" lines
1756 instead of handling "typed-constant".
1757 * conform/data/signal.h-data: Use "constant" instead of
1760 * conform/conformtest.pl: Handle "optional-" at start of lines in
1761 one place rather than duplicating several cases. Handle each
1762 format of "macro" line with initial "optional-".
1764 * conform/conformtest.pl: Only accept expected constant or
1765 optional-constant values with "==". Parse all "constant" lines in
1766 one place. Parse all "optional-constant" lines in one place.
1767 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1768 * conform/data/fmtmsg.h-data: Likewise.
1769 * conform/data/netinet/in.h-data: Likewise.
1770 * conform/data/tar.h-data: Likewise.
1771 * conform/data/limits.h-data: Use "==" form on "constant" and
1772 "optional-constant" lines.
1774 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1775 Use -std=c99 for XOPEN2K.
1776 (@knownproblems): Remove.
1777 (newtoken): Don't check %isknown.
1779 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1780 Do not expect macro.
1781 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1793 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1794 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1811 [XPG3] (acosh): Likewise.
1812 [XPG3] (asinh): Likewise.
1813 [XPG3] (atanh): Likewise.
1814 [XPG3] (cbrt): Likewise.
1815 [XPG3] (expm1): Likewise.
1816 [XPG3] (ilogb): Likewise.
1817 [XPG3] (log1p): Likewise.
1818 [XPG3] (logb): Likewise.
1819 [XPG3] (nextafter): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1822 [XPG3] (remainder): Likewise.
1823 [XPG3] (rint): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1831 [UNIX98 || XOPEN2K] (scalb): Expect.
1832 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1833 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1871 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1872 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1873 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1874 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1875 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1876 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1877 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1878 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1879 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1880 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1881 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1882 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1883 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1884 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1885 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1886 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1887 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1888 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1889 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1890 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1891 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1892 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1894 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1895 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1899 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1900 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1901 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1903 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1904 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1905 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1906 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1907 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1908 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1909 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1910 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1911 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1912 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1913 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1914 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1915 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1916 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1917 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1918 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1919 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1920 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1921 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1922 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1923 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1924 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1925 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1926 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1927 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1928 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1929 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1930 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1931 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1932 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1933 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1934 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1935 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1936 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1937 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1938 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1939 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1940 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1941 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1942 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1943 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1944 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1945 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1946 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1947 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1948 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1949 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1950 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1951 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1952 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1953 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1954 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1955 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1956 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1957 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1958 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1959 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1967 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1968 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1970 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1971 _XOPEN_SOURCE_EXTENDED for XPG4.
1973 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1975 * Makeconfig (localtime): Remove variable.
1976 (inst_localtime-file): Likewise.
1978 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1999 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2003 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2004 comparisons to determine direction to adjust input.
2005 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2006 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2007 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2013 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2014 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2016 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2018 * math/libm-test.inc (nexttoward_test): Add more tests.
2020 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2024 in version GLIBC_2.1, not GLIBC_2.0.
2025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2028 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2033 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2034 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2035 * math/libm-test.inc (acos_test): Add more tests.
2036 (asin_test): Likewise.
2037 * sysdeps/i386/fpu/libm-test-ulps: Update.
2038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2043 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2044 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2045 * math/libm-test.inc (acos_test_tonearest): New function.
2046 (acos_test_towardzero): Likewise.
2047 (acos_test_downward): Likewise.
2048 (acos_test_upward): Likewise.
2049 (asin_test_tonearest): Likewise.
2050 (asin_test_towardzero): Likewise.
2051 (asin_test_downward): Likewise.
2052 (asin_test_upward): Likewise.
2053 (main): Call the new functions.
2054 * sysdeps/i386/fpu/libm-test-ulps: Update.
2055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2059 * math/e_exp10.c: Include <float.h>.
2060 (__ieee754_exp10): Handle underflow here rather than multiplying
2061 large negative argument by M_LN10.
2062 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2064 * math/e_exp10l.c: Include <float.h>.
2065 (__ieee754_exp10l): Handle underflow here rather than multiplying
2066 large negative argument by M_LN10l.
2067 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2068 spurious overflow exception on underflow.
2070 2012-04-29 Marek Polacek <polacek@redhat.com>
2072 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2073 (__fortify_function): New macro.
2074 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2075 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2076 __extern_always_inline.
2077 * libio/bits/stdio2.h: Likewise.
2078 * libio/bits/stdio.h: Likewise.
2079 * string/string.h: Likewise.
2080 * string/bits/string3.h: Likewise.
2081 * include/stdio.h: Likewise.
2082 * stdlib/bits/stdlib.h: Likewise.
2083 * stdlib/stdlib.h: Likewise.
2084 * rt/bits/mqueue2.h: Likewise.
2085 * rt/mqueue.h: Likewise.
2086 * posix/bits/unistd.h: Likewise.
2087 * posix/unistd.h: Likewise.
2088 * io/bits/poll2.h: Likewise.
2089 * io/bits/fcntl2.h: Likewise.
2090 * io/fcntl.h: Likewise.
2091 * io/sys/poll.h: Likewise.
2092 * misc/bits/syslog.h: Likewise.
2093 * misc/bits/syslog-ldbl.h: Likewise.
2094 * misc/sys/syslog.h: Likewise.
2095 * socket/bits/socket2.h: Likewise.
2096 * socket/sys/socket.h: Likewise.
2097 * debug/tst-chk1.c: Likewise.
2098 * wcsmbs/bits/wchar2.h: Likewise.
2099 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2100 * wcsmbs/wchar.h: Likewise.
2102 2012-04-29 Andreas Jaeger <aj@suse.de>
2104 * Makerules (tests): Remove enable-check-abi protection.
2105 (check-abi-warn): Remove.
2106 (check-abi-%): Remove check-abi-warn usage.
2108 * configure.in: Remove check-abi configure option.
2109 * configure: Regenerated.
2110 * config.make.in (enable-check-abi): Remove.
2112 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2115 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2116 double functions to double *_finite functions.
2119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2120 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2122 * stdio-common/Makefile (tests): Add tst-sprintf3.
2123 * stdio-common/tst-sprintf3.c: New file.
2125 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2126 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2128 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2130 * conform/conformtest.pl: Remove duplicate typed-constant
2133 2012-04-28 David S. Miller <davem@davemloft.net>
2135 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2136 (check-abi-%): Remove AWK script prerequisite and explicit
2138 (check-abi): Rewrite to just diff the symlist with the abilist.
2139 (config-tls, config-abi-config): Delete, no longer used.
2140 (update-abi-%): Remove AWK script and explicit abilist directory.
2141 (update-abi): Rewrite to simply compare and conditionally copy the
2142 symlist and the sysdep abilist file. Remove update-abi-config
2144 * abilist/ld.abilist: Remove.
2145 * abilist/libBrokenLocale.abilist: Remove.
2146 * abilist/libanl.abilist: Remove.
2147 * abilist/libcrypt.abilist: Remove.
2148 * abilist/libdl.abilist: Remove.
2149 * abilist/librt.abilist: Remove.
2150 * abilist/libthread_db.abilist: Remove.
2151 * abilist/libutil.abilist: Remove.
2152 * scripts/extract-abilist.awk: Remove.
2153 * scripts/merge-abilist.awk: Remove.
2154 * sysdeps/generic/libcidn.abilist: New file.
2155 * sysdeps/generic/libnss_compat.abilist: New file.
2156 * sysdeps/generic/libnss_db.abilist: New file.
2157 * sysdeps/generic/libnss_dns.abilist: New file.
2158 * sysdeps/generic/libnss_files.abilist: New file.
2159 * sysdeps/generic/libnss_hesiod.abilist: New file.
2160 * sysdeps/generic/libnss_nis.abilist: New file.
2161 * sysdeps/generic/libnss_nisplus.abilist: New file.
2162 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2163 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2164 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2167 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2168 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2169 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2170 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2172 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2173 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2177 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2178 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2179 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2181 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2182 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2184 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2185 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2186 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2188 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2189 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2192 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2296 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2297 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2300 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2301 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2302 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2303 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2304 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2305 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2306 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2307 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2308 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2360 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2362 * conform/conformtest.pl: Fix typo in handling typed-constant from
2365 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2367 * README: Cut down references to pre-2.6 Linux kernels and
2368 Linuxthreads. Update lists of configurations in libc and ports
2369 and sort alphabetically. Say "or newer" with Linux kernel version
2372 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2374 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2377 * math/libm-test.inc (logb_test_downward): New test to expose
2378 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2381 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2384 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2386 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2387 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2389 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2391 * sysdeps/unix/i386/brk.S: Remove file.
2392 * sysdeps/unix/i386/dl-brk.S: Likewise.
2393 * sysdeps/unix/i386/pipe.S: Likewise.
2394 * sysdeps/unix/i386/sigreturn.S: Likewise.
2395 * sysdeps/unix/i386/syscall.S: Likewise.
2396 * sysdeps/unix/i386/vfork.S: Likewise.
2397 * sysdeps/unix/i386/wait.S: Likewise.
2399 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2400 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2402 * configure.in (arm*-none*): Do not allow without
2403 --enable-hacker-mode.
2404 (netbsd*): Remove case setting base_os.
2405 (386bsd*): Likewise.
2406 (freebsd*): Likewise.
2410 (ultrix*): Likewise.
2411 (newsos*): Likewise.
2421 (solaris[2-9]*): Likewise.
2423 * configure: Regenerated.
2425 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2429 overflow or cancellation in calculating denominator.
2430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2432 down expression to avoid unexpected rounding in newer GCCs.
2433 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2435 2012-04-26 David S. Miller <davem@davemloft.net>
2437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2438 long-double compat symbols.
2439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2453 2012-04-25 David S. Miller <davem@davemloft.net>
2455 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2456 HWCAP_* values only after the memory barriers have been defined.
2457 (atomic_full_barrier): Define.
2458 (atomic_read_barrier): Define.
2459 (atomic_write_barrier): Define.
2461 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2463 * shlib-versions: Add libgcc_s version information.
2464 * sysdeps/generic/libgcc_s.h: Remove.
2465 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2467 * sysdeps/gnu/unwind-resume.c: Likewise.
2468 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2470 2012-04-25 David S. Miller <davem@davemloft.net>
2472 * sysdeps/unix/sparc/brk.S: Delete.
2473 * sysdeps/unix/sparc/dl-brk.S: Delete.
2474 * sysdeps/unix/sparc/pipe.S: Delete.
2475 * sysdeps/unix/sparc/sysdep.S: Delete.
2476 * sysdeps/unix/sparc/sysdep.h: Delete.
2477 * sysdeps/unix/sparc/vfork.S: Delete.
2478 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2479 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2481 ret_ERRVAL, r0, r1, MOVE): Define.
2482 (JUMPTARGET): Remove.
2483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2484 sysdeps/unix/sparc/sysdep.h
2485 (ENTRY, END): Remove.
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2488 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2490 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2491 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2494 * timezone/README: Update upstream location and email address for
2496 * timezone/zdump.c: Update from tzcode 2012b.
2497 * timezone/zic.c: Likewise.
2499 * configure.in (libc_cv_as_needed): Remove test.
2500 * configure: Regenerated.
2501 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2502 conditional definition.
2503 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2504 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2505 * config.make.in (have-as-needed): Remove variable.
2507 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2508 Paul Pluzhnikov <ppluzhnikov@google.com>
2510 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2513 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2515 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2516 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2517 * sysdeps/sh/strlen.S: Likewise.
2519 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2521 * sysdeps/unix/fork.S: Remove file.
2522 * sysdeps/unix/i386/fork.S: Likewise.
2523 * sysdeps/unix/sparc/fork.S: Likewise.
2525 * sysdeps/unix/system.c: Remove file.
2526 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2528 * sysdeps/unix/getegid.S: Remove file.
2529 * sysdeps/unix/geteuid.S: Likewise.
2531 2012-04-24 Roland McGrath <roland@hack.frob.com>
2533 * scripts/check-localplt.awk: New file.
2534 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2536 * scripts/data/localplt-generic.data: Add a comment.
2538 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2539 NODE when __dir_mkfile failed.
2540 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2541 Reported by Ludovic Courtès <ludo@gnu.org>.
2543 2012-04-24 Andreas Jaeger <aj@suse.de>
2545 * Makerules (common-clean): Also remove gen-as-const-headers
2548 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2550 * Makerules (native-compile): Do not change working directory for
2551 build. Use $(OUTPUT_OPTION) in command.
2552 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2554 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2558 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2559 * math/libm-test.inc (floor_test): Add more tests.
2560 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2562 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2564 * sysdeps/unix/getdents.c: Remove file.
2565 * sysdeps/unix/sysv/getdents.c: Likewise.
2566 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2568 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2569 sysdeps/unix/mman/syscalls.list.
2571 (mprotect): Likewise.
2574 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2575 * sysdeps/unix/mman/syscalls.list: Remove.
2576 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2578 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2579 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2580 * configure: Regenerated.
2581 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2583 * config.make.in (libgcc_s_suffix): Remove variable.
2585 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2587 * sysdeps/unix/sysv/gethostname.c: Move to ...
2588 * sysdeps/posix/gethostname.c: ... here.
2590 * sysdeps/unix/execve.S: Remove file.
2592 * sysdeps/unix/_exit.S: Remove file.
2594 2012-04-23 Andreas Jaeger <aj@suse.de>
2597 * manual/Makefile: Remove make dist support, there's no
2598 need for a stand-alone documentation tar ball.
2599 (TEXI2DVI): Define always, it's not in Makeconfig.
2603 (glibc-doc-$(edition).tar): Removed
2607 (ETAGS): Remove, it's in Makeconfig.
2608 (move-if-change): Remove, it's in Makeconfig.
2610 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2613 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2614 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2615 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2616 (strtod_l, strtof_l, strtold_l): Remove __wur.
2617 It is not necessarily an error to ignore strtol's return value.
2618 One can reliably look at the stored endptr to decide whether
2619 the number had valid syntax.
2621 2012-04-21 Andreas Jaeger <aj@suse.de>
2624 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2626 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2628 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2629 * sysdeps/unix/sysv/Versions: Remove file.
2631 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2636 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2640 version from __vm86.
2642 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2644 * sysdeps/unix/common/lxstat.c: Remove file.
2645 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2647 * sysdeps/unix/sysv/Makefile: Remove file.
2649 * sysdeps/unix/sysv/direct.h: Remove file.
2651 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2652 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2653 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2654 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2655 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2656 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2657 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2659 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2661 * sysdeps/unix/xmknod.c: Remove file.
2662 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2664 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2666 * sysdeps/unix/sysv/i386/time.S: Remove file.
2668 * sysdeps/unix/fxstat.c: Remove file.
2669 * sysdeps/unix/xstat.c: Likewise.
2670 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2672 * sysdeps/unix/sysv/sigaction.c: Remove file.
2674 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2675 (sysdep_headers): Remove variable.
2676 [termio.h not in sysdep_headers] (generated): Likewise.
2677 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2678 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2679 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2680 * sysdeps/unix/sysv/tcflow.c: Likewise.
2681 * sysdeps/unix/sysv/tcflush.c: Likewise.
2682 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2683 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2684 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2685 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2686 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2688 * sysdeps/unix/siglist.c: Remove file.
2690 * sysdeps/unix/getppid.S: Remove file.
2692 * sysdeps/unix/mkdir.c: Remove file.
2693 * sysdeps/unix/rmdir.c: Likewise.
2695 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2697 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2699 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2700 errlist-compat value.
2702 2012-04-18 David S. Miller <davem@davemloft.net>
2704 * sysdeps/generic/memcopy.h (reg_char): Delete.
2705 * debug/strcat_chk.c: Use char, not reg_char.
2706 * debug/strcpy_chk.c: Likewise.
2707 * debug/strncat_chk.c: Likewise.
2708 * debug/strncpy_chk.c: Likewise.
2709 * string/memchr.c: Likewise.
2710 * string/memrchr.c: Likewise.
2711 * string/rawmemchr.c: Likewise.
2712 * string/strcat.c: Likewise.
2713 * string/strchr.c: Likewise.
2714 * string/strchrnul.c: Likewise.
2715 * string/strcmp.c: Likewise.
2716 * string/strcpy.c: Likewise.
2717 * string/strncat.c: Likewise.
2718 * string/strncmp.c: Likewise.
2719 * string/strncpy.c: Likewise.
2721 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2723 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2724 __builtin_memcopy is called when src and dest ranges are known to not
2727 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2729 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2730 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2731 fwd_align_merge macro call.
2732 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2733 bwd_align_merge macro call.
2734 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2739 bwd_align_merge macros.
2740 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2741 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2742 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2744 2012-04-18 David S. Miller <davem@davemloft.net>
2746 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2748 2012-04-18 Andreas Jaeger <aj@suse.de>
2751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2752 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2753 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2756 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2757 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2759 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2760 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2761 Adjust for changed ldbl-128 files.
2763 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2764 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2765 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2767 2012-04-17 David S. Miller <davem@davemloft.net>
2769 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2771 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2773 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2774 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2775 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2776 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2777 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2778 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2780 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2783 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2784 * math/libm-test.inc: Add ilogb errno and exception tests.
2785 * math/w_ilogb.c: New file: ilogb wrapper.
2786 * math/w_ilogbf.c: New file: ilogbf wrapper.
2787 * math/w_ilogbl.c: New file: ilogbl wrapper.
2788 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2789 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2790 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2791 exception being thrown with 0.0 as argument.
2792 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2793 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2794 exception being thrown with 0.0 as argument.
2795 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2796 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2797 exception being thrown with 0.0 as argument.
2798 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2799 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2800 exception being thrown with 0.0 as argument.
2801 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2802 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2804 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2805 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2806 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2807 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2808 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2809 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2811 2012-04-17 Petr Baudis <pasky@ucw.cz>
2813 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2816 2012-04-16 Marek Polacek <polacek@redhat.com>
2818 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2820 2012-04-16 Marek Polacek <polacek@redhat.com>
2822 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2823 operands of fdivp instruction.
2825 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2827 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2828 * elf/tst-auditmod3b.c: Likewise.
2829 * elf/tst-auditmod4b.c: Likewise.
2830 * elf/tst-auditmod5b.c: Likewise.
2831 * elf/tst-auditmod6b.c: Likewise.
2832 * elf/tst-auditmod6c.c: Likewise.
2833 * elf/tst-auditmod7b.c: Likewise.
2834 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2835 * sysdeps/x86_64/preconfigure.in: Likewise.
2836 * sysdeps/x86_64/preconfigure: Regenerated.
2838 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2843 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2846 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2848 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2851 * locale/iso-639.def: Fix gl language name. Spotted by
2854 2012-04-12 Roland McGrath <roland@hack.frob.com>
2857 * libio/libio.h (__io_write_fn): Update comment.
2859 2012-04-12 Petr Baudis <pasky@ucw.cz>
2862 * stdio.texi (Hook Functions): The user provided writer function
2863 is not allowed to return -1.
2865 2012-04-11 David S. Miller <davem@davemloft.net>
2867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2869 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2871 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2872 Add a leading slash to rtkaio.
2874 2012-04-11 Jim Meyering <meyering@redhat.com>
2877 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2878 It is not necessarily an error to ignore fwrite's return
2879 value. One can reliably use ferror to test for errors after
2882 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2884 * bits/types.h (__snseconds_t): New type.
2885 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2887 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2889 (__SNSECONDS_T_TYPE): Likewise.
2890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2891 (__SNSECONDS_T_TYPE): Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2893 (__SNSECONDS_T_TYPE): Likewise.
2895 2012-04-10 Andreas Jaeger <aj@suse.de>
2898 * manual/time.texi (Processor Time): Return type of times is
2899 elapsed real time since an arbitrary point in the past.
2900 (CPU Time): Move CLK_TCK from here...
2901 (Processor Time): ...to here. Correct description.
2902 * manual/conf.texi (Constants for Sysconf): Correct description of
2905 2012-04-10 David S. Miller <davem@davemloft.net>
2908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2909 where the is a gap between DT_REL(A) and DT_JMPREL.
2911 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2913 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2917 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2919 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2920 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2921 (dl_main): Handle --inhibit-cache.
2922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2924 * elf/dl-load.c (_dl_map_object): Use it.
2925 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2927 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2931 (__ieee754_powl): Saturate large exponents rather than testing for
2932 overflow of y*log2(x).
2933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2934 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2938 * math/s_ctan.c: Include <float.h>.
2939 (__ctan): Avoid internal overflow or cancellation in calculating
2941 * math/s_ctanf.c: Likewise.
2942 * math/s_ctanl.c: Likewise.
2943 * math/s_ctanh.c: Likewise.
2944 * math/s_ctanhf.c: Likewise.
2945 * math/s_ctanhl.c: Likewise.
2946 * math/libm-test.inc (ctan_test): Add more tests.
2947 (ctanh_test): Likewise.
2948 * sysdeps/i386/fpu/libm-test-ulps: Update.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951 2012-04-09 Andreas Jaeger <aj@suse.de>
2954 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2955 is an optional BSD extension.
2958 * manual/stdio.texi (Opening Streams): Document additional fopen
2961 2012-04-09 Roland McGrath <roland@hack.frob.com>
2963 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2964 %eax without telling the compiler.
2966 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2969 * manual/install.texi: Use sourceware.org.
2971 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2974 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2975 (__ieee754_pow): Generate overflow and underflow using huge*huge
2976 and tiny*tiny rather than just returning constant infinity or zero
2977 for large exponents.
2978 * math/libm-test.inc (pow_test): Require overflow exceptions for
2979 applicable cases of large exponents.
2982 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2983 (__ieee754_pow): Use iterative multiplication algorithm only for
2984 integer exponents with absolute value below 1024. Check for odd
2985 integer exponents when using algorithm for real exponents.
2986 * math/libm-test.inc (pow_test): Add more tests.
2987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2989 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2992 * math/libm-test.inc (exp_test): Do not allow overflow exception
2995 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2998 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2999 instead of __kernel_standard_f.
3001 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3003 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3004 * sysdeps/x86_64/memset_chk.S: Likewise.
3006 2012-04-08 Andreas Jaeger <aj@suse.de>
3009 * manual/startup.texi (Environment Access): Describe return value
3010 for putenv and setenv.
3013 * manual/filesys.texi (Directory Entries): Add description for
3017 * manual/filesys.texi (Directory Entries): Clarify that it's file
3018 system not operating system in the description of DT_UNKNOWN.
3021 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3023 2012-04-08 Stephen Compall <s11@member.fsf.org>
3026 * manual/llio.texi (Opening and Closing Files): Add cross
3027 reference to explain mode argument.
3029 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3031 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3032 * sysdeps/x86_64/memset_chk.S: Likewise.
3034 2012-04-07 David S. Miller <davem@davemloft.net>
3036 * elf/elf.h (R_SPARC_WDISP10): Define.
3037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3040 R_SPARC_SIZE64 and R_SPARC_H34.
3042 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3045 conditions and remove no longer applicable assertion.
3047 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3049 * bits/byteswap.h: Include <features.h>.
3050 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3051 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3053 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3055 * bits/byteswap.h (__bswap_16): Removed.
3056 Include <bits/byteswap-16.h> to get __bswap_16.
3057 * sysdeps/i386/bits/byteswap.h: Likewise.
3058 * sysdeps/s390/bits/byteswap.h: Likewise.
3059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3060 * bits/byteswap-16.h: New file.
3061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3062 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3063 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3064 * string/Makefile (headers): Add bits/byteswap-16.h.
3066 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3069 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3071 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3072 * nss/tst-nss-static.c: New.
3074 2012-04-06 Robert Millan <rmh@gnu.org>
3077 * manual/llio.texi (File Position Primitive): lseek
3078 refers to WHENCE when it really means OFFSET.
3080 2012-04-06 Andreas Jaeger <aj@suse.de>
3082 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3083 strncmp declarations.
3085 * abilist/libc.abilist: Add __poll and __ppoll.
3087 2012-04-05 David S. Miller <davem@davemloft.net>
3089 * scripts/check-local-headers.sh: Accept a host triplet in the
3090 path matched by the exclude regexp.
3092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3094 * sysdeps/powerpc/powerpc32/dl-machine.h
3095 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3096 * sysdeps/s390/s390-32/dl-machine.h
3097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3098 * sysdeps/sparc/sparc32/dl-machine.h
3099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3100 * sysdeps/sparc/sparc64/dl-machine.h
3101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3103 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3105 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3106 undefined symbol errors.
3108 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3111 2012-04-05 Michael Matz <matz@suse.de>
3114 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3116 2012-04-05 Andreas Jaeger <aj@suse.de>
3119 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3122 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3125 which ROUND is no valid rounding mode.
3127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3129 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3131 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3133 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3135 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3136 an exception using FPU order intentionally.
3138 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3140 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3141 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3142 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3143 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3145 2012-04-05 Simon Josefsson <simon@josefsson.org>
3148 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3149 EINVAL when BUFLEN is too smal.
3151 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3154 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3155 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3157 2012-04-03 Andreas Jaeger <aj@suse.de>
3160 * manual/setjmp.texi (System V contexts): Fix sentence.
3163 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3164 New macro for this case.
3165 [!__GNUC__] (__bswap_64): New inline function for this case.
3166 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3167 * bits/byteswap.h: Likewise.
3168 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3169 ull, guard with __GLIBC_HAVE_LONG_LONG.
3171 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3172 __GLIBC_HAVE_LONG_LONG.
3174 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3175 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3180 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3181 inptr and inend, rather than using last_ch.
3183 2012-04-02 David S. Miller <davem@davemloft.net>
3185 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3186 * stdio-common/printf-parse.h (read_int): Change return type to
3187 'int', return -1 on INT_MAX overflow.
3188 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3189 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3190 overflows INT_MAX. Check for overflow of in-format-string precision
3191 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3192 SIZE_MAX not INT_MAX for integer overflow test.
3193 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3194 skip the construct in the format string but do not record anything.
3195 * stdio-common/bug22.c: Adjust to test both width/prevision
3196 INT_MAX overflow as well as total length INT_MAX overflow. Check
3197 explicitly for proper errno values.
3199 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3201 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3203 * string/test-strcmp.c [! WIDE]: Likewise.
3204 * time/tst-mktime2.c: Likewise for INT_MAX.
3205 * string/test-string.h: #include <sys/param.h> for MIN.
3207 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3208 * sysdeps/i386/init-first.c (init): Likewise.
3209 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3210 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3211 * sysdeps/sh/init-first.c (init): Likewise.
3213 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3215 * po/ru.po: Update from translation team.
3216 * po/vi.po: Likewise.
3218 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3220 * resolv/nss_dns/dns-host.c: Merge copyright years.
3222 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3225 Optimize memcpy with prefetch if
3226 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3227 src, dst pointers have unequal 16 byte alignments.
3229 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3232 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3233 from a CNAME entry and return the minimum ttl for the query.
3234 (gaih_getanswer_slice): Likewise.
3236 2012-03-30 Jeff Law <law@redhat.com>
3238 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3240 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3241 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3243 * resolv/nss_dns/dns-host.c: Update copyright year.
3245 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3247 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3248 requests to save a system call. Fix check that all bytes are sent.
3250 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3251 comments for sendmmsg.
3253 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3256 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3257 with only 1 character between 0x0041 and 0x01b0.
3258 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3259 * wcsmbs/tst-mbsnrtowcs.c: New file.
3261 2012-03-29 David S. Miller <davem@davemloft.net>
3263 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3264 small copies by hand.
3266 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3269 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3270 _nss_compat_initgroups_dyn): Fall back to malloc/free
3271 for large group memberships.
3273 2012-03-28 David S. Miller <davem@davemloft.net>
3275 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3276 that branches into memcpy.
3277 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3280 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3283 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3285 * sysdeps/sparc/mempcpy.S: New file.
3287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3288 the IFUNC routine in the libc case.
3289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3291 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3292 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3293 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3294 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3295 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3296 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3297 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3298 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3300 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3301 loop to 256 bytes instead of 64 bytes and fix test signedness.
3303 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3304 * sysdeps/sparc/sparc32/Makefile: rather than here...
3305 * sysdeps/sparc/sparc64/Makefile: and here.
3307 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3309 * malloc/mallocbug.c: Avoid warnings about unused variables.
3311 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3314 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3315 in the right place. Discard and retry query if response is
3316 larger than input buffer size.
3318 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3323 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3324 x for large integer exponent.
3325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3326 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3327 sign of result as needed afterwards.
3328 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3329 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3330 result for underflowing pow the same as for overflow.
3331 (__kernel_standard_l): Handle powl overflow and underflow here
3332 rather than calling __kernel_standard.
3333 * math/libm-test.inc (pow_test): Add more tests.
3348 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3349 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3350 (__kernel_standard_l): New function.
3351 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3353 * math/w_acosl.c (__acosl): Likewise.
3354 * math/w_asinl.c (__asinl): Likewise.
3355 * math/w_atan2l.c (__atan2l): Likewise.
3356 * math/w_atanhl.c (__atanhl): Likewise.
3357 * math/w_coshl.c (__coshl): Likewise.
3358 * math/w_exp10l.c (__exp10l): Likewise.
3359 * math/w_exp2l.c (__exp2l): Likewise.
3360 * math/w_fmodl.c (__fmodl): Likewise.
3361 * math/w_hypotl.c (__hypotl): Likewise.
3362 * math/w_j0l.c (__j0l, __y0l): Likewise.
3363 * math/w_j1l.c (__j1l, __y1l): Likewise.
3364 * math/w_jnl.c (__jnl, __ynl): Likewise.
3365 * math/w_lgammal.c (__lgammal): Likewise.
3366 * math/w_log10l.c (__log10l): Likewise.
3367 * math/w_log2l.c (__log2l): Likewise.
3368 * math/w_logl.c (__logl): Likewise.
3369 * math/w_powl.c (__powl): Likewise.
3370 * math/w_remainderl.c (__remainderl): Likewise.
3371 * math/w_scalbl.c (sysv_scalbl): Likewise.
3372 * math/w_sinhl.c (__sinhl): Likewise.
3373 * math/w_sqrtl.c (__sqrtl): Likewise.
3374 * math/w_tgammal.c (__tgammal): Likewise.
3375 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3376 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3377 * math/libm-test.inc (acos_test): Add more tests.
3378 (acosh_test): Likewise.
3379 (asin_test): Likewise.
3380 (atanh_test): Likewise.
3381 (exp_test): Likewise.
3382 (exp10_test): Likewise.
3383 (exp2_test): Likewise.
3384 (expm1_test): Likewise.
3385 (lgamma_test): Likewise.
3386 (log_test): Likewise.
3387 (log10_test): Likewise.
3388 (log1p_test): Likewise.
3389 (log2_test): Likewise.
3390 (pow_test): Do not allow some spurious overflow exceptions.
3391 (sqrt_test): Add more tests.
3392 (tgamma_test): Likewise.
3393 (y0_test): Likewise.
3394 (y1_test): Likewise.
3395 (yn_test): Likewise.
3397 2012-03-27 Anton Blanchard <anton@samba.org>
3399 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3401 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3405 2012-03-27 David S. Miller <davem@davemloft.net>
3407 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3409 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3412 2012-03-27 Andreas Jaeger <aj@suse.de>
3414 * sysdeps/x86_64/elf/configure.in: Moved to ...
3415 * sysdeps/x86_64/configure.in: ... here.
3416 * sysdeps/x86_64/elf/start.S: Moved to ...
3417 * sysdeps/x86_64/start.S: ... here.
3418 * sysdeps/x86_64/elf/configure: Delete.
3420 * sysdeps/x86_64/configure.in: Merge contents from
3421 sysdeps/i386/configure.in (without i686 check).
3423 * sysdeps/i386/elf/Versions: Merge into ...
3424 * sysdeps/i386/Versions: ... this.
3425 * sysdeps/i386/elf/Versions: Delete file.
3426 * sysdeps/i386/elf/start.S: Moved to ...
3427 * sysdeps/i386/start.S: ...here.
3428 * sysdeps/i386/elf/configure.in: Merge into...
3429 * sysdeps/i386/configure.in: ...here.
3430 * sysdeps/i386/elf/configure.in: Delete file.
3431 * sysdeps/i386/elf/configure: Delete file.
3433 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3434 * debug/backtracesyms.c: ... here.
3435 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3436 * debug/backtracesymsfd.c: ... here.
3437 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3438 * sysdeps/generic/ifunc-sel.h: ... here.
3440 * sysdeps/unix/i386/start.c: Delete file.
3441 * sysdeps/unix/sparc/start.c: Delete file.
3442 * sysdeps/unix/start.c: Delete file.
3444 * sysdeps/sh/elf/configure.in: Moved to ...
3445 * sysdeps/sh/configure.in: ... here.
3446 * sysdeps/sh/elf/start.S: Moved to ...
3447 * sysdeps/sh/start.S: ... here.
3448 * sysdeps/sh/elf/configure: Delete file.
3450 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3451 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3452 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3453 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3454 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3455 * sysdeps/powerpc/powerpc64/start.S: here.
3456 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3457 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3458 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3459 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3460 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3462 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3463 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3464 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3465 * sysdeps/powerpc/powerpc32/start.S: ... here.
3466 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3467 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3468 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3470 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3471 * sysdeps/powerpc/ifunc-sel.h: ... here.
3472 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3473 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3475 * sysdeps/sparc/elf/configure.in: Moved to ...
3476 * sysdeps/sparc/configure.in: ... here.
3477 * sysdeps/sparc/elf/configure: Delete file.
3478 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3479 * sysdeps/sparc/sparc32/start.S: ... here.
3480 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3481 * sysdeps/sparc/sparc64/start.S: ... here.
3482 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3483 * sysdeps/sparc/sparc32/Makefile: ... this.
3484 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3485 * sysdeps/sparc/sparc64/Makefile: ... this.
3487 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3488 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3489 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3490 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3491 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3492 * sysdeps/s390/s390-32/setjmp.S: ... here.
3493 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3494 * sysdeps/s390/s390-32/configure.in: ... here.
3495 * sysdeps/s390/s390-32/elf/configure: Delete file.
3496 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3497 * sysdeps/s390/s390-32/start.S: ... here.
3499 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3500 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3501 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3502 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3503 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3504 * sysdeps/s390/s390-64/setjmp.S: ... here.
3505 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3506 * sysdeps/s390/s390-64/configure.in: ... here
3507 * sysdeps/s390/s390-64/elf/configure: Delete file.
3508 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3509 * sysdeps/s390/s390-64/start.S: ... here.
3510 * sysdeps/s390/s390-64/elf/configure: Delete.
3512 * configure.in: Remove support for elf directories in sysdeps.
3514 * configure: Regenerated.
3515 * sysdeps/i386/configure: Regenerated.
3516 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3517 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3518 * sysdeps/s390/s390-32/configure: Regenerated.
3519 * sysdeps/s390/s390-64/configure: Regenerated.
3520 * sysdeps/sh/configure: Regenerated.
3521 * sysdeps/sparc/configure: Regenerated.
3522 * sysdeps/x86_64/configure: Regenerated.
3524 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3529 denormal result into account.
3531 2012-03-25 Roland McGrath <roland@hack.frob.com>
3533 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3534 Reported by Allan McRae <allan@archlinux.org>.
3536 2012-03-23 Jeff Law <law@redhat.com>
3538 * nss/getnssent.c (__nss_getent): Fix typo.
3540 2012-03-23 David S. Miller <davem@davemloft.net>
3542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3544 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3546 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3547 to pad to uint64_t for each field.
3548 (dl_tls_index): Replace unsigned long with uint64_t.
3550 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3551 Paul Pluzhnikov <ppluzhnikov@google.com>
3554 * grp/Makefile (otherlibs): Don't set it.
3555 * inet/Makefile (otherlibs): Likewise.
3556 * login/Makefile (otherlibs): Likewise.
3557 * nscd/Makefile (otherlibs): Likewise.
3558 * posix/Makefile (otherlibs): Likewise.
3559 * pwd/Makefile (otherlibs): Likewise.
3560 * rt/Makefile (otherlibs): Likewise.
3561 * sunrpc/Makefile (otherlibs): Likewise.
3562 * nss/Makefile (otherlibs): Likewise.
3563 Add libnss_files to routines and static-only-routines.
3564 ($(objpfx)getent): Remove rule.
3565 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3566 static-only-routines.
3568 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3571 * math/s_cexp.c: Include <float.h>.
3572 (__cexp): Handle exp result overflowing not necessarily
3573 overflowing both real and imaginary parts of result.
3574 * math/s_cexpf.c: Likewise.
3575 * math/s_cexpl.c: Likewise.
3576 * math/libm-test.inc (cexp_test): Add more tests.
3577 * sysdeps/i386/fpu/libm-test-ulps: Update.
3578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3582 * include/link.h (ELFW): New macro.
3583 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3584 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3586 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3588 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3591 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3593 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3595 (struct La_x32_retval): Likewise.
3597 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3599 * sysdeps/x86_64/preconfigure.in: New file.
3600 * sysdeps/x86_64/preconfigure: New generated file.
3602 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3605 * math/e_exp2l.c: Include <float.h>.
3606 (__ieee754_exp2l): Handle overflow and underflow cases
3607 separately. Only pass fractional part of argument to
3609 * math/libm-test.inc (exp2_test): Add more tests.
3611 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3612 negating x to take absolute value.
3613 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3618 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3619 computing low part if x was negated.
3620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3622 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3624 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3626 (pltexit): Cast int_retval to ptrdiff_t.
3627 * elf/tst-auditmod3b.c: Likewise.
3628 * elf/tst-auditmod4b.c: Likewise.
3629 * elf/tst-auditmod5b.c: Likewise.
3630 * elf/tst-auditmod6b.c: Likewise.
3631 * elf/tst-auditmod6c.c: Likewise.
3632 * elf/tst-auditmod7b.c: Likewise.
3634 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3635 and x32_gnu_pltexit.
3637 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3639 (La_x32_regs): New macro.
3640 (La_x32_retval): Likewise.
3641 (la_x32_gnu_pltenter): New function prototype.
3642 (la_x32_gnu_pltexit): Likewise.
3644 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3651 * configure.in (libc_cv_cc_nofma): Check for option to disable
3652 generation of FMA instructions.
3653 * configure: Regenerate.
3654 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3655 * sysdeps/ieee754/dbl-64/Makefile: New file.
3656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3657 Remove brandred-fma4.
3658 (CFLAGS-brandred-fma4.c): Remove.
3659 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3665 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3667 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3668 LLONG_MAX != LONG_MAX.
3669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3670 (_fitoa_word): Likewise.
3671 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3672 LLONG_MAX != LONG_MAX.
3673 * stdio-common/_itowa.h: Include <_itoa.h>.
3674 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3675 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3676 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3677 only if not defined.
3678 (_ITOA_WORD_TYPE): Likewise.
3679 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3680 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3682 2012-03-21 David S. Miller <davem@davemloft.net>
3684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3686 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3688 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3689 of x86_64 when setting libc_cv_slibdir, libdir and
3691 * sysdeps/unix/sysv/linux/configure: Regenerated.
3693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3695 * manual/lang.texi (Old Varargs): Remove section.
3696 (How Variadic): Update menu.
3697 (va_start): Do not mention varargs.h.
3699 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3700 Joseph Myers <joseph@codesourcery.com>
3702 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3704 * configure: Regenerated.
3706 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3708 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3709 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3712 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3715 * Makefile (files-for-dist): Remove NOTES.
3716 (NOTES): Remove rule.
3717 * README: Don't refer to NOTES.
3718 * manual/creature.texi: Don't include macros.texi.
3719 * manual/intro.texi (creature.texi): Remove comment referring to
3722 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3723 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3724 * configure: Regenerated.
3725 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3727 (libc_cv_as_i686): Likewise.
3728 (libc_cv_cc_avx): Likewise.
3729 (libc_cv_cc_sse2avx): Likewise.
3730 (libc_cv_cc_fma4): Likewise.
3731 (libc_cv_cc_novzeroupper): Likewise.
3732 * sysdeps/i386/configure: Regenerated.
3735 * sysdeps/i386/fpu/s_cexp.S: Remove.
3736 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3737 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3738 * math/libm-test.inc (cexp_test): Add more tests.
3739 * sysdeps/i386/fpu/libm-test-ulps: Update.
3740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742 2012-03-21 Allan McRae <allan@archlinux.org>
3744 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3746 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3749 * math/w_exp2.c: Do not include <float.h>.
3750 (o_threshold, u_threshold): Remove.
3751 (__exp2): Calculate result before checking finiteness and calling
3753 * math/w_exp2f.c: Likewise.
3754 * math/w_exp2l.c: Likewise.
3755 * math/libm-test.inc (exp2_test): Require overflow exception for
3759 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3760 range of signed 64-bit integers before using fistpll. Remove
3761 checks for whether integers fit in mantissa bits.
3762 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3763 the range of signed 32-bit integers before using fistpl. Remove
3764 checks for whether integers fit in mantissa bits.
3765 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3766 (__ieee754_powl): Test for y outside the range of signed 64-bit
3767 integers before using fistpll. Reduce 64-bit values to 63-bit
3769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3770 divide-by-zero is raised for zero to large negative powers.
3771 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3772 (__ieee754_powl): Test for y outside the range of signed 64-bit
3773 integers before using fistpll. Reduce 64-bit values to 63-bit
3775 * math/libm-test.inc (pow_test): Add more tests.
3777 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3779 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3780 <stdio-common/_itoa.h>.
3781 * debug/segfault.c: Likewise.
3782 * elf/dl-cache.c: Likewise.
3783 * elf/dl-minimal.c: Likewise.
3784 * elf/dl-misc.c: Likewise.
3785 * elf/dl-sysdep.c: Likewise.
3786 * elf/dl-version.c: Likewise.
3787 * elf/rtld.c: Likewise.
3788 * hurd/hurdsock.c: Likewise.
3789 * hurd/lookup-retry.c: Likewise.
3790 * malloc/malloc.c: Likewise.
3791 * malloc/mtrace.c: Likewise.
3792 * nscd/nscd_getgr_r.c: Likewise.
3793 * nscd/nscd_getpw_r.c: Likewise.
3794 * nscd/nscd_getserv_r.c: Likewise.
3795 * posix/getopt_init.c: Likewise.
3796 * posix/wordexp.c: Likewise.
3797 * stdio-common/_itoa.c: Likewise.
3798 * stdio-common/printf_fphex.c: Likewise.
3799 * stdio-common/vfprintf.c: Likewise.
3800 * string/_strerror.c: Likewise.
3801 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3802 * sysdeps/i386/i686/hp-timing.h: Likewise.
3803 * sysdeps/mach/_strerror.c: Likewise.
3804 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3805 * sysdeps/mach/hurd/sethostid.c: Likewise.
3806 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3807 * sysdeps/mach/xpg-strerror.c: Likewise.
3808 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3809 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3810 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3811 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3812 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3813 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3814 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3815 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3816 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3817 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3818 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3819 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3820 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3821 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3822 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3823 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3824 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3826 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3827 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3828 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3830 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3832 * stdio-common/_itoa.h: Moved to ...
3833 * sysdeps/generic/_itoa.h: Here.
3835 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3837 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3838 instead of "_itoa.h" and "_itowa.h".
3839 * stdio-common/vfprintf.: Likewise.
3841 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3843 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3845 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3846 (__signbit): Likwise.
3850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3852 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3855 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3857 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3858 OVERFLOW_EXCEPTION_OK.
3859 * math/libm-test.inc ("Philosophy"): Update comment about
3861 (OVERFLOW_EXCEPTION): Define.
3862 (OVERFLOW_EXCEPTION_OK): Likewise.
3863 (INVALID_EXCEPTION_OK): Renumber.
3864 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3865 (IGNORE_ZERO_INF_SIGN): Likewise.
3866 (test_exceptions): Handle FE_OVERFLOW.
3867 (exp10_test): Expect overflow exceptions.
3868 (exp2_test): Likewise.
3869 (expm1_test): Likewise.
3870 (nextafter_test): Likewise.
3871 (pow_test): Likewise.
3872 (scalbn_test): Likewise.
3873 (scalbln_test): Likewise.
3875 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3877 * sysdeps/x86_64/bits/atomic.h
3878 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3880 (atomic_exchange_acq): Likewise.
3881 (__arch_exchange_and_add_body): Likewise.
3882 (__arch_add_body): Likewise.
3883 (atomic_add_negative): Likewise.
3884 (atomic_add_zero): Likewise.
3886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3888 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3889 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3891 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3893 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3894 Check __x86_64__ instead of __WORDSIZE.
3896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3898 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3900 2012-03-19 David S. Miller <davem@davemloft.net>
3902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3904 * sysdeps/sparc/fpu/fenv_private.h: New file.
3905 * sysdeps/sparc/fpu/math_private.h: Use it.
3906 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3908 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3909 (libc_feholdexcept_setroundl): Remove.
3910 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3912 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3913 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3918 int64_t instead of long int.
3919 (INSERT_WORDS64): Likwise.
3921 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3923 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3924 _Unwind_GetCFA return to _Unwind_Ptr first.
3926 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3929 * math/s_clog.c: Include <float.h>.
3930 (__clog): Scale large or subnormal inputs.
3931 * math/s_clogf.c: Likewise.
3932 * math/s_clogl.c: Likewise.
3933 * math/s_clog10.c: Include <float.h>.
3934 (M_LOG10_2): Define.
3935 (__clog10): Scale large or subnormal inputs.
3936 * math/s_clog10f.c: Likewise.
3937 * math/s_clog10l.c: Likewise.
3938 * math/libm-test.inc (clog_test): Add more tests.
3939 (clog10_test): Likewise.
3940 * sysdeps/i386/fpu/libm-test-ulps: Update.
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3946 * math/libm-test.inc (atan2_test): Add another test.
3948 * Makerules (common-objdir-compile): Remove.
3949 * sysdeps/unix/Makefile (config-generated): Do not add
3950 $(unix-generated) to variable.
3951 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3952 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3954 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3956 [generic bits/local_lim.h] (before-compile): Do not append to
3958 [generic bits/local_lim.h] (common-generated): Likewise.
3959 [generic sys/param.h] (before-compile): Do not append to variable.
3960 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3961 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3962 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3963 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3965 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3966 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3967 [generic sys/param.h] ($(addprefix
3968 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3969 [generic sys/param.h] (common-generated): Do not append to
3971 [generic sys/param.h] (sysdep_headers): Likewise.
3972 [generic bits/errno.h] (before-compile): Do not append to
3974 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3976 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3977 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3978 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3979 [generic bits/errno.h] (common-generated): Do not append to
3981 [generic bits/ioctls.h] (before-compile): Do not append to
3983 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3985 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3986 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3987 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3990 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3991 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3992 [generic bits/ioctls.h] (common-generated): Do not append to
3994 [generic sys/syscall.h] (syscall.h): Remove variable.
3995 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3997 [generic sys/syscall.h] (before-compile): Do not append to
3999 [generic sys/syscall.h] (common-generated): Likewise.
4000 * sysdeps/unix/errnos-tmpl.c: Remove file.
4001 * sysdeps/unix/errnos.awk: Likewise.
4002 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4003 * sysdeps/unix/ioctls.awk: Likewise.
4004 * sysdeps/unix/mk-local_lim.c: Likewise.
4005 * sysdeps/unix/snarf-ioctls: Likewise.
4007 2012-03-19 Richard Henderson <rth@twiddle.net>
4009 * sysdeps/i386/fpu/fenv_private.h: New file.
4010 * sysdeps/i386/fpu/math_private.h: Use it.
4011 (math_opt_barrier, math_force_eval): Remove.
4012 (libc_feholdexcept_setround_53bit): Remove.
4013 (libc_feupdateenv_53bit): Remove.
4014 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4015 (math_opt_barrier, math_force_eval): Remove.
4016 (libc_feholdexcept): Remove.
4017 (libc_feholdexcept_setround): Remove.
4018 (libc_fetestexcept, libc_fesetenv): Remove.
4019 (libc_feupdateenv_test): Remove.
4020 (libc_feupdateenv, libc_feholdsetround): Remove.
4021 (libc_feresetround): Remove.
4023 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4024 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4026 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4027 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4028 (libc_feupdateenv_testl): New.
4029 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4030 (libc_feupdateenv_testf): New.
4031 (libc_feupdateenv): Use libc_feupdateenv_test.
4032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4035 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4036 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4037 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4038 (libc_feresetround_noex): New.
4039 (libc_feresetround_noexf): New.
4040 (libc_feresetround_noexl): New.
4041 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4042 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4043 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4049 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4050 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4051 SET_RESTORE_ROUND_NOEX.
4052 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4053 SET_RESTORE_ROUND_NOEXF.
4054 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4055 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4056 (libc_feholdsetroundf): New.
4057 (libc_feresetround, libc_feresetroundf): New.
4059 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4060 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4061 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4063 * sysdeps/generic/math_private.h: Include <fenv.h>.
4064 (default_libc_feholdexcept): New.
4065 (default_libc_feholdexcept_setround): New.
4066 (default_libc_fesetenv, default_libc_feupdateenv): New.
4067 (libc_feholdexcept): Only define if undefined.
4068 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4069 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4070 (libc_feholdexcept_setroundl): Likewise.
4071 (libc_feholdexcept_setround_53bit): Likewise.
4072 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4073 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4074 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4075 (libc_feupdateenv_53bit): Likewise.
4076 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4077 (libc_feholdexcept): Convert from macro to inline function.
4078 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4079 (libc_fesetenv, libc_feupdateenv): Likewise.
4081 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4082 not previously defined.
4083 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4084 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4085 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4086 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4087 * sysdeps/ieee754/flt-32/math_private.h: New file.
4088 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4089 math_private.h below SET_FLOAT_WORD.
4090 (__isnan, __isinf_ns, __finite): Remove.
4091 (__isnanf, __isinf_nsf, __finitef): Remove.
4093 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4097 2012-03-17 David S. Miller <davem@davemloft.net>
4100 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4103 2012-03-16 David S. Miller <davem@davemloft.net>
4105 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4111 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4112 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4113 sysdep_routines when subdir is sysvipc.
4114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4117 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4119 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4121 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4124 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4126 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4127 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4128 (__lround): Renamed to ...
4129 (__llround): This. Replace long int with long long int.
4130 Define lround functions as aliases of llround functions.
4131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4135 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4136 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4137 adresses to uintptr_t. Replace "long int" and "unsigned long
4138 int" with "greg_t" on va_arg.
4140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4142 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4143 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4145 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4146 Move e_machine check before EI_CLASS check. Handle x32
4147 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4148 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4149 SKIP_EM_IA_64 and include
4150 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4152 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4153 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4154 (add_system_dir): New macro.
4156 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4157 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4159 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4170 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4172 * math/w_j0f.c (j0f): Likewise.
4174 * math/w_j0l.c (__j0l): Likewise.
4176 * math/w_j1.c (j1): Likewise.
4178 * math/w_j1f.c (j1f): Likewise.
4180 * math/w_j1l.c (__j1l): Likewise.
4182 * math/w_jn.c (jn): Likewise.
4184 * math/w_jnf.c (jnf): Likewise.
4186 * math/w_jnl.c (__jnl): Likewise.
4188 * math/libm-test.inc (j0_test): Add more tests.
4189 (j1_test): Likewise.
4190 (jn_test): Likewise. Add trailing semicolon to existing test.
4191 (y0_test): Likewise.
4192 (y1_test): Likewise.
4193 * sysdeps/i386/fpu/libm-test-ulps: Update.
4194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4199 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4200 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4202 (__tanl): Set errno for infinite argument.
4203 * sysdeps/i386/fpu/mptan.c: Remove.
4204 * sysdeps/i386/fpu/s_tan.S: Likewise.
4205 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4206 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4207 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4208 * math/libm-test.inc (tan_test): Add more tests and enable more
4209 tests for double and long double.
4210 * sysdeps/i386/fpu/libm-test-ulps: Update.
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4213 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4215 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4216 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4218 2012-03-16 Roland McGrath <roland@hack.frob.com>
4220 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4221 * configure.in: Use it for both main tree and add-ons.
4222 * configure: Regenerated.
4224 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4226 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4228 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4230 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4234 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4235 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4240 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4243 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4244 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4245 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4246 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4247 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4248 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4249 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4250 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4251 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4252 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4253 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4254 * math/libm-test.inc (cos_test): Add more tests and enable more
4255 tests for long double.
4256 (sin_test): Likewise.
4257 (sincos_test): Likewise.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4261 2012-03-16 David S. Miller <davem@davemloft.net>
4263 * sysdeps/sparc/fpu/math_private.h: New file.
4265 2012-03-15 David S. Miller <davem@davemloft.net>
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4281 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4282 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4284 * sysdeps/sparc/sparc-ifunc.h: New file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4330 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4332 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4336 2012-03-15 Andreas Jaeger <aj@suse.de>
4339 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4340 ieee754/flt-32 implementation for sin, cos and sincos.
4341 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4342 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4343 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4344 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4345 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4346 ieee754/flt-32 implementation for tan.
4348 * math/libm-test.inc (cos_test): Enable some large input tests for
4350 (sin_test): Likewise.
4351 (sincos_test): Likewise.
4352 (tan_test): Add tests for large input.
4354 * sysdeps/i386/fpu/libm-test-ulps: Update.
4356 2012-03-15 Andreas Jaeger <aj@suse.de>
4359 * math/libm-test.inc (cos_test): Add more test cases.
4360 (sin_test): Likewise.
4361 (sincos_test): Likewise.
4363 2012-03-15 Andreas Jaeger <aj@suse.de>
4366 * math/libm-test.inc (cos_test): Add a test case for large input
4368 (sin_test): Likewise.
4369 (sincos_test): Likewise.
4371 2012-03-15 Andreas Jaeger <aj@suse.de>,
4372 Joseph Myers <joseph@codesourcery.com>
4375 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4376 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4377 * sysdeps/i386/fpu/branred.c: Likewise.
4378 * sysdeps/i386/fpu/dosincos.c: Likewise.
4379 * sysdeps/i386/fpu/mpa.c: Likewise.
4380 * sysdeps/i386/fpu/s_cos.S: Likewise.
4381 * sysdeps/i386/fpu/s_sin.S: Likewise.
4382 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4383 * sysdeps/i386/fpu/sincos32.c: Likewise.
4385 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4387 (libc_feupdateenv_53bit): Define.
4388 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4390 (libc_feupdateenv_53bit): Define.
4392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4393 53 bit (without extend i386 double precision).
4395 * math/libm-test.inc (sincos_test): Add tests for large input.
4399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4401 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4405 2012-03-15 David S. Miller <davem@davemloft.net>
4407 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4409 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4410 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4435 fmin/fmax sysdep routines.
4436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4438 2012-03-14 David S. Miller <davem@davemloft.net>
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4512 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4517 * sysdeps/sparc/configure.in: New file.
4518 * sysdeps/sparc/configure: Generate.
4519 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4520 * configure: Regenerate.
4521 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4522 * config.make.in (have-as-vis3): New.
4523 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4524 available use -Av9d instead of -Av9a.
4525 * sysdeps/sparc/sparc64/Makefile: Likewise.
4526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4541 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4542 fzeros/fnegs to load 0x80000000 into a float register instead of
4544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4546 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4550 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4551 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4552 ($(inst_includedir)/bits/syscall.h): Remove rule.
4553 ($(objpfx)bits/syscall.d): Include instead of
4554 $(objpfx)syscall-list.d.
4555 (generated): Change syscall-list.h and syscall-list.d to
4556 bits/syscall.h and bits/syscall.d.
4558 2012-03-14 Roland McGrath <roland@hack.frob.com>
4561 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4563 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4566 * math/s_csqrt.c: Include <float.h>.
4567 (__csqrt): Scale large or subnormal inputs.
4568 * math/s_csqrtf.c: Likewise.
4569 * math/s_csqrtl.c: Likewise.
4570 * math/libm-test.inc (csqrt_test): Add more tests.
4571 * sysdeps/i386/fpu/libm-test-ulps: Update.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4575 * math/libm-test.inc (hypot_test): Add more tests.
4577 2012-03-13 David S. Miller <davem@davemloft.net>
4580 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4581 double-precision for the calculation instead of scaling.
4583 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4585 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4586 manipulate bits before adding and subtracting TWO52[sx].
4587 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4588 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4592 2012-03-13 David S. Miller <davem@davemloft.net>
4594 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4595 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4597 rtld-global-offsets.h
4598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4600 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4603 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4605 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4606 'err' in the ifdef scope in which it is actually used.
4608 * nss/nss_db/db-init.c: Include string.h
4610 2012-03-12 David S. Miller <davem@davemloft.net>
4612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4613 masking out of the most significant byte of random value used.
4614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4615 Fix coding style in previous change.
4617 * sysdeps/unix/sysv/linux/kernel-features.h
4618 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4619 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4621 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4624 2012-03-11 David S. Miller <davem@davemloft.net>
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4627 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4629 for 'resultvar' otherwise things get truncated on 64-bit.
4631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4632 Fix masking out of the most significant byte of random value used.
4634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4636 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4640 2012-03-09 David S. Miller <davem@davemloft.net>
4642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4643 variables with appropriate CPP guards.
4644 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4645 frame pointer, not the stack pointer. Correct layout comments. Fix test
4646 on resulting framesize and the management of the outregs buffer for pltexit.
4647 Preserve floating point return values across _dl_call_pltexit call.
4648 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4649 framesize and the management of the outregs buffer for pltexit.
4650 Preserve floating point return values across _dl_call_pltexit
4652 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4653 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4654 (print_exit): Fix format string for return register value.
4656 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4658 * sunrpc/Makefile (others): Add rpcgen.
4659 ($(objpfx)rpcgen): Remove special build rule and dependency on
4661 * sunrpc/rpcgen.c: New file.
4663 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4666 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4667 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4668 * sysdeps/i386/crti.S: Likewise.
4669 * sysdeps/i386/crtn.S: Likewise.
4670 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4671 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4672 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4674 * sysdeps/sh/crti.S: Likewise.
4675 * sysdeps/sh/crtn.S: Likewise.
4676 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4679 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4681 * locale/programs/locfile-kw.gperf: Likewise.
4682 * locale/programs/charmap-kw.h: Regenerated.
4683 * locale/programs/locfile-kw.h: Likewise.
4686 * intl/plural.y: Replace FSF snail mail address with URL.
4687 * intl/plural.c: Regenerated.
4689 2012-03-09 Richard Henderson <rth@twiddle.net>
4691 * include/math_private.h: Remove file.
4692 * math/math_private.h: Move file ...
4693 * sysdeps/generic/math_private.h: ... here.
4695 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4696 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4697 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4699 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4700 and <math_private.h>.
4701 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4702 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4703 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4704 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4705 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4750 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4751 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4752 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4753 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4755 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4756 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4757 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4758 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4760 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4761 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4762 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4764 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4765 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4769 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4770 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4772 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4775 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4781 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4788 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4789 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4793 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4796 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4798 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4801 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4802 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4803 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4804 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4806 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4807 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4808 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4813 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4815 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4817 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4818 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4819 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4820 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4821 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4822 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4824 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4825 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4827 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4828 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4829 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4830 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4831 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4832 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4833 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4834 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4835 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4836 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4837 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4838 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4839 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4840 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4842 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4843 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4844 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4845 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4846 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4847 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4848 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4849 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4850 * sysdeps/ieee754/k_standard.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4902 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4903 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4999 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5000 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5001 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5011 * sysdeps/ieee754/s_lib_version.c: Likewise.
5012 * sysdeps/ieee754/s_matherr.c: Likewise.
5013 * sysdeps/ieee754/s_signgam.c: Likewise.
5014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5017 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5018 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5019 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5020 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5021 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5022 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5023 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5024 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5025 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5026 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5027 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5028 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5029 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5031 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5032 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5036 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5038 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5039 * sunrpc/rpc_main.c: Likewise.
5040 * sunrpc/rpc_svcout.c: Likewise.
5042 2012-03-09 David S. Miller <davem@davemloft.net>
5044 * include/math_private.h: New file.
5046 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5048 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5049 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5050 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5051 from <bits/socket_type.h>.
5052 (enum __socket_type): Don't define here.
5053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5058 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5061 * Makerules ($(inst_includedir)/%.h): New rule.
5062 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5063 (install-others): Remove variable setting.
5064 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5066 2012-03-08 Richard Henderson <rth@twiddle.net>
5068 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5069 from macro to inline function; merge with the
5070 !__LIBC_INTERNAL_MATH_INLINES version.
5071 (__ieee754_sqrtf): Likewise.
5073 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5075 (__rintf, __floor, __floorf): Likewise.
5077 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5078 macro to inline function.
5079 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5081 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5082 not <math/math_private.h>.
5084 2012-03-08 David S. Miller <davem@davemloft.net>
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5088 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5090 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5092 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5094 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5095 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5097 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5099 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5100 be defined individually, they must be defined as a block. Define
5101 S for printing a string instead of hidint the different by using a
5102 macro for adding the 'l'.
5103 * stdio-common/tst-fphex-wide.c: Adjust.
5105 2012-03-07 Marek Polacek <polacek@redhat.com>
5107 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5109 2012-03-08 Marek Polacek <polacek@redhat.com>
5112 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5113 * stdio-common/tst-fphex.c: Define a few macros to make the
5114 test reusable. Use them.
5115 * stdio-common/tst-fphex-wide.c: New file.
5117 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5120 * manual/macros.texi (gnusystems): New macro.
5121 (nongnusystems): Likewise.
5122 (gnulinuxhurdsystems): Likewise.
5123 (gnuhurdsystems): Likewise..
5124 (gnulinuxsystems): Likewise.
5125 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5126 variants of the GNU system, not "GNU system".
5127 * manual/conf.texi: Likewise.
5128 * manual/errno.texi: Likewise. Update example of errno macro
5130 * manual/filesys.texi: Likewise.
5131 (getumask): Document as specific to GNU/Hurd.
5132 * manual/install.texi: Likewise. Reword some references to
5134 * manual/intro.texi: Likewise.
5135 * manual/io.texi: Likewise.
5136 (File Name Portability): Detail which constraints are inapplicable
5137 to all GNU systems and which are only inapplicable to GNU/Hurd.
5138 * manual/job.texi: Likewise.
5139 * manual/llio.texi: Likewise.
5140 (O_NOCTTY): Document as present on GNU/Linux.
5141 * manual/maint.texi: Likewise.
5142 * manual/memory.texi: Likewise.
5143 * manual/pattern.texi: Likewise.
5144 * manual/pipe.texi: Likewise.
5145 * manual/process.texi: Likewise.
5146 * manual/resource.texi: Likewise.
5147 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5149 * manual/setjmp.texi: Likewise.
5150 * manual/signal.texi: Likewise.
5151 * manual/startup.texi: Likewise.
5152 * manual/stdio.texi: Likewise.
5153 * manual/terminal.texi: Likewise.
5154 (ONLCR): Document as POSIX.
5155 (OXTABS): Document availability on GNU/Linux as XTABS.
5156 (ONOEOT): Document availability separately from other bits.
5157 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5158 * manual/time.texi: Likewise.
5159 * manual/users.texi: Likewise.
5160 * INSTALL: Regenerated.
5161 * sysdeps/gnu/errlist.c: Regenerated.
5163 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5164 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5165 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5167 * configure: Regenerated.
5169 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5171 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5172 default includes instead of AC_HEADER_CHECK.
5173 * sysdeps/i386/configure: Regenerated.
5176 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5177 * math/s_cacoshf.c (__cacoshf): Likewise.
5178 * math/s_cacoshl.c (__cacoshl): Likewise.
5179 * math/s_casinh.c (__casinh): Set signs of result from argument.
5180 * math/s_casinhf.c (__casinhf): Likewise.
5181 * math/s_casinhl.c (__casinhl): Likewise.
5182 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5183 (casinh_test): Add more tests.
5184 * sysdeps/i386/fpu/libm-test-ulps: Update.
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5187 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5189 * po/zh_TW.po: Update from translation team.
5191 * login/Makefile (distribute): Remove variable.
5192 * catgets/Makefile: Likewise.
5193 * mach/Makefile: Likewise.
5194 * malloc/Makefile: Likewise.
5195 * misc/Makefile: Likewise.
5196 * iconv/Makefile: Likewise.
5197 * nscd/Makefile: Likewise.
5198 * hurd/Makefile: Likewise.
5199 * manual/Makefile: Likewise.
5200 * locale/Makefile: Likewise.
5201 * intl/Makefile: Likewise.
5202 * conform/Makefile: Likewise.
5203 * nss/Makefile: Likewise.
5204 * time/Makefile: Likewise.
5205 * soft-fp/Makefile: Likewise.
5206 * dirent/Makefile: Likewise.
5207 * gmon/Makefile: Likewise.
5208 * po/Makefile: Likewise.
5209 * rt/Makefile: Likewise.
5210 * socket/Makefile: Likewise.
5211 * math/Makefile: Likewise.
5212 * signal/Makefile: Likewise.
5213 * debug/Makefile: Likewise.
5214 * elf/Makefile: Likewise.
5215 * timezone/Makefile: Likewise.
5216 * stdlib/Makefile: Likewise.
5217 * iconvdata/Makefile: Likewise.
5218 * sunrpc/Makefile: Likewise.
5219 * io/Makefile: Likewise.
5220 * argp/Makefile: Likewise.
5221 * inet/Makefile: Likewise.
5222 * hesiod/Makefile: Likewise.
5223 * grp/Makefile: Likewise.
5224 * csu/Makefile: Likewise.
5225 * wctype/Makefile: Likewise.
5226 * crypt/Makefile: Likewise.
5227 * libio/Makefile: Likewise.
5228 * string/Makefile: Likewise.
5229 * nis/Makefile: Likewise.
5230 * resolv/Makefile: Likewise.
5231 * stdio-common/Makefile: Likewise.
5232 * wcsmbs/Makefile: Likewise.
5233 * dlfcn/Makefile: Likewise.
5234 * posix/Makefile: Likewise.
5237 * timezone/Makefile: Don't install timezone files, just the programs
5240 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5242 * nss/databases.def: Add missing gshadow entry.
5244 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5246 2012-03-06 Marek Polacek <polacek@redhat.com>
5249 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5250 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5251 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5252 * stdio-common/tst-long-dbl-fphex.c: New file.
5254 2012-03-06 David S. Miller <davem@davemloft.net>
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5257 (set_obp_int): New function.
5258 (get_obp_int): New function.
5259 (__get_clockfreq_via_dev_openprom): Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5261 Avoid unused variable warnings on 'val' and use builtin_expect.
5262 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5264 (INLINE_CLONE_SYSCALL): Likewise.
5266 2012-03-05 David S. Miller <davem@davemloft.net>
5268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5270 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5278 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5281 Replace gettimeofday with __vdso_gettimeofday.
5283 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5284 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5285 __vdso_clock_gettime and __vdso_getcpu.
5287 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5288 time with __vdso_time.
5290 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5292 * manual/lang.texi (size_t): Note types to which size_t may be
5293 equivalent with the GNU C Library, but do not describe when
5294 differences between them are significant.
5296 2012-03-05 Andreas Jaeger <aj@suse.de>
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5300 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5303 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5304 (__ieee754_pow): Save and restore rounding mode and use
5305 round-to-nearest for main computations.
5306 * math/libm-test.inc (pow_test_tonearest): New function.
5307 (pow_test_towardzero): Likewise.
5308 (pow_test_downward): Likewise.
5309 (pow_test_upward): Likewise.
5310 (main): Call the new functions.
5311 * sysdeps/i386/fpu/libm-test-ulps: Update.
5312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315 * math/libm-test.inc (cosh_test_tonearest): New function.
5316 (cosh_test_towardzero): Likewise.
5317 (cosh_test_downward): Likewise.
5318 (cosh_test_upward): Likewise.
5319 (sinh_test_tonearest): Likewise.
5320 (sinh_test_towardzero): Likewise.
5321 (sinh_test_downward): Likewise.
5322 (sinh_test_upward): Likewise.
5323 (main): Call the new functions.
5324 * sysdeps/i386/fpu/libm-test-ulps: Update.
5325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327 2012-03-05 Tom de Vries <tom@codesourcery.com>
5329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5330 default stack guard is set in last bytes.
5331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5333 2012-03-05 Kees Cook <keescook@chromium.org>
5335 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5338 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5339 possibly allocate from heap instead of stack.
5340 * stdio-common/bug-vfprintf-nargs.c: New file.
5341 * stdio-common/Makefile (tests): Add nargs overflow test.
5343 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5347 2012-03-03 Marek Polacek <polacek@redhat.com>
5349 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5350 * math/math_private.h: Likewise.
5351 * stdlib/tst-strtod.c: Likewise.
5352 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5353 * sysdeps/x86_64/bits/atomic.h: Likewise.
5355 2012-03-02 David S. Miller <davem@davemloft.net>
5357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5361 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5362 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5363 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5364 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5366 2012-03-02 Roland McGrath <roland@hack.frob.com>
5369 * manual/examples/README: New file, says the example source files
5370 can be used under GPL>=2.
5371 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5372 line containing just "*/".
5373 * manual/examples/add.c: Add copyright header (GPL>=2).
5374 * manual/examples/argp-ex1.c: Likewise.
5375 * manual/examples/argp-ex2.c: Likewise.
5376 * manual/examples/argp-ex3.c: Likewise.
5377 * manual/examples/argp-ex4.c: Likewise.
5378 * manual/examples/atexit.c: Likewise.
5379 * manual/examples/db.c: Likewise.
5380 * manual/examples/dir.c: Likewise.
5381 * manual/examples/dir2.c: Likewise.
5382 * manual/examples/execinfo.c: Likewise.
5383 * manual/examples/filecli.c: Likewise.
5384 * manual/examples/filesrv.c: Likewise.
5385 * manual/examples/fmtmsgexpl.c: Likewise.
5386 * manual/examples/genpass.c: Likewise.
5387 * manual/examples/inetcli.c: Likewise.
5388 * manual/examples/inetsrv.c: Likewise.
5389 * manual/examples/isockad.c: Likewise.
5390 * manual/examples/longopt.c: Likewise.
5391 * manual/examples/memopen.c: Likewise.
5392 * manual/examples/memstrm.c: Likewise.
5393 * manual/examples/mkfsock.c: Likewise.
5394 * manual/examples/mkisock.c: Likewise.
5395 * manual/examples/mygetpass.c: Likewise.
5396 * manual/examples/pipe.c: Likewise.
5397 * manual/examples/popen.c: Likewise.
5398 * manual/examples/rprintf.c: Likewise.
5399 * manual/examples/search.c: Likewise.
5400 * manual/examples/select.c: Likewise.
5401 * manual/examples/setjmp.c: Likewise.
5402 * manual/examples/sigh1.c: Likewise.
5403 * manual/examples/sigusr.c: Likewise.
5404 * manual/examples/stpcpy.c: Likewise.
5405 * manual/examples/strdupa.c: Likewise.
5406 * manual/examples/strftim.c: Likewise.
5407 * manual/examples/strncat.c: Likewise.
5408 * manual/examples/subopt.c: Likewise.
5409 * manual/examples/swapcontext.c: Likewise.
5410 * manual/examples/termios.c: Likewise.
5411 * manual/examples/testopt.c: Likewise.
5412 * manual/examples/testpass.c: Likewise.
5413 * manual/examples/timeval_subtract.c: Likewise.
5416 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5418 * manual/timeval_subtract.c.texi: ... here, new file.
5420 2012-03-02 David S. Miller <davem@davemloft.net>
5422 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5424 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5427 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5428 (__sin): Save and restore rounding mode and use round-to-nearest
5429 for all computations.
5430 (__cos): Save and restore rounding mode and use round-to-nearest
5431 for all computations.
5432 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5434 (tan): Save and restore rounding mode and use round-to-nearest for
5436 * math/libm-test.inc (cos_test_tonearest): New function.
5437 (cos_test_towardzero): Likewise.
5438 (cos_test_downward): Likewise.
5439 (cos_test_upward): Likewise.
5440 (sin_test_tonearest): Likewise.
5441 (sin_test_towardzero): Likewise.
5442 (sin_test_downward): Likewise.
5443 (sin_test_upward): Likewise.
5444 (tan_test_tonearest): Likewise.
5445 (tan_test_towardzero): Likewise.
5446 (tan_test_downward): Likewise.
5447 (tan_test_upward): Likewise.
5448 (main): Call the new functions.
5449 * sysdeps/i386/fpu/libm-test-ulps: Update.
5450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5453 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5454 small n, then large n, before computing and testing k+n.
5455 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5460 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5461 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5462 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5463 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5466 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5467 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5468 * math/libm-test.inc (scalbn_test): Add more tests.
5469 (scalbln_test): Likewise.
5471 * manual/filesys.texi (mode_t): Describe constraints on size and
5472 signedness, not exact equivalence to a particular type.
5474 (ino64_t): Likewise.
5476 (nlink_t): Likewise.
5477 (blkcnt_t): Likewise.
5478 (blkcnt64_t): Likewise.
5479 * manual/llio.texi (off_t): Likewise.
5482 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5483 (__ieee754_exp): Save and restore rounding mode and use
5484 round-to-nearest for all computations.
5485 * math/libm-test.inc (exp_test_tonearest): New function.
5486 (exp_test_towardzero): Likewise.
5487 (exp_test_downward): Likewise.
5488 (exp_test_upward): Likewise.
5489 (main): Call the new functions.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 2012-03-01 Chris Demetriou <cgd@google.com>
5495 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5496 have predictable order.
5498 2012-03-01 David S. Miller <davem@davemloft.net>
5500 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5502 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5503 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5504 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5505 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5507 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5508 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5509 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5511 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5512 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5513 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5514 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5515 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5519 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5520 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5521 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5523 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5524 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5525 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5526 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5527 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5530 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5531 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5532 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5533 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5534 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5537 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5539 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5540 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5541 * sysdeps/sparc/elf/configure: Regenerated.
5543 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5545 * configure.in (AS, LD): Require binutils 2.20 or later.
5546 * configure: Regenerated.
5547 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5548 as required minimum version.
5549 * INSTALL: Regenerated.
5553 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5554 before squaring exponent.
5555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5556 bottom long double and 27 bits of top long double before squaring
5558 * math/libm-test.inc (erfc_test): Add more tests.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563 2012-03-01 Kai Tietz <ktietz@redhat.com>
5565 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5566 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5567 containing bit-fields.
5568 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5569 * soft-fp/single.h (_FP_UNION_S): Likewise.
5570 * soft-fp/double.h (_FP_UNION_D): Likewise.
5572 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5575 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5576 not include ../strcmp.S.
5577 [USE_AS_STRNCASECMP_L]: Likewise.
5578 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5579 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5580 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5581 (__strncasecmp_l_ia32): Define as alias to
5582 __strncasecmp_l_nonascii.
5585 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5586 * sysdeps/i386/fpu/libm-test-ulps: Update.
5587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592 2012-02-29 Jeff Law <law@redhat.com>
5594 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5597 2012-02-29 Marek Polacek <polacek@redhat.com>
5600 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5601 * elf/Makefile: Add rules to run tst-unused-dep.out.
5603 2012-02-28 David S. Miller <davem@davemloft.net>
5605 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5606 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5609 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5610 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5612 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5614 * math/libm-test.inc (llround_test): Move one test from
5615 lround_test. Use TEST_f_L in moved test.
5616 (lround_test): Move misplaced test to llround_test. Add testcase
5619 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5621 * sysdeps/x86_64/fpu/e_expf.S: New file.
5622 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5624 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5627 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5628 of remain_len that may cause incomplete multi-byte character and
5630 * posix/bug-regex33.c: New file.
5631 * posix/Makefile (tests): Add bug-regex33.
5633 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5635 * manual/macros.texi: New file.
5636 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5637 * manual/libc.texinfo: Include macros.texi.
5638 * manual/creatute.texi: Likewise.
5639 * manual/install.texi: Likewise.
5640 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5641 @glibcadj{} in references to the GNU C Library.
5642 * manual/charset.texi: Likewise.
5643 * manual/conf.texi: Likewise.
5644 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5645 when not using those macros.
5646 * manual/creature.texi: Likewise.
5647 * manual/crypt.texi: Likewise.
5648 * manual/errno.texi: Likewise.
5649 * manual/filesys.texi: Likewise.
5650 * manual/header.texi: Likewise.
5651 * manual/install.texi: Likewise.
5652 * manual/intro.texi: Likewise.
5653 * manual/io.texi: Likewise.
5654 * manual/job.texi: Likewise.
5655 * manual/lang.texi: Likewise.
5656 * manual/libc.texiinfo: Likewise.
5657 * manual/llio.texi: Likewise.
5658 * manual/locale.texi: Likewise.
5659 * manual/maint.texi: Likewise.
5660 * manual/math.texi: Likewise.
5661 * manual/memory.texi: Likewise.
5662 * manual/message.texi: Likewise.
5663 * manual/nss.texi: Likewise.
5664 * manual/pattern.texi: Likewise.
5665 * manual/process.texi: Likewise.
5666 * manual/resource.texi: Likewise.
5667 * manual/search.texi: Likewise.
5668 * manual/setjmp.texi: Likewise.
5669 * manual/signal.texi: Likewise.
5670 * manual/socket.texi: Likewise.
5671 * manual/startup.texi: Likewise.
5672 * manual/stdio.texi: Likewise.
5673 * manual/string.texi: Likewise.
5674 * manual/sysinfo.texi: Likewise.
5675 * manual/syslog.texi: Likewise.
5676 * manual/terminal.texi: Likewise.
5677 * manual/time.texi: Likewise.
5678 * manual/users.texi: Likewise.
5679 * INSTALL: Regenerated.
5680 * NOTES: Regenerated.
5681 * sysdeps/gnu/errlist.c: Regenerated.
5683 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5685 * include/dirent.h: Include <dirstream.h> before
5688 2012-02-28 David S. Miller <davem@davemloft.net>
5690 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5691 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5692 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5693 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5695 2012-02-27 David S. Miller <davem@davemloft.net>
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5699 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5700 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5703 frame pointer instead of stack pointer relative arg slot.
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5705 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5706 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5708 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5711 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5713 2012-02-27 David S. Miller <davem@davemloft.net>
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5721 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5722 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5724 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5726 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5727 later. Allow versions 5-9.
5728 * configure: Regenerated.
5729 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5730 required minimum version and 4.6 as recommended version. Do not
5731 mention bugs in GCC 2.7 and 2.8.
5732 * INSTALL: Regenerated.
5734 2012-02-27 David S. Miller <davem@davemloft.net>
5736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5740 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5741 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5742 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5743 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5746 manipulate bits before adding and subtracting TWO112[sx].
5747 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5749 2012-02-27 Roland McGrath <roland@hack.frob.com>
5752 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5753 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5754 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5755 being in POSIX, because they are in 1003.1-2008.
5757 * rt/tst-aio.c: Include <fcntl.h>.
5758 * rt/tst-aio7.c: Likewise.
5759 * rt/tst-aio64.c: Likewise.
5761 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5763 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5765 * manual/install.texi (--with-headers): Describe headers as
5766 interface headers, not private headers.
5767 (Specific advice for GNU/Linux systems): Describe use of headers
5768 from "make headers_install", not private headers from older
5770 * INSTALL: Regenerated.
5771 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5773 * sysdeps/unix/sysv/linux/configure: Regenerated.
5775 * manual/llio.texi (fclean): Remove documentation.
5777 * manual/Makefile (libc-texi-generated): New variable. Include
5779 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5780 $(libc-texi-generated), not duplicated list of files.
5781 (version.texi, stamp-version): New rules.
5782 (realclean): Remove $(libc-texi-generated), not individual files
5783 from that list. Do not remove dir-add.texinfo.
5784 * manual/libc.texinfo: Comment out uses of edition numbers and
5785 references to printed manual. Remove last-updated dates.
5786 (EDITION): Comment out.
5788 (VERSION, UPDATED): Remove.
5789 (version.texi): Include.
5791 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5793 * sysdeps/posix/spawni.c: Include <signal.h>.
5794 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5795 * sysdeps/pthread/aio_fsync.c: Likewise.
5797 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5799 * conform/Makefile (tests): Run only when not cross-compiling and
5800 when fast-check is not defined.
5802 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5803 * conform/data/limits.h-data: Fixes for POSIX2008.
5804 * conform/run-conformtest.sh: Run all tests.
5805 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5807 * include/bits/dlfcn.h: Likewise.
5808 * include/langinfo.h: Likewise.
5809 * include/monetary.h: Likewise.
5810 * include/sys/poll.h: Likewise.
5812 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5814 * posix/spawn.h: Define __need_sigset_t.
5815 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5816 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5817 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5818 to get sigevent_t only.
5819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5822 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5823 process_vm_writev only for __USE_GNU.
5824 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5826 * conform/Makefile: For now ignore errors from run-conformtest.
5827 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5828 POSIX to avoid namespace pollution. Don't prepend headers.
5829 * conform/data/aio.h-data: Fixes for POSIX testing.
5830 * conform/data/fcntl.h-data: Likewise.
5831 * conform/data/glob.h-data: Likewise.
5832 * conform/data/grp.h-data: Likewise.
5833 * conform/data/pthread.h-data: Likewise.
5834 * conform/data/pwd.h-data: Likewise.
5835 * conform/data/signal.h-data: Likewise.
5836 * conform/data/spawn.h-data: Likewise.
5837 * conform/data/stdio.h-data: Likewise.
5838 * conform/data/stdlib.h-data: Likewise.
5839 * conform/data/stropts.h-data: Likewise.
5840 * conform/data/sys/mman.h-data: Likewise.
5841 * conform/data/sys/stat.h-data: Likewise.
5842 * conform/data/sys/types.h-data: Likewise.
5843 * conform/data/sys/wait.h-data: Likewise.
5844 * conform/data/time.h-data: Likewise.
5845 * conform/data/unistd.h-data: Likewise.
5846 * conform/data/utime.h-data: Likewise.
5848 * io/sys/stat.h: fchmod was always in POSIX.
5849 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5850 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5851 * rt/aio.h: Define __need_timespec before including <time.h>.
5852 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5853 struct. Add forward declaration of pthread_attr_t and use it in
5855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5857 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5858 always remove CLK_TCK definition.
5860 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5862 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5864 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5866 * conform/run-conformtest.sh: New file.
5867 * conform/Makefile: Run run-conformtest for tests.
5868 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5871 * conform/data/uchar.h-data: New file.
5872 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5873 * conform/data/arpa/inet.h-data: Likewise.
5874 * conform/data/assert.h-data: Likewise.
5875 * conform/data/complex.h-data: Likewise.
5876 * conform/data/cpio.h-data: Likewise.
5877 * conform/data/ctype.h-data: Likewise.
5878 * conform/data/dirent.h-data: Likewise.
5879 * conform/data/dlfcn.h-data: Likewise.
5880 * conform/data/errno.h-data: Likewise.
5881 * conform/data/fcntl.h-data: Likewise.
5882 * conform/data/float.h-data: Likewise.
5883 * conform/data/fmtmsg.h-data: Likewise.
5884 * conform/data/fnmatch.h-data: Likewise.
5885 * conform/data/ftw.h-data: Likewise.
5886 * conform/data/glob.h-data: Likewise.
5887 * conform/data/grp.h-data: Likewise.
5888 * conform/data/iconv.h-data: Likewise.
5889 * conform/data/inttypes.h-data: Likewise.
5890 * conform/data/langinfo.h-data: Likewise.
5891 * conform/data/libgen.h-data: Likewise.
5892 * conform/data/limits.h-data: Likewise.
5893 * conform/data/locale.h-data: Likewise.
5894 * conform/data/math.h-data: Likewise.
5895 * conform/data/monetary.h-data: Likewise.
5896 * conform/data/mqueue.h-data: Likewise.
5897 * conform/data/ndbm.h-data: Likewise.
5898 * conform/data/net/if.h-data: Likewise.
5899 * conform/data/netdb.h-data: Likewise.
5900 * conform/data/netinet/in.h-data: Likewise.
5901 * conform/data/nl_types.h-data: Likewise.
5902 * conform/data/poll.h-data: Likewise.
5903 * conform/data/pthread.h-data: Likewise.
5904 * conform/data/pwd.h-data: Likewise.
5905 * conform/data/regex.h-data: Likewise.
5906 * conform/data/sched.h-data: Likewise.
5907 * conform/data/search.h-data: Likewise.
5908 * conform/data/semaphore.h-data: Likewise.
5909 * conform/data/setjmp.h-data: Likewise.
5910 * conform/data/signal.h-data: Likewise.
5911 * conform/data/spawn.h-data: Likewise.
5912 * conform/data/stdarg.h-data: Likewise.
5913 * conform/data/stdio.h-data: Likewise.
5914 * conform/data/stdlib.h-data: Likewise.
5915 * conform/data/string.h-data: Likewise.
5916 * conform/data/strings.h-data: Likewise.
5917 * conform/data/stropts.h-data: Likewise.
5918 * conform/data/sys/ipc.h-data: Likewise.
5919 * conform/data/sys/mman.h-data: Likewise.
5920 * conform/data/sys/msg.h-data: Likewise.
5921 * conform/data/sys/resource.h-data: Likewise.
5922 * conform/data/sys/select.h-data: Likewise.
5923 * conform/data/sys/sem.h-data: Likewise.
5924 * conform/data/sys/shm.h-data: Likewise.
5925 * conform/data/sys/socket.h-data: Likewise.
5926 * conform/data/sys/stat.h-data: Likewise.
5927 * conform/data/sys/statvfs.h-data: Likewise.
5928 * conform/data/sys/time.h-data: Likewise.
5929 * conform/data/sys/timeb.h-data: Likewise.
5930 * conform/data/sys/times.h-data: Likewise.
5931 * conform/data/sys/types.h-data: Likewise.
5932 * conform/data/sys/uio.h-data: Likewise.
5933 * conform/data/sys/un.h-data: Likewise.
5934 * conform/data/sys/utsname.h-data: Likewise.
5935 * conform/data/sys/wait.h-data: Likewise.
5936 * conform/data/syslog.h-data: Likewise.
5937 * conform/data/tar.h-data: Likewise.
5938 * conform/data/termios.h-data: Likewise.
5939 * conform/data/utime.h-data: Likewise.
5940 * conform/data/utmpx.h-data: Likewise.
5941 * conform/data/varargs.h-data: Likewise.
5942 * conform/data/wchar.h-data: Likewise.
5943 * conform/data/wctype.h-data: Likewise.
5944 * conform/data/wordexp.h-data: Likewise.
5946 * include/stropts.h: New file.
5947 * include/uchar.h: New file.
5948 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5949 * include/assert.h: Likewise.
5950 * include/ctype.h: Likewise.
5951 * include/dirent.h: Likewise.
5952 * include/dlfcn.h: Likewise.
5953 * include/fcntl.h: Likewise.
5954 * include/fnmatch.h: Likewise.
5955 * include/glob.h: Likewise.
5956 * include/grp.h: Likewise.
5957 * include/libio.h: Likewise.
5958 * include/locale.h: Likewise.
5959 * include/math.h: Likewise.
5960 * include/net/if.h: Likewise.
5961 * include/netdb.h: Likewise.
5962 * include/netinet/in.h: Likewise.
5963 * include/pthread.h: Likewise.
5964 * include/pwd.h: Likewise.
5965 * include/regex.h: Likewise.
5966 * include/sched.h: Likewise.
5967 * include/search.h: Likewise.
5968 * include/setjmp.h: Likewise.
5969 * include/signal.h: Likewise.
5970 * include/stdio.h: Likewise.
5971 * include/stdlib.h: Likewise.
5972 * include/string.h: Likewise.
5973 * include/sys/cdefs.h: Likewise.
5974 * include/sys/mman.h: Likewise.
5975 * include/sys/msg.h: Likewise.
5976 * include/sys/resource.h: Likewise.
5977 * include/sys/select.h: Likewise.
5978 * include/sys/socket.h: Likewise.
5979 * include/sys/stat.h: Likewise.
5980 * include/sys/statvfs.h: Likewise.
5981 * include/sys/time.h: Likewise.
5982 * include/sys/times.h: Likewise.
5983 * include/sys/uio.h: Likewise.
5984 * include/sys/utsname.h: Likewise.
5985 * include/sys/wait.h: Likewise.
5986 * include/termios.h: Likewise.
5987 * include/time.h: Likewise.
5988 * include/ulimit.h: Likewise.
5989 * include/unistd.h: Likewise.
5990 * include/utime.h: Likewise.
5991 * include/wchar.h: Likewise.
5992 * include/wctype.h: Likewise.
5993 * include/wordexp.h: Likewise.
5995 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5997 * time/time.h: TIME_UTC must be a macro.
5998 Make timespec_get available for ISO C11 only as well.
6000 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6002 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6003 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6005 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6007 * configure.in: Use -o not -a in test for unsupported multi-arch.
6009 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6011 * manual/texinfo.tex: Update to version 2012-01-19.16.
6013 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6015 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6017 2012-02-24 Roland McGrath <roland@hack.frob.com>
6020 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6021 * manual/fdl-1.3.texi: New file.
6022 * manual/fdl-1.1.texi: File removed.
6025 * manual/libc.texinfo (FDL_VERSION): New @set.
6026 Use it for mention of FDL in cover text.
6027 (Documentation License): Use it in @include file name.
6029 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6030 Roland McGrath <roland@hack.frob.com>
6033 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6034 not LONG_LONG_MAX and LONG_LONG_MIN.
6035 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6036 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6038 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6040 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6045 manipulate bits before adding and subtracting TWO23[sx].
6046 * math/libm-test.inc (nearbyint_test): Add more tests.
6048 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6051 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6052 bits before adding and subtracting TWO23[sx].
6053 * math/libm-test.inc (rint_test): Add more tests.
6054 (rint_test_tonearest): Likewise.
6055 (rint_test_towardzero): Likewise.
6056 (rint_test_downward): Likewise.
6057 (rint_test_upward: Likewise.
6059 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6062 * include/stdc-predef.h: New file. Extracted from features.h.
6063 * include/features.h: Include stdc-predef.h.
6064 * Makefile (headers): Add stdc-predef.h.
6065 * CONFORMANCE (Compiler limitations): Update.
6067 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6069 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6071 2012-02-21 David S. Miller <davem@davemloft.net>
6073 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6074 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6076 2012-02-20 David S. Miller <davem@davemloft.net>
6078 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6079 using a normal save/restore sequence, rather than allocating a
6080 dummy stack frame just to store a frame pointer and restore.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6083 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6085 * manual/install.texi: Fix stray word in line-wrapped comment.
6087 2012-02-20 David S. Miller <davem@davemloft.net>
6089 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6090 both binutils and gcc support GOTDATA.
6092 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6093 "rd %pc" in the PIC register setup sequences.
6095 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6096 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6097 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6098 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6099 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6104 (SYSCALL_ERROR_HANDLER): Likewise.
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6108 (SYSCALL_ERROR_HANDLER): Likewise.
6110 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6111 (HAVE_GCC_GOTDATA): New.
6112 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6113 relocation support in both binutils and gcc.
6114 * sysdeps/sparc/elf/configure: Regenerate.
6116 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6117 * sysdeps/sparc/sparc32/elf/configure: Delete.
6118 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6119 * sysdeps/sparc/sparc64/elf/configure: Delete.
6120 * sysdeps/sparc/elf/configure.in: New file.
6121 * sysdeps/sparc/elf/configure: Generate.
6123 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6124 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6125 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6126 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6127 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6129 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6131 * manual/install.texi: Do not mention specific glibc version
6133 * manual/libc.texinfo (VERSION, UPDATED): Update.
6134 (@copying): Use @copyright{} and range of years.
6136 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6139 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6140 [crti.S not in sysdirs] (generated): Do not append.
6141 [crti.S not in sysdirs] (omit-deps): Likewise.
6142 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6143 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6144 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6145 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6146 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6148 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6149 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6150 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6151 * csu/defs.awk: Remove file.
6152 * sysdeps/generic/initfini.c: Likewise.
6153 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6155 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6160 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6161 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6162 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6165 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6167 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6168 (__EPOLL_PACKED): Define to empty if not defined by
6170 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6174 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6176 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6177 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6178 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6179 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6181 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6185 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6187 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6189 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6190 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6194 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6197 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6199 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6201 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6202 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6204 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6206 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6209 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6211 * math/w_acos.c: Use non-signaling floating-point comparisons.
6212 * math/w_acosf.c: Likewise.
6213 * math/w_acosh.c: Likewise.
6214 * math/w_acoshf.c: Likewise.
6215 * math/w_acoshl.c: Likewise.
6216 * math/w_acosl.c: Likewise.
6217 * math/w_asin.c: Likewise.
6218 * math/w_asinf.c: Likewise.
6219 * math/w_asinl.c: Likewise.
6220 * math/w_atanh.c: Likewise.
6221 * math/w_atanhf.c: Likewise.
6222 * math/w_atanhl.c: Likewise.
6223 * math/w_exp2.c: Likewise.
6224 * math/w_exp2f.c: Likewise.
6225 * math/w_exp2l.c: Likewise.
6226 * math/w_j0.c: Likewise.
6227 * math/w_j0f.c: Likewise.
6228 * math/w_j0l.c: Likewise.
6229 * math/w_j1.c: Likewise.
6230 * math/w_j1f.c: Likewise.
6231 * math/w_j1l.c: Likewise.
6232 * math/w_jn.c: Likewise.
6233 * math/w_jnf.c: Likewise.
6234 * math/w_log.c: Likewise.
6235 * math/w_log10.c: Likewise.
6236 * math/w_log10f.c: Likewise.
6237 * math/w_log10l.c: Likewise.
6238 * math/w_log2.c: Likewise.
6239 * math/w_log2f.c: Likewise.
6240 * math/w_log2l.c: Likewise.
6241 * math/w_logf.c: Likewise.
6242 * math/w_logl.c: Likewise.
6243 * math/w_sqrt.c: Likewise.
6244 * math/w_sqrtf.c: Likewise.
6245 * math/w_sqrtl.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6249 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6252 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6255 * manual/string.texi (strnlen): Use correct parameter name in
6256 equivalent expression.
6258 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6261 * manual/users.texi (seteuid): Consistently use neweuid for
6264 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6267 * manual/nss.texi (Services in the NSS configuration): Correct
6268 list of services in example configuration file.
6270 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6273 * manual/arith.texi: Remove statements about negative zero
6274 behaving identically to zero.
6276 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6279 * manual/install.texi: Do not document upgrading from libc5.
6281 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6284 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6286 2012-02-18 David S. Miller <davem@davemloft.net>
6288 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6289 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6290 %o7 across the call.
6291 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6296 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6297 * sysdeps/sparc/crtn.S: Likewise.
6299 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6301 * aout/Makefile: Remove.
6303 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6306 * manual/examples/argp-ex1.c (main): Format definition in GNU
6308 * manual/examples/argp-ex2.c (main): Likewise.
6309 * manual/examples/argp-ex3.c (main): Likewise.
6310 * manual/examples/argp-ex4.c (main): Likewise.
6311 * manual/examples/longopt.c (main): Use new-style prototype
6313 * manual/examples/strncat.c (main): Specify return type and use
6314 (void) for arguments.
6315 * manual/examples/subopt.c (main): Use char **argv argument.
6317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6320 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6323 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6326 * manual/string.texi (strchr): Change when strchrnul is
6329 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6332 * manual/locale.texi (setlocale): Document LOCPATH.
6334 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6337 * manual/process.texi (execle): Move @dots{} before last argument.
6339 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6342 * manual/charset.texi (Generic Charset Conversion): Fix typo
6343 (LC_TYPE -> LC_CTYPE).
6345 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6348 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6349 (scalbnf): Likewise.
6350 (scalbnl): Likewise.
6351 (scalbln): Likewise.
6352 (scalblnf): Likewise.
6353 (scalblnl): Likewise.
6354 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6358 * manual/filesys.texi (telldir): Use braces around return type.
6359 * manual/llio.texi (mmap): Add space after comma.
6361 * manual/math.texi (jn): Use @var{} on parameter names.
6367 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6369 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6371 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6372 (sched_get_priority_max): Likewise.
6373 * manual/signal.texi (sigvec): Add space after comma.
6374 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6376 (if_indextoname): Likewise.
6377 (if_freenameindex): Likewise.
6378 (sendto): Use ',' instead of '.' in prototype.
6379 * manual/startup.texi (syscall): Use @dots{} instead of literal
6381 * manual/stdio.texi (__fpending): Separate initial words of
6382 paragraph from @deftypefun line.
6383 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6385 (vsyslog): Use @var{} on parameter names.
6386 * manual/terminal.texi (stty): Use @var{} on parameter names.
6387 * manual/users.texi (getutmp): Use @var{} on parameter names.
6388 (getutmpx): Likewise.
6390 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6393 * manual/stdio.texi (fopen): Fix typos in description of
6396 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6399 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6400 get clock_id definition.
6402 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6405 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6406 (madvise): Cast every argument to void on its own.
6408 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6411 * manual/startup.texi (Exit Status): Fix typo.
6413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6416 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6417 * manual/examples/argp-ex2.c: Likewise.
6418 * manual/examples/argp-ex3.c: Likewise.
6420 2012-02-16 Richard Henderson <rth@redhat.com>
6422 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6423 * sysdeps/s390/s390-32/initfini.c: Remove.
6424 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6425 * sysdeps/s390/s390-64/initfini.c: Remove.
6427 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6429 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6430 compiler output for sysdeps/generic/initfini.c.
6431 * sysdeps/sh/elf/initfini.c: Remove file.
6433 2012-02-16 David S. Miller <davem@davemloft.net>
6436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6438 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6439 * sysdeps/sparc/crti.S: New file.
6440 * sysdeps/sparc/crtn.S: New file.
6441 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6442 * sysdeps/sparc/sparc64/Makefile: Likewise.
6444 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6447 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6449 2012-02-15 Roland McGrath <roland@hack.frob.com>
6452 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6454 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6455 (write, read, close): Likewise.
6456 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6458 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6460 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6461 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6462 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6463 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6465 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6469 2012-02-14 Marek Polacek <polacek@redhat.com>
6471 * sysdeps/x86_64/crti.S: New file.
6472 * sysdeps/x86_64/crtn.S: New file.
6473 * sysdeps/x86_64/elf/initfini.c: Remove file.
6475 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6477 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6478 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6480 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6482 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6486 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6488 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6489 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6490 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6491 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6493 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6497 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6499 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6500 __feraiseexcept instead of feraiseexcept.
6502 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6503 nanosleep invocations.
6504 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6505 strings, and add error checking for a nanosleep invocations.
6507 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6509 Replace FSF snail mail address with URLs, as per GNU coding standards.
6510 Most of the snail mail addresses were wrong anyway, and omitting
6511 them makes the source code easier to maintain. Almost all of the
6512 changes are to license notices and to locale LC_IDENTIFICATION
6513 addresses, except for this one:
6514 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6515 not its snail mail address.
6517 2012-02-09 Richard Henderson <rth@twiddle.net>
6519 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6520 of kernel-features.h.
6522 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6524 2012-02-08 Marek Polacek <polacek@redhat.com>
6526 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6527 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6528 * sysdeps/gnu/_G_config.h: Likewise.
6529 * sysdeps/generic/_G_config.h: Likewise.
6531 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6533 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6537 * sysdeps/powerpc/powerpc32/crti.S: New file.
6538 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6539 * sysdeps/powerpc/powerpc64/crti.S: New file.
6540 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6542 * Makeconfig (have-initfini): Don't set.
6543 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6544 * configure.in (nopic_initfini): Don't substitute.
6545 * config.h.in (HAVE_INITFINI): Don't #undef.
6546 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6547 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6549 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6551 Support crti.S and crtn.S provided directly by architectures.
6552 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6553 [crti.S in sysdirs] (omit-deps): Likewise.
6554 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6555 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6556 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6557 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6558 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6559 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6560 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6561 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6562 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6563 compiler output for sysdeps/generic/initfini.c.
6564 * sysdeps/i386/elf/Makefile: Remove file.
6565 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6567 2012-02-07 Marek Polacek <polacek@redhat.com>
6569 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6570 * sysdeps/gnu/_G_config.h: Likewise.
6571 * sysdeps/mach/hurd/_G_config.h: Likewise.
6573 2012-02-07 Marek Polacek <polacek@redhat.com>
6575 * math/Makefile (tests): Add tst-CMPLX2.
6576 * math/tst-CMPLX2.c: New file.
6578 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6580 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6582 * math/libm-test.inc (jn_test): Add missing L suffix.
6584 2012-02-06 Marek Polacek <polacek@redhat.com>
6586 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6587 * sysdeps/i386/fpu/e_powf.S: Likewise.
6588 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6589 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6591 * sysdeps/i386/fpu/e_pow.S: Likewise.
6592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6596 * sysdeps/i386/fpu/e_log2.S: Likewise.
6597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6599 * sysdeps/i386/fpu/e_powl.S: Likewise.
6600 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6601 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6602 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6603 * sysdeps/i386/fpu/e_logl.S: Likewise.
6604 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6605 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6606 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6607 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6608 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6609 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6610 * sysdeps/i386/fpu/e_log.S: Likewise.
6611 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6613 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6614 * sysdeps/i386/fpu/e_logf.S: Likewise.
6615 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6616 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6617 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6618 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6619 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6620 * sysdeps/i386/fpu/e_log10.S: Likewise.
6621 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6622 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6623 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6624 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6626 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6627 * sysdeps/i386/asm-syntax.h: Likewise.
6628 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6630 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6631 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6632 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6633 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6634 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6635 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6637 * sysdeps/powerpc/sysdep.h: Likewise.
6638 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6639 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6641 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6644 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6646 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6648 * sysdeps/i386/sysdep.h: Include <features.h>.
6649 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6652 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6654 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6656 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6659 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6661 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6662 (SETUP_PIC_REG): Use GET_PC_THUNK.
6663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6666 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6668 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6669 for non-PIC compilation.
6670 (SETUP_PIC_REG): Add .p2align directive.
6671 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6672 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6674 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6676 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6677 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6679 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6681 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6685 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6686 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6687 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6688 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6689 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6690 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6691 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6693 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6694 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6697 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6699 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6700 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6701 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6703 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6705 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6706 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6707 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6708 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6709 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6710 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6711 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6713 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6715 * math/tst-CMPLX.c: Include <stdio.h>.
6717 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6719 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6722 * sysdeps/sparc/bits/mathdef.h: Likewise.
6724 2012-01-31 Marek Polacek <polacek@redhat.com>
6726 * libio/libio.h: Don't define _PARAMS.
6727 * locale/programs/config.h: Don't define PARAMS.
6728 * stdlib/strtol_l.c: Likewise.
6729 (__strtol_l): Remove PARAMS from the prototype.
6731 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6733 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6734 names. Just use the correct names. Remove unnecessary wrapper
6736 * malloc/arena.c: Likewise.
6737 * malloc/hooks.c: Likewise.
6739 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6740 ARENA_TEST says not to. Simplify test for creation of a new arena.
6741 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6743 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6745 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6747 (update_get_addr): New function.
6748 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6749 GET_ADDR_MODULE parameter.
6751 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6753 * crypt/cert.c: Remove __STDC__ conditionals.
6754 * crypt/crypt-entry.c: Likewise.
6755 * crypt/crypt_util.c: Likewise.
6756 * libio/filedoalloc.c: Likewise.
6757 * libio/fileops.c: Likewise.
6758 * libio/genops.c: Likewise.
6759 * libio/iofclose.c: Likewise.
6760 * libio/iofdopen.c: Likewise.
6761 * libio/iofopen.c: Likewise.
6762 * libio/iofopen64.c: Likewise.
6763 * libio/iogetdelim.c: Likewise.
6764 * libio/iopopen.c: Likewise.
6765 * libio/obprintf.c: Likewise.
6766 * libio/oldfileops.c: Likewise.
6767 * libio/oldiofclose.c: Likewise.
6768 * libio/oldiofdopen.c: Likewise.
6769 * libio/oldiofopen.c: Likewise.
6770 * libio/oldiopopen.c: Likewise.
6771 * libio/wfiledoalloc.c: Likewise.
6772 * libio/wgenops.c: Likewise.
6773 * locale/programs/xmalloc.c: Likewise.
6774 * misc/syslog.c: Likewise.
6775 * stdio-common/xbug.c: Likewise.
6776 * string/memchr.c: Likewise.
6777 * string/memcmp.c: Likewise.
6778 * string/memrchr.c: Likewise.
6779 * string/rawmemchr.c: Likewise.
6780 * sysdeps/posix/getcwd.c: Likewise.
6781 * time/strftime_l.c: Likewise.
6783 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6785 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6786 * config.make.in (config-cflags-sse2avx): Define.
6787 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6790 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6792 * scripts/config.guess: Update from upstream config git repository.
6793 * scripts/config.sub: Likewise.
6795 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6797 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6799 (R_TILEPRO_*, R_TILEGX_*): New macros.
6801 * scripts/firstversions.awk: Fix bug in version range handling.
6803 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6805 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6807 * include/sys/epoll.h: New file.
6808 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6811 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6813 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6814 Avoid unnecessary __WORDSIZE == 64 test.
6815 (fmaxf): Use VEX format if possible.
6820 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6821 * math/math_private.h: Remove libc_fegetround* and
6823 * sysdeps/i386/configure.in: Check for -msse2avx.
6824 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6825 also if SSE2AVX is defined.
6826 Remove libc_fegetround* and libc_fesetround*.
6827 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6828 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6837 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6839 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6843 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6845 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6848 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6850 * Makeconfig (libm): Define.
6851 * elf/Makefile: Add rules to build and run tst-relsort1.
6852 * elf/tst-relsort1.c: New file.
6853 * elf/tst-relsort1mod1.c: New file.
6854 * elf/tst-relsort1mod2.c: New file.
6856 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6858 * math/s_ldexp.c: Remove __STDC__ conditionals.
6859 * math/s_ldexpf.c: Likewise.
6860 * math/s_ldexpl.c: Likewise.
6861 * math/s_nextafter.c: Likewise.
6862 * math/s_nexttowardf.c: Likewise.
6863 * math/s_significand.c: Likewise.
6864 * math/s_significandf.c: Likewise.
6865 * math/s_significandl.c: Likewise.
6866 * math/w_jnl.c: Likewise.
6867 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6868 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6869 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6870 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6871 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6886 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6887 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6889 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6891 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6892 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6893 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6894 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6895 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6896 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6897 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6898 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6899 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6900 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6901 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6904 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6905 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6906 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6907 * sysdeps/ieee754/k_standard.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6969 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6987 * sysdeps/ieee754/s_matherr.c: Likewise.
6988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6993 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6995 * crypt/md5.h: Remove __STDC__ conditionals.
6996 * libio/libioP.h: Likewise.
6997 * locale/programs/config.h: Likewise.
6998 * sysdeps/generic/sysdep.h: Likewise.
6999 * sysdeps/i386/asm-syntax.h: Likewise.
7000 * sysdeps/s390/asm-syntax.h: Likewise.
7001 * sysdeps/unix/sysdep.h: Likewise.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7005 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7007 * libio/libio.h: Remove __STDC__ conditionals.
7008 * malloc/obstack.h: Likewise.
7009 * math/complex.h: Likewise.
7010 * math/math.h: Likewise.
7011 * sysdeps/generic/_G_config.h: Likewise.
7012 * sysdeps/gnu/_G_config.h: Likewise.
7013 * sysdeps/mach/hurd/_G_config.h: Likewise.
7014 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7015 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7016 * sysdeps/sparc/bits/mathdef.h: Likewise.
7018 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7021 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7022 Clean up HAS_* macros.
7023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7024 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7029 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7034 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7036 * elf/tst-unique3.cc (gets): Remove declaration.
7037 * elf/tst-unique3lib.cc (gets): Likewise.
7038 * elf/tst-unique3lib2.cc (gets): Likewise.
7039 * elf/tst-unique4.cc (gets): Likewise.
7041 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7043 * include/stdio.h: Add C++ protection. Add gets declarations and
7045 * debug/tst-chk1.c: Don't declare gets here.
7046 * stdio-common/tst-gets.c: Likewise.
7048 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7050 * posix/glob: Remove directory.
7052 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7054 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7056 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7058 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7059 of the non-standard EPFNOSUPPORT.
7061 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7063 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7064 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7065 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7067 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7069 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7071 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7073 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7075 * nscd/grpcache.c (cache_addgr): Likewise.
7076 * nscd/hstcache.c (cache_addhst): Likewise.
7077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7078 * nscd/pwdcache.c (cache_addpw): Likewise.
7079 * nscd/servicescache.c (cache_addserv): Likewise.
7081 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7083 * malloc/malloc.c: Various cleanups.
7084 * malloc/hooks.c: Likewise.
7086 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7087 * stdlib/bug-fmtmsg1.c: New file.
7089 * stdlib/fmtmsg.c (init): Add missing unlock.
7090 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7092 2012-01-12 Marek Polacek <polacek@redhat.com>
7094 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7097 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7099 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7100 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7101 macro to ensure uniqueness of label name.
7102 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7103 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7105 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7107 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7110 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7114 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7116 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7118 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7119 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7122 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7124 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7125 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7129 * math/bits/math-finite.h: Add ldexp support.
7131 2012-01-10 Marek Polacek <polacek@redhat.com>
7133 * locale/programs/localedef.h (show_archive_content): Add noreturn
7136 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7138 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7140 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7142 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7144 * io/Makefile (headers): Add bits/poll2.h.
7146 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7149 typo #include statement.
7151 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7153 * include/sys/cdefs.h: Define __attribute_alloc_size.
7154 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7155 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7156 * elf/pldd.c: Likewise.
7157 * iconv/iconv_charmap.c: Likewise.
7158 * iconv/iconvconfig.c: Likewise.
7159 * iconv/strtab.c: Likewise.
7160 * locale/programs/locale.c: Likewise.
7161 * locale/programs/localedef.h: Likewise.
7162 * locale/programs/simple-hash.c: Likewise.
7163 * nscd/nscd.h: Likewise.
7164 * nss/makedb.c: Likewise.
7165 * sysdeps/generic/ldconfig.h: Likewise.
7166 * locale/programs/localedef.c: Remove xmalloc prototype.
7167 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7169 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7174 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7176 * math/Makefile (tests): Add tst-CMPLX.
7177 * math/tst-CMPLX.c: New file.
7179 * math/complex.h (CMPLXL): Fix typo.
7181 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7182 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7184 * debug/tst-chk1.c: Add poll and ppoll tests.
7185 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7186 * include/sys/poll.h: Add hidden proto for ppoll.
7187 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7188 * sysdeps/mach/hurd/ppoll.c: Likewise.
7189 * io/ppoll.c: Likewise.
7190 * debug/poll_chk.c: New file.
7191 * debug/ppoll_chk.c: New file.
7192 * include/bits/poll2.h: New file.
7193 * io/bits/poll2.h: New file.
7196 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7198 * configure.in: static is always set to yes. Remove.
7199 * config.make.in: Don't set build-static.
7200 * Makeconfig: Remove use of build-static.
7201 * dlfcn/Makefile: Likewise.
7202 * elf/Makefile: Likewise.
7203 * math/Makefile: Likewise.
7204 * misc/Makefile: Likewise.
7205 * nptl/Makefile: Likewise.
7206 * sysdeps/mach/hurd/Makefile: Likewise.
7208 * configure.in: PWD_P is not used anymore.
7209 * config.make.in: Remove PWD_P entry.
7211 * configure.in: Remove last remnants of RANLIB.
7212 No need to check for signed size_t anymore.
7213 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7215 Remove __builtin_expect test because we require at least gcc 3.4.
7216 * aclocal.m4: Likewise.
7218 * wcsmbs/mbrtoc16.c: Implement using towc function.
7219 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7220 * wcsmbs/wcsmbsload.c: Likewise.
7221 * iconv/gconv_simple.c: Likewise.
7222 * iconv/gconv_int.h: Likewise.
7223 * iconv/gconv_builtin.h: Likewise.
7224 * iconv/iconv_prog.c: Remove CHAR16 handling.
7226 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7228 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7230 * configure.in: Remove --with-elf and --enable-bounded options.
7231 Dont set base_machine for ia64. More non-ELF conditions removed.
7232 Remove testing and setting of leading underscore information.
7233 * config.make.in (build-bounded): Set to no.
7234 * config.h.in: Remove NO_UNDERSCORES entry.
7235 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7237 * csu/start.c: Remove !NO_UNDERSCORE code.
7238 * locale/localeinfo.h: Likewise.
7239 * sysdeps/generic/machine-gmon.h: Likewise.
7240 * sysdeps/generic/sysdep.h: Likewise.
7241 * sysdeps/i386/sysdep.h: Likewise.
7242 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7243 * sysdeps/mach/sysdep.h: Likewise.
7244 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7245 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7246 * sysdeps/sh/sysdep.h: Likewise.
7247 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7248 * sysdeps/unix/i386/sysdep.S: Likewise.
7249 * sysdeps/unix/sparc/start.c: Likewise.
7250 * sysdeps/unix/sparc/sysdep.S: Likewise.
7251 * sysdeps/unix/sparc/sysdep.h: Likewise.
7252 * sysdeps/unix/start.c: Likewise.
7253 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7254 * sysdeps/x86_64/sysdep.h: Likewise.
7256 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7259 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7261 * argp/argp-fmtstream.h: Use const instead __const.
7262 * argp/argp.h: Likewise.
7263 * assert/assert.h: Likewise.
7264 * bits/fenv.h: Likewise.
7265 * bits/sched.h: Likewise.
7266 * bits/sigset.h: Likewise.
7267 * bits/sigthread.h: Likewise.
7268 * catgets/nl_types.h: Likewise.
7269 * conform/data/pthread.h-data: Likewise.
7270 * crypt/crypt-private.h: Likewise.
7271 * crypt/crypt.h: Likewise.
7272 * crypt/crypt_util.c: Likewise.
7273 * ctype/ctype.h: Likewise.
7274 * debug/execinfo.h: Likewise.
7275 * debug/mbsnrtowcs_chk.c: Likewise.
7276 * debug/mbsrtowcs_chk.c: Likewise.
7277 * debug/wcsnrtombs_chk.c: Likewise.
7278 * debug/wcsrtombs_chk.c: Likewise.
7279 * debug/wcstombs_chk.c: Likewise.
7280 * dirent/dirent.h: Likewise.
7281 * dlfcn/dlfcn.h: Likewise.
7282 * elf/neededtest4.c: Likewise.
7283 * grp/grp.h: Likewise.
7284 * gshadow/gshadow.h: Likewise.
7285 * iconv/gconv.h: Likewise.
7286 * iconv/gconv_int.h: Likewise.
7287 * iconv/gconv_simple.c: Likewise.
7288 * iconv/iconv.h: Likewise.
7289 * iconv/loop.c: Likewise.
7290 * iconv/skeleton.c: Likewise.
7291 * include/aio.h: Likewise.
7292 * include/aliases.h: Likewise.
7293 * include/argz.h: Likewise.
7294 * include/arpa/inet.h: Likewise.
7295 * include/assert.h: Likewise.
7296 * include/dirent.h: Likewise.
7297 * include/dlfcn.h: Likewise.
7298 * include/execinfo.h: Likewise.
7299 * include/fcntl.h: Likewise.
7300 * include/fenv.h: Likewise.
7301 * include/glob.h: Likewise.
7302 * include/grp.h: Likewise.
7303 * include/libintl.h: Likewise.
7304 * include/mntent.h: Likewise.
7305 * include/netdb.h: Likewise.
7306 * include/pwd.h: Likewise.
7307 * include/rpc/netdb.h: Likewise.
7308 * include/sched.h: Likewise.
7309 * include/search.h: Likewise.
7310 * include/shadow.h: Likewise.
7311 * include/signal.h: Likewise.
7312 * include/stdio.h: Likewise.
7313 * include/stdlib.h: Likewise.
7314 * include/string.h: Likewise.
7315 * include/sys/socket.h: Likewise.
7316 * include/sys/stat.h: Likewise.
7317 * include/sys/statfs.h: Likewise.
7318 * include/sys/statvfs.h: Likewise.
7319 * include/sys/syslog.h: Likewise.
7320 * include/sys/time.h: Likewise.
7321 * include/sys/uio.h: Likewise.
7322 * include/time.h: Likewise.
7323 * include/unistd.h: Likewise.
7324 * include/utmp.h: Likewise.
7325 * include/wchar.h: Likewise.
7326 * include/wctype.h: Likewise.
7327 * inet/aliases.h: Likewise.
7328 * inet/arpa/inet.h: Likewise.
7329 * inet/netinet/ether.h: Likewise.
7330 * inet/netinet/in.h: Likewise.
7331 * intl/libintl.h: Likewise.
7332 * io/bits/fcntl2.h: Likewise.
7333 * io/fcntl.h: Likewise.
7334 * io/ftw.h: Likewise.
7335 * io/sys/poll.h: Likewise.
7336 * io/sys/stat.h: Likewise.
7337 * io/sys/statfs.h: Likewise.
7338 * io/sys/statvfs.h: Likewise.
7339 * io/utime.h: Likewise.
7340 * libio/bits/stdio.h: Likewise.
7341 * libio/bits/stdio2.h: Likewise.
7342 * libio/libio.h: Likewise.
7343 * libio/libioP.h: Likewise.
7344 * libio/stdio.h: Likewise.
7345 * locale/lc-ctype.c: Likewise.
7346 * locale/locale.h: Likewise.
7347 * login/utmp.h: Likewise.
7348 * malloc/arena.c: Likewise.
7349 * malloc/malloc.c: Likewise.
7350 * malloc/malloc.h: Likewise.
7351 * malloc/mcheck.c: Likewise.
7352 * malloc/mtrace.c: Likewise.
7353 * math/bits/mathcalls.h: Likewise.
7354 * math/fenv.h: Likewise.
7355 * math/math_private.h: Likewise.
7356 * misc/bits/error.h: Likewise.
7357 * misc/bits/syslog.h: Likewise.
7358 * misc/err.h: Likewise.
7359 * misc/error.h: Likewise.
7360 * misc/fstab.h: Likewise.
7361 * misc/mntent.h: Likewise.
7362 * misc/regexp.h: Likewise.
7363 * misc/search.h: Likewise.
7364 * misc/sgtty.h: Likewise.
7365 * misc/sys/mman.h: Likewise.
7366 * misc/sys/syslog.h: Likewise.
7367 * misc/sys/uio.h: Likewise.
7368 * misc/sys/xattr.h: Likewise.
7369 * misc/ttyent.h: Likewise.
7370 * nis/rpcsvc/ypclnt.h: Likewise.
7371 * nss/nss.h: Likewise.
7372 * posix/bits/unistd.h: Likewise.
7373 * posix/fnmatch.h: Likewise.
7374 * posix/glob.h: Likewise.
7375 * posix/sched.h: Likewise.
7376 * posix/spawn.h: Likewise.
7377 * posix/sys/wait.h: Likewise.
7378 * posix/unistd.h: Likewise.
7379 * posix/wordexp.h: Likewise.
7380 * pwd/pwd.h: Likewise.
7381 * resolv/netdb.h: Likewise.
7382 * resource/sys/resource.h: Likewise.
7383 * rt/aio.h: Likewise.
7384 * rt/bits/mqueue2.h: Likewise.
7385 * rt/mqueue.h: Likewise.
7386 * shadow/shadow.h: Likewise.
7387 * signal/signal.h: Likewise.
7388 * socket/send.c: Likewise.
7389 * socket/sendto.c: Likewise.
7390 * socket/sys/socket.h: Likewise.
7391 * stdio-common/printf.h: Likewise.
7392 * stdlib/bits/stdlib.h: Likewise.
7393 * stdlib/fmtmsg.h: Likewise.
7394 * stdlib/monetary.h: Likewise.
7395 * stdlib/stdlib.h: Likewise.
7396 * stdlib/ucontext.h: Likewise.
7397 * streams/stropts.h: Likewise.
7398 * string/argz.h: Likewise.
7399 * string/bits/string2.h: Likewise.
7400 * string/string.h: Likewise.
7401 * string/strings.h: Likewise.
7402 * sunrpc/rpc/auth.h: Likewise.
7403 * sunrpc/rpc/auth_des.h: Likewise.
7404 * sunrpc/rpc/clnt.h: Likewise.
7405 * sunrpc/rpc/netdb.h: Likewise.
7406 * sunrpc/rpc/pmap_clnt.h: Likewise.
7407 * sunrpc/rpc/xdr.h: Likewise.
7408 * sysdeps/generic/inttypes.h: Likewise.
7409 * sysdeps/generic/net/if.h: Likewise.
7410 * sysdeps/generic/sys/swap.h: Likewise.
7411 * sysdeps/gnu/net/if.h: Likewise.
7412 * sysdeps/gnu/utmpx.h: Likewise.
7413 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7414 * sysdeps/i386/i486/bits/string.h: Likewise.
7415 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7416 * sysdeps/s390/bits/string.h: Likewise.
7417 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7418 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7419 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7420 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7421 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7422 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7423 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7424 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7425 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7426 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7427 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7428 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7429 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7430 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7431 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7432 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7433 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7436 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7438 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7439 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7440 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7441 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7442 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7445 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7446 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7447 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7448 * sysvipc/sys/ipc.h: Likewise.
7449 * sysvipc/sys/msg.h: Likewise.
7450 * sysvipc/sys/sem.h: Likewise.
7451 * sysvipc/sys/shm.h: Likewise.
7452 * termios/termios.h: Likewise.
7453 * time/sys/time.h: Likewise.
7454 * time/time.h: Likewise.
7455 * wcsmbs/bits/wchar2.h: Likewise.
7456 * wcsmbs/uchar.h: Likewise.
7457 * wcsmbs/wchar.h: Likewise.
7458 * wctype/wctype.h: Likewise.
7461 * Makeconfig: Remove all but ELF support including AIX support.
7462 * Makerules: Likewise.
7463 * config.h.in: Likewise.
7464 * config.make.in: Likewise.
7465 * configure: Likewise.
7466 * configure.in: Likewise.
7467 * csu/Makefile: Likewise.
7468 * csu/version.c: Likewise.
7469 * debug/Makefile: Likewise.
7470 * dlfcn/Makefile: Likewise.
7471 * elf/Makefile: Likewise.
7472 * extra-lib.mk: Likewise.
7473 * iconv/Makefile: Likewise.
7474 * include/libc-symbols.h: Likewise.
7475 * include/shlib-compat.h: Likewise.
7476 * resolv/Makefile: Likewise.
7477 * resolv/res_libc.c: Likewise.
7478 * rt/Makefile: Likewise.
7479 * sysdeps/i386/asm-syntax.h: Likewise.
7480 * sysdeps/i386/sysdep.h: Likewise.
7481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7482 * sysdeps/mach/sysdep.h: Likewise.
7483 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7484 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7485 * sysdeps/s390/asm-syntax.h: Likewise.
7486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7488 * sysdeps/sh/sysdep.h: Likewise.
7489 * sysdeps/unix/sparc/sysdep.h: Likewise.
7490 * sysdeps/wordsize-32/divdi3.c: Likewise.
7491 * sysdeps/x86_64/sysdep.h: Likewise.
7493 * argp/Versions: Remove _argp_unlock_xxx.
7496 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7497 * abilist/libBrokenLocale.abilist: Likewise.
7498 * abilist/libanl.abilist: Likewise.
7499 * abilist/libc.abilist: Likewise.
7500 * abilist/libcrypt.abilist: Likewise.
7501 * abilist/libdl.abilist: Likewise.
7502 * abilist/libm.abilist: Likewise.
7503 * abilist/libnsl.abilist: Likewise.
7504 * abilist/libpthread.abilist: Likewise.
7505 * abilist/libresolv.abilist: Likewise.
7506 * abilist/librt.abilist: Likewise.
7507 * abilist/libthread_db.abilist: Likewise.
7508 * abilist/libutil.abilist: Likewise.
7509 * abilist/libnss_db.abilist: New file.
7511 * scripts/abilist.awk: Add support for indirect functions.
7513 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7515 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7517 * shlib-versions: Remove entries for ports architectures.
7519 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7521 * elf/stackguard-macros.h: Remove support for IA-64.
7522 * elf/tst-auditmod1.c: Likewise.
7523 * sysdeps/generic/ldsodefs.h: Likewise.
7525 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7526 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7530 * configure.in: Remove --enable-omitfp support.
7532 * config.make.in: Likewise.
7533 * Makeconfig: Likewise.
7534 * manual/install.texi: Likewise.
7536 In case anyone cares, the IA-64 architecture could move to ports.
7537 * sysdeps/ia64/*: Removed.
7538 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7539 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7542 * configure.in: Remove entries for unsupported architectures.
7545 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7546 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7548 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7549 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7550 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7551 fall back to using wcrtomb.
7552 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7553 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7555 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7556 * wcsmbs/tst-c16c32-1.c: New file.
7558 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7561 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7563 * elf/tst-unique3.cc: Add explicit declaration of gets.
7564 * elf/tst-unique3lib.cc: Likewise.
7565 * elf/tst-unique3lib2.cc: Likewise.
7566 * elf/tst-unique4.cc: Likewise.
7568 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7570 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7573 * assert/assert.h (static_assert): Don't define for C++.
7574 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7575 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7577 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7579 * iconv/loop.c (single loop): Fix assertion in storing of
7582 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7584 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7586 * posix/getconf.c: Update copyright year.
7587 * nss/getent.c: Likewise.
7588 * nss/makedb.c: Likewise.
7589 * iconv/iconvconfig.c: Likewise.
7590 * iconv/iconv_prog.c: Likewise.
7591 * elf/ldconfig.c: Likewise.
7592 * elf/pldd.c: Likewise.
7593 * elf/sotruss.ksh: Likewise.
7594 * catgets/gencat.c: Likewise.
7595 * csu/version.c: Likewise.
7596 * elf/ldd.bash.in: Likewise.
7597 * elf/sprof.c (print_version): Likewise.
7598 * locale/programs/locale.c: Likewise.
7599 * locale/programs/localedef.c: Likewise.
7600 * login/programs/pt_chown.c: Likewise.
7601 * nscd/nscd.c (print_version): Likewise.
7602 * debug/xtrace.sh: Likewise.
7603 * malloc/memusage.sh: Likewise.
7604 * malloc/mtrace.pl: Likewise.
7605 * debug/catchsegv.sh: Likewise.
7607 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7609 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7612 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7615 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7616 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7618 * iconv/gconv_int.h: Likewise.
7619 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7620 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7621 from libc for GLIBC_2.16.
7622 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7623 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7624 * wcsmbs/uchar.h: Really define mbstate_t.
7625 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7626 * wcsmbs/c16rtomb.c: New file.
7627 * wcsmbs/mbrtoc16.c: New file.
7628 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7630 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7631 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7633 * wcsmbs/wchar.h: Add missing __restrict.
7635 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7638 * time/Makefile (routines): Add timespec_get.
7639 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7640 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7641 timespec for ISO C11.
7642 * time/timespec_get.c: New file.
7643 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7644 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7647 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7648 * stdlib/stdlib.h: Declare aligned_alloc.
7649 * Versions.def: Add GLIBC_2.16 for libc.
7650 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7653 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7656 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7660 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7663 * assert/assert.h (static_assert): Define.
7665 * version.h: Update for 2.16 development version.
7668 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7671 * version.h (RELEASE): Bump for 2.15 release.
7672 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7674 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7675 Patch by Marek Polacek <mpolacek@redhat.com>.
7677 * bits/byteswap.h: Protect long long constants with __extension__.
7678 * sysdeps/i386/bits/byteswap.h: Likewise.
7679 * sysdeps/ia64/bits/byteswap.h: Likewise.
7680 * sysdeps/s390/bits/byteswap.h: Likewise.
7681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7683 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7686 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7688 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7690 2011-12-23 Marek Polacek <polacek@redhat.com>
7692 * elf/dl-addr.c (determine_info): Add inline keyword.
7693 * elf/tst-auditmod4b.c (check_avx): Likewise.
7694 * elf/tst-auditmod6b.c (check_avx): Likewise.
7695 * elf/tst-auditmod6c.c (check_avx): Likewise.
7696 * elf/tst-auditmod7b.c (check_avx): Likewise.
7698 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7700 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7703 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7706 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7707 processing for last bytes.
7709 2011-08-06 Bruno Haible <bruno@clisp.org>
7712 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7713 U+0385, not to U+1FEE.
7716 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7717 entry for U+00A5 U+0301.
7719 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7722 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7723 buffer for the output is too small.
7725 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7729 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7730 SSE flags if possible.
7732 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7735 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7736 processing for last bytes.
7738 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7740 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7741 (syscall-list-default-options, syscall-list-default-condition)
7742 (syscall-list-includes): Define.
7743 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7744 list of ABIs and options and #if conditions for each ABI. Do not
7745 handle common syscalls between ABIs specially.
7746 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7748 (syscall-list-variants, syscall-list-32bit-options)
7749 (syscall-list-32bit-condition, syscall-list-64bit-options)
7750 (syscall-list-64bit-condition): Define.
7751 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7752 (syscall-list-variants, syscall-list-32bit-options)
7753 (syscall-list-32bit-condition, syscall-list-64bit-options)
7754 (syscall-list-64bit-condition): Define.
7755 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7757 (syscall-list-variants, syscall-list-32bit-options)
7758 (syscall-list-32bit-condition, syscall-list-64bit-options)
7759 (syscall-list-64bit-condition): Define.
7760 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7762 (syscall-list-variants, syscall-list-32bit-options)
7763 (syscall-list-32bit-condition, syscall-list-64bit-options)
7764 (syscall-list-64bit-condition): Define.
7766 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7768 * locale/iso-639.def: Add brx entry.
7771 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7772 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7774 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7775 __feraiseexcept_renamed.
7777 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7780 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7781 EPOLLET with unsigned values.
7782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7785 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7786 to large cancellation.
7787 * math/s_cacoshf.c: Likewise.
7788 * math/s_cacoshl.c: Likewise.
7790 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7794 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7795 * math/s_cacoshf.c: Likewise.
7796 * math/s_cacoshl.c: Likewise.
7798 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7801 * iconv/gconv.h: Define __GCONV_SWAP.
7802 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7803 * iconvdata/utf-16.c: Likewise.
7804 * iconvdata/utf-32.c: Likewise.
7806 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7809 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7810 numerator after shifting it by one limb.
7812 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7815 under [__USE_EXTERN_INLINES].
7817 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7820 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7822 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7824 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7825 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7827 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7828 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7829 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7830 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7831 for strncasecmp/strncasecmp_l compilation.
7832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7833 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7835 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7838 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7841 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7844 * time/tzfile.c (__tzfile_read): Check values from file header.
7846 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7848 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7849 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7850 * powerpc/powerpc32/dl-start.S: Likewise.
7851 * powerpc/powerpc32/elf/start.S: Likewise.
7852 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7853 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7854 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7855 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7856 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7857 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7858 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7859 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7860 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7861 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7862 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7863 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7864 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7865 * powerpc/powerpc32/memset.S: Likewise.
7866 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7867 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7868 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7869 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7870 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7871 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7872 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7873 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7874 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7875 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7876 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7877 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7878 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7880 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7882 * math/libm-test.inc: Added more nearbyint tests.
7883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7885 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7888 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7890 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7893 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7895 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7896 Add wcscpy-ssse3 wcscpy-c.
7897 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7898 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7899 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7900 * sysdeps/x86_64/wcschr.S: New file.
7901 * sysdeps/x86_64/wcsrchr.S: New file.
7902 * string/test-strcmp.c: Remove checking of wcscmp function for
7904 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7905 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7906 wcsrchr-sse2 wcsrchr-c.
7907 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7908 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7909 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7910 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7911 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7912 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7913 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7914 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7915 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7916 * wcsmbc/wcschr.c (WCSCHR): New macro.
7918 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7920 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7921 * wcsmbs/test-wcsrchr.c: New file.
7922 * string/test-strrchr.c: Add wcsrchr support.
7924 * wcsmbs/test-wcscpy.c: New file.
7925 * string/test-strcpy.c: Add wcscpy support.
7928 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7930 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7933 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7936 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7938 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7941 Minor optimizations.
7943 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7944 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7945 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7947 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7949 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7950 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7951 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7952 for gcc to avoid warnings.
7953 * inet/Makefile (tests): Add tst-checks.
7954 * inet/tst-checks.c: New file.
7956 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7959 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7962 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7963 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7965 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7967 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7969 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7972 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7974 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7976 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7977 conditional on GCC version.
7978 (__arch_compare_and_exchange_val_8_acq)
7979 (__arch_compare_and_exchange_val_16_acq)
7980 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7981 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7982 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7984 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7986 * sysdeps/sh/backtrace.c: New file.
7988 2011-12-02 Andreas Schwab <schwab@redhat.com>
7990 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7993 2011-12-01 Andreas Schwab <schwab@redhat.com>
7995 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7996 falling back to utime.
7998 2011-11-30 Andreas Schwab <schwab@redhat.com>
8000 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8001 expectations for float.
8003 2011-11-29 Andreas Schwab <schwab@redhat.com>
8005 * locale/weight.h (findidx): Add parameter len.
8006 * locale/weightwc.h (findidx): Likewise.
8007 * posix/fnmatch_loop.c (FCT): Adjust caller.
8008 * posix/regcomp.c (build_equiv_class): Likewise.
8009 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8010 * posix/regexec.c (check_node_accept_bytes): Likewise.
8011 * string/strcoll_l.c (STRCOLL): Likewise.
8012 * string/strxfrm_l.c (STRXFRM): Likewise.
8014 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8016 * Makefile.in: Remove CVSOPT handling.
8017 * configure.in: Remove use of AC_REVISION.
8018 * iconvdata/Makefile (distribute): No need to filter out CVS.
8019 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8022 2011-11-16 Andreas Schwab <schwab@redhat.com>
8024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8025 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8026 [USE_AS_STRNCASECMP_L]: Likewise.
8027 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8028 NO_TLS_DIRECT_SEG_REFS.
8029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8030 Fix argument offsets for non-PIC.
8031 [USE_AS_STRNCASECMP_L]: Likewise.
8032 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8033 NO_TLS_DIRECT_SEG_REFS.
8035 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8037 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8039 * locale/loadlocale.c (_nl_load_locale): Likewise.
8041 2011-11-15 Andreas Schwab <schwab@redhat.com>
8043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8044 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8045 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8046 (SYSCALL_GETTIME): Set errno on error.
8048 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8049 count references to noai6ai_cached.
8051 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8053 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8055 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8056 FD_CLOEXEC for /proc/self/maps.
8058 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8059 FD_CLOEXEC for /proc/meminfo.
8061 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8064 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8065 FD_CLOEXEC for given file.
8067 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8069 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8070 FD_CLOEXEC for /etc/hosts.
8071 (_gethtent): Likewise.
8073 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8075 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8076 cancellation and set FD_CLOEXEC for /etc/netgroup.
8078 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8079 reading /etc/publickey.
8081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8082 allow cancellation when reading /etc/group.
8084 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8086 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8088 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8089 when using data file.
8091 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8093 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8094 (write_nis_obj): Use "c" and "e" in fopen.
8096 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8098 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8100 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8102 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8104 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8107 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8109 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8111 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8113 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8114 file parsing and set FD_CLOEXEC.
8116 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8118 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8120 2011-11-14 Andreas Schwab <schwab@redhat.com>
8122 * malloc/arena.c (arena_get2): Don't call reused_arena when
8123 _int_new_arena failed.
8125 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8127 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8128 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8133 to compile strcasecmp and strncasecmp.
8134 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8135 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8139 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8141 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8142 locale-defines.sym to gen-as-const-headers.
8143 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8144 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8146 to compile strcasecmp and strncasecmp.
8147 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8148 strcasecmp_l and strncasecmp_l.
8149 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8150 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8151 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8152 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8153 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8154 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8155 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8156 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8157 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8158 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8159 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8161 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8163 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8164 result of SYSDEP_GETTIME_CPU to retval.
8165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8166 parameter list to macro. Remove trailing semicolon. Adjust users.
8168 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8171 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8173 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8175 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8176 from unused variable.
8178 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8180 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8183 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8186 * sunrpc/rpc_prot.c (rejected): Fix case value.
8188 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8189 unsigned long long int to avoid warnings in shift.
8191 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8193 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8196 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8197 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8198 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8200 * nis/nis_table.c (nis_list): Use variable of correct type for
8201 result of __follow_path call.
8203 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8205 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8206 of math functions ceil, trunc, floor, round, and sqrt, when
8207 avaliable on the platform.
8208 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8211 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8212 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8214 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8216 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8217 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8219 2011-11-11 Roland McGrath <roland@hack.frob.com>
8221 * include/unistd.h: Fix __readlink return type.
8222 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8224 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8226 * stdlib/ucontext.h: Undo last change for makecontext.
8228 2011-11-11 Andreas Schwab <schwab@redhat.com>
8230 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8232 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8233 * setjmp/setjmp.h: Mark functions as non-leaf.
8234 * setjmp/bits/setjmp2.h: Likewise.
8235 * stdlib/ucontext.h: Likewise.
8237 2011-11-10 Andreas Schwab <schwab@redhat.com>
8239 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8240 (reused_arena): Don't check arena limit.
8241 (arena_get2): Atomically check arena limit.
8243 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8245 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8246 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8251 2011-11-07 Andreas Schwab <schwab@redhat.com>
8253 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8254 handler when locking.
8256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8257 Fix size of allocated buffer.
8259 2011-11-04 Andreas Schwab <schwab@redhat.com>
8262 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8263 declarations for long double functions.
8264 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8266 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8268 2011-11-03 Andreas Schwab <schwab@redhat.com>
8270 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8273 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8276 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8278 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8280 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8282 * include/alloca.h (stackinfo_alloca_round): Define.
8283 (extend_alloca): Use it.
8284 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8285 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8288 * scripts/check-local-headers.sh: Ignore libaudit.h.
8290 * nscd/Makefile (extra-objs): Make recursively expanded.
8292 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8294 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8295 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8297 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8298 * posix/tst-rfc3484-2.c: Likewise.
8299 * posix/tst-rfc3484-3.c: Likewise.
8301 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8303 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8305 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8306 process_vm_writev from libc using GLIBC_2.15 version.
8308 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8310 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8312 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8315 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8318 * nss/getent.c (initgroups_keys): Show error message in case no group
8321 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8322 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8323 __bump_nl_timestamp.
8324 * nscd/connections (nscd_init): When host database is served open
8325 netlink socket and request notification about configuration changes.
8326 (main_loop_poll): Track netlink file descriptor and bump timestamp
8327 in case data becomes available.
8328 (main_loop_epoll): Likewise.
8329 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8330 (database_pers_head): Add extra_data fileds.
8331 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8332 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8333 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8336 in6ai data, call __free_in6ai.
8337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8339 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8340 interface information. Reuse previous data if netlink timestamp
8342 (__bump_nl_timestamp): New function.
8343 (__free_in6ai): New function.
8345 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8348 close_not_cancel_no_status here.
8349 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8351 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8354 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8357 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8358 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8359 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8361 2011-07-03 Andreas Jaeger <aj@suse.de>
8364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8365 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8366 * math/libm-test.inc (sin_test): Add test case.
8368 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8371 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8372 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8374 * elf/chroot_canon.c (chroot_canon): Cleanups.
8376 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8379 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8380 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8382 * string/test-strchr.c: Make usable for strchrnul testing.
8383 * string/test-strchrnul.c: New file.
8384 * string/Makefile (strop-tests): Add strchrnul.
8386 * po/it.po: Update from translation team.
8387 * po/es.po: Likewise.
8389 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8391 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8392 the three constants needed as parameters. Drop the others.
8393 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8394 __m128i_strloadu_tolower.
8395 Create and initialize variable zero and use it in all the places
8396 where _mm_setzero_si128 was used.
8398 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8399 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8400 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8401 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8403 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8404 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8405 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8406 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8407 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8408 __mpranred, __mptan.
8409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8413 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8414 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8416 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8417 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8419 2011-10-28 Andreas Schwab <schwab@redhat.com>
8421 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8423 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8426 wide char related routines to wcsmbs subdir.
8428 2011-10-27 Andreas Schwab <schwab@redhat.com>
8431 * misc/sys/cdefs.h (__THROWNL): Define.
8432 * posix/unistd.h: Use __THREADNL instead of __THREAD
8433 for memory synchronization functions.
8435 2011-10-26 Roland McGrath <roland@hack.frob.com>
8438 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8440 * manual/stdio.texi (Obstack Streams): Node removed.
8442 2011-10-26 Andreas Schwab <schwab@redhat.com>
8444 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8445 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8446 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8448 * math/math_private.h (math_force_eval): Allow non-addressable
8450 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8452 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8454 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8457 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8460 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8462 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8464 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8466 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8467 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8468 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8469 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8470 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8471 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8472 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8473 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8474 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8475 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8476 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8477 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8479 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8480 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8481 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8482 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8483 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8484 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8486 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8487 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8489 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8490 place. Use VEX encoding when compiling for AVX.
8492 2011-10-25 Andreas Schwab <schwab@redhat.com>
8494 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8495 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8497 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8499 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8501 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8502 useless if() expression.
8503 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8514 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8515 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8517 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8523 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8525 2011-10-25 Andreas Schwab <schwab@redhat.com>
8527 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8529 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8531 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8533 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8534 .text section. Avoid duplicate constants.
8535 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8545 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8547 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8550 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8552 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8558 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8559 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8560 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8561 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8563 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8564 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8566 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8568 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8569 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8570 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8571 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8573 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8574 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8575 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8577 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8578 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8579 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8581 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8583 * sysdeps/x86_64/dla.h: Move to ...
8584 * sysdeps/x86_64/fpu/dla.h: ...here.
8585 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8586 situations. Use __builtin_fma only for gcc 4.6 and up.
8588 * config.make.in: Add have-mfma4 entry.
8589 * configure.in: Substitute libc_cv_cc_fma4.
8590 * math/Makefile (dbl-only-routines): Add sincostab.
8591 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8592 Use __sincostab not sincos.
8593 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8600 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8601 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8602 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8603 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8605 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8606 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8608 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8609 define aliases when function name is a macro.
8610 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8611 sysdeps/ieee754/dbl-64/sincos.tbl.
8612 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8613 fma4-enabled routines.
8614 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8615 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8616 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8617 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8618 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8619 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8621 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8623 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8624 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8625 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8626 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8627 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8629 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8630 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8631 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8632 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8634 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8635 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8639 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8641 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8642 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8643 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8645 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8656 2011-10-24 Andreas Schwab <schwab@redhat.com>
8658 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8660 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8664 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8666 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8668 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8669 Remove unused variable magic_bits.
8670 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8672 * string/strnlen.c: Define and use STRNLEN macro.
8673 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8674 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8676 * wcsmbs/wcslen.c: Define and use WCSLEN.
8677 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8678 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8679 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8680 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8681 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8682 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8683 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8685 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8688 strnlen-sse2-no-bsf.
8689 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8691 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8692 Add strnlen support.
8693 (USE_AS_STRNLEN): New macro.
8694 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8696 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8697 * sysdeps/x86_64/wcslen.S: New file.
8699 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8702 XMM-moves are used for copying on small sizes.
8704 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8706 * wcsmbs/Makefile (strop-tests): Add wcschr.
8707 * wcsmbs/test-wcschr.c: New file.
8708 * string/test-strchr.c: Update.
8712 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8714 * wcsmbs/Makefile (strop-tests): Add wcslen.
8715 * wcsmbs/test-wcslen.c: New file.
8716 * string/test-strlen.c: Update.
8720 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8722 * po/it.po: Update from translation team.
8724 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8726 * sysdeps/x86_64/wcscmp.S: Update.
8727 Fix wrong comparison semantics.
8728 wcscmp shall use signed comparison not unsigned.
8729 Don't use substraction to avoid overflow bug.
8730 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8731 * wcsmbc/wcscmp.c: Likewise.
8732 * string/test-strcmp.c: Likewise.
8733 Add new tests to check cases with negative values.
8735 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8737 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8738 * sysdeps/x86_64/dla.h: ...here. New file.
8739 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8749 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8752 __ynl_finite aliases.
8754 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8758 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8760 [DLA_FMA] (EMULV): Use DLA_FMA.
8761 [DLA_FMA] (MUL12): Use EMULV.
8762 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8763 that are not needed.
8764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8772 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8774 * math/s_nan.c: Undef __nan.
8775 * math/s_nanf.c: Undef __nanf.
8776 * math/s_nanl.c: Undef __nanl.
8777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8780 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8782 * math/s_catan.c: Add branch predictions.
8783 * math/s_catanf.c: Likewise.
8784 * math/s_catanh.c: Likewise.
8785 * math/s_catanhf.c: Likewise.
8786 * math/s_catanhl.c: Likewise.
8787 * math/s_catanl.c: Likewise.
8788 * math/s_cexp.c: Likewise.
8789 * math/s_cexpf.c: Likewise.
8790 * math/s_cexpl.c: Likewise.
8791 * math/s_clog.c: Likewise.
8792 * math/s_clog10.c: Likewise.
8793 * math/s_clog10f.c: Likewise.
8794 * math/s_clog10l.c: Likewise.
8795 * math/s_clogf.c: Likewise.
8796 * math/s_clogl.c: Likewise.
8797 * math/s_csqrt.c: Likewise.
8798 * math/s_csqrtf.c: Likewise.
8799 * math/s_csqrtl.c: Likewise.
8800 * math/s_ctanf.c: Likewise.
8801 * math/s_ctanh.c: Likewise.
8802 * math/s_ctanhf.c: Likewise.
8803 * math/s_ctanhl.c: Likewise.
8804 * math/s_ctanl.c: Likewise.
8806 * math/math_private.h: Define __nan, __nanf, __nanl.
8807 * math/s_cacosh.c: Include <math_private.h>.
8808 * math/s_cacoshl.c: Likewise.
8809 * math/s_casinh.c: Likewise.
8810 * math/s_casinhf.c: Likewise.
8811 * math/s_casinhl.c: Likewise.
8812 * math/s_ccos.c: Rely entire on ccosh.
8813 * math/s_ccosf.c: Rely entire on ccoshf.
8814 * math/s_ccosl.c: Rely entirely on ccoshl.
8815 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8816 Remove tests for FE_INVALID.
8817 * math/s_ccoshf.c: Likewise.
8818 * math/s_ccoshl.c: Likewise.
8819 * math/s_csin.c: Likewise.
8820 * math/s_csinf.c: Likewise.
8821 * math/s_csinh.c Likewise.
8822 * math/s_csinhf.c: Likewise.
8823 * math/s_csinhl.c: Likewise.
8824 * math/s_csinl.c: Likewise.
8825 * math/s_ctan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8827 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8828 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8830 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8833 compilation problems.
8835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8838 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8840 * sysdeps/i386/configure.in: Test for -mfma4 option.
8841 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8842 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8843 COMMON_CPUID_INDEX_80000001.
8844 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8845 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8846 use it if FMA3 is not supported.
8847 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8849 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8850 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8852 2011-10-20 Andreas Schwab <schwab@redhat.com>
8855 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8856 it would create a cycle with a link time dependency.
8858 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8860 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8862 * string/Makefile (strop-tests): Add rawmemchr.
8863 * string/test-rawmemchr.c: New file.
8865 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8866 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8867 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8868 when compiling str{,n}casecmp and when AVX is available. Hook up
8869 new optimized code in initializers.
8871 2011-10-19 Andreas Schwab <schwab@redhat.com>
8873 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8874 __feraiseexcept instead of feraiseexcept.
8876 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8878 * math/math_private.h: Define defaults for libc_fetestexcept and
8880 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8881 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8882 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8883 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8884 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8885 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8886 libc_fetestexcept and libc_feupdateenv.
8888 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8889 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8890 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8891 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8892 libc_feholdexcept_setround.
8894 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8895 Add s_nearbyint-c and s_nearbyintf-c.
8896 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8898 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8900 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8901 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8903 * math/math_private.h: Define defaults for libc_fegetround,
8904 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8905 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8906 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8907 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8908 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8910 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8911 Remove comments and hacks for old compiler versions.
8912 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8913 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8916 2011-10-18 Andreas Schwab <schwab@redhat.com>
8918 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8919 (__feraiseexcept_renamed): Add __NTH.
8920 (feraiseexcept): Add __NTH. Rename local variables to fix
8921 namespace violations.
8923 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8927 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8929 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8930 recently added interfaces.
8931 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8933 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8934 about macro parameter expansion.
8936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8937 __NO_MATH_INLINES is defined. Cleanups.
8939 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8940 and __floorf is target has SSE4.1.
8941 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8942 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8944 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8946 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8950 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8952 2011-10-17 Andreas Schwab <schwab@redhat.com>
8954 * misc/sys/cdefs.h: Fix last change.
8956 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8959 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8961 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8963 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8972 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8973 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8975 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8977 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8979 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8981 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8983 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8986 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8987 ceil, ceilf, floor, floorf.
8989 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8990 Perform IRELATIVE relocations last.
8992 * elf/do-rel.h: Add another parameter nrelative, replacing the
8993 local variable with the same name. Change name of the function
8994 to end in Rel or Rela (uppercase).
8995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8996 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8997 elf_dynamic_do_##reloc function.
8999 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9001 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9002 is sufficient, at least on modern CPUs.
9004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9006 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9007 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9009 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9011 * math/bits/math-finite.h: Add entries for exp.
9012 * math/e_expl.c: Add __*_finite alias.
9013 * sysdeps/i386/fpu/e_exp.S: Likewise.
9014 * sysdeps/i386/fpu/e_expf.S: Likewise.
9015 * sysdeps/i386/fpu/e_expl.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9017 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9021 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9024 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9025 is sufficient, at least on modern CPUs.
9027 * ctype/ctype-info.c (__ctype_init): Define.
9028 * include/ctype.h (__ctype_init): Declare.
9029 (__ctype_b_loc): The variable is always initialized.
9030 (__ctype_toupper_loc): Likewise.
9031 (__ctype_tolower_loc): Likewise.
9032 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9033 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9035 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9037 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9039 * configure.in: Also look in $cxxmachine/include for C++ system
9042 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9044 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9045 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9046 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9047 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9049 (USE_AS_WMEMCMP): New macro.
9051 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9052 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9053 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9054 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9056 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9057 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9058 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9059 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9060 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9061 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9062 (USE_AS_WMEMCMP): New macro.
9063 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9064 * sysdeps/string/test-memcmp.c: Update.
9067 * wcsmbs/wmemcmp.c: Update.
9068 (WMEMCMP): New macro.
9071 2011-10-12 Andreas Jaeger <aj@suse.de>
9074 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9076 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9078 * libio/iofwide.c (do_length): Avoid warning.
9080 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9082 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9084 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9086 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9087 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9088 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9089 * sysdeps/i386/i686/fpu/e_log.S: New file.
9090 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9091 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9093 * ctype/ctype.h: Add support for inlined isXXX functions when
9096 2011-10-14 Andreas Schwab <schwab@redhat.com>
9098 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9100 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9102 2011-10-13 Roland McGrath <roland@hack.frob.com>
9105 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9107 2011-10-13 Andreas Schwab <schwab@redhat.com>
9109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9110 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9113 * sysdeps/x86_64/memrchr.S: Check for zero size.
9115 * string/stratcliff.c: Add memrchr tests.
9117 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9120 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9121 rawmemchr-sse2 rawmemchr-sse2-bsf.
9122 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9123 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9124 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9125 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9126 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9127 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9128 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9129 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9130 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9131 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9132 * string/memrchr.c (MEMRCHR): New macro.
9134 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9136 Add integration with gcc's -ffinite-math-only and optimize wrapper
9138 * Versions.def: Define GLIBC_2.15 version for libm.
9139 * math/Makefile (headers): Add bits/math-finite.h.
9140 * math/bits/math-finite.h: New file.
9141 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9142 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9143 * math/e_acoshl.c: Add __*_finite alias.
9144 * math/e_acosl.c: Likewise.
9145 * math/e_asinl.c: Likewise.
9146 * math/e_atan2l.c: Likewise.
9147 * math/e_atanhl.c: Likewise.
9148 * math/e_coshl.c: Likewise.
9149 * math/e_exp10.c: Likewise.
9150 * math/e_exp10f.c: Likewise.
9151 * math/e_exp10l.c: Likewise.
9152 * math/e_exp2l.c: Likewise.
9153 * math/e_fmodl.c: Likewise.
9154 * math/e_gammal_r.c: Likewise.
9155 * math/e_hypotl.c: Likewise.
9156 * math/e_j0l.c: Likewise.
9157 * math/e_j1l.c: Likewise.
9158 * math/e_jnl.c: Likewise.
9159 * math/e_lgammal_r.c: Likewise.
9160 * math/e_log10l.c: Likewise.
9161 * math/e_log2l.c: Likewise.
9162 * math/e_logl.c: Likewise.
9163 * math/e_powl.c: Likewise.
9164 * math/e_sinhl.c: Likewise.
9165 * math/e_sqrtl.c: Likewise.
9166 * math/e_scalb.c: Completely rewritten and optimized.
9167 * math/e_scalbf.c: Likewise.
9168 * math/e_scalbl.c: Likewise.
9169 * math/w_acos.c: Likewise.
9170 * math/w_acosf.c: Likewise.
9171 * math/w_acosl.c: Likewise.
9172 * math/w_acosh.c: Likewise.
9173 * math/w_acoshf.c: Likewise.
9174 * math/w_acoshl.c: Likewise.
9175 * math/w_asin.c: Likewise.
9176 * math/w_asinf.c: Likewise.
9177 * math/w_asinl.c: Likewise.
9178 * math/w_atan2.c: Likewise.
9179 * math/w_atan2f.c: Likewise.
9180 * math/w_atan2l.c: Likewise.
9181 * math/w_atanh.c: Likewise.
9182 * math/w_atanhf.c: Likewise.
9183 * math/w_atanhl.c: Likewise.
9184 * math/w_exp10.c: Likewise.
9185 * math/w_exp10f.c: Likewise.
9186 * math/w_exp10l.c: Likewise.
9187 * math/w_fmod.c: Likewise.
9188 * math/w_fmodf.c: Likewise.
9189 * math/w_fmodl.c: Likewise.
9190 * math/w_j0.c: Likewise.
9191 * math/w_j0f.c: Likewise.
9192 * math/w_j0l.c: Likewise.
9193 * math/w_j1.c: Likewise.
9194 * math/w_j1f.c: Likewise.
9195 * math/w_j1l.c: Likewise.
9196 * math/w_jn.c: Likewise.
9197 * math/w_jnf.c: Likewise.
9198 * math/w_log.c: Likewise.
9199 * math/w_logf.c: Likewise.
9200 * math/w_logl.c: Likewise.
9201 * math/w_log10.c: Likewise.
9202 * math/w_log10f.c: Likewise.
9203 * math/w_log10l.c: Likewise.
9204 * math/w_log2.c: Likewise.
9205 * math/w_log2f.c: Likewise.
9206 * math/w_log2l.c: Likewise.
9207 * math/w_pow.c: Likewise.
9208 * math/w_powf.c: Likewise.
9209 * math/w_powl.c: Likewise.
9210 * math/w_remainder.c: Likewise.
9211 * math/w_remainderf.c: Likewise.
9212 * math/w_remainderl.c: Likewise.
9213 * math/w_scalb.c: Likewise.
9214 * math/w_scalbf.c: Likewise.
9215 * math/w_scalbl.c: Likewise.
9216 * math/w_sqrt.c: Likewise.
9217 * math/w_sqrtf.c: Likewise.
9218 * math/w_sqrtl.c: Likewise.
9219 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9220 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9222 * math/math_private.h: Declare __kernel_standard_f.
9223 * math/w_cosh.c: Remove cruft and optimize a bit.
9224 * math/w_coshf.c: Likewise.
9225 * math/w_coshl.c: Likewise.
9226 * math/w_exp2.c: Likewise.
9227 * math/w_exp2f.c: Likewise.
9228 * math/w_exp2l.c: Likewise.
9229 * math/w_hypot.c: Likewise.
9230 * math/w_hypotf.c: Likewise.
9231 * math/w_hypotl.c: Likewise.
9232 * math/w_lgamma.c: Likewise.
9233 * math/w_lgamma_r.c: Likewise.
9234 * math/w_lgammaf.c: Likewise.
9235 * math/w_lgammaf_r.c: Likewise.
9236 * math/w_lgammal.c: Likewise.
9237 * math/w_lgammal_r.c: Likewise.
9238 * math/w_sinh.c: Likewise.
9239 * math/w_sinhf.c: Likewise.
9240 * math/w_sinhl.c: Likewise.
9241 * math/w_tgamma.c: Likewise.
9242 * math/w_tgammaf.c: Likewise.
9243 * math/w_tgammal.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9246 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9247 Minor optimizations. Pretty printing. Remove cruft.
9248 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9249 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9250 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9251 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9252 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9253 * sysdeps/i386/fpu/e_asin.S: Likewise.
9254 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9255 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9256 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9257 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9258 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9259 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9260 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9261 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9262 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9263 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9264 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9265 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9266 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9267 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9268 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9269 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9270 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9271 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9272 * sysdeps/i386/fpu/e_log.S: Likewise.
9273 * sysdeps/i386/fpu/e_log10.S: Likewise.
9274 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9275 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9276 * sysdeps/i386/fpu/e_log2.S: Likewise.
9277 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9278 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9279 * sysdeps/i386/fpu/e_logf.S: Likewise.
9280 * sysdeps/i386/fpu/e_logl.S: Likewise.
9281 * sysdeps/i386/fpu/e_pow.S: Likewise.
9282 * sysdeps/i386/fpu/e_powf.S: Likewise.
9283 * sysdeps/i386/fpu/e_powl.S: Likewise.
9284 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9285 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9286 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9287 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9288 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9289 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9290 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9291 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9292 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9314 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9315 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9316 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9317 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9318 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9320 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9321 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9322 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9323 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9324 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9326 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9327 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9328 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9329 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9330 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9331 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9332 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9333 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9334 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9386 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9388 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9389 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9390 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9391 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9392 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9393 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9394 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9395 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9396 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9401 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9402 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9403 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9404 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9405 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9406 (__isnanf): Likewise.
9407 (__isinf_ns): Likewise.
9408 (__isinf_nsf): Likewise.
9409 (__finite): Likewise.
9410 (__finitef): Likewise.
9411 (__ieee754_sqrt): Define as macro.
9412 (__ieee754_sqrtf): Define as macro.
9413 (__ieee754_sqrtl): Define as macro.
9414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9416 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9417 __FINITE_MATH_ONLY__ consistent.
9418 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9420 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9422 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9425 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9427 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9429 * po/ja.po: Update from translation team.
9431 2011-10-08 Roland McGrath <roland@hack.frob.com>
9433 * locale/programs/locarchive.c (prepare_address_space): New function.
9434 (create_archive, enlarge_archive, open_archive): Use it.
9436 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9437 inside [SHARED], where it is used.
9439 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9441 * nss/getent.c (netgroup_keys): Remove unused variable.
9442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9444 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9446 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9447 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9450 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9451 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9452 * math/Makefile (libm-calls): Add s_isinf_ns.
9453 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9454 * math/multc3.c: Likewise.
9455 * math/s_casin.c: Likewise.
9456 * math/s_casinf.c: Likewise.
9457 * math/s_casinl.c: Likewise.
9458 * math/s_ccos.c: Likewise.
9459 * math/s_ccosf.c: Likewise.
9460 * math/s_ccosl.c: Likewise.
9461 * math/s_ctan.c: Likewise.
9462 * math/s_ctanf.c: Likewise.
9463 * math/s_ctanh.c: Likewise.
9464 * math/s_ctanhf.c: Likewise.
9465 * math/s_ctanhl.c: Likewise.
9466 * math/s_ctanl.c: Likewise.
9467 * math/w_fmod.c: Likewise.
9468 * math/w_fmodf.c: Likewise.
9469 * math/w_fmodl.c: Likewise.
9470 * math/w_remainder.c: Likewise.
9471 * math/w_remainderf.c: Likewise.
9472 * math/w_remainderl.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9474 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9477 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9478 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9479 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9480 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9482 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9484 * stdio-common/printf_fphex.c: Likewise.
9485 * stdio-common/printf_size.c: Likewise.
9487 * math/e_exp10.c: Include math_private.h using <...> not "...".
9488 * math/e_exp10f.c: Likewise.
9489 * math/e_exp10l.c: Likewise.
9490 * math/e_exp2l.c: Likewise.
9491 * math/e_j0l.c: Likewise.
9492 * math/e_j1l.c: Likewise.
9493 * math/e_jnl.c: Likewise.
9494 * math/e_lgammal_r.c: Likewise.
9495 * math/e_rem_pio2l.c: Likewise.
9496 * math/e_scalb.c: Likewise.
9497 * math/e_scalbf.c: Likewise.
9498 * math/e_scalbl.c: Likewise.
9499 * math/k_cosl.c: Likewise.
9500 * math/k_sinl.c: Likewise.
9501 * math/k_tanl.c: Likewise.
9502 * math/s_cacoshf.c: Likewise.
9503 * math/s_catan.c: Likewise.
9504 * math/s_catanf.c: Likewise.
9505 * math/s_catanh.c: Likewise.
9506 * math/s_catanhf.c: Likewise.
9507 * math/s_catanhl.c: Likewise.
9508 * math/s_catanl.c: Likewise.
9509 * math/s_ccosh.c: Likewise.
9510 * math/s_ccoshf.c: Likewise.
9511 * math/s_ccoshl.c: Likewise.
9512 * math/s_cexp.c: Likewise.
9513 * math/s_cexpf.c: Likewise.
9514 * math/s_cexpl.c: Likewise.
9515 * math/s_clog.c: Likewise.
9516 * math/s_clog10.c: Likewise.
9517 * math/s_clog10f.c: Likewise.
9518 * math/s_clog10l.c: Likewise.
9519 * math/s_clogf.c: Likewise.
9520 * math/s_clogl.c: Likewise.
9521 * math/s_csin.c: Likewise.
9522 * math/s_csinf.c: Likewise.
9523 * math/s_csinh.c: Likewise.
9524 * math/s_csinhf.c: Likewise.
9525 * math/s_csinhl.c: Likewise.
9526 * math/s_csinl.c: Likewise.
9527 * math/s_csqrt.c: Likewise.
9528 * math/s_csqrtf.c: Likewise.
9529 * math/s_csqrtl.c: Likewise.
9530 * math/s_ctan.c: Likewise.
9531 * math/s_ctanf.c: Likewise.
9532 * math/s_ctanh.c: Likewise.
9533 * math/s_ctanhf.c: Likewise.
9534 * math/s_ctanhl.c: Likewise.
9535 * math/s_ctanl.c: Likewise.
9536 * math/s_ldexp.c: Likewise.
9537 * math/s_ldexpf.c: Likewise.
9538 * math/s_ldexpl.c: Likewise.
9539 * math/s_significand.c: Likewise.
9540 * math/s_significandf.c: Likewise.
9541 * math/s_significandl.c: Likewise.
9542 * math/w_acos.c: Likewise.
9543 * math/w_acosf.c: Likewise.
9544 * math/w_acosh.c: Likewise.
9545 * math/w_acoshf.c: Likewise.
9546 * math/w_acoshl.c: Likewise.
9547 * math/w_acosl.c: Likewise.
9548 * math/w_asin.c: Likewise.
9549 * math/w_asinf.c: Likewise.
9550 * math/w_asinl.c: Likewise.
9551 * math/w_atan2.c: Likewise.
9552 * math/w_atan2f.c: Likewise.
9553 * math/w_atan2l.c: Likewise.
9554 * math/w_atanh.c: Likewise.
9555 * math/w_atanhf.c: Likewise.
9556 * math/w_atanhl.c: Likewise.
9557 * math/w_cosh.c: Likewise.
9558 * math/w_coshf.c: Likewise.
9559 * math/w_coshl.c: Likewise.
9560 * math/w_dremf.c: Likewise.
9561 * math/w_exp10.c: Likewise.
9562 * math/w_exp10f.c: Likewise.
9563 * math/w_exp10l.c: Likewise.
9564 * math/w_exp2.c: Likewise.
9565 * math/w_exp2f.c: Likewise.
9566 * math/w_fmod.c: Likewise.
9567 * math/w_fmodf.c: Likewise.
9568 * math/w_fmodl.c: Likewise.
9569 * math/w_hypot.c: Likewise.
9570 * math/w_hypotf.c: Likewise.
9571 * math/w_hypotl.c: Likewise.
9572 * math/w_j0.c: Likewise.
9573 * math/w_j0f.c: Likewise.
9574 * math/w_j0l.c: Likewise.
9575 * math/w_j1.c: Likewise.
9576 * math/w_j1f.c: Likewise.
9577 * math/w_j1l.c: Likewise.
9578 * math/w_jn.c: Likewise.
9579 * math/w_jnf.c: Likewise.
9580 * math/w_jnl.c: Likewise.
9581 * math/w_lgamma.c: Likewise.
9582 * math/w_lgamma_r.c: Likewise.
9583 * math/w_lgammaf.c: Likewise.
9584 * math/w_lgammaf_r.c: Likewise.
9585 * math/w_lgammal.c: Likewise.
9586 * math/w_lgammal_r.c: Likewise.
9587 * math/w_log.c: Likewise.
9588 * math/w_log10.c: Likewise.
9589 * math/w_log10f.c: Likewise.
9590 * math/w_log10l.c: Likewise.
9591 * math/w_log2.c: Likewise.
9592 * math/w_log2f.c: Likewise.
9593 * math/w_log2l.c: Likewise.
9594 * math/w_logf.c: Likewise.
9595 * math/w_logl.c: Likewise.
9596 * math/w_pow.c: Likewise.
9597 * math/w_powf.c: Likewise.
9598 * math/w_powl.c: Likewise.
9599 * math/w_remainder.c: Likewise.
9600 * math/w_remainderf.c: Likewise.
9601 * math/w_remainderl.c: Likewise.
9602 * math/w_scalb.c: Likewise.
9603 * math/w_scalbf.c: Likewise.
9604 * math/w_scalbl.c: Likewise.
9605 * math/w_sinh.c: Likewise.
9606 * math/w_sinhf.c: Likewise.
9607 * math/w_sinhl.c: Likewise.
9608 * math/w_sqrt.c: Likewise.
9609 * math/w_sqrtf.c: Likewise.
9610 * math/w_sqrtl.c: Likewise.
9611 * math/w_tgamma.c: Likewise.
9612 * math/w_tgammaf.c: Likewise.
9613 * math/w_tgammal.c: Likewise.
9615 * po/ja.po: Update from translation team.
9617 2011-09-29 Andreas Jaeger <aj@suse.de>
9620 * sunrpc/netname.c (netname2host): Fix logic.
9624 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9626 * math/w_remainder.c (__remainder): Likewise.
9627 * math/w_remainderf.c (__remainderf): Likewise.
9628 * math/libm-test.inc (remainder_test): Add test cases.
9630 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9632 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9635 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9637 * string/test-memcmp.c: Avoid unncessary #defines.
9638 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9640 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9642 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9643 Use new sse2 version for core i3 - i7 as it's faster
9645 (bit_Prefer_PMINUB_for_stringop): New.
9646 * sysdeps/x86_64/rawmemchr.S: Update.
9647 Replace with faster SSE2 version.
9648 * sysdeps/x86_64/memrchr.S: New file.
9649 * sysdeps/x86_64/memchr.S: Update.
9650 Replace with faster SSE2 version.
9652 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9654 * elf/dl-load.c (lose): Add cast to avoid warning.
9656 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9658 * po/ca.po: Update from translation team.
9660 * inet/getnetgrent_r.c: Hook up nscd.
9661 * nscd/Makefile (routines): Add nscd_netgroup.
9662 (nscd-modules): Add netgroupcache.
9663 (CFLAGS-netgroupcache.c): Define.
9664 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9665 (cache_search): Add const to second parameter.
9666 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9668 (dbs): Add netgrdb entry.
9669 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9670 (verify_persistent_db): Handle netgrdb.
9671 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9672 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9674 (netgroup_response_header): Define.
9675 (innetgroup_response_header): Define.
9676 (datahead): Add netgroup_response_header and innetgroup_response_header
9678 * nscd/nscd.conf: Add entries for netgroup cache.
9679 * nscd/nscd.h (dbtype): Add netgrdb.
9680 (_PATH_NSCD_NETGROUP_DB): Define.
9681 (netgroup_iov_disabled): Declare.
9682 (xmalloc, xcalloc, xrealloc): Move declarations here.
9683 (cache_search): Adjust prototype.
9684 Add netgroup-related prototypes.
9685 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9686 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9687 (__nscd_innetgr): Declare.
9688 * nscd/selinux.c (perms): Use access_vector_t as element type and
9689 add netgroup-related initializers.
9690 * nscd/netgroupcache.c: New file.
9691 * nscd/nscd_netgroup.c: New file.
9692 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9693 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9694 For four parameters use innetgr.
9695 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9696 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9697 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9698 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9700 * nscd/connections.c (register_traced_file): Don't register file
9701 for disabled databases.
9703 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9705 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9707 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9708 from tree and freeing node.
9710 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9712 * nss/nsswitch.c (__nss_database_lookup): Handle
9713 nss_parse_service_list out of memory case.
9715 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9717 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9720 2011-10-04 Andreas Schwab <schwab@redhat.com>
9722 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9723 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9725 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9726 elf_machine_rela, elf_machine_lazy_rel.
9727 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9728 (ELF_DYNAMIC_DO_REL): Likewise.
9729 (ELF_DYNAMIC_DO_RELA): Likewise.
9730 (ELF_DYNAMIC_RELOCATE): Likewise.
9731 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9732 to ELF_DYNAMIC_DO_REL.
9733 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9734 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9735 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9738 skip_ifunc, don't call ifunc function if non-zero.
9739 (elf_machine_rela): Likewise.
9740 (elf_machine_lazy_rel): Likewise.
9741 (elf_machine_lazy_rela): Likewise.
9742 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9743 (elf_machine_lazy_rel): Likewise.
9744 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9746 (elf_machine_lazy_rel): Likewise.
9747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9749 (elf_machine_lazy_rel): Likewise.
9750 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9751 (elf_machine_lazy_rel): Likewise.
9752 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9753 (elf_machine_lazy_rel): Likewise.
9754 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9755 (elf_machine_lazy_rel): Likewise.
9756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9757 (elf_machine_lazy_rel): Likewise.
9758 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9759 (elf_machine_lazy_rel): Likewise.
9760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9761 (elf_machine_lazy_rel): Likewise.
9763 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9765 * nss/nss_files/files-init.c (_nss_files_init): Use static
9766 initialization for all the *_traced_file variables.
9768 2011-09-28 Andreas Schwab <schwab@redhat.com>
9770 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9772 2011-09-27 Roland McGrath <roland@hack.frob.com>
9775 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9777 2011-09-27 Andreas Schwab <schwab@redhat.com>
9779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9780 Reread the line before reparsing it.
9782 2011-09-26 Andreas Schwab <schwab@redhat.com>
9784 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9786 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9787 Maxim Kuvyrkov <maxim@codesourcery.com>
9788 Joseph Myers <joseph@codesourcery.com>
9790 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9791 if needed for __stack_chk_guard.
9793 2011-09-19 Roland McGrath <roland@hack.frob.com>
9795 * sysdeps/posix/spawni.c (script_execute): Always define it.
9796 It will be optimized away if unused.
9797 (maybe_script_execute): New function.
9798 (__spawni): Call it.
9800 * Makerules: Don't include tls.make.
9801 (config-tls): Always set to thread.
9802 * tls.make.c: File removed.
9804 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9806 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9807 * config.make.in (CPPFLAGS-config): New substituted variable.
9809 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9814 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9815 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9817 2011-09-15 Roland McGrath <roland@hack.frob.com>
9819 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9820 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9822 (CALL_FAIL): Likewise.
9823 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9824 (CALL_FAIL): Macro removed.
9825 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9827 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9829 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9830 for __FINITE_MATH_ONLY__ == 1.
9832 2011-09-15 Andreas Schwab <schwab@redhat.com>
9834 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9835 __ieee754_sqrt instead of sqrt.
9836 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9837 __ieee754_sqrtf instead of sqrtf.
9838 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9839 __floorf instead of floorf.
9840 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9841 __floorf, __truncf instead of floorf, truncf.
9843 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9845 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9847 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9848 __extern_always_inline.
9849 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9852 2011-09-14 Andreas Schwab <schwab@redhat.com>
9854 * elf/rtld.c (dl_main): Also relocate in dependency order when
9855 doing symbol dependency testing.
9857 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9860 Always define `refsym'.
9862 2011-09-13 Andreas Schwab <schwab@redhat.com>
9864 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9865 (__FD_ELT): Renamed from __FDELT.
9866 * misc/bits/select2.h (__FD_ELT): Likewise.
9867 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9868 __FD_MASK instead of __FDELT, __FDMASK.
9869 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9871 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9874 * elf/Makefile (gen-ldd): Fix pattern.
9876 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9877 (init_tls): Likewise.
9879 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9883 2011-09-12 Andreas Schwab <schwab@redhat.com>
9885 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9886 `struct cmsghdr *' instead of `void *'.
9887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9890 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9892 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9894 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9897 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9899 * configure.in: Remove --with-tls option.
9900 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9901 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9902 out in case it is missing.
9903 * sysdeps/ia64/elf/configure.in: Likewise.
9904 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9905 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9906 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9907 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9908 * sysdeps/sh/elf/configure.in: Likewise.
9909 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9910 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9911 * sysdeps/x86_64/elf/configure.in: Likewise.
9912 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9913 * sysdeps/mach/hurd/tls.h: Likewise.
9916 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9919 * configure.in: Fix use of AC_INIT.
9921 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9923 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9925 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9927 * malloc/hooks.c: Likewise.
9930 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9931 variables statically.
9932 (narenas): Initialize.
9933 (list_lock): Initialize.
9934 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9935 initializtion of main_arena and list_lock. Small cleanups.
9936 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9937 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9938 Add initializers to main_arena and mp_.
9939 (malloc_state): Remove pagesize member. Change all users to use
9942 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9943 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9944 is always initialized.
9946 * malloc/malloc.c: Removed unused configurations and dead code.
9947 * malloc/arena.c: Likewise.
9948 * malloc/hooks.c: Likewise.
9949 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9951 * include/tls.h: Removed. USE___THREAD must always be defined.
9952 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9953 * elf/dl-libc.c: Likewise.
9954 * elf/dl-tsd.c: Likewise.
9955 * include/errno.h: Likewise.
9956 * include/netdb.h: Likewise.
9957 * include/resolv.h: Likewise.
9958 * inet/herrno-loc.c: Likewise.
9959 * inet/herrno.c: Likewise.
9960 * malloc/arena.c: Likewise.
9961 * malloc/hooks.c: Likewise.
9962 * malloc/malloc.c: Likewise.
9963 * resolv/res-state.c: Likewise.
9964 * resolv/res_libc.c: Likewise.
9965 * sysdeps/i386/dl-machine.h: Likewise.
9966 * sysdeps/ia64/dl-machine.h: Likewise.
9967 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9968 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9969 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9970 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9971 * sysdeps/sh/dl-machine.h: Likewise.
9972 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9973 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9974 * sysdeps/unix/i386/sysdep.S: Likewise.
9975 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9976 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9981 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9985 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9986 * sysdeps/x86_64/dl-machine.h: Likewise.
9987 * tls.make.c: Likewise.
9989 * configure.in: Remove --with-__thread option. Make tests for
9990 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9991 tls_model attribute fail if no support is available. Remove
9993 * Makeconfig: Adjust for dropped configure option. All features are
9995 * Makerules: Likewise.
9996 * Versions.def: Likewise.
9997 * argp/argp-fmtstream.c: Likewise.
9998 * argp/argp-fmtstream.h: Likewise.
9999 * argp/argp-help.c: Likewise.
10000 * assert/assert.c: Likewise.
10001 * config.h.in: Likewise.
10002 * config.make.in: Likewise.
10003 * configure: Likewise.
10004 * configure.in: Likewise.
10005 * csu/Versions: Likewise.
10006 * csu/init.c: Likewise.
10007 * elf/tst-audit2.c: Likewise.
10008 * elf/tst-tls10.c: Likewise.
10009 * elf/tst-tls10.h: Likewise.
10010 * elf/tst-tls11.c: Likewise.
10011 * elf/tst-tls12.c: Likewise.
10012 * elf/tst-tls14.c: Likewise.
10013 * elf/tst-tlsmod11.c: Likewise.
10014 * elf/tst-tlsmod12.c: Likewise.
10015 * elf/tst-tlsmod13.c: Likewise.
10016 * elf/tst-tlsmod13a.c: Likewise.
10017 * elf/tst-tlsmod14a.c: Likewise.
10018 * elf/tst-tlsmod15b.c: Likewise.
10019 * elf/tst-tlsmod16a.c: Likewise.
10020 * elf/tst-tlsmod16b.c: Likewise.
10021 * elf/tst-tlsmod7.c: Likewise.
10022 * elf/tst-tlsmod8.c: Likewise.
10023 * elf/tst-tlsmod9.c: Likewise.
10024 * gmon/gmon.c: Likewise.
10025 * grp/fgetgrent_r.c: Likewise.
10026 * grp/putgrent.c: Likewise.
10027 * hurd/fopenport.c: Likewise.
10028 * include/libc-symbols.h: Likewise.
10029 * include/tls.h: Likewise.
10030 * intl/gettextP.h: Likewise.
10031 * intl/loadinfo.h: Likewise.
10032 * locale/global-locale.c: Likewise.
10033 * locale/localeinfo.h: Likewise.
10034 * mach/devstream.c: Likewise.
10035 * malloc/arena.c: Likewise.
10036 * malloc/set-freeres.c: Likewise.
10037 * misc/err.c: Likewise.
10038 * misc/getttyent.c: Likewise.
10039 * misc/mntent_r.c: Likewise.
10040 * posix/getopt.c: Likewise.
10041 * posix/wordexp.c: Likewise.
10042 * pwd/fgetpwent_r.c: Likewise.
10043 * resolv/Versions: Likewise.
10044 * resolv/res_hconf.c: Likewise.
10045 * shadow/fgetspent_r.c: Likewise.
10046 * shadow/putspent.c: Likewise.
10047 * stdio-common/printf_fphex.c: Likewise.
10048 * stdio-common/tmpfile.c: Likewise.
10049 * stdlib/abort.c: Likewise.
10050 * stdlib/fmtmsg.c: Likewise.
10051 * sunrpc/auth_unix.c: Likewise.
10052 * sunrpc/clnt_perr.c: Likewise.
10053 * sunrpc/clnt_tcp.c: Likewise.
10054 * sunrpc/clnt_udp.c: Likewise.
10055 * sunrpc/clnt_unix.c: Likewise.
10056 * sunrpc/openchild.c: Likewise.
10057 * sunrpc/svc_simple.c: Likewise.
10058 * sunrpc/svc_tcp.c: Likewise.
10059 * sunrpc/svc_udp.c: Likewise.
10060 * sunrpc/svc_unix.c: Likewise.
10061 * sunrpc/xdr.c: Likewise.
10062 * sunrpc/xdr_array.c: Likewise.
10063 * sunrpc/xdr_rec.c: Likewise.
10064 * sunrpc/xdr_ref.c: Likewise.
10065 * sunrpc/xdr_stdio.c: Likewise.
10067 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10069 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10071 2011-07-03 Andreas Jaeger <aj@suse.de>
10073 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10074 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10075 regenerate with gen-libm-tests.pl.
10077 2010-05-12 Petr Baudis <pasky@suse.cz>
10080 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10081 around j0() zero points by switching to j1().
10082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10087 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10089 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10091 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10094 Patch in part by Pavel Roskin <proski@gnu.org>.
10097 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10099 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10100 Free memory block if necessary.
10103 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10104 be NULL. Don't lock in this case.
10106 2011-09-09 Roland McGrath <roland@hack.frob.com>
10108 * elf/elf.h (ELFOSABI_GNU): New macro.
10109 (ELFOSABI_LINUX): Define to that.
10111 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10113 * string/strncat.c (strncat): Undef the symbol in case it has been
10114 defined in bits/string.h.
10116 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10118 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10120 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10123 2011-08-17 Andreas Jaeger <aj@suse.de>
10125 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10127 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10128 Ian Lance Taylor <iant@google.com>
10130 * math/libm-test.inc (lround_test): New testcase.
10131 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10133 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10135 * Makefile: Remove support for automatic cvs check-ins.
10136 * Makerules: Likewise.
10137 * config.make.in: Likewise.
10138 * configure.in: Likewise.
10139 * intl/Makefile: Likewise.
10140 * locale/Makefile: Likewise.
10141 * po/Makefile: Likewise.
10142 * posix/Makefile: Likewise.
10143 * sysdeps/gnu/Makefile: Likewise.
10144 * sysdeps/mach/hurd/Makefile: Likewise.
10145 * sysdeps/sparc/sparc32/Makefile: Likewise.
10148 * posix/Makefile (bug-regex32-ENV): Define.
10149 Patch by John Stanley <jpsinthemix@verizon.net>.
10151 * misc/Makefile (headers): Add bits/select2.h.
10152 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10153 * misc/bits/select2.h: New file.
10154 * include/bits/select2.h: New file.
10155 * debug/Makefile (routines): Add fdelt_chk.
10156 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10157 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10159 * debug/fdelt_chk.c: New file.
10161 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10162 * wcsmbs/test-wmemcmp.c: Likewise.
10163 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10164 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10166 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10168 * string/Makefile (strop-tests): Add memcmp.
10169 * string/test-wmemcmp.c: New file.
10170 * string/test-memcmp.c: Add wmemcmp support.
10172 2011-09-08 Roland McGrath <roland@hack.frob.com>
10175 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10178 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10179 garbage value in a __mach_port_mod_refs call in the cases of the
10180 task-self and thread-self ports.
10182 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10184 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10186 2011-09-08 Andreas Schwab <schwab@redhat.com>
10188 * elf/dl-load.c (lose): Check for non-null L.
10190 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10192 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10194 * elf/dl-libc.c (dlerror_run): Pass back error code from
10198 * elf/dl-load.c (lose): Free l_origin if it is valid.
10200 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10206 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10207 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10209 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10211 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10212 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10213 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10214 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10215 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10216 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10217 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10218 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10219 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10220 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10222 2011-08-15 Alan Modra <amodra@gmail.com>
10225 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10226 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10227 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10228 ppc_mcount to static-only-routines.
10229 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10231 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10232 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10234 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10237 for finite and infinity parameters.
10239 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10241 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10242 and add nop instructions for throughput optimization.
10243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10245 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10247 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10248 aligned copy for power7 with vector-scalar instructions.
10249 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10251 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10256 2011-09-07 Andreas Schwab <schwab@redhat.com>
10259 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10262 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10264 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10265 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10266 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10267 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10270 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10273 Forgot to demangle the pointer.
10275 * sysdeps/i386/sysdep.h: Define atom_text_section.
10276 * sysdeps/x86_64/sysdep.h: Likewise.
10277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10278 section with atom_text_section.
10279 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10282 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10283 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10285 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10287 already be defined. Change to take two parameters and don't assign
10288 result to variable. Adjust all users.
10289 Define INTERNAL_GETTIME if not already defined.
10290 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10293 HAVE_CLOCK_GETTIME_VSYSCALL.
10294 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10297 gettimeofday vsyscall, just use time.
10299 2011-09-06 Andreas Schwab <schwab@redhat.com>
10301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10304 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10306 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10310 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10312 syscall if possible.
10314 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10316 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10317 e_ident. Don't pass to find_mapsXX.
10318 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10320 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10323 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10324 * sysdeps/x86_64/multiarch/strchr.S: Update.
10325 Check bit_slow_BSF bit.
10326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10327 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10328 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10330 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10333 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10335 (tryshell): Define.
10336 (__spawni): Change last parameter to be flag. Test
10337 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10338 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10339 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10340 * posix/spawni.c: Likewise.
10341 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10342 * posix/spawnp.c: Likewise. Change normal version to use
10343 SPAWN_XFLAGS_USE_PATH.
10344 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10345 SPAWN_XFLAGS_TRY_SHELL.
10348 * posix/glob.h: Remove gcc 1.x support.
10351 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10353 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10356 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10358 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10359 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10361 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10362 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10365 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10367 * sysdeps/x86_64/wcscmp.S: New file.
10369 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10370 wcscmp-c wcscmp-sse2
10371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10372 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10373 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10374 * wcsmbs/wcscmp.c: Allow renaming.
10376 2011-09-05 David S. Miller <davem@davemloft.net>
10378 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10379 stack slot, rather than the struct return pointer slot.
10380 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10381 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10383 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10385 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10387 * po/ja.po: Update from translation team.
10390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10391 kernel in 64-bit binaries.
10393 2011-09-01 David S. Miller <davem@davemloft.net>
10395 * elf/elf.h (HWCAP_SPARC_*): Move to..
10396 * sysdeps/sparc/sysdep.h: this new file and add new values.
10397 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10398 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10399 _DL_HWCAP_COUNT to 24.
10400 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10402 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10403 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10404 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10406 instead of magic constants.
10407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10409 2011-08-31 David S. Miller <davem@davemloft.net>
10411 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10413 Reimplement to do errno handling inline.
10414 (SYSCALL_ERROR_HANDLER): New macro.
10415 (__SYSCALL_STRING): Do not do errno handling in asm.
10416 (__CLONE_SYSCALL_STRING): Delete.
10417 (__INTERNAL_SYSCALL_STRING): Delete.
10418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10419 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10420 (PSEUDO): Reimplement to do errno handling inline.
10421 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10422 (SYSCALL_ERROR_HANDLER): New macro.
10423 (__SYSCALL_STRING): Do not do errno handling in asm.
10424 (__CLONE_SYSCALL_STRING): Delete.
10425 (__INTERNAL_SYSCALL_STRING): Delete.
10426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10427 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10429 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10430 (inline_syscall*): Add 'err' argument.
10431 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10432 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10433 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10434 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10436 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10437 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10439 2011-08-30 Andreas Schwab <schwab@redhat.com>
10441 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10443 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10445 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10448 2011-08-24 David S. Miller <davem@davemloft.net>
10450 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10452 2011-08-24 Andreas Schwab <schwab@redhat.com>
10454 * elf/Makefile: Add rules to build and run unload8 test.
10455 * elf/unload8.c: New file.
10456 * elf/unload8mod1.c: New file.
10457 * elf/unload8mod1x.c: New file.
10458 * elf/unload8mod2.c: New file.
10459 * elf/unload8mod3.c: New file.
10461 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10464 2011-08-23 David S. Miller <davem@davemloft.net>
10466 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10467 subtract stack bias.
10468 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10469 %sp not %fp in calculations.
10470 (_JMPBUF_UNWINDS_ADJ): Likewise.
10472 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10473 (aio_suspend): Call it to force an exception region around the
10474 AIO_MISC_WAIT() invocation.
10476 2011-08-23 Andreas Schwab <schwab@redhat.com>
10478 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10481 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10483 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10485 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10486 and <dl-machine.h>.
10487 (Elf64_FuncDesc): Remove.
10489 2011-08-22 David S. Miller <davem@davemloft.net>
10491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10492 sigaltstack check, add missing cfi directives.
10493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10494 missing cfi directives, and sigaltstack handling.
10496 2011-08-16 Andreas Schwab <schwab@redhat.com>
10499 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10500 object is seen twice.
10501 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10503 * elf/Makefile (distribute): Add tst-initorder2.c.
10504 (tests): Add tst-initorder2.
10505 (modules-names): Add tst-initorder2a tst-initorder2b
10506 tst-initorder2c tst-initorder2d. Add rules to build them.
10507 ($(objpfx)tst-initorder2.out): New rule.
10508 * elf/tst-initorder2.c: New file.
10509 * elf/tst-initorder2.exp: New file.
10511 2011-08-22 Andreas Schwab <schwab@redhat.com>
10513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10515 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10516 dependencies back to end of function.
10518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10519 $(elfobjdir)/ld.so.
10521 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10524 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10526 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10527 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10528 of __vdso_gettimeofday.
10529 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10530 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10532 (_libc_vdso_platform_setup): Remove initialization of
10533 __vdso_gettimeofday and __vdso_time.
10535 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10537 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10538 and fgetc_unlocked.
10539 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10542 * elf/dl-open.c (add_to_global): Report additions to the global scope
10543 for LD_DEBUG=scopes.
10544 (dl_open_worker): Also print scope of newly loaded dependencies.
10545 (_dl_show_scope): Indicate if there is no scope.
10548 * stdio-common/Makefile (tests): Add bug24.
10549 * stdio-common/bug24.c: New file.
10551 2011-08-19 Andreas Jaeger <aj@suse.de>
10554 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10555 non-existant file when using close-on-exec mode.
10557 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10560 the very first instruction.
10562 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10563 the CFI state in the end.
10564 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10565 inclusion of dl-trampoline.h.
10566 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10568 2011-08-19 Andreas Schwab <schwab@redhat.com>
10570 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10571 expectations for long double.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10574 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10576 2011-08-14 David S. Miller <davem@davemloft.net>
10578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10579 artificual limit depends upon the system page size.
10581 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10583 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10584 * resolv/Makefile: Define CFLAGS-libresolv.
10586 2011-08-17 Andreas Schwab <schwab@redhat.com>
10588 * nss/makedb.c (compute_tables): Make variables used in nested
10591 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10593 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10594 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10595 if buffer was too small.
10597 * elf/pldd.c (main): Attach to all threads in the process.
10598 Rewrite /proc handling to use *at functions.
10600 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10602 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10603 specifies first scope to show.
10604 (dl_open_worker): Update callers. Move printing scope of new
10605 object to before the relocation.
10606 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10607 * sysdeps/generic/ldsodefs.h: Update declaration.
10609 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10610 string for the scope number.
10612 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10614 * nscd/servicescache.c (cache_addserv): Make sure written is always
10617 2011-08-14 Roland McGrath <roland@hack.frob.com>
10619 * sysdeps/i386/i486/bits/atomic.h
10620 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10621 statement expression, so as to suppress "set but not used" warning.
10622 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10624 * string/strncat.c (STRNCAT): Use prototype definition.
10626 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10627 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10629 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10630 (localedef-modules): Add localedef.
10631 (locale-modules): Add locale.
10633 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10634 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10635 to avoid a warning.
10637 2011-08-14 David S. Miller <davem@davemloft.net>
10639 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10640 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10642 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10644 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10645 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10646 * elf/rtld.c (dl_main): Set l_name of vDSO.
10647 Call _dl_show_scope when DL_DEBUG_SCOPES.
10648 (process_dl_debug): Recognize scopes flag and also set it for all.
10649 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10650 Declare _dl_show_scope.
10652 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10653 (do_dlopen): Pass caller_dlopen to dl_open.
10654 (__libc_dlopen_mode): Initialize caller_dlopen.
10656 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10657 of libc. Make tolower call locale-independent. Optimize a bit by
10658 using isdigit instead of isalnum.
10659 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10661 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10663 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10664 was a dependency or dynamically loaded.
10666 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10668 * intl/l10nflist.c: Allow architecture-specific pop function.
10669 * sysdeps/x86_64/l10nflist.c: New file.
10671 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10674 2011-08-10 Andreas Schwab <schwab@redhat.com>
10676 * include/dirent.h: Add libc_hidden_proto for scandirat and
10677 scandirat64. Don't declare __scandirat64.
10678 * dirent/scandirat.c: Add libc_hidden_def.
10679 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10680 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10682 2011-08-10 David S. Miller <davem@davemloft.net>
10684 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10690 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10692 * Versions.def [libc]: Add GLIBC_2.15.
10693 * dirent/Makefile (routines): Add scandirat and scandirat64.
10694 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10696 * dirent/dirent.h: Declare scandirat and scandirat64.
10697 * dirent/scandirat.c: New file.
10698 * dirent/scandirat64.c: New file.
10699 * sysdeps/wordsize-64/scandirat.c: New file.
10700 * sysdeps/wordsize-64/scandirat64.c: New file.
10701 * dirent/opendir.c: Define opendirat.
10702 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10704 * dirent/scandir64.c: Adjust for scandir.c change.
10705 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10706 __scandirat64, and __scandir_cancel_handler.
10707 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10708 additional parameter and use openat instead of open (outside of ld.so).
10709 Add new __opendir as wrapper around __opendirat.
10710 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10711 here without requiring old scandirat implementation.
10713 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10715 * dirent/scandir.c (cancel_handler): Renamed to
10716 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10717 defined. Adjust users.
10718 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10721 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10723 * string/test-string.h (IMPL): Use __STRING to expand name and then
10726 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10729 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10731 * string/Makefile: Update.
10732 (strop-tests): Append strncat.
10733 * string/test-wcscmp.c: New file.
10734 New comprehensive test for wcscmp.
10735 * string/test-strcmp.c: Update.
10736 (WIDE): New define.
10738 2011-07-22 Andreas Schwab <schwab@redhat.com>
10740 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10743 2011-07-26 Andreas Schwab <schwab@redhat.com>
10745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10746 encoding to ACE if AI_IDN.
10748 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10751 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10753 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10756 Fix overflow bug in strncat.
10757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10759 * string/test-strncat.c: Update.
10760 Add new tests for checking overflow bugs.
10762 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10765 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10766 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10767 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10769 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10770 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10771 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10772 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10775 (USE_AS_STRCAT): Define.
10776 Add strcat and strncat support.
10777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10779 2011-07-25 Andreas Schwab <schwab@redhat.com>
10781 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10782 __n bigger than INT_MAX+1.
10783 (__strncmp_g): Likewise.
10785 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10787 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10788 * libio/stido.h: Likewise.
10790 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10795 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10797 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10802 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10807 (_dl_x86_64_save_sse): Likewise.
10809 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10813 (_dl_x86_64_save_sse): Likewise.
10815 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10817 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10819 2011-07-21 Andreas Schwab <schwab@redhat.com>
10821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10823 (_dl_x86_64_save_sse): Use correct AVX check.
10825 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10827 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10828 bug in strncpy/strncat.
10829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10831 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10833 * string/tester.c (test_strcat): Add tests for different alignments
10834 of source and destination.
10835 (test_strncat): Likewise.
10837 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10840 * posix/glob.c (glob): Check passed in values before using them in
10841 expressions to avoid some overflows.
10842 (glob_in_dir): Likewise.
10845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10846 check for AVX enablement so that we don't crash with old kernels and
10848 * elf/tst-audit4.c: Add same checks here.
10849 * elf/tst-audit6.c: Likewise.
10851 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10853 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10855 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10857 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10859 * po/cs.po: Update from translation team.
10860 * po/bg.po: Likewise.
10862 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10864 * misc/sys/cdefs.h: Add support for const attribute.
10865 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10866 to gnu_dev_{major,minor,makedev} functions.
10868 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10870 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10872 2011-07-20 Andreas Schwab <schwab@redhat.com>
10874 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10877 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10880 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10881 register in order to avoid conflicts with the soft frame pointer
10882 being held in r11 when necessary.
10883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10884 (INTERNAL_VSYSCALL_NCS): Likewise.
10886 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10888 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10889 * elf/dl-fini.c (_dl_fini): Adjust caller.
10890 * elf/dl-close.c (_dl_close_worker): Likewise.
10891 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10893 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10895 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10896 "aux_cache->nlibs < 0".
10898 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10899 in the reload-count case.
10901 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10904 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10905 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10906 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10907 * sysdeps/x86_64/multiarch/strcat.S: New file.
10908 * sysdeps/x86_64/multiarch/strncat.S: New file.
10909 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10910 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10911 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10912 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10914 (USE_AS_STRCAT): Define.
10915 Add strcat and strncat support.
10916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10918 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10919 * string/strncat.c: Update.
10920 (USE_AS_STRNCAT): Define.
10921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10922 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10924 * sysdeps/x86_64/multiarch/init-arch.h
10925 (bit_Prefer_PMINUB_for_stringop): New.
10926 (index_Prefer_PMINUB_for_stringop): Likewise.
10927 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10928 bit_Prefer_PMINUB_for_stringop.
10930 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10932 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10934 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10935 of casting of buffer.
10936 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10937 buffer32 and buffer64.
10938 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10939 writes instead of casting of buffer.
10940 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10942 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10945 2011-07-19 Andreas Schwab <schwab@redhat.com>
10947 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10949 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10951 * nscd/nscd.c (termination_handler): Don't do anything for a database
10952 if it has not yet been initialized.
10954 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10956 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10958 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10960 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10962 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10964 * po/nl.po: Update from translation team.
10965 * po/sv.po: Likewise.
10967 2011-07-16 Roland McGrath <roland@hack.frob.com>
10969 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10970 now disallowed by GCC.
10972 * configure.in (use-default-link): Default to yes if a test -shared
10973 link meets our qualifications.
10974 * configure: Regenerated.
10976 * config.make.in (output-format): New variable.
10977 * configure.in: Check for ld --print-output-format support.
10978 * configure: Regenerated.
10979 * Makerules ($(common-objpfx)format.lds)
10980 [$(output-format) != unknown]: Just use $(output-format),
10981 instead of the linker-script munging.
10983 2011-07-14 Roland McGrath <roland@hack.frob.com>
10985 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10986 of $(common-objpfx)shlib.lds.
10987 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10989 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10990 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10992 * configure.in (-z relro check): Adjust test code to add a large
10993 writable data section after it.
10994 * configure: Regenerated.
10996 2011-07-11 Roland McGrath <roland@hack.frob.com>
10998 * configure.in (-z relro check): Fix test code to make the variable
11000 * configure: Regenerated.
11002 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11004 * nscd/nscd.h (struct traced_file): Define.
11005 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11006 elements. Add traced_files.
11007 (inotify_fd): Declare.
11008 (register_traced_file): Declare.
11009 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11010 (inotify_fd): Export.
11011 (resolv_conf_descr): Remove.
11012 (nscd_init): Move inotify descriptor creation to main.
11013 Don't register files for notification here.
11014 (register_traced_file): New function.
11015 (invalidate_cache): Don't use reset_res to determine whether to call
11016 res_init, go through the list of registered files.
11017 (main_loop_poll): The inotify descriptors are now stored in the
11018 structures for the traced files.
11019 (main_loop_epoll): Likewise
11020 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11021 to __nss_disable_nscd.
11022 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11023 for a database anymore. Check the records for all the registered
11025 * nss/Makefile (libnss_files-routines): Add files-init.
11026 (libnss_db-routines): Add db-init.
11027 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11028 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11029 * nss/nss_db/db-init.c: New file.
11030 * nss/nss_files/files-init.c: New file.
11031 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11032 __nss_lookup_function.
11033 (__nss_lookup_function): Call nss_load_library.
11034 (nss_load_all_libraries): New function.
11035 (__nss_disable_nscd): Take parameter with callback function for files
11036 to register. Set is_nscd. Load all the DSOs for the NSS modules
11037 used for the cached services.
11038 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11039 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11040 options for features to all the files in nscd.
11042 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11044 2011-07-10 Roland McGrath <roland@hack.frob.com>
11046 * csu/elf-init.c (__libc_csu_init): Comment typo.
11048 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11050 * po/pl.po: Update from translation team.
11051 * po/ja.po: Likewise.
11052 * po/ru.po: Likewise.
11053 * po/ko.po: Likewise.
11054 * po/fr.po: Likewise.
11056 2011-07-09 Roland McGrath <roland@hack.frob.com>
11058 * configure.in (.ctors/.dtors header and trailer check):
11059 Use an empirical test on a built program.
11060 * configure: Regenerated.
11062 * configure.in (-z relro check): Use an empirical test on a built DSO.
11063 Detect, but do not require, on ia64.
11064 * configure: Regenerated.
11066 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11067 Update tests that use readelf to use $READELF instead.
11068 * configure: Regenerated.
11070 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11072 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11073 if the result is not used.
11075 2011-07-05 Andreas Jaeger <aj@suse.de>
11078 * stdlib/tst-strtod.c: Add testcase.
11080 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11082 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11083 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11084 The latter has a higher limit. Take additional parameter to pass to
11086 (__pathconf): Pass file to __statfs_link_max.
11087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11089 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11093 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11097 (__statfs_filesize_max): Likewise.
11098 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11100 2011-07-05 Andreas Jaeger <aj@suse.de>
11102 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11104 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11106 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11108 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11111 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11113 * Makefile (strop-tests): Add strncat.
11114 * string/test-strncat.c: New file.
11116 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11118 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11120 2011-06-21 Andreas Jaeger <aj@suse.de>
11122 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11123 Copy rule from iconvdata/Makefile.
11125 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11128 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11129 but no long options are defined, just return 'W'.
11131 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11134 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11136 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11138 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11140 (innetgr): Likewise.
11142 2011-07-05 Roland McGrath <roland@hack.frob.com>
11144 * config.make.in (install_root): Default to $(DESTDIR).
11146 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11150 2011-07-02 Roland McGrath <roland@hack.frob.com>
11152 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11154 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11155 containing directory rather than embedding absolute directory names.
11157 * scripts/check-local-headers.sh: Rewritten using awk.
11158 Match by word, not by line. Print error messages for matches.
11159 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11161 * Makerules [shlib-lds-flags empty]:
11162 ($(common-objpfx)libc_pic.opts): New target.
11163 ($(common-objpfx)libc_pic.os.clean): New target.
11164 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11166 * config.make.in (OBJCOPY): New variable.
11167 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11168 * configure: Regenerated.
11170 * config.make.in (use-default-link): New variable.
11171 * configure.in (use_default_link): Grok --with-default-link to set it.
11172 * configure: Regenerated.
11173 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11174 (shlib-lds, shlib-lds-flags): Define to empty.
11176 * Makerules (shlib-lds): New variable.
11177 (shlib-lds-flags): New variable.
11178 (build-shlib, build-moduile, build-module-asneeded): Use it.
11179 ($(common-objpfx)libc.so): Use $(shlib-lds).
11180 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11181 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11183 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11184 DT_FLAGS/DT_FLAGS_1 with zero flags.
11186 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11187 linker script munging.
11189 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11191 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11193 * crypt/sha512.c (sha512_process_block): Perform total addition using
11194 128-bit if possible.
11195 (__sha512_finish_ctx): Likewise.
11196 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11198 * crypt/sha256.c (SWAP64): Define.
11199 (sha256_process_block): Perform total addition using 64-bit if
11201 (__sha256_finish_ctx): Likewise.
11203 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11205 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11207 * nscd/hstcache.c (cache_addhst): Likewise.
11208 * nscd/grpcache.c (cache_addgr): Likewise.
11209 * nscd/aicache.c (addhstaiX): Likewise
11210 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11212 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11214 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11216 * nscd/hstcache.c (cache_addhst): Likewise.
11217 * nscd/grpcache.c (cache_addgr): Likewise.
11218 * nscd/aicache.c (addhstaiX): Likewise
11220 2011-07-01 Andreas Schwab <schwab@redhat.com>
11222 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11223 domain only when needed.
11225 2011-06-30 Andreas Schwab <schwab@redhat.com>
11227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11228 is always restored.
11230 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11232 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11233 are re-adding the entry.
11234 * nscd/servicescache.c (cache_addserv): Likewise.
11236 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11238 * sysdeps/generic/dl-irel.h: fix protection against multiple
11240 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11242 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11245 * malloc/memusage.sh: Fix quoting in message.
11246 * debug/xtrace.sh: Likewise.
11248 * configure.in: Remove support for --experimental-malloc option, make
11250 * config.make.in: Likewise.
11251 * malloc/Makefile: Likewise.
11253 2011-06-27 Andreas Schwab <schwab@redhat.com>
11255 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11256 two-byte characters.
11258 2011-06-27 Roland McGrath <roland@hack.frob.com>
11260 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11261 AC_CACHE_CHECK invocation.
11262 * configure: Regenerated.
11264 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11266 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11269 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11270 bit from old_res_options.
11272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11274 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11275 value type for setfct.
11277 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11280 __gettimeofday instead of gettimeofday.
11282 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11284 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11286 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11293 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11296 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11297 strcpy-sse2-unaligned strncpy-sse2-unaligned
11298 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11299 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11300 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11301 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11302 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11305 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11306 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11307 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11308 (STRCPY): Support SSE2 and SSSE3 versions.
11310 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11313 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11314 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11315 kernels which artificially limit size of requests.
11317 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11320 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11321 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11322 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11323 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11324 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11325 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11326 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11327 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11329 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11330 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11331 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11332 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11333 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11335 Enable unaligned load optimization for Intel Core i3, i5 and i7
11337 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11339 (index_Fast_Unaligned_Load): Define.
11340 (HAS_FAST_UNALIGNED_LOAD): Define.
11342 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11344 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11346 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11350 until it is clear that the information is realy needed.
11351 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11353 2011-06-22 Andreas Schwab <schwab@redhat.com>
11355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11357 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11359 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11360 /sys/devices/system/cpu/online if it is usable.
11362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11363 reading the information from the /proc filesystem to once a second.
11365 2011-06-21 Andreas Jaeger <aj@suse.de>
11367 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11368 NULL after inclusion of kernel headers.
11370 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11372 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11373 calls to internal_setent.
11376 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11377 addresses using gethostbyname4_r ignore IPv4 addresses.
11379 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11380 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11382 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11384 2011-06-20 David S. Miller <davem@davemloft.net>
11386 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11388 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11390 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11391 (elf_irel): Use it.
11392 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11393 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11394 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11395 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11396 * sysdeps/x86_64/dl-irel.h: Likewise.
11398 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11399 * elf/dl-sym.c: Likewise.
11401 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11403 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11404 need to dereference resplen2.
11406 2011-06-14 Andreas Schwab <schwab@redhat.com>
11408 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11410 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11412 * Makeconfig: Define vardbdir and inst_vardbdir.
11413 * nss/Makefile: Add rules to install db-Makefile.
11415 * nss/nss_db/db-XXX.c: Cleanup.
11417 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11418 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11420 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11421 * nss/makedb.c: Implement -g option to specify that value strings
11422 are generated and should not be added to table iterated over for
11424 * nss/nss_db/db-initgroups.c: New file.
11426 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11429 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11430 (internal_getgrouplist): Adjust to name change.
11431 Update use_initgroups_entry if this is not the first call.
11432 * nss/databases.def: Add initgroups entry.
11434 * nss/makedb.c (compute_tables): Check result of multiple hash table
11435 sizes to minimize maximum chain length.
11437 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11439 * Versions.def: Add entry for libnss_db.
11440 * shlib-versions: Likewise.
11441 * nss/Makefile: Add rules to build libnss_db.
11442 * nss/Versions: Add libnss_db information. Organize libnss_files
11444 * nss/db-Makefile: Add gshadow support. Change rules for the new
11445 makedb progra. Some minor improvements to generate smaller files.
11446 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11448 * nss/makedb.c: ...here.
11449 Improve database format to be smaller and require less memory at
11451 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11453 * nss/nss_db/db-netgrp.c: Likewise.
11454 * nss/nss_db/db-open.c: Likewise.
11455 * nss/nss_files/flies-XXX.x: Adjust comments.
11456 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11457 * nss/nss_files/files-grp.c: Likewise.
11458 * nss/nss_files/files-hosts.c: Likewise.
11459 * nss/nss_files/files-network.c: Likewise.
11460 * nss/nss_files/files-proto.c: Likewise.
11461 * nss/nss_files/files-pwd.c: Likewise.
11462 * nss/nss_files/files-rpc.c: Likewise.
11463 * nss/nss_files/files-service.c: Likewise.
11464 * nss/nss_files/files-sgrp.c: Likewise.
11465 * nss/nss_files/files-spwd.c: Likewise.
11466 * nss/nss_db/db-alias.c: Removed.
11467 * nss/nss_db/dummy-db.h: Removed.
11469 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11471 * nss/makedb.c: Rewritten to not use database library.
11472 * nss/Makefile: Update to build new makedb program.
11474 2011-06-14 Andreas Jaeger <aj@suse.de>
11476 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11477 memset declaration.
11479 2011-06-10 Andreas Schwab <schwab@redhat.com>
11481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11484 2011-06-10 Roland McGrath <roland@hack.frob.com>
11486 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11487 * elf/Makefile ($(objpfx)ld.so): Likewise.
11489 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11490 Don't list ld.so twice in dependencies.
11492 * posix/bug-regex31.c: Include <stdlib.h>.
11494 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11496 * nis/nss_compat/compat-spwd.c
11497 (getspent_next_nss_netgr): Remove unused variable.
11498 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11500 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11501 nonmembers" output to use the right array.
11503 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11505 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11507 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11508 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11509 * catgets/gencat.c (read_input_file): Likewise.
11510 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11512 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11513 variable definition inside #if's controlling its use.
11515 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11517 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11519 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11521 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11524 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11526 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11527 * configure: Regenerated.
11529 * Makerules: Revert last change.
11530 * elf/Makefile: Likewise.
11532 2011-06-09 Roland McGrath <roland@hack.frob.com>
11534 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11535 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11536 (reloc-link): Likewise.
11538 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11540 * elf/Makefile: Add rules to build pldd.
11541 * elf/pldd.c: New file.
11542 * elf/pldd-xx.c: New file.
11544 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11546 * version.h: Update for 2.15 development version.
11548 2011-06-07 David S. Miller <davem@davemloft.net>
11550 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11553 elf_machine_lazy_rel): Likewise.
11554 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11556 elf_machine_lazy_rel): Likewise.
11557 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11558 dl_hwcap via passed in argument.
11559 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11562 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11564 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11566 2011-06-06 Roland McGrath <roland@hack.frob.com>
11569 * manual/fdl-1.1.texi: New file, verbatim from:
11570 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11571 * manual/lgpl-2.1.texi: New file, verbatim from:
11572 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11573 * manual/Makefile (licenses): New variable, list those new file names.
11575 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11577 * manual/fdl.texi: File removed.
11578 * manual/lesser.texi: File removed.
11579 * manual/libc.texinfo (Copying, Documentation License):
11580 Use new @include file names, put @appendix directive before @include.
11582 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11585 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11586 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11587 (mq_open): Add __NTH.
11589 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11592 Assume Intel Core i3/i5/i7 processor if AVX is available.
11594 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11599 2011-05-31 Andreas Schwab <schwab@redhat.com>
11601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11602 memory. Use alloca_account. Fix memory leak when retrying.
11604 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11606 * version.h (RELEASE): Bump for 2.14 release.
11607 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11609 * config.make.in (RANLIB): Remove entry.
11611 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11613 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11614 (libc.pot): Work around missing support for .ksh extension in xgettext.
11617 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11618 if both request failed.
11619 (send_dg): In case of server errors clear resplen or *resplen2.
11622 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11623 when there are multiple maps.
11624 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11625 (_dl_fini): Remove test here.
11627 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11629 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11632 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11633 bit from old_res_options.
11634 (gaih_inet): Likewise.
11637 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11640 * resolv/res_init.c (res_setoptions): Make the code more compact.
11643 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11647 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11649 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11652 * malloc/malloc.h: Declare malloc hook variables as volatile.
11654 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11658 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11659 raise in the comment.
11660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11664 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11667 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11668 grow the buffers more if it already has to be sufficient.
11669 (build_wcs_upper_buffer): Likewise.
11670 * posix/regexec.c (check_matching): Likewise.
11671 (clean_state_log_if_needed): Likewise.
11672 (extend_buffers): Don't enlarge buffers beyond size of the input
11674 Patches mostly by Emil Wojak <emil@wojak.eu>.
11675 * posix/bug-regex32.c: New file.
11676 * posix/Makefile (tests): Add bug-regex32.
11678 * locale/findlocale.c (_nl_find_locale): Return right away if
11679 _nl_explode_name failed.
11680 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11684 * debug/xtrace.sh: Unify messages.
11685 * malloc/memusage.sh: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11689 time symbol from vDSO. Substitute with vsyscall if not available.
11690 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11693 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11694 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11695 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11696 Add sendmmsg and internal_sendmmsg.
11697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11698 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11701 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11702 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11703 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11705 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11708 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11709 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11715 * iconvdata/Makefile (tests): Add bug-iconv9.
11716 * iconvdata/bug-iconv9.c: New file.
11718 2011-05-27 Andreas Schwab <schwab@redhat.com>
11721 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11723 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11726 (struct user_regs_struct): Change intcs field back to cs.
11728 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11730 * po/ja.po: Update from translation team.
11732 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11735 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11736 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11738 2011-05-20 Andreas Schwab <schwab@redhat.com>
11740 * stdlib/longlong.h: Update from GCC.
11742 2011-05-23 Andreas Schwab <schwab@redhat.com>
11744 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11746 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11747 Add parameter name.
11748 (__sysconf): Pass it down.
11750 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11753 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11756 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11757 add in in __libc_use_alloca calls. Adjust callers.
11758 (glob): Use malloc in some situations.
11760 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11761 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11764 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11766 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11767 and CLOCK_BOOTTIME_ALARM.
11770 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11773 * string/_strerror.c (__strerror_r): Print negative errors as signed
11777 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11778 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11779 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11781 * configure.in: Fix typo in redirection and correct removal of test
11782 files in two cases.
11785 * locale/setlocale.c (new_composite_name): Fix test to check for
11786 identical name of all categories.
11789 * libio/filedoalloc.c (local_isatty): New function.
11790 (_IO_file_doallocate): Use local_isatty.
11791 * stdio-common/perror.c (perror): In case a new stream is used
11792 forward the stream error.
11793 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11796 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11801 * include/alloca.h (extend_alloca_account): Define.
11804 * posix/regex.h: Fix comments with documentation of user-accessible
11805 fields after compilation and describe correct free'ing of pattern
11806 after re_compile_pattern.
11807 Patch by Reuben Thomas <rrt@sc3d.org>.
11809 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11811 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11812 and -mno-altivec to prevent the compiler from using Altivec and/or
11813 VSX instructions when the corresponding registers are not available.
11815 2011-05-19 Andreas Schwab <schwab@redhat.com>
11817 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11819 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11821 * libio/freopen.c (freopen): Use __dup2, not dup2.
11822 * libio/freopen64.c (freopen64): Likewise.
11824 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11827 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11828 * math/Makefile (tests): Add test-powl.
11829 (CFLAGS-test-powl.c): Define.
11830 * math/test-powl.c: New file.
11832 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11834 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11836 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11839 * iconvdata/gb18030.c: Update to GB18020-2005.
11841 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11843 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11844 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11845 Patch by Aharon Robbins <arnold@skeeve.com>.
11848 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11852 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11853 through underflows.
11856 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11857 point to strings before performing equality test for error_one_per_line
11861 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11865 (struct user_fpregs_struct): Avoid __uint*_t types.
11868 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11869 symbol info. Use it instead of calling _dl_addr locally.
11870 (lock_and_info): New function.
11871 (tr_freehook): Call lock_and_info and pass symbol info as additional
11872 parameter to tr_where.
11873 (tr_mallochook): Likewise.
11874 (tr_reallochook): Likewise.
11875 (tr_memalignhook): Likewise.
11877 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11878 used and couldn't be at all thread-safe.
11880 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11882 * libio/freopen.c (freopen): Don't close old file descriptor
11883 before the new one is opened. Instead dup the new file descriptor
11884 to the old one after the new stream is created.
11885 * libio/freopen64.c (freopen64): Likewise.
11886 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11887 * libio/fileops.c (_IO_new_file_close_it): Handle new
11888 _IO_FLAGS2_NOCLOSE flag.
11889 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11890 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11891 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11892 _IO_FLAGS2_NOCLOSE flag.
11893 * include/unistd.h: Add hidden_proto for dup3.
11894 Define __have_dup3.
11895 * io/dup3.c: Define hidden symbol.
11896 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11899 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11900 when an incomplete long option is used.
11901 * posix/tst-getopt_long1.c: New file.
11902 * posix/Makefile (tests): Add tst-getopt_long1.
11905 * scripts/config.guess: Update from autoconf-2.68.
11906 * scripts/config.sub: Likewise.
11909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11911 (has_cpuclock): ...this. New function.
11912 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11913 macro here based on has_cpuclock code.
11916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11917 First byte (not low byte) is now always NUL.
11918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11921 Use non-cancelable interfaces.
11924 * locale/iso-639.def: Add entry for Sorani.
11927 * include/stdlib.h: Move include protection to the right place.
11928 Define abort_msg_s. Declare __abort_msg with it.
11929 * stdlib/abort.c (__abort_msg): Adjust type.
11930 * assert/assert.c (__assert_fail_base): New function. Majority
11931 of code from __assert_fail. Allocate memory for __abort_msg with
11933 (__assert_fail): Now call __assert_fail_base.
11934 * assert/assert-perr.c: Remove bulk of implementation. Use
11935 __assert_fail_base.
11936 * include/assert.hL Declare __assert_fail_base.
11937 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11939 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11941 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11945 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11946 until all modules are registered in the DTV.
11947 * elf/Makefile: Add rules to build and run tst-tls19.
11948 * elf/tst-tls19.c: New file.
11949 * elf/tst-tls19mod1.c: New file.
11950 * elf/tst-tls19mod2.c: New file.
11951 * elf/tst-tls19mod3.c: New file.
11952 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11955 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11959 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11960 two-byte sequence errors.
11961 * iconvdata/Makefile (tests): Add bug-iconv8.
11962 * iconvdata/bug-iconv8.c: New file.
11965 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11968 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11971 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11972 (dummy_getcfa): New function.
11973 (init): Get _Unwind_GetCFA address, use dummy if not found.
11974 (backtrace_helper): In recursion check, also check whether CFA changes.
11975 (__backtrace): Completely initialize arg.
11977 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11978 storing incomplete byte sequence in state object. Avoid testing for
11979 guaranteed too small input if we know there is enough data available.
11981 2011-05-11 Andreas Schwab <schwab@redhat.com>
11983 * Makeconfig (+link-pie): Indent.
11984 * Rules (binaries-pie): Define if $(have-fpie) and
11986 (binaries-shared): Also filter out $(binaries-pie).
11987 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11988 * nscd/Makefile (others-pie): Add nscd.
11989 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11990 ($(objpfx)nscd): Remove command override.
11991 * login/Makefile (others-pie): Add pt_chown.
11992 ($(objpfx)pt_chown): Remove command override.
11993 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11994 remove command overrides.
11996 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11998 * libio/tst_putwc.c: Fix error messages.
12001 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12002 currently writing and seek to current position when not.
12003 * libio/Makefile (tests): Add bug-fclose1.
12004 * libio/bug-fclose1.c: New file.
12006 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12009 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12010 don't set DF_1_NODELETE here.
12011 (do_lookup_x): When entering new entry test for copy relocation
12012 and if necessary set DF_1_NODELETE flag.
12013 * elf/tst-unique4.cc: New file.
12014 * elf/tst-unique4.h: New file.
12015 * elf/tst-unique4lib.cc: New file.
12016 * elf/Makefile: Add rules to build and run tst-unique4.
12017 Patch by Piotr Bury <pbury@goahead.com>.
12019 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12022 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12025 * misc/mntent_r.c (addmntent): Flush the stream after the output
12028 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12029 (is_trusted_path_normalize): Skip initial colon. Append slash
12030 to empty buffer. Duplicate is_trusted_path code but allow
12031 constructed patch to be prefix.
12032 (is_dst): Allow $ORIGIN followed by /.
12033 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12034 Correct testing of result of is_trusted_path_normalize
12035 (decompose_rpath): Fix warning.
12037 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12040 * grp/initgroups.c (internal_getgrouplist): When we found the service
12041 list through the initgroups entry in nsswitch.conf do not always
12042 continue on a successful lookup. Don't always use the
12043 __nss_group_database value if it is set.
12044 * nss/nsswitch.conf (initgroups): Change action for successful db
12045 lookup to continue for compatibility.
12047 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12050 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12052 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12054 * iconvdata/tst-tables.sh: Likewise.
12055 * iconvdata/cp770.c: New file.
12056 * iconvdata/cp771.c: New file.
12057 * iconvdata/cp772.c: New file.
12058 * iconvdata/cp773.c: New file.
12059 * iconvdata/cp774.c: New file.
12060 * iconvdata/testdata/CP770: New file.
12061 * iconvdata/testdata/CP770..UTF8: New file.
12062 * iconvdata/testdata/CP771: New file.
12063 * iconvdata/testdata/CP771..UTF8: New file.
12064 * iconvdata/testdata/CP772: New file.
12065 * iconvdata/testdata/CP772..UTF8: New file.
12066 * iconvdata/testdata/CP773: New file.
12067 * iconvdata/testdata/CP773..UTF8: New file.
12068 * iconvdata/testdata/CP774: New file.
12069 * iconvdata/testdata/CP774..UTF8: New file.
12071 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12073 * iconvdata/gen-8bit-gap.sh: Likewise.
12074 * iconvdata/gen-8bit.sh: Likewise.
12076 * locale/iso-639.def: Add ary entry.
12079 * locale/C-translit.h.in: Add U20A1 transliteration.
12082 * locale/iso-639.def: Add wae entry.
12083 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12086 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12090 * locale/C-translit.h.in: Add entry for U20B9.
12091 Patch by pravin.d.s@gmail.com.
12093 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12096 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12097 ENAMETOOLONG use generic getcwd.
12098 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12099 in rtld. Use *stat64.
12100 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12101 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12102 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12103 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12104 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12105 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12106 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12107 __fstatat64 macros.
12108 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12109 * dirent/rewinddir.c: Add libc_hidden_def.
12110 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12111 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12113 * include/dirent.h (__alloc_dir): Add flags parameter.
12114 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12115 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12117 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12118 from fdopendir if O_CLOEXEC is already set.
12120 2011-03-15 Alan Modra <amodra@gmail.com>
12122 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12123 l_tls_firstbyte_offset non-zero. Save padding offset in
12124 l_tls_firstbyte_offset for later use.
12125 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12126 freeing static tls block.
12128 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12130 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12131 where #ifdef was intended. The intent is to prevent ARG_MAX from
12132 being defined by the kernel headers.
12134 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12137 * resolv/resolv.h: Define RES_NOTLDQUERY.
12138 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12139 no-tld-query and set RES_NOTLDQUERY.
12140 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12141 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12142 modern BIND to search name as TLD unless forbidden.
12144 2011-05-07 Petr Baudis <pasky@suse.cz>
12145 Ulrich Drepper <drepper@gmail.com>
12148 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12149 (is_trusted_path): ...to here.
12150 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12151 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12152 using is_trusted_path_normalize() in setuid scripts.
12154 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12156 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12157 __BEGIN/__END_DECLS.
12159 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12162 NSS_STATUS_NOTFOUND if no record was found.
12164 2011-05-05 Andreas Schwab <schwab@redhat.com>
12166 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12167 (headers-not-in-tirpc): Remove rpc/netdb.h
12168 * resolv/netdb.h: Revert last change.
12170 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12172 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12173 circular dependency between libgcc.a and libc.a.
12175 2011-05-05 Andreas Schwab <schwab@redhat.com>
12177 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12178 * nis/Makefile: Don't install rpcsvc/*.
12179 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12180 instead of <rpc/types.h>.
12181 (MAXHOSTNAMELEN): Define.
12183 2011-05-03 Andreas Schwab <schwab@redhat.com>
12185 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12187 2011-04-28 Maciej Babinski <mbabinski@google.com>
12190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12191 gethostbyname4_r when IPv6 results are possible.
12193 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12196 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12197 _PC_PIPE_BUF handling.
12199 2011-04-30 Bruno Haible <bruno@clisp.org>
12202 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12203 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12205 * inet/getnameinfo.c (getnameinfo): Likewise.
12207 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12209 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12210 to groups setting in database lookup.
12211 * nss/nsswitch.conf: Add initgroups entry.
12213 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12216 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12218 Patch by Eric Blake <eblake@redhat.com>.
12220 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12222 * sunrpc/Makefile (need-export-routines): Add svc_run.
12223 (routines): Remove svc_run.
12224 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12225 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12226 * sunrpc/svc_run.c (svc_run): Likewise.
12227 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12229 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12231 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12232 problem in reallocation in last patch.
12234 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12236 * sunrpc/Makefile: Move inclusion of Rules.
12238 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12240 * nss/nss_files/files-initgroups.c: New file.
12241 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12242 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12243 _nss_files_initgroups_dyn.
12245 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12247 * elf/elf.h (R_ARM_IRELATIVE): Define.
12249 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12251 * po/ru.po: Update from translation team.
12253 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12255 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12258 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12261 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12262 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12263 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12267 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12271 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12275 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12278 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12280 * stdlib/bug-getcontext.c: New file.
12281 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12283 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12285 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12286 instructions into .machine "z9-109".
12287 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12288 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12290 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12292 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12293 between environment variables and auxiliary vector.
12295 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12297 * Makefile: Add rules to build linkobj/libc.so.
12298 * include/libc-symbols.h: Define libc_hidden_nolink.
12299 * include/rpc/auth.h: Mark functions which are to be hidden.
12300 * include/rpc/auth_des.h: Likewise.
12301 * include/rpc/auth_unix.h: Likewise.
12302 * include/rpc/clnt.h: Likewise.
12303 * include/rpc/des_crypt.h: Likewise.
12304 * include/rpc/key_prot.h: Likewise.
12305 * include/rpc/pmap_clnt.h: Likewise.
12306 * include/rpc/pmap_prot.h: Likewise.
12307 * include/rpc/pmap_rmt.h: Likewise.
12308 * include/rpc/rpc_msg.h: Likewise.
12309 * include/rpc/svc.h: Likewise.
12310 * include/rpc/svc_auth.h: Likewise.
12311 * include/rpc/xdr.h: Likewise.
12312 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12313 * nss/Makefile: Likewise.
12314 * sunrpc/Makefile: Don't install headers. Build library with normal
12315 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12316 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12317 for the compat linking library. Remove use of INTDEF/INTUSE.
12318 * sunrpc/auth_none.c: Likewise.
12319 * sunrpc/auth_unix.c: Likewise.
12320 * sunrpc/authdes_prot.c: Likewise.
12321 * sunrpc/authuxprot.c: Likewise.
12322 * sunrpc/clnt_gen.c: Likewise.
12323 * sunrpc/clnt_perr.c: Likewise.
12324 * sunrpc/clnt_raw.c: Likewise.
12325 * sunrpc/clnt_simp.c: Likewise.
12326 * sunrpc/clnt_tcp.c: Likewise.
12327 * sunrpc/clnt_udp.c: Likewise.
12328 * sunrpc/clnt_unix.c: Likewise.
12329 * sunrpc/des_crypt.c: Likewise.
12330 * sunrpc/des_soft.c: Likewise.
12331 * sunrpc/get_myaddr.c: Likewise.
12332 * sunrpc/key_call.c: Likewise.
12333 * sunrpc/key_prot.c: Likewise.
12334 * sunrpc/netname.c: Likewise.
12335 * sunrpc/pm_getmaps.c: Likewise.
12336 * sunrpc/pm_getport.c: Likewise.
12337 * sunrpc/pmap_clnt.c: Likewise.
12338 * sunrpc/pmap_prot.c: Likewise.
12339 * sunrpc/pmap_prot2.c: Likewise.
12340 * sunrpc/pmap_rmt.c: Likewise.
12341 * sunrpc/publickey.c: Likewise.
12342 * sunrpc/rpc_cmsg.c: Likewise.
12343 * sunrpc/rpc_common.c: Likewise.
12344 * sunrpc/rpc_dtable.c: Likewise.
12345 * sunrpc/rpc_prot.c: Likewise.
12346 * sunrpc/rpc_thread.c: Likewise.
12347 * sunrpc/rtime.c: Likewise.
12348 * sunrpc/svc.c: Likewise.
12349 * sunrpc/svc_auth.c: Likewise.
12350 * sunrpc/svc_authux.c: Likewise.
12351 * sunrpc/svc_raw.c: Likewise.
12352 * sunrpc/svc_run.c: Likewise.
12353 * sunrpc/svc_simple.c: Likewise.
12354 * sunrpc/svc_tcp.c: Likewise.
12355 * sunrpc/svc_udp.c: Likewise.
12356 * sunrpc/svc_unix.c: Likewise.
12357 * sunrpc/svcauth_des.c: Likewise.
12358 * sunrpc/xcrypt.c: Likewise.
12359 * sunrpc/xdr.c: Likewise.
12360 * sunrpc/xdr_array.c: Likewise.
12361 * sunrpc/xdr_float.c: Likewise.
12362 * sunrpc/xdr_intXX_t.c: Likewise.
12363 * sunrpc/xdr_mem.c: Likewise.
12364 * sunrpc/xdr_rec.c: Likewise.
12365 * sunrpc/xdr_ref.c: Likewise.
12366 * sunrpc/xdr_sizeof.c: Likewise.
12367 * sunrpc/xdr_stdio.c: Likewise.
12369 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12372 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12373 * sysdeps/ia64/dl-tls.h: Likewise.
12374 * sysdeps/powerpc/dl-tls.h: Likewise.
12375 * sysdeps/s390/dl-tls.h: Likewise.
12376 * sysdeps/sh/dl-tls.h: Likewise.
12377 * sysdeps/sparc/dl-tls.h: Likewise.
12378 * sysdeps/x86_64/dl-tls.h: Likewise.
12379 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12381 2011-03-14 Andreas Schwab <schwab@redhat.com>
12383 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12384 rpath element also skip the following colon.
12385 (expand_dynamic_string_token): Add is_path parameter and pass
12386 down to DL_DST_REQUIRED and _dl_dst_substitute.
12387 (decompose_rpath): Call expand_dynamic_string_token with
12388 non-zero is_path. Ignore empty rpaths.
12389 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12392 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12397 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12400 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12401 Patch by Filipe David Manana <fdmanana@apache.org>.
12403 2011-04-07 Andreas Schwab <schwab@redhat.com>
12405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12406 Maintain aligned stack.
12407 (CHECK_RSP): Remove unused macro.
12409 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12411 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12412 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12414 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12416 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12418 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12420 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12423 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12424 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12425 * sysdeps/x86_64/memmove.c: New file.
12426 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12427 (memcpy): Renamed to ...
12428 (__new_memcpy): This.
12429 (memcpy): Provide GLIBC_2_14 memcpy.
12430 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12431 (memcpy): Provide GLIBC_2_2_5 memcpy.
12433 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12436 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12438 2011-03-30 Andreas Schwab <schwab@redhat.com>
12440 * misc/syncfs.c: New file.
12441 * misc/Makefile (routines): Add syncfs.
12442 * posix/unistd.h: Declare syncfs.
12443 * sysdeps/unix/syscalls.list: Add syncfs.
12445 2011-04-01 Andreas Schwab <schwab@redhat.com>
12447 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12452 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12454 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12457 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12460 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12461 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12467 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12468 sync_file_range.c with -fexceptions.
12469 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12470 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12471 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12472 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12473 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12474 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12476 sync_file_range as cancellation point
12477 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12478 now a wrapper around __call_sync_file_range with cancellation handling.
12479 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12480 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12481 function name to __call_sync_file_range.
12482 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12483 Add call_sync_file_range.
12485 2011-04-01 Andreas Schwab <schwab@redhat.com>
12487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12492 * iconv/iconv.h: Fix typo in comment.
12493 * io/fcntl.h: Likewise.
12494 * libio/stdio.h: Likewise.
12495 * posix/spawn.h: Likewise.
12496 * posix/unistd.h: Likewise.
12497 * stdlib/stdlib.h: Likewise.
12498 * time/time.h: Likewise.
12499 * wcsmbs/wchar.h: Likewise.
12501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12502 open_by_handle): Add.
12503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12504 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12505 Augment a few comments.
12506 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12511 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12514 * io/fcntl.h (AT_EMPTY_PATH): Define.
12516 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12518 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12519 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12520 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12522 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12523 * Versions.def: Add GLIBC_2.14.
12524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12527 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12529 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12531 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12533 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12536 * string/test-strncmp.c (do_page_test): New function.
12537 (check2): Likewise.
12538 (test_main): Call check2.
12539 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12541 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12544 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12545 Handle cache information in CPU leaf 4.
12546 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12548 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12551 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12552 character representation.
12553 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12555 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12557 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12558 END(__isnan) to END(__isnanf) to match function entry point/label
12559 EALIGN(__isnanf,...).
12561 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12563 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12565 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12568 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12569 copy from the symbol referenced in the relocation to initialize the
12571 Patch by Piotr Bury <pbury@goahead.com>.
12572 * elf/Makefile: Add rules to build and tst-unique3.
12573 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12574 * elf/tst-unique3.cc: New file.
12575 * elf/tst-unique3.h: New file.
12576 * elf/tst-unique3lib.cc: New file.
12577 * elf/tst-unique3lib2.cc: New file.
12579 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12581 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12583 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12584 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12587 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12589 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12590 to-be-loaded object along a path to loader is ld.so.
12592 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12593 Ulrich Drepper <drepper@gmail.com>
12595 * sysdeps/x86_64/memset.S: After aligning destination, code
12596 branches to different locations depending on the value of
12597 misalignment, when multiarch is enabled. Fix this.
12599 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12601 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12602 Set _x86_64_preferred_memory_instruction for AMD processsors.
12603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12604 Set bit_Prefer_SSE_for_memop for AMD processors.
12606 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12608 * libio/fmemopen.c (fmemopen): Optimize a bit.
12610 2011-03-03 Andreas Schwab <schwab@redhat.com>
12612 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12614 2011-03-03 Roland McGrath <roland@redhat.com>
12616 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12618 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12620 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12621 __bzero_ultra1 instead of __memset_ultra1.
12623 2011-02-23 Andreas Schwab <schwab@redhat.com>
12624 Ulrich Drepper <drepper@gmail.com>
12627 * include/link.h (struct link_map): Add l_orig_initfini.
12628 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12629 returning unsuccessfully.
12630 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12631 close of a file loaded at startup, restore the original l_initfini
12633 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12634 list, store the pointer.
12635 * elf/Makefile ($(objpfx)noload-mem): New rule.
12636 (noload-ENV): Define.
12637 (tests): Add $(objpfx)noload-mem.
12638 * elf/noload.c: Include <memcheck.h>.
12639 (main): Call mtrace. Close all opened handles.
12641 2011-02-17 Andreas Schwab <schwab@redhat.com>
12644 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12645 dependencies are missing.
12647 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12649 Fix __if_freereq crash: Unlike the generic version which uses free,
12651 * sysdeps/mach/hurd/ifreq.h: New file.
12653 2011-01-27 Petr Baudis <pasky@suse.cz>
12654 Ulrich Drepper <drepper@gmail.com>
12657 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12658 to extend_alloca().
12659 * stdio-common/bug23.c: New file.
12660 * stdio-common/Makefile (tests): Add bug23.
12662 2010-09-28 Andreas Schwab <schwab@redhat.com>
12663 Ulrich Drepper <drepper@gmail.com>
12666 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12667 before performing relro protection. At old place add assertion
12668 to make sure nothing changed.
12670 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12671 Glauber de Oliveira Costa <glommer@gmail.com>
12673 * elf/elf.h: Add new ARM TLS relocs.
12675 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12678 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12680 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12682 * sysdeps/wordsize-64/tst-writev.c: New file.
12684 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12686 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12687 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12688 insns in _dl_start to prevent a TOC reference before relocs are
12691 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12694 * Makeconfig: Remove RANLIB definition.
12695 * Makerules: Don't use RANLIB.
12696 * aclocal.m4: Remove ranlib test.
12697 * configure.in: No need to check for ranlib.
12698 * elf/rtld-Rules: Don't use RANLIB.
12700 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12702 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12704 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12705 inclusion protection macro.
12707 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12708 SIGRTMIN and SIGRTMAX and print information in that case only when
12709 SIGRTMIN is defined.
12711 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12713 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12714 arginfo fn returning -1.
12716 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12717 and thousands string is zero terminated.
12719 2011-02-03 Andreas Schwab <schwab@redhat.com>
12721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12722 sysdeps/unix/sysv/linux/bits/socket.h.
12724 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12726 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12727 (__CPU_COUNT): Remove old macros.
12728 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12729 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12730 (__CPU_ALLOC, __CPU_FREE): Add macros.
12731 (__sched_cpualloc, __sched_cpufree): Add declarations.
12733 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12735 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12736 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12737 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12738 (readdhstai): Return value of addhstaiX call.
12739 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12740 (addgrbyX): Return value returned by cache_addgr.
12741 (readdgrbyname): Return value returned by addgrbyX.
12742 (readdgrbygid): Likewise.
12743 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12744 (addpwbyX): Return value returned by cache_addpw.
12745 (readdpwbyname): Return value returned by addhstbyX.
12746 (readdpwbyuid): Likewise.
12747 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12748 (addservbyX): Return value returned by cache_addserv.
12749 (readdservbyname): Return value returned by addservbyX:
12750 (readdservbyport): Likewise.
12751 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12752 (addhstbyX): Return value returned by cache_addhst.
12753 (readdhstbyname): Return value returned by addhstbyX.
12754 (readdhstbyaddr): Likewise.
12755 (readdhstbynamev6): Likewise.
12756 (readdhstbyaddrv6): Likewise.
12757 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12758 (readdinitgroups): Return value returned by addinitgroupsX.
12759 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12760 (prune_cache): Keep track of timeout value of re-added entries.
12761 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12762 * nscd/nscd.h: Adjust prototypes of readd* functions.
12764 2011-02-04 Roland McGrath <roland@redhat.com>
12766 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12767 (nis_stats): Likewise.
12768 * nis/nis_modify.c (nis_modify): Likewise.
12769 * nis/nis_remove.c (nis_remove): Likewise.
12770 * nis/nis_add.c (nis_add): Likewise.
12772 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12774 * posix/fnmatch_loop.c: Add some consts.
12776 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12778 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12781 * config.make.in (config-cflags-novzeroupper): Define.
12782 * configure.in: Substitute libc_cv_cc_novzeroupper.
12783 * elf/Makefile (AVX-CFLAGS): Define.
12784 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12785 (CFLAGS-tst-auditmod4a.c): Likewise.
12786 (CFLAGS-tst-auditmod4b.c): Likewise.
12787 (CFLAGS-tst-auditmod6b.c): Likewise.
12788 (CFLAGS-tst-auditmod6c.c): Likewise.
12789 (CFLAGS-tst-auditmod7b.c): Likewise.
12790 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12792 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12794 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12795 function to the callback.
12796 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12798 2011-02-02 Andreas Schwab <schwab@redhat.com>
12800 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12803 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12806 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12808 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12810 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12813 * elf/Makefile: Add rules to build and run new test.
12814 * elf/tst-initorder.c: New file.
12815 * elf/tst-initorder.exp: New file.
12816 * elf/tst-initordera1.c: New file.
12817 * elf/tst-initordera2.c: New file.
12818 * elf/tst-initordera3.c: New file.
12819 * elf/tst-initordera4.c: New file.
12820 * elf/tst-initorderb1.c: New file.
12821 * elf/tst-initorderb2.c: New file.
12822 * elf/tst-order-a1.c: New file.
12823 * elf/tst-order-a2.c: New file.
12824 * elf/tst-order-a3.c: New file.
12825 * elf/tst-order-a4.c: New file.
12826 * elf/tst-order-b1.c: New file.
12827 * elf/tst-order-b2.c: New file.
12828 * elf/tst-order-main.c: New file.
12829 New test case by George Gensure <werkt0@gmail.com>.
12831 2010-10-01 Andreas Schwab <schwab@redhat.com>
12833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12834 decoding ACE if AI_CANONIDN.
12836 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12838 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12840 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12842 * version.h (RELEASE): Bump for 2.13 release.
12843 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12845 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12849 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12856 * posix/getconf.c: Update copyright year.
12857 * catgets/gencat.c: Likewise.
12858 * csu/version.c: Likewise.
12859 * debug/catchsegv.sh: Likewise.
12860 * debug/xtrace.sh: Likewise.
12861 * elf/ldconfig.c: Likewise.
12862 * elf/ldd.bash.in: Likewise.
12863 * elf/sprof.c (print_version): Likewise.
12864 * iconv/iconv_prog.c: Likewise.
12865 * iconv/iconvconfig.c: Likewise.
12866 * locale/programs/locale.c: Likewise.
12867 * locale/programs/localedef.c: Likewise.
12868 * malloc/memusage.sh: Likewise.
12869 * malloc/mtrace.pl: Likewise.
12870 * nscd/nscd.c (print_version): Likewise.
12871 * nss/getent.c: Likewise.
12873 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12874 PF_CAIF, and PF_ALG.
12875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12877 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12879 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12880 (modules-names): Use them.
12881 (ifunc-test-modules, ifunc-pie-tests): Define.
12882 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12883 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12884 (test-extras): Likewise.
12885 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12886 $(compile-command.c).
12887 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12888 (all-built-dso): Define.
12889 (check-textrel.out, check-execstack.out): Depend on it.
12891 * configure.in: Don't override --enable-multi-arch.
12893 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12896 * nscd/hstcache.c (tryagain): Define.
12897 (cache_addhst): Return tryagain not notfound for temporary errors.
12898 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12901 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12905 to make the syscall.
12906 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12909 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12910 and fall back to matching as normal character if the string ends before
12911 the matching ']' is found. This is what POSIX requires.
12912 * posix/testfnm.c: Adjust test result.
12913 * posix/globtest.sh: Adjust test result. Add new test.
12914 * posix/tst-fnmatch.input: Likewise.
12915 * posix/tst-fnmatch2.c: Add new test.
12917 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12919 * elf/Makefile (check-execstack): Revert last change. Depend on
12921 (check-execstack.h): New target.
12922 (generated): Add check-execstack.h.
12923 * elf/check-execstack.c: Include "check-execstack.h".
12924 (main): Revert last change.
12925 (handle_file): Return zero if GNU_STACK is absent and
12926 DEFAULT_STACK_PERMS doesn't include PF_X.
12928 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12930 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12931 in child fails because the descriptor is already closed.
12932 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12933 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12934 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12937 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12941 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12942 temporary buffer used to handle multi lookups locally.
12943 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12945 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12947 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12950 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12952 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12953 alignment for SSE2.
12955 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12958 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12959 characters. When rounding increased number of integer digits recompute
12961 * stdio-common/tst-grouping.c: New file.
12962 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12964 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12966 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12967 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12969 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12971 * bits/select.h: Likewise.
12973 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12975 * po/ja.po: Update from translation team.
12977 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12980 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12981 implementation just like for lxstat, fxstatat, et al.
12983 2010-12-27 Jim Meyering <meyering@redhat.com>
12986 * posix/regexec.c (build_trtable): Return failure indication upon
12987 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12989 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12992 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12993 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12994 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12995 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12998 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13001 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13002 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13004 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13006 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13007 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13008 script has SORT_BY_INIT_PRIORITY.
13009 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13010 NO_CTORS_DTORS_SECTIONS is defined.
13011 * elf/soinit.c: Likewise.
13012 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13013 NO_CTORS_DTORS_SECTIONS is defined.
13014 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13015 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13016 * sysdeps/sh/init-first.c: Likewise.
13017 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13019 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13021 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13022 always use the slow path.
13024 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13026 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13027 similar rule which adds the sysdep directories to the header search in
13028 order to pick up the correct platform stackinfo.h.
13029 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13030 perform test if it is, otherwise return successfully without testing.
13031 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13032 DEFAULT_STACK_PERMS define in stackinfo.h.
13033 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13034 defined in stackinfo.h.
13035 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13036 DEFAULT_STACK_PERMS defined in stackinfo.h.
13037 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13038 * sysdeps/ia64/stackinfo.h: Likewise.
13039 * sysdeps/s390/stackinfo.h: Likewise.
13040 * sysdeps/sh/stackinfo.h: Likewise.
13041 * sysdeps/sparc/stackinfo.h: Likewise.
13042 * sysdeps/x86_64/stackinfo.h: Likewise.
13043 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13044 PF_X for powerpc64. Retain PF_X for powerpc32.
13046 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13048 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13050 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13051 GETDENTS_64BIT_ALIGNED.
13053 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13055 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13057 2010-12-10 Andreas Schwab <schwab@redhat.com>
13059 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13062 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13063 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13065 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13066 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13068 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13071 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13074 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13076 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13078 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13080 * po/it.po: Update from translation team.
13082 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13087 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13089 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13091 2010-11-24 Andreas Schwab <schwab@redhat.com>
13093 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13095 (gaih_getanswer_slice): Likewise.
13097 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13101 2010-05-31 Petr Baudis <pasky@suse.cz>
13104 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13105 silently even in the chroot mode.
13107 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13109 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13110 last patch a bit. Pretty printing
13112 2010-05-31 Petr Baudis <pasky@suse.cz>
13115 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13116 initialization of skip_initgroups_dyn.
13118 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13121 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13123 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13125 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13127 2010-11-11 Andreas Schwab <schwab@redhat.com>
13129 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13130 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13131 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13132 ($(objpfx)tst-fnmatch-mem): New rule.
13133 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13134 * posix/tst-fnmatch.c (main): Call mtrace.
13136 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13139 Support Intel processor model 6 and model 0x2c.
13141 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13146 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13149 * string/test-strncasecmp.c (check_result): New function.
13150 (do_one_test): Use it.
13151 (check1): New function.
13152 (test_main): Use it.
13153 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13154 Support strcasecmp and strncasecmp.
13156 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13159 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13162 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13164 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13168 * sysdeps/x86_64/multiarch/bzero.S: New file.
13169 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13170 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13171 * sysdeps/x86_64/multiarch/memset.S: New file.
13172 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13174 Set bit_Prefer_SSE_for_memop for Intel processors.
13175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13177 (index_Prefer_SSE_for_memop): Define.
13178 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13180 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13182 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13183 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13185 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13188 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13189 (__x86_64_raw_data_cache_size_half): Likewise.
13190 (__x86_64_raw_shared_cache_size): Likewise.
13191 (__x86_64_raw_shared_cache_size_half): Likewise.
13193 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13194 (__x86_64_raw_data_cache_size_half): Likewise.
13195 (__x86_64_raw_shared_cache_size): Likewise.
13196 (__x86_64_raw_shared_cache_size_half): Likewise.
13197 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13198 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13199 and __x86_64_raw_shared_cache_size_half. Round
13200 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13201 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13202 to multiple of 256 bytes.
13204 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13207 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13208 of inacessible symlinks. Verify result of symlink before returning it.
13209 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13210 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13212 2010-10-28 Erich Ritz <erichritz@gmail.com>
13214 * math/math.h (isinf): Fix typo in comment.
13216 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13218 * po/da.po: Update from translation team.
13220 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13222 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13223 is added to the list.
13225 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13226 Ulrich Drepper <drepper@gmail.com>
13228 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13229 the global list here. Move code to...
13230 (_dl_add_to_namespace_list): ...here. New function.
13231 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13232 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13233 * elf/dl-load.c (lose): Don't remove the element from the list.
13234 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13235 (_dl_map_object): Likewise.
13237 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13240 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13241 into all bytes of SSE register.
13242 Patch by Richard Li <richardpku@gmail.com>.
13244 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13247 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13250 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13252 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13253 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13255 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13260 2010-10-22 Andreas Schwab <schwab@redhat.com>
13262 * include/dlfcn.h (__RTLD_SECURE): Define.
13263 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13264 mode & __RTLD_SECURE instead.
13265 (open_path): Rename preloaded parameter to secure.
13266 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13267 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13268 * elf/dl-deps.c (openaux): Likewise.
13269 * elf/rtld.c (struct map_args): Remove is_preloaded.
13270 (map_doit): Don't use it.
13271 (dl_main): Likewise.
13272 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13273 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13275 2010-09-09 Andreas Schwab <schwab@redhat.com>
13277 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13278 (sysd-rules-targets): Remove duplicates.
13279 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13280 rtld-%.$o dependency.
13282 2010-10-18 Andreas Schwab <schwab@redhat.com>
13284 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13285 _dl_map_object do it.
13287 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13289 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13290 fast fma builtins, define the macros in the C99 standard.
13291 (FP_FAST_FMAF): Likewise.
13292 (FP_FAST_FMAL): Likewise.
13293 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13295 * bits/mathdef.h: Update copyright year.
13296 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13298 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13300 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13301 builtins, define the macros in the C99 standard.
13302 (FP_FAST_FMAF): Likewise.
13303 (FP_FAST_FMAL): Likewise.
13304 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13306 (FP_FAST_FMAF): Likewise.
13308 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13311 * math/libm-test.inc (fma_test): Some new testcases.
13312 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13313 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13314 y and infinite z. Do multiplication by C already in long double.
13315 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13317 y and infinite z. Do bitwise or of inexact bit into u.d.
13318 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13319 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13320 * sysdeps/i386/fpu/s_fma.S: Removed.
13321 * sysdeps/i386/fpu/s_fmal.S: Removed.
13323 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13326 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13328 computation is not scheduled after fetestexcept. Fix value
13329 of minimum denormal long double.
13331 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13334 * math/libm-test.inc (fma_test): Add some more tests.
13335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13338 2010-10-15 Andreas Schwab <schwab@redhat.com>
13340 * scripts/data/localplt-s390-linux-gnu.data: New file.
13341 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13343 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13346 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13347 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13349 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13351 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13353 if one of x and y is very large and the other is subnormal.
13354 * sysdeps/s390/fpu/s_fmaf.c: New file.
13355 * sysdeps/s390/fpu/s_fma.c: New file.
13356 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13357 * sysdeps/powerpc/fpu/s_fma.S: New file.
13358 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13359 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13360 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13362 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13365 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13368 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13369 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13370 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13371 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13372 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13375 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13378 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13379 * posix/bug-regex31.input: Add test case.
13381 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13383 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13384 * posix/bug-regex31.input: New file.
13387 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13388 (parse_sub_exp): Fix last change, use postorder.
13390 * posix/bug-regex31.c: New file.
13391 * posix/Makefile: Add rules to build and run bug-regex31.
13393 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13396 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13399 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13400 to have entries in sys_siglist.
13403 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13406 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13409 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13410 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13411 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13412 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13413 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13414 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13415 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13416 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13417 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13418 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13419 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13420 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13421 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13422 * math/ftestexcept.c (fetestexcept): Likewise.
13423 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13424 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13425 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13426 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13427 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13428 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13431 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13434 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13437 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13439 * string/bug-strstr1.c: New file.
13440 * string/Makefile: Add rules to build and run bug-strstr1.
13442 2010-10-05 Eric Blake <eblake@redhat.com>
13445 * string/str-two-way.h (two_way_long_needle): Always clear memory
13446 when skipping input due to the shift table.
13448 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13451 * malloc/mcheck.c: Handle large requests.
13454 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13455 for strncmp and strncasecmp.
13456 * string/stratcliff.c: Add tests for strcmp and strncmp.
13457 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13459 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13461 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13464 2010-09-30 Andreas Jaeger <aj@suse.de>
13466 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13467 (CGROUP_SUPER_MAGIC): Define.
13468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13469 Handle btrfs and cgroup file systems.
13470 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13473 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13475 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13476 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13478 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13481 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13482 trying to locate the ELF header.
13484 2010-09-27 Andreas Schwab <schwab@redhat.com>
13487 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13488 Mask out sign-bit copies when constructing f_fsid.
13490 2010-09-24 Petr Baudis <pasky@suse.cz>
13492 * debug/stack_chk_fail_local.c: Add missing licence exception.
13493 * debug/warning-nop.c: Likewise.
13495 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13498 implementing getdents64 using getdents syscall, set d_type if
13499 __ASSUME_GETDENTS32_D_TYPE.
13501 2010-09-16 Andreas Schwab <schwab@redhat.com>
13503 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13504 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13506 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13509 * posix/unistd.h: Undo change of feature selection for ftruncate from
13512 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13514 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13517 2010-09-20 Andreas Schwab <schwab@redhat.com>
13519 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13521 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13523 2010-09-14 Andreas Schwab <schwab@redhat.com>
13525 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13526 variables after CHECK_SP call.
13527 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13529 2010-09-13 Andreas Schwab <schwab@redhat.com>
13530 Ulrich Drepper <drepper@redhat.com>
13532 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13533 re-relocationg ld.so.
13534 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13535 _dl_init_paths call.
13536 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13539 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13541 * resolv/res_init.c (__res_vinit): Count the default server we added.
13543 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13544 Ulrich Drepper <drepper@redhat.com>
13547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13548 (____longjmp_chk): Use %ebx for saving value across system call.
13551 2010-09-06 Andreas Schwab <schwab@redhat.com>
13553 * manual/Makefile: Don't mix pattern rules with normal rules.
13555 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13557 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13559 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13560 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13561 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13562 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13566 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13569 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13570 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13572 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13574 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13575 * sysdeps/x86_64/addmul_1.S: Likewise.
13576 * sysdeps/x86_64/lshift.S: Likewise.
13577 * sysdeps/x86_64/mul_1.S: Likewise.
13578 * sysdeps/x86_64/rshift.S: Likewise.
13579 * sysdeps/x86_64/sub_n.S: Likewise.
13580 * sysdeps/x86_64/submul_1.S: Likewise.
13582 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13584 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13585 Define __sched_param instead of SCHED_* and sched_param when
13586 <bits/sched.h> is included with __need_schedparam defined.
13587 * bits/sched.h [__need_schedparam]
13588 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13589 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13590 (__defined_schedparam): Define to 1.
13591 (__sched_param): New structure, identical to sched_param.
13592 (__need_schedparam): Undefine.
13594 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13597 (epoll_create1): Declare.
13599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13601 2010-08-31 Andreas Schwab <schwab@redhat.com>
13604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13605 shifting retval into place.
13607 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13609 * nis/rpcsvc/nis.h: Update copyright notice.
13610 * nis/rpcsvc/nis.x: Likewise.
13611 * nis/rpcsvc/nis_callback.h: Likewise.
13612 * nis/rpcsvc/nis_callback.x: Likewise.
13613 * nis/rpcsvc/nis_object.x: Likewise.
13614 * nis/rpcsvc/nis_tags.h: Likewise.
13615 * nis/rpcsvc/yp.h: Likewise.
13616 * nis/rpcsvc/yp.x: Likewise.
13617 * nis/rpcsvc/ypupd.h: Likewise.
13618 * nis/yp_xdr.c: Likewise.
13619 * nis/ypupdate_xdr.c: Likewise.
13621 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13622 mainly the body of pmap_getport. Add parameters to specify timeouts.
13623 (pmap_getport): Use __libc_rpc_getport.
13624 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13625 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13626 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13628 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13633 2010-08-27 Roland McGrath <roland@redhat.com>
13635 * sysdeps/i386/i686/multiarch/Makefile
13636 (CFLAGS-varshift.c): New variable.
13638 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13640 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13641 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13645 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13647 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13649 * sysdeps/x86_64/strlen.S: Unroll the loop.
13650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13651 strlen-sse2 strlen-sse2-bsf.
13652 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13653 __strlen_no_bsf if bit_Slow_BSF is set.
13654 (__strlen_sse42): Removed.
13655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13656 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13658 2010-08-25 Roland McGrath <roland@redhat.com>
13660 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13661 * sysdeps/x86_64/multiarch/varshift.c: New file.
13662 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13663 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13664 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13665 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13667 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13670 strlen-sse2 strlen-sse2-bsf.
13671 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13672 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13673 (__strlen_sse2): Removed.
13674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13677 bit_Slow_BSF for Atom.
13678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13679 (index_Slow_BSF): Define.
13680 (HAS_SLOW_BSF): Define.
13682 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13685 * resolv/res_init.c (__res_vinit): When no server address at all
13686 is given default to loopback.
13688 2010-08-24 Roland McGrath <roland@redhat.com>
13690 * configure.in: Remove config-name.h generation.
13691 * configure: Regenerated.
13692 * config-name.in: File removed.
13693 * scripts/config-uname.sh: New file.
13694 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13695 ($(objdir)config-name.h): New target.
13697 * sunrpc/rpc_parse.h: Avoid nested comment.
13699 2010-08-24 Richard Henderson <rth@redhat.com>
13700 Ulrich Drepper <drepper@redhat.com>
13701 H.J. Lu <hongjiu.lu@intel.com>
13703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13705 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13706 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13707 _mm_alignr_epi8 with _mm_loadu_si128.
13708 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13709 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13710 (__m128i_shift_right): Removed.
13711 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13712 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13713 * sysdeps/x86_64/multiarch/varshift.h: New file.
13714 * sysdeps/x86_64/multiarch/varshift.S: New file.
13716 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13718 * configure.in: Move assembler checks to before sysdep dir checking.
13720 2010-08-20 Petr Baudis <pasky@suse.cz>
13722 * LICENSES: Sync the sunrpc license.
13724 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13726 * sunrpc/auth_des.c: Update copyright notice once again.
13727 * sunrpc/auth_none.c: Likewise.
13728 * sunrpc/auth_unix.c: Likewise.
13729 * sunrpc/authdes_prot.c: Likewise.
13730 * sunrpc/authuxprot.c: Likewise.
13731 * sunrpc/bindrsvprt.c: Likewise.
13732 * sunrpc/clnt_gen.c: Likewise.
13733 * sunrpc/clnt_perr.c: Likewise.
13734 * sunrpc/clnt_raw.c: Likewise.
13735 * sunrpc/clnt_simp.c: Likewise.
13736 * sunrpc/clnt_tcp.c: Likewise.
13737 * sunrpc/clnt_udp.c: Likewise.
13738 * sunrpc/clnt_unix.c: Likewise.
13739 * sunrpc/des_crypt.c: Likewise.
13740 * sunrpc/des_soft.c: Likewise.
13741 * sunrpc/get_myaddr.c: Likewise.
13742 * sunrpc/getrpcport.c: Likewise.
13743 * sunrpc/key_call.c: Likewise.
13744 * sunrpc/key_prot.c: Likewise.
13745 * sunrpc/openchild.c: Likewise.
13746 * sunrpc/pm_getmaps.c: Likewise.
13747 * sunrpc/pm_getport.c: Likewise.
13748 * sunrpc/pmap_clnt.c: Likewise.
13749 * sunrpc/pmap_prot.c: Likewise.
13750 * sunrpc/pmap_prot2.c: Likewise.
13751 * sunrpc/pmap_rmt.c: Likewise.
13752 * sunrpc/rpc/auth.h: Likewise.
13753 * sunrpc/rpc/auth_unix.h: Likewise.
13754 * sunrpc/rpc/clnt.h: Likewise.
13755 * sunrpc/rpc/des_crypt.h: Likewise.
13756 * sunrpc/rpc/key_prot.h: Likewise.
13757 * sunrpc/rpc/netdb.h: Likewise.
13758 * sunrpc/rpc/pmap_clnt.h: Likewise.
13759 * sunrpc/rpc/pmap_prot.h: Likewise.
13760 * sunrpc/rpc/pmap_rmt.h: Likewise.
13761 * sunrpc/rpc/rpc.h: Likewise.
13762 * sunrpc/rpc/rpc_des.h: Likewise.
13763 * sunrpc/rpc/rpc_msg.h: Likewise.
13764 * sunrpc/rpc/svc.h: Likewise.
13765 * sunrpc/rpc/svc_auth.h: Likewise.
13766 * sunrpc/rpc/types.h: Likewise.
13767 * sunrpc/rpc/xdr.h: Likewise.
13768 * sunrpc/rpc_clntout.c: Likewise.
13769 * sunrpc/rpc_cmsg.c: Likewise.
13770 * sunrpc/rpc_common.c: Likewise.
13771 * sunrpc/rpc_cout.c: Likewise.
13772 * sunrpc/rpc_dtable.c: Likewise.
13773 * sunrpc/rpc_hout.c: Likewise.
13774 * sunrpc/rpc_main.c: Likewise.
13775 * sunrpc/rpc_parse.c: Likewise.
13776 * sunrpc/rpc_parse.h: Likewise.
13777 * sunrpc/rpc_prot.c: Likewise.
13778 * sunrpc/rpc_sample.c: Likewise.
13779 * sunrpc/rpc_scan.c: Likewise.
13780 * sunrpc/rpc_scan.h: Likewise.
13781 * sunrpc/rpc_svcout.c: Likewise.
13782 * sunrpc/rpc_tblout.c: Likewise.
13783 * sunrpc/rpc_util.c: Likewise.
13784 * sunrpc/rpc_util.h: Likewise.
13785 * sunrpc/rpcinfo.c: Likewise.
13786 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13787 * sunrpc/rpcsvc/key_prot.x: Likewise.
13788 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13789 * sunrpc/rpcsvc/mount.x: Likewise.
13790 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13791 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13792 * sunrpc/rpcsvc/rex.x: Likewise.
13793 * sunrpc/rpcsvc/rstat.x: Likewise.
13794 * sunrpc/rpcsvc/rusers.x: Likewise.
13795 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13796 * sunrpc/rpcsvc/spray.x: Likewise.
13797 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13798 * sunrpc/rtime.c: Likewise.
13799 * sunrpc/svc.c: Likewise.
13800 * sunrpc/svc_auth.c: Likewise.
13801 * sunrpc/svc_authux.c: Likewise.
13802 * sunrpc/svc_raw.c: Likewise.
13803 * sunrpc/svc_run.c: Likewise.
13804 * sunrpc/svc_simple.c: Likewise.
13805 * sunrpc/svc_tcp.c: Likewise.
13806 * sunrpc/svc_udp.c: Likewise.
13807 * sunrpc/svc_unix.c: Likewise.
13808 * sunrpc/svcauth_des.c: Likewise.
13809 * sunrpc/xcrypt.c: Likewise.
13810 * sunrpc/xdr.c: Likewise.
13811 * sunrpc/xdr_array.c: Likewise.
13812 * sunrpc/xdr_float.c: Likewise.
13813 * sunrpc/xdr_mem.c: Likewise.
13814 * sunrpc/xdr_rec.c: Likewise.
13815 * sunrpc/xdr_ref.c: Likewise.
13816 * sunrpc/xdr_sizeof.c: Likewise.
13817 * sunrpc/xdr_stdio.c: Likewise.
13819 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13822 2010-08-19 Andreas Schwab <schwab@redhat.com>
13824 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13826 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13828 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13830 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13831 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13832 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13833 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13834 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13835 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13837 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13838 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13840 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13841 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13843 2010-07-26 Anton Blanchard <anton@samba.org>
13845 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13846 * malloc/arena.c (heap_trim): Likewise.
13848 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13850 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13853 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13855 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13857 * sysdeps/i386/elf/Makefile: New file.
13859 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13861 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13862 from fanotify_init.
13863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13866 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13868 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13870 * sysdeps/multiarch/strcmp.S: Likewise.
13872 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13874 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13875 strncase_l-nonascii.
13876 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13877 Add strncase_l-ssse3.
13878 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13879 * sysdeps/x86_64/strcmp.S: Likewise.
13880 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13881 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13882 * sysdeps/x86_64/strncase.S: New file.
13883 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13884 * sysdeps/x86_64/strncase_l.S: New file.
13885 * string/Makefile (strop-tests): Add strncasecmp.
13886 * string/test-strncasecmp.c: New file.
13888 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13891 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13892 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13894 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13896 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13898 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13900 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13904 2010-05-01 Alan Modra <amodra@gmail.com>
13906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13907 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13908 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13909 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13910 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13911 tidying. Don't tail-call __sigjmp_save for static lib.
13912 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13914 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13915 (CALL_MCOUNT): Add eh info, and nop after bl.
13916 (TAIL_CALL_SYSCALL_ERROR): New macro.
13917 (PSEUDO_RET): Use it.
13918 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13919 Correct save location of integer regs and cr.
13920 (_dl_profile_resolve): Correct cr save location. Delete nops
13921 after bl when SHARED. Reduce cfi size a little by better
13922 placement of cfi directives.
13923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13924 make a stack frame. Instead use parm save area as a temp.
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13926 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13928 Don't make a stack frame for parent, use parm save area.
13929 Increase child stack frame to 112 bytes. Don't save unused reg,
13930 and adjust reg usage. Set up cfi on error recovery and
13931 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13933 (__makecontext): Add dummy nop after jump to exit.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13935 Use correct parm save area and cr save, reduce stack frame.
13936 Correct cfi for possible PSEUDO_RET frame setup.
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13938 Branch to local label emitted by PSEUDO_RET rather than
13941 2010-08-12 Andreas Schwab <schwab@redhat.com>
13944 * locale/programs/locale.c (print_assignment): New function.
13945 (show_locale_vars): Use it.
13947 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13949 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13951 (struct statfs64): Likewise.
13952 (_STATFS_F_FLAGS): Define.
13953 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13955 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13956 (ST_VALID): Define locally.
13957 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13958 __statvfs_getflags, use the provided value.
13959 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13960 __ASSUME_STATFS_F_FLAGS.
13962 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13964 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13965 Add sys/fanotify.h.
13966 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13967 fanotify_mask for GLIBC_2.13.
13968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13969 fanotify_init and fanotify_mark.
13970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13971 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13975 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13976 prlimit64 for GLIBC_2.13.
13977 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13979 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13983 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13984 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13987 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13990 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13991 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13993 * nss/Makefile: Add rules to build and run tst-nss-test1.
13994 * shlib-versions: Add entry for libnss_test1.
13995 * nss/nss_test1.c: New file.
13996 * nss/tst-nss-test1.c: New file.
13998 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13999 (__nss_configure_lookup): Set appropriate entry in
14000 __nss_configure_lookup to true.
14001 * nss/nsswitch.h: Define enum with indeces of databases in
14002 databases and __nss_database_custom arrays. Declare
14003 __nss_database_custom.
14004 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14005 to avoid using nscd when custom rules are installed.
14006 * nss/getXXbyYY_r.c: Likewise.
14007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14009 * nss/nss_files/files-parse.c: Whitespace fixes.
14011 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14014 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14015 * posix/fnmatch_loop.c: Likewise.
14017 2010-07-17 Andi Kleen <ak@linux.intel.com>
14019 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14020 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14021 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14022 * Versions.def [GLIBC_2.13]: Add.
14024 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14027 Also fail if tpwd after pwuid call is NULL.
14029 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14031 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14032 when converting to ms.
14034 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14037 EOPNOTSUPP errors with ENOTTY.
14038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14039 EOPNOTSUPP errors with ENOTTY.
14041 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14043 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14044 Add strcasecmp_l-ssse3.
14045 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14047 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14048 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14049 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14051 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14053 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14055 * string/Makefile (strop-tests): Add strcasecmp.
14056 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14057 strcasecmp_l-nonascii.
14058 (gen-as-const-headers): Add locale-defines.sym.
14059 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14060 * sysdeps/x86_64/strcasecmp.S: New file.
14061 * sysdeps/x86_64/strcasecmp_l.S: New file.
14062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14063 * sysdeps/x86_64/locale-defines.sym: New file.
14064 * string/test-strcasecmp.c: New file.
14066 * string/test-strcasestr.c: Test both ends of the range of characters.
14067 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14069 2010-07-29 Roland McGrath <roland@redhat.com>
14072 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14074 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14076 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14079 2010-07-27 Andreas Schwab <schwab@redhat.com>
14081 * manual/memory.texi (Malloc Tunable Parameters): Document
14084 2010-07-26 Roland McGrath <roland@redhat.com>
14087 * configure.in (-fgnu89-inline check): Set and substitute
14088 gnu89_inline, not libc_cv_gnu89_inline.
14089 * configure: Regenerated.
14090 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14092 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14094 * string/test-strnlen.c: New file.
14095 * string/Makefile (strop-tests): Add strnlen.
14096 * string/tester.c (test_strnlen): Add a few more test cases.
14097 * string/tst-strlen.c: Better error reporting.
14099 * sysdeps/x86_64/strnlen.S: New file.
14101 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14103 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14104 lower-latency instructions.
14106 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14108 * string/test-strcasestr.c: New file.
14109 * string/test-strstr.c: New file.
14110 * string/Makefile (strop-tests): Add strstr and strcasestr.
14111 * string/str-two-way.h: Don't undefine MAX.
14112 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14114 2010-07-21 Andreas Schwab <schwab@redhat.com>
14116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14117 strcasestr-nonascii.
14118 (CFLAGS-strcasestr-nonascii.c): Define.
14119 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14120 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14121 Remove unused attribute.
14123 2010-07-20 Roland McGrath <roland@redhat.com>
14125 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14126 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14127 ld.so.cache was broken. With it, there is no way to disable dsocaps
14128 like LD_HWCAP_MASK can disable hwcaps.
14130 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14132 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14134 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14136 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14137 call in strcasestr.
14138 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14139 __strcasestr_sse42_nonascii.
14140 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14141 strcasestr-nonascii.c.
14142 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14144 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14146 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14148 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14151 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14153 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14156 2010-07-06 Andreas Schwab <schwab@redhat.com>
14159 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14162 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14164 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14165 _PC_PIPE_BUF using F_GETPIPE_SZ.
14167 2010-07-05 Roland McGrath <roland@redhat.com>
14169 * manual/arith.texi (Rounding Functions): Fix rint description
14170 implicit in round description.
14172 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14174 * elf/Makefile: Fix linking for a few tests to make recent linker
14177 2010-06-30 Andreas Schwab <schwab@redhat.com>
14179 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14180 $(common-objpfx)libc_nonshared.a.
14182 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14184 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14185 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14186 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14187 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14188 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14190 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14191 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14206 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14207 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14208 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14209 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14210 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14211 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14212 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14213 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14214 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14215 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14216 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14217 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14233 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14235 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14236 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14237 * string/memmove.c (memmove): Renamed to ...
14238 (MEMMOVE): ...this. Default to memmove.
14239 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14240 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14243 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14244 mempcpy-ssse3-back memmove-ssse3-back.
14245 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14248 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14249 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14250 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14251 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14252 * sysdeps/x86_64/multiarch/memmove.c: New file.
14253 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14254 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14255 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14256 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14257 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14260 (index_Fast_Copy_Backward): Define.
14261 (HAS_ARCH_FEATURE): Define.
14262 (HAS_FAST_REP_STRING): Define.
14263 (HAS_FAST_COPY_BACKWARD): Define.
14265 2010-06-21 Andreas Schwab <schwab@redhat.com>
14267 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14268 Restore proper fallback handling.
14270 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14273 * posix/group_member.c (__group_member): Correct checking loop.
14275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14276 OOM in getpwuid_r correctly. Return error number when the caller
14277 should return, otherwise -1.
14278 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14279 call returning > 0 value.
14280 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14282 2010-06-07 Andreas Schwab <schwab@redhat.com>
14284 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14285 libc_nonshared.a from targets in modules-names.
14287 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14289 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14292 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14294 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14295 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14299 2010-06-02 Andreas Schwab <schwab@redhat.com>
14301 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14303 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14305 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14314 2010-06-14 Roland McGrath <roland@redhat.com>
14316 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14318 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14320 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14321 __REDIRECT followed by __THROW.
14322 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14323 * posix/getopt.h (getopt): Likewise.
14325 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14327 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14328 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14329 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14331 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14332 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14334 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14338 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14342 Properly check family and model.
14344 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14346 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14348 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14350 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14352 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14354 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14357 2010-05-19 Andreas Schwab <schwab@redhat.com>
14359 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14362 2010-05-21 Andreas Schwab <schwab@redhat.com>
14364 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14365 and internal_recvmmsg.
14366 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14367 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14368 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14369 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14371 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14372 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14373 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14375 2010-05-20 Andreas Schwab <schwab@redhat.com>
14377 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14379 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14381 POWER7 optimizations.
14382 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14383 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14385 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14387 * version.h: Update for 2.13 development version.
14389 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14391 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14392 exceptions. Return 0.
14394 2010-05-07 Roland McGrath <roland@redhat.com>
14396 * elf/ldconfig.c (main): Add a const.
14398 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14400 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14401 (args_options): Add no-idn option.
14402 (ahosts_keys_int): Add idn_flags to ai_flags.
14403 (parse_option): Handle 'i' option to clear idn_flags.
14405 * malloc/malloc.c (_int_free): Possible race in the most recently
14406 added check. Only act on the data if no current modification
14409 See ChangeLog.17 for earlier changes.