1 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4 Add sigaltstack-offsets.sym.
5 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6 <sigaltstack-offsets.h>.
7 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16 * elf/stackguard-macros.h: Remove file.
17 * sysdeps/generic/stackguard-macros.h: New file.
18 * sysdeps/i386/stackguard-macros.h: Likewise.
19 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27 <elf/stackguard-macros.h>.
30 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31 __aligned__ in attribute.
32 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33 (gregset_t): Likewise.
35 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38 * sysdeps/x86_64/64/Implies-after: Here. New file.
39 * sysdeps/x86_64/x32/Implies-after: New file.
41 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44 and access return value for _dl_profile_fixup. Use R10_LP to
47 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54 * sysdeps/x86_64/x32/sysdep.h: New file.
56 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59 * sysdeps/x86_64/setjmp.S: Likewise.
61 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67 remove unused global constant.
69 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72 include of <not-cancel.h>.
74 2012-05-15 Roland McGrath <roland@hack.frob.com>
76 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78 2012-05-15 Jeff Law <law@redhat.com>
79 Andreas Jaeger <aj@suse.de>
82 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
84 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
85 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
86 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
87 code changing __hst_map_handle.map.
89 2012-05-15 Roland McGrath <roland@hack.frob.com>
91 * configure.in (sysnames): Look for Implies-before and Implies-after
93 * configure: Regenerated.
95 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
97 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
98 8-byte data alignment with LP_SIZE alignment.
100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
120 (stackinfo_sub_sp): Likewise.
122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
144 into R11_LP and load __x86_64_shared_cache_size_half into
147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
152 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
161 powerpc32/power7/fpu/s_logb.c via #include.
162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
163 powerpc32/power7/fpu/s_logbf.c via #include.
164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
165 powerpc32/power7/fpu/s_logbl.c via #include.
167 2012-05-15 Joseph Myers <joseph@codesourcery.com>
169 * README.libm: Remove file.
171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
174 count for x32. Use R*_LP and omit operand-size suffix.
176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
180 * sysdeps/x86_64/x32/shlib-versions: New file.
182 2012-05-14 Roland McGrath <roland@hack.frob.com>
184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
186 Use _dl_fatal_printf instead.
188 2012-05-14 Joseph Myers <joseph@codesourcery.com>
190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
191 set if not set by the user. Do not allow for being unset.
192 * sysdeps/unix/sysv/linux/configure: Regenerated.
194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
197 the `q' suffix from lea and replace .quad with ASM_ADDR.
199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
204 (PTR_DEMANGLE): Likewise.
206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
210 (ASM_ADDR): Likewise.
228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
230 * sysdeps/x86_64/x32/dl-machine.h: New file.
232 2012-05-14 Andreas Jaeger <aj@suse.de>
234 * manual/Makefile (subdir): Remove export of subdir.
235 (all): Remove target.
236 (.PHONY): Remove all from list.
237 (mkinstalldirs): Remove.
238 (.PHONY): Remove installdirs from list.
239 ($(inst_infodir)/libc.info): Use make-target-directory.
240 (installdirs): Remove.
242 (glibc-targets): Remove.
245 ($(objpfx)stubs ../po/manual.pot): Remove.
246 ($(objpfx)stamp%): Remove.
247 (make-target-directory): Remove.
248 (subdir_install): Remove.
256 * manual/.gitignore: Remove, it's not needed anymore.
257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
261 (texis): Renamed to $(objpfx)texis.
262 (texis-path): New, contains path to generated files.
263 (chapters.%): Use texis-path for complete path, add extra argument
265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
267 (summary,texi, stamp-summary): Use complete path of
268 files. Generate files in build dir.
269 (dir-add.texi): Build in build dir.
270 (libm-err.texi,stamp-libm-err): Likewise.
271 (version.texi, stamp-version): Likewise.
272 (.%c.texi): Likewise.
273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
274 (mostlyclean): Remove target.
275 (realclean): Remove target.
276 (generated): Add new variable with contents from mostlyclean and
277 realclean, remove entries duplicated in common-mostlyclean, add
278 stamp-libm-err and stamp-version.
279 (generated-dirs): Add libc directory.
280 ($(inst_infodir)/libc.info): Install files from build dir.
282 * manual/install.texi (Configuring and compiling): Adjust since
283 the info files are not part of the tar ball anymore.
285 2012-05-14 Andreas Jaeger <aj@suse.de>
287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
290 2012-05-14 Joseph Myers <joseph@codesourcery.com>
293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
294 to 2.2.0 where earlier.
295 * sysdeps/unix/sysv/linux/configure: Regenerated.
296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
297 Remove conditional code.
298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
300 Remove conditional code.
301 [!__NR_lchown]: Likewise.
302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
303 [__NR_lchown]: Likewise.
304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
305 comment referencing __ASSUME_LCHOWN_SYSCALL.
306 * sysdeps/unix/sysv/linux/i386/sigaction.c
307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
310 Remove conditional code.
311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
312 (__protocol_available): Remove #if 0 code.
313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
316 * sysdeps/unix/sysv/linux/kernel-features.h
317 (__ASSUME_GETCWD_SYSCALL): Don't define.
318 (__ASSUME_REALTIME_SIGNALS): Likewise.
319 (__ASSUME_PREAD_SYSCALL): Likewise.
320 (__ASSUME_PWRITE_SYSCALL): Likewise.
321 (__ASSUME_POLL_SYSCALL): Likewise.
322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
325 (__ASSUME_SIOCGIFNAME): Don't define.
326 (__ASSUME_MSG_NOSIGNAL): Likewise.
327 (__ASSUME_SENDFILE): Define unconditionally.
328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
363 Remove conditional code.
364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
366 Remove conditional code.
367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
371 Remove conditional code.
372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
374 Remove conditional code.
375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
377 Remove conditional code.
378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
380 Remove conditional code.
381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
383 Remove conditional code.
384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
388 * sysdeps/unix/sysv/linux/sigaction.c
389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
391 * sysdeps/unix/sysv/linux/sigpending.c
392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
394 * sysdeps/unix/sysv/linux/sigprocmask.c
395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
397 * sysdeps/unix/sysv/linux/sigsuspend.c
398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
401 (__libc_missing_rt_sigs): Remove.
402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
405 Remove conditional code.
406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
414 2012-05-14 Andreas Jaeger <aj@suse.de>
416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
417 it's not used in glibc.
418 (__coshm1): Likewise.
419 (__acosh1p): Likewise.
422 * manual/string.texi (Copying and Concatenation): Add missing
423 variable in concat example.
424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
426 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
430 __builtin_clzl with __builtin_clzll.
432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
438 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
445 2012-05-14 Mike Frysinger <vapier@gentoo.org>
447 * NEWS: Update ia64 info.
449 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
454 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
457 * sysdeps/unix/syscalls.list (dup3): Likewise.
458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
461 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
466 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
470 (TLS_IE): Use mov/add instead of movq/addq to load thread
472 (TLS_GD_PREFIX): New.
475 2012-05-11 David S. Miller <davem@davemloft.net>
477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
479 (_FPU_SETCW): Likewise.
481 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
486 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
489 * iconvdata/gb18030.c: Update tables.
490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
491 characters specially.
492 (BODY for TO_LOOP): Add encoding of missing ranges.
494 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
498 * sysdeps/mach/hurd/dup3.c: Likewise.
499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
500 * sysdeps/powerpc/memmove.c:: Likewise.
502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
509 * elf/elf.h (R_X86_64_RELATIVE64): New.
510 (R_X86_64_NUM): Updated.
511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
515 tst-quad1pie tst-quad2pie
516 (modules-names): Add tst-quadmod1 tst-quadmod2.
517 ($(objpfx)tst-quad1): New dependency.
518 ($(objpfx)tst-quad2): Likewise.
519 ($(objpfx)tst-quad1pie): Likewise.
520 ($(objpfx)tst-quad2pie): Likewise.
521 * sysdeps/x86_64/tst-quad1.c: New file.
522 * sysdeps/x86_64/tst-quad1pie.c: New file.
523 * sysdeps/x86_64/tst-quad2.c: Likewise.
524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
534 * streams/stropts.h (t_scalar_t): Define type.
536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
537 (_PATH_PRESERVE): Set to "/var/lib".
538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
544 if __dir_mkfile succeeded.
546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
547 checking for _hurd_dtablesize. Unlock it right after having
548 finished _hurd_dtable allocation.
550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
553 * sysdeps/mach/hurd/configure: Regenerated.
554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
556 * sysdeps/gnu/configure.in: ... this new file.
557 * sysdeps/unix/sysv/linux/configure: Regenerated.
558 * sysdeps/gnu/configure: New generated file.
560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
561 for Linux: use nsec instead of usec, as well as:
562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
563 members of type struct timespec.
564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
566 (struct stat64): Likewise.
567 (_STATBUF_ST_NSEC): New macro.
568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
571 __strtoul_internal rather than strtoul.
573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
581 which preserves existing values.
582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
584 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
587 TIMEOUT values. Return EINVAL for NFDS values either negative or
588 greater than FD_SETSIZE.
590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
593 allocated, call __vm_protect to finish enabling the existing space, and
594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
595 allocate the remainder.
597 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
605 sysdeps/mach/hurd/readlink.c.
607 * posix/tst-sysconf.c (posix_options): Only use
608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
609 _POSIX_SYNCHRONIZED_IO when they are defined
610 * sysdeps/mach/hurd/bits/posix_opt.h:
611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
612 (_XOPEN_REALTIME): Undefine macro.
613 (_XOPEN_REALTIME_THREADS): Undefine macro.
614 (_XOPEN_SHM): Undefine macro.
615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
619 (_POSIX_ASYNC_IO): Undefine macro.
620 (_POSIX_PRIORITIZED_IO): Undefine macro.
621 (_POSIX_SPIN_LOCKS): Define macro to -1.
623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
624 SA_NODEFER, SA_RESETHAND.
625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
631 * elf/Makefile (pldd-modules): Define unconditionally.
633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
640 Return ENOENT when name is empty.
641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
651 Fix mlock in all cases except non-readable pages.
652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
653 instead of VM_PROT_ALL as parameter to __vm_wire function.
655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
656 (__mkdir): When path is `/', just fail with EEXIST.
657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
662 <sys/uio.h> (for writev).
663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
664 and <sys/param.h> (for MIN).
666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
669 REQUESTED_TIME. Properly set the remaining time and return EINTR
672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
675 Depend on against $(link-rpcuserlibs).
677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
680 (__libc_stack_end): Do not use attribute_relro.
681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
683 to libthread-provided value.
684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
690 * bits/libc-lock.h (__libc_once_get): New macro.
691 * sysdeps/mach/bits/libc-lock.h: Likewise.
692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
694 instead of using implementation details.
696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
697 * libio/freopen.c: Likewise.
698 * libio/freopen64.c: Likewise.
699 * misc/syslog.c: Likewise.
700 * nscd/connections.c: Likewise.
701 * nscd/netgroupcache.c: Likewise.
702 * sysdeps/posix/getcwd.c: Likewise.
704 2012-05-10 Roland McGrath <roland@hack.frob.com>
706 * math/w_ilogbf.c: Add #include <limits.h>.
708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
711 path instead of returning without unlocking.
713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
714 immediate-write ioctls.
715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
720 __builtin_frame_address instead of making assumptions about the
721 location of the return address relative to DATA. Force early load of
723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
724 __builtin_frame_address.
727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
729 implement dup3 and do some further code clean-ups.
730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
746 when handler == SIG_ERR, not when handler != SIG_ERR.
748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
754 accept4 for GNU Hurd.
755 * include/sys/socket.h (__libc_accept4): New prototype.
756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
757 to implement __libc_accept4.
758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
774 assertion on O_CLOEXEC flag.
775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
776 * hurd/intern-fd.c: Likewise.
777 * hurd/port2fd.c: Likewise.
779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
782 * bits/in.h (IPV6_PKTINFO): Define new macro.
783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
785 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
796 * math/libm-test.inc (logb_test) : Additional logb tests.
798 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
799 Andreas Jaeger <aj@suse.de>
801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
802 * configure: Regenerated.
803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
804 * config.make.in (link-obsolete-rpc): New substituted variable.
805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
809 so that libc.a contains the symbols.
810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
812 * sunrpc/auth_none.c: Likewise.
813 * sunrpc/auth_unix.c: Likewise.
814 * sunrpc/authdes_prot.c: Likewise.
815 * sunrpc/authuxprot.c: Likewise.
816 * sunrpc/clnt_gen.c: Likewise.
817 * sunrpc/clnt_perr.c: Likewise.
818 * sunrpc/clnt_raw.c: Likewise.
819 * sunrpc/clnt_simp.c: Likewise.
820 * sunrpc/clnt_tcp.c: Likewise.
821 * sunrpc/clnt_udp.c: Likewise.
822 * sunrpc/clnt_unix.c: Likewise.
823 * sunrpc/des_crypt.c: Likewise.
824 * sunrpc/des_soft.c: Likewise.
825 * sunrpc/get_myaddr.c: Likewise.
826 * sunrpc/key_call.c: Likewise.
827 * sunrpc/key_prot.c: Likewise.
828 * sunrpc/netname.c: Likewise.
829 * sunrpc/pm_getmaps.c: Likewise.
830 * sunrpc/pm_getport.c: Likewise.
831 * sunrpc/pmap_clnt.c: Likewise.
832 * sunrpc/pmap_prot.c: Likewise.
833 * sunrpc/pmap_prot2.c: Likewise.
834 * sunrpc/pmap_rmt.c: Likewise.
835 * sunrpc/publickey.c: Likewise.
836 * sunrpc/rpc_cmsg.c: Likewise.
837 * sunrpc/rpc_common.c: Likewise.
838 * sunrpc/rpc_dtable.c: Likewise.
839 * sunrpc/rpc_prot.c: Likewise.
840 * sunrpc/rpc_thread.c: Likewise.
841 * sunrpc/rtime.c: Likewise.
842 * sunrpc/svc.c: Likewise.
843 * sunrpc/svc_auth.c: Likewise.
844 * sunrpc/svc_raw.c: Likewise.
845 * sunrpc/svc_run.c: Likewise.
846 * sunrpc/svc_tcp.c: Likewise.
847 * sunrpc/svc_udp.c: Likewise.
848 * sunrpc/svc_unix.c: Likewise.
849 * sunrpc/svcauth_des.c: Likewise.
850 * sunrpc/xcrypt.c: Likewise.
851 * sunrpc/xdr.c: Likewise.
852 * sunrpc/xdr_array.c: Likewise.
853 * sunrpc/xdr_float.c: Likewise.
854 * sunrpc/xdr_intXX_t.c: Likewise.
855 * sunrpc/xdr_mem.c: Likewise.
856 * sunrpc/xdr_rec.c: Likewise.
857 * sunrpc/xdr_ref.c: Likewise.
858 * sunrpc/xdr_sizeof.c: Likewise.
859 * sunrpc/xdr_stdio.c: Likewise.
861 2012-05-10 Roland McGrath <roland@hack.frob.com>
863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
864 change. Update copyright years.
866 2012-05-10 Joseph Myers <joseph@codesourcery.com>
868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
870 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
871 Joseph Myers <joseph@codesourcery.com>
872 Paul Pluzhnikov <ppluzhnikov@google.com>
875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
877 [cross-compiling] (extra-libs): Likewise.
878 [cross-compiling] (extra-libs-others): Likewise.
879 [cross-compiling] (librpcsvc-routines): Likewise.
880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
881 [cross-compiling] (omit-deps): Likewise.
882 (sunrpc-CPPFLAGS): New variable.
883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
885 (cross-rpcgen-objs): New variable.
886 (extra-objs): Append $(cross-rpcgen-objs).
887 ($(cross-rpcgen-objs)): New rule.
888 ($(objpfx)cross-rpcgen): Likewise.
889 (rpcgen-cmd): Define to use $(built-program-file). Expand
891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
892 ($(objpfx)x%.stmp): Likewise.
893 * sunrpc/proto.h [IS_IN_build] (_): Define.
894 [IS_IN_build] (_libc_intl_domainname): Likewise.
896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
900 and R_X86_64_TPOFF64.
902 2012-05-10 Joseph Myers <joseph@codesourcery.com>
904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
905 sysdeps/unix/sysv/syscalls.list.
908 * sysdeps/unix/sysv/syscalls.list: Remove file.
910 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
916 (__LC_IDENTIFICATION): Make these macros useful in #if
917 expressions, as required by C99.
919 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
925 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
927 * stdlib/longlong.h: Updated from GCC.
929 2012-05-09 Andreas Jaeger <aj@suse.de>
931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
932 default is first entry.
933 (run_mode): Set type.
934 (main): Remove informal message about syslog.
938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
945 (nearbyint): Likewise.
946 (nearbyintf): Likewise.
948 2012-05-09 Andreas Jaeger <aj@suse.de>
949 Pedro Alves <palves@redhat.com>
951 * nscd/nscd.c (run_mode): Use enum.
952 (main): Cleanup coding style issue.
954 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
955 Andreas Jaeger <aj@suse.de>
957 * nscd/nscd.c (go_background): Replaced with...
958 (run_mode): ... this.
959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
960 (options): Add -F --foreground.
961 (main): Implement it.
962 (parse_opt): Parse it.
964 2012-05-09 Andreas Jaeger <aj@suse.de>
967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
969 -Wconversion warning.
970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
973 2012-05-09 Joseph Myers <joseph@codesourcery.com>
975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
977 (LC_ALL): Use macro-int-constant.
978 (LC_COLLATE): Likewise.
979 (LC_CTYPE): Likewise.
980 (LC_MESSAGES): Likewise.
981 (LC_MONETARY): Likewise.
982 (LC_NUMERIC): Likewise.
984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
989 [C99-based standards] (float_t): Expect type.
990 [C99-based standards] (double_t): Expect type.
991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
993 [C99-based standards] (HUGE_VALL): Likewise.
994 [C99-based standards] (INFINITY): Likewise.
995 [C99-based standards] (NAN): Likewise.
996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
997 [C99-based standards] (FP_NAN): Likewise.
998 [C99-based standards] (FP_NORMAL): Likewise.
999 [C99-based standards] (FP_SUBNORMAL): Likewise.
1000 [C99-based standards] (FP_ZERO): Likewise.
1001 [C99-based standards] (FP_FAST_FMA): Use
1002 optional-macro-int-constant. Specify type. Require == 1.
1003 [C99-based standards] (FP_FAST_FMAF): Likewise.
1004 [C99-based standards] (FP_FAST_FMAL): Likewise.
1005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1006 [C99-based standards] (FP_ILOGBNAN): Likewise.
1007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1010 [C99-based standards] (math_errhandling): Specify type.
1011 [ISO99 || ISO11] (signgam): Do not allow.
1012 [non-C99-based standards] (copysignf): Do not allow.
1013 [non-C99-based standards] (exp2f): Likewise.
1014 [non-C99-based standards] (log2f): Likewise.
1015 [non-C99-based standards] (modff): Allow.
1016 [non-C99-based standards] (erff): Do not allow.
1017 [non-C99-based standards] (erfcf): Likewise.
1018 [non-C99-based standards] (gammaf): Likewise.
1019 [non-C99-based standards] (hypotf): Likewise.
1020 [non-C99-based standards] (j0f): Likewise.
1021 [non-C99-based standards] (j1f): Likewise.
1022 [non-C99-based standards] (jnf): Likewise.
1023 [non-C99-based standards] (lgammaf): Likewise.
1024 [non-C99-based standards] (tgammaf): Likewise.
1025 [non-C99-based standards] (y0f): Likewise.
1026 [non-C99-based standards] (y1f): Likewise.
1027 [non-C99-based standards] (ynf): Likewise.
1028 [non-C99-based standards] (isnanf): Likewise.
1029 [non-C99-based standards] (acoshf): Likewise.
1030 [non-C99-based standards] (asinhf): Likewise.
1031 [non-C99-based standards] (atanhf): Likewise.
1032 [non-C99-based standards] (cbrtf): Likewise.
1033 [non-C99-based standards] (expm1f): Likewise.
1034 [non-C99-based standards] (ilogbf): Likewise.
1035 [non-C99-based standards] (log1pf): Likewise.
1036 [non-C99-based standards] (logbf): Likewise.
1037 [non-C99-based standards] (nextafterf): Likewise.
1038 [non-C99-based standards] (remainderf): Likewise.
1039 [non-C99-based standards] (rintf): Likewise.
1040 [non-C99-based standards] (scalbf): Likewise.
1041 [non-C99-based standards] (copysignl): Likewise.
1042 [non-C99-based standards] (exp2l): Likewise.
1043 [non-C99-based standards] (log2l): Likewise.
1044 [non-C99-based standards] (modfl): Allow.
1045 [non-C99-based standards] (erfl): Do not allow.
1046 [non-C99-based standards] (erfcl): Likewise.
1047 [non-C99-based standards] (gammal): Likewise.
1048 [non-C99-based standards] (hypotl): Likewise.
1049 [non-C99-based standards] (j0l): Likewise.
1050 [non-C99-based standards] (j1l): Likewise.
1051 [non-C99-based standards] (jnl): Likewise.
1052 [non-C99-based standards] (lgammal): Likewise.
1053 [non-C99-based standards] (tgammal): Likewise.
1054 [non-C99-based standards] (y0l): Likewise.
1055 [non-C99-based standards] (y1l): Likewise.
1056 [non-C99-based standards] (ynl): Likewise.
1057 [non-C99-based standards] (isnanl): Likewise.
1058 [non-C99-based standards] (acoshl): Likewise.
1059 [non-C99-based standards] (asinhl): Likewise.
1060 [non-C99-based standards] (atanhl): Likewise.
1061 [non-C99-based standards] (cbrtl): Likewise.
1062 [non-C99-based standards] (expm1l): Likewise.
1063 [non-C99-based standards] (ilogbl): Likewise.
1064 [non-C99-based standards] (log1pl): Likewise.
1065 [non-C99-based standards] (logbl): Likewise.
1066 [non-C99-based standards] (nextafterl): Likewise.
1067 [non-C99-based standards] (remainderl): Likewise.
1068 [non-C99-based standards] (rintl): Likewise.
1069 [non-C99-based standards] (scalbl): Likewise.
1070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1071 [non-C99-based standards] (FP_*): Do not allow.
1072 [C99-based standards] (FP_*): Change to
1073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1077 (SIG_ERR): Likewise.
1078 [X/Open-based standards] (SIG_HOLD): Likewise.
1079 (SIG_IGN): Likewise.
1080 (SIGABRT): Use macro-int-constant. Specify type. Require
1085 (SIGSEGV): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1105 [X/Open-based standards] (SIGTRAP): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1113 2012-05-08 Ian Wienand <ianw@vmware.com>
1116 * time/tzset.c (__tzset_parse_tz): Update default rules for
1117 daylight time changes in the Energy Policy Act of 2005.
1119 2012-05-09 Andreas Jaeger <aj@suse.de>
1122 * elf/ldconfig.c (parse_conf): Change string to make clear that
1123 ldconfig only issued a warning if ld.so.conf does not exist.
1125 2012-05-08 David S. Miller <davem@davemloft.net>
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1128 movxtod instead of popping the value on the stack.
1130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1132 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1134 * config.h.in: Add HAVE_ARM_PCS_VFP.
1136 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1140 checking but the checks are disabled for any reason.
1142 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1145 and ELF64_R_TYPE with ELFW(R_TYPE).
1147 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1153 (settimeofday): Likewise.
1155 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1158 a struct th_u2 inside the union, and move tu_block/tu_code into
1159 a new th_u3 union of tu_block/tu_code inside of that. Move
1160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1164 (th_stuff): Change to th_u1.tu_stuff.
1166 (th_msg): Change to th_u1.th_u2.tu_data.
1168 2012-05-07 David S. Miller <davem@davemloft.net>
1170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1174 (SETUP_PIC_REG): Use it.
1175 (SETUP_PIC_REG_LEAF): Use it.
1177 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1183 (EXPL_FINITE): Likewise.
1185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1190 (EXPL_FINITE): Likewise.
1192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1196 test of -max_value argument for long double.
1197 * sysdeps/i386/fpu/libm-test-ulps: Update.
1198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1200 2012-05-06 David S. Miller <davem@davemloft.net>
1202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1203 quad soft-float symbols whose references which are compiler
1205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1207 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1213 (EXPL_FINITE): Likewise.
1217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1218 Adjust comments for base varying.
1219 (__expl_finite): Change alias to EXPL_FINITE.
1220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1228 (EXPL_FINITE): Likewise.
1232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1233 Adjust comments for base varying.
1234 (__expl_finite): Change alias to EXPL_FINITE.
1235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1240 * math/libm-test.inc (check_float_internal): Correct ulp
1241 calculation for subnormal expected results.
1243 2012-05-06 Andreas Jaeger <aj@suse.de>
1245 * Makeconfig (+math-flags): New, set to -frounding-math.
1246 (+cflags): Add +math-flags so that all of glibc gets compiled with
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1251 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1260 (__ieee754_expl): Allow for and saturate large arguments.
1261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1262 (u_threshold): Likewise.
1263 (__exp): Call __ieee754_exp before checking for overflow and
1265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1266 (u_threshold): Likewise.
1267 (__expf): Call __ieee754_expf before checking for overflow and
1269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1270 (u_threshold): Likewise.
1271 (__expl): Call __ieee754_expl before checking for overflow and
1273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1274 (__ieee754_expl): Allow for and saturate large arguments.
1275 * math/libm-test.inc (exp_test): Add another test. Do not allow
1276 missing overflow exception on overflow.
1277 (expm1_test): Do not allow missing overflow exception on overflow.
1279 * sysdeps/i386/fpu/e_expl.c: Move to ...
1280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1281 rather than using inline asm.
1282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1293 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1296 sysdeps/unix/common/syscalls.list.
1299 (ftruncate): Likewise.
1300 (getrusage): Likewise.
1301 (gettimeofday): Likewise.
1302 (setpgid): Likewise.
1303 (setregid): Likewise.
1304 (setreuid): Likewise.
1305 (sigaction): Likewise.
1306 (truncate): Likewise.
1307 (vhangup): Likewise.
1308 * sysdeps/unix/common/syscalls.list: Remove file.
1309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1310 * sysdeps/unix/sysv/linux/Implies: Likewise.
1312 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1357 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1359 * sysdeps/unix/common/bits/dirent.h: Remove file.
1360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1365 * sysdeps/unix/bsd/isatty.c: Likewise.
1366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1370 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1374 long double comparison inaccuracies.
1375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1378 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1383 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1387 nonzero digits before rounding a hex value.
1388 * stdlib/tst-strtod.c (tests): Add another test.
1390 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1392 * sysdeps/s390/fpu/libm-test-ulps: Update.
1394 2012-05-03 Andreas Jaeger <aj@suse.de>
1396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1397 does not get optimized out.
1398 (malloc_opt_barrier): New.
1400 2012-05-03 Andreas Jaeger <aj@suse.de>
1401 Roland McGrath <roland@hack.frob.com>
1403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1404 intermediate file deletion.
1405 (generated): Add .symlist files.
1407 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1411 Redirect under this condition.
1412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1413 [__USE_GNU] (__dprintf_chk): Not under this condition.
1414 [__USE_GNU] (__vdprintf_chk): Likewise.
1415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1416 under this condition.
1417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1419 [__USE_XOPEN2K8] (vdprintf): Likewise.
1420 [__USE_GNU] (__dprintf_chk): Not under this condition.
1421 [__USE_GNU] (__vdprintf_chk): Likewise.
1422 [__USE_GNU] (dprintf): Likewise.
1423 [__USE_GNU] (vdprintf): Likewise.
1425 2012-05-03 Roland McGrath <roland@hack.frob.com>
1427 * elf/Makefile (common-generated): Set this instead of generated for
1428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1429 $(all-built-dso)-derived lists.
1431 2012-05-03 Andreas Jaeger <aj@suse.de>
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437 * scripts/gen-FAQ.pl: Likewise.
1438 * manual/install.texi (Installation): Point to online location of
1440 * Makefile (files-for-dist): Remove FAQ.
1443 2012-05-02 Allan McRae <allan@archlinux.org>
1445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1446 (LDFLAGS-reldepmod5.so): Likewise.
1447 (LDFLAGS-reldep6mod1.so): Likewise.
1448 (LDFLAGS-reldep6mod4.so): Likewise.
1449 (LDFLAGS-reldep8mod3.so): Likewise.
1450 (LDFLAGS-unload4mod1.so): Likewise.
1451 (LDFLAGS-unload4mod2.so): Likewise.
1452 (LDFLAGS-tst-initorder): Likewise.
1453 (LDFLAGS-tst-initordera2.so): Likewise.
1454 (LDFLAGS-tst-initordera3.so): Likewise.
1455 (LDFLAGS-tst-initordera4.so): Likewise.
1456 (LDFLAGS-tst-initorderb2.so): Likewise.
1457 (LDFLAGS-noload): Likewise.
1458 (LDFLAGS-next): Likewise.
1459 (LDFLAGS-order2mod1.so): Likewise.
1460 (LDFLAGS-order2mod2.so): Likewise.
1461 (LDFLAGS-tst-initorder2): Likewise.
1462 (LDFLAGS-tst-initorder2a.so): Likewise.
1463 (LDFLAGS-tst-initorder2b.so): Likewise.
1464 (LDFLAGS-tst-initorder2c.so): Likewise.
1465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1467 2012-05-02 David S. Miller <davem@davemloft.net>
1469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1471 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1476 2012-05-02 Andreas Jaeger <aj@suse.de>
1478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1479 since we manipulate rounding mode.
1480 (CPPFLAGS-test-idouble.c): Likewise.
1481 (CPPFLAGS-test-ifloat.c): Likewise.
1482 (CFLAGS-test-ldouble.c): Likewise.
1483 (CFLAGS-test-double.c): Likewise.
1484 (CFLAGS-test-float.c): Likewise.
1485 (CFLAGS-test-misc.c): Likewise.
1486 (CFLAGS-test-test-fenv.c): Likewise.
1488 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1493 comparisons to determine direction to adjust input.
1495 2012-05-01 Roland McGrath <roland@hack.frob.com>
1497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1498 output to the target.
1500 * scripts/localplt.awk: New file.
1501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1502 (check-localplt-CFLAGS): Variable removed.
1503 ($(all-built-dso:=.jmprel)): New static pattern rule.
1504 (generated): Add those targets.
1505 (localplt-built-dso): New variable.
1506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1508 * elf/check-localplt.c: File removed.
1510 * scripts/check-execstack.awk: New file.
1511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1512 (check-execstack-CFLAGS): Variable removed.
1513 ($(objpfx)check-execstack.h): Target removed.
1514 ($(objpfx)execstack-default): New target.
1515 (generated): Add that instead of check-execstack.h.
1516 ($(all-built-dso:=.phdr)): New static pattern rule.
1517 (generated): Add those targets.
1518 * elf/check-execstack.c: File removed.
1520 * scripts/check-textrel.awk: New file.
1521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1522 (check-textrel-CFLAGS): Variable removed.
1523 (all-built-dso): Use := to define.o
1524 ($(all-built-dso:=.dyn)): New static pattern rule.
1525 (generated): Add those targets.
1526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1527 * config.make.in (READELF): New substituted variable.
1528 * elf/check-textrel.c: File removed.
1530 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1534 * conform/data/ctype.h-data [C99-based standards] (isblank):
1536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1540 Specify type. Require positive value.
1543 [ISO || POSIX] (EILSEQ): Do not expect.
1544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1545 Specify type. Require positive value.
1546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1624 (FLT_ROUNDS): Expect as macro, not constant.
1625 (FLT_MANT_DIG): Use macro-int-constant.
1626 (DBL_MANT_DIG): Likewise.
1627 (LDBL_MANT_DIG): Likewise.
1628 (FLT_DIG): Likewise.
1629 (DBL_DIG): Likewise.
1630 (LDBL_DIG): Likewise.
1631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1632 (DBL_MIN_EXP): Likewise.
1633 (LDBL_MIN_EXP): Likewise.
1634 (FLT_MAX_EXP): Use macro-int-constant.
1635 (DBL_MAX_EXP): Likewise.
1636 (LDBL_MAX_EXP): Likewise.
1637 (FLT_MAX_10_EXP): Likewise.
1638 (DBL_MAX_10_EXP): Likewise.
1639 (LDBL_MAX_10_EXP): Likewise.
1640 (FLT_MAX): Use macro-constant.
1641 (DBL_MAX): Likewise.
1642 (LDBL_MAX): Likewise.
1643 (FLT_EPSILON): Use macro-constant. Give upper bound.
1644 (DBL_EPSILON): Likewise.
1645 (LDBL_EPSILON): Likewise.
1646 (FLT_MIN): Likewise.
1647 (DBL_MIN): Likewise.
1648 (LDBL_MIN): Likewise.
1649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1658 [ISO11] (FLT_TRUE_MIN): Likewise.
1659 [ISO11] (LDBL_TRUE_MIN): Likewise.
1660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1662 (SCHAR_MIN): Use macro-int-constant. Specify type.
1663 (SCHAR_MAX): Likewise.
1664 (UCHAR_MAX): Likewise.
1665 (CHAR_MIN): Likewise.
1666 (CHAR_MAX): Likewise.
1667 (MB_LEN_MAX): Use macro-int-constant.
1668 (SHRT_MIN): Use macro-int-constant. Specify type.
1669 (SHRT_MAX): Likewise.
1670 (USHRT_MAX): Likewise.
1671 (INT_MAX): Likewise.
1672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1679 bound negative. Suffix upper bound with "L".
1680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1684 [C99-based standards] (LLONG_MAX): Likewise.
1685 [C99-based standards] (ULLONG_MAX): Likewise.
1686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1688 [ISO11] (max_align_t): Require type.
1689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1692 from $CFLAGS, without defining away __attribute__ calls.
1693 (checknamespace): Use $CFLAGS_namespace.
1695 * conform/conformtest.pl (@keywords): Only include C99 keywords
1696 for standards based on C99 or C11.
1698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1704 usability of symbols in #if.
1706 * conform/conformtest.pl: If macro or constant types start
1707 "promoted:", expect the symbol to be of the following type
1708 promoted by the integer promotions.
1710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1711 in one place. Also handle "macro-constant".
1713 * conform/conformtest.pl: Only accept expected macro values with
1714 "==". Parse all "macro" lines in one place.
1715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1717 * conform/conformtest.pl: Handle braced types on "constant" lines
1718 instead of handling "typed-constant".
1719 * conform/data/signal.h-data: Use "constant" instead of
1722 * conform/conformtest.pl: Handle "optional-" at start of lines in
1723 one place rather than duplicating several cases. Handle each
1724 format of "macro" line with initial "optional-".
1726 * conform/conformtest.pl: Only accept expected constant or
1727 optional-constant values with "==". Parse all "constant" lines in
1728 one place. Parse all "optional-constant" lines in one place.
1729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1730 * conform/data/fmtmsg.h-data: Likewise.
1731 * conform/data/netinet/in.h-data: Likewise.
1732 * conform/data/tar.h-data: Likewise.
1733 * conform/data/limits.h-data: Use "==" form on "constant" and
1734 "optional-constant" lines.
1736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1737 Use -std=c99 for XOPEN2K.
1738 (@knownproblems): Remove.
1739 (newtoken): Don't check %isknown.
1741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1742 Do not expect macro.
1743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1773 [XPG3] (acosh): Likewise.
1774 [XPG3] (asinh): Likewise.
1775 [XPG3] (atanh): Likewise.
1776 [XPG3] (cbrt): Likewise.
1777 [XPG3] (expm1): Likewise.
1778 [XPG3] (ilogb): Likewise.
1779 [XPG3] (log1p): Likewise.
1780 [XPG3] (logb): Likewise.
1781 [XPG3] (nextafter): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1784 [XPG3] (remainder): Likewise.
1785 [XPG3] (rint): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1793 [UNIX98 || XOPEN2K] (scalb): Expect.
1794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1933 _XOPEN_SOURCE_EXTENDED for XPG4.
1935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1937 * Makeconfig (localtime): Remove variable.
1938 (inst_localtime-file): Likewise.
1940 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1966 comparisons to determine direction to adjust input.
1967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1980 * math/libm-test.inc (nexttoward_test): Add more tests.
1982 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1986 in version GLIBC_2.1, not GLIBC_2.0.
1987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1990 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1997 * math/libm-test.inc (acos_test): Add more tests.
1998 (asin_test): Likewise.
1999 * sysdeps/i386/fpu/libm-test-ulps: Update.
2000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2007 * math/libm-test.inc (acos_test_tonearest): New function.
2008 (acos_test_towardzero): Likewise.
2009 (acos_test_downward): Likewise.
2010 (acos_test_upward): Likewise.
2011 (asin_test_tonearest): Likewise.
2012 (asin_test_towardzero): Likewise.
2013 (asin_test_downward): Likewise.
2014 (asin_test_upward): Likewise.
2015 (main): Call the new functions.
2016 * sysdeps/i386/fpu/libm-test-ulps: Update.
2017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2021 * math/e_exp10.c: Include <float.h>.
2022 (__ieee754_exp10): Handle underflow here rather than multiplying
2023 large negative argument by M_LN10.
2024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2026 * math/e_exp10l.c: Include <float.h>.
2027 (__ieee754_exp10l): Handle underflow here rather than multiplying
2028 large negative argument by M_LN10l.
2029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2030 spurious overflow exception on underflow.
2032 2012-04-29 Marek Polacek <polacek@redhat.com>
2034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2035 (__fortify_function): New macro.
2036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2038 __extern_always_inline.
2039 * libio/bits/stdio2.h: Likewise.
2040 * libio/bits/stdio.h: Likewise.
2041 * string/string.h: Likewise.
2042 * string/bits/string3.h: Likewise.
2043 * include/stdio.h: Likewise.
2044 * stdlib/bits/stdlib.h: Likewise.
2045 * stdlib/stdlib.h: Likewise.
2046 * rt/bits/mqueue2.h: Likewise.
2047 * rt/mqueue.h: Likewise.
2048 * posix/bits/unistd.h: Likewise.
2049 * posix/unistd.h: Likewise.
2050 * io/bits/poll2.h: Likewise.
2051 * io/bits/fcntl2.h: Likewise.
2052 * io/fcntl.h: Likewise.
2053 * io/sys/poll.h: Likewise.
2054 * misc/bits/syslog.h: Likewise.
2055 * misc/bits/syslog-ldbl.h: Likewise.
2056 * misc/sys/syslog.h: Likewise.
2057 * socket/bits/socket2.h: Likewise.
2058 * socket/sys/socket.h: Likewise.
2059 * debug/tst-chk1.c: Likewise.
2060 * wcsmbs/bits/wchar2.h: Likewise.
2061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2062 * wcsmbs/wchar.h: Likewise.
2064 2012-04-29 Andreas Jaeger <aj@suse.de>
2066 * Makerules (tests): Remove enable-check-abi protection.
2067 (check-abi-warn): Remove.
2068 (check-abi-%): Remove check-abi-warn usage.
2070 * configure.in: Remove check-abi configure option.
2071 * configure: Regenerated.
2072 * config.make.in (enable-check-abi): Remove.
2074 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2078 double functions to double *_finite functions.
2081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2084 * stdio-common/Makefile (tests): Add tst-sprintf3.
2085 * stdio-common/tst-sprintf3.c: New file.
2087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2090 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2092 * conform/conformtest.pl: Remove duplicate typed-constant
2095 2012-04-28 David S. Miller <davem@davemloft.net>
2097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2098 (check-abi-%): Remove AWK script prerequisite and explicit
2100 (check-abi): Rewrite to just diff the symlist with the abilist.
2101 (config-tls, config-abi-config): Delete, no longer used.
2102 (update-abi-%): Remove AWK script and explicit abilist directory.
2103 (update-abi): Rewrite to simply compare and conditionally copy the
2104 symlist and the sysdep abilist file. Remove update-abi-config
2106 * abilist/ld.abilist: Remove.
2107 * abilist/libBrokenLocale.abilist: Remove.
2108 * abilist/libanl.abilist: Remove.
2109 * abilist/libcrypt.abilist: Remove.
2110 * abilist/libdl.abilist: Remove.
2111 * abilist/librt.abilist: Remove.
2112 * abilist/libthread_db.abilist: Remove.
2113 * abilist/libutil.abilist: Remove.
2114 * scripts/extract-abilist.awk: Remove.
2115 * scripts/merge-abilist.awk: Remove.
2116 * sysdeps/generic/libcidn.abilist: New file.
2117 * sysdeps/generic/libnss_compat.abilist: New file.
2118 * sysdeps/generic/libnss_db.abilist: New file.
2119 * sysdeps/generic/libnss_dns.abilist: New file.
2120 * sysdeps/generic/libnss_files.abilist: New file.
2121 * sysdeps/generic/libnss_hesiod.abilist: New file.
2122 * sysdeps/generic/libnss_nis.abilist: New file.
2123 * sysdeps/generic/libnss_nisplus.abilist: New file.
2124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2322 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2324 * conform/conformtest.pl: Fix typo in handling typed-constant from
2327 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2329 * README: Cut down references to pre-2.6 Linux kernels and
2330 Linuxthreads. Update lists of configurations in libc and ports
2331 and sort alphabetically. Say "or newer" with Linux kernel version
2334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2336 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2339 * math/libm-test.inc (logb_test_downward): New test to expose
2340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2343 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2351 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2353 * sysdeps/unix/i386/brk.S: Remove file.
2354 * sysdeps/unix/i386/dl-brk.S: Likewise.
2355 * sysdeps/unix/i386/pipe.S: Likewise.
2356 * sysdeps/unix/i386/sigreturn.S: Likewise.
2357 * sysdeps/unix/i386/syscall.S: Likewise.
2358 * sysdeps/unix/i386/vfork.S: Likewise.
2359 * sysdeps/unix/i386/wait.S: Likewise.
2361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2364 * configure.in (arm*-none*): Do not allow without
2365 --enable-hacker-mode.
2366 (netbsd*): Remove case setting base_os.
2367 (386bsd*): Likewise.
2368 (freebsd*): Likewise.
2372 (ultrix*): Likewise.
2373 (newsos*): Likewise.
2383 (solaris[2-9]*): Likewise.
2385 * configure: Regenerated.
2387 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2391 overflow or cancellation in calculating denominator.
2392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2394 down expression to avoid unexpected rounding in newer GCCs.
2395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2397 2012-04-26 David S. Miller <davem@davemloft.net>
2399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2400 long-double compat symbols.
2401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2415 2012-04-25 David S. Miller <davem@davemloft.net>
2417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2418 HWCAP_* values only after the memory barriers have been defined.
2419 (atomic_full_barrier): Define.
2420 (atomic_read_barrier): Define.
2421 (atomic_write_barrier): Define.
2423 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2425 * shlib-versions: Add libgcc_s version information.
2426 * sysdeps/generic/libgcc_s.h: Remove.
2427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2429 * sysdeps/gnu/unwind-resume.c: Likewise.
2430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2432 2012-04-25 David S. Miller <davem@davemloft.net>
2434 * sysdeps/unix/sparc/brk.S: Delete.
2435 * sysdeps/unix/sparc/dl-brk.S: Delete.
2436 * sysdeps/unix/sparc/pipe.S: Delete.
2437 * sysdeps/unix/sparc/sysdep.S: Delete.
2438 * sysdeps/unix/sparc/sysdep.h: Delete.
2439 * sysdeps/unix/sparc/vfork.S: Delete.
2440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2441 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2443 ret_ERRVAL, r0, r1, MOVE): Define.
2444 (JUMPTARGET): Remove.
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2446 sysdeps/unix/sparc/sysdep.h
2447 (ENTRY, END): Remove.
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2450 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2456 * timezone/README: Update upstream location and email address for
2458 * timezone/zdump.c: Update from tzcode 2012b.
2459 * timezone/zic.c: Likewise.
2461 * configure.in (libc_cv_as_needed): Remove test.
2462 * configure: Regenerated.
2463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2464 conditional definition.
2465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2467 * config.make.in (have-as-needed): Remove variable.
2469 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2470 Paul Pluzhnikov <ppluzhnikov@google.com>
2472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2475 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2479 * sysdeps/sh/strlen.S: Likewise.
2481 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/unix/fork.S: Remove file.
2484 * sysdeps/unix/i386/fork.S: Likewise.
2485 * sysdeps/unix/sparc/fork.S: Likewise.
2487 * sysdeps/unix/system.c: Remove file.
2488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2490 * sysdeps/unix/getegid.S: Remove file.
2491 * sysdeps/unix/geteuid.S: Likewise.
2493 2012-04-24 Roland McGrath <roland@hack.frob.com>
2495 * scripts/check-localplt.awk: New file.
2496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2498 * scripts/data/localplt-generic.data: Add a comment.
2500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2501 NODE when __dir_mkfile failed.
2502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2503 Reported by Ludovic Courtès <ludo@gnu.org>.
2505 2012-04-24 Andreas Jaeger <aj@suse.de>
2507 * Makerules (common-clean): Also remove gen-as-const-headers
2510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2512 * Makerules (native-compile): Do not change working directory for
2513 build. Use $(OUTPUT_OPTION) in command.
2514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2516 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2521 * math/libm-test.inc (floor_test): Add more tests.
2522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2524 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2526 * sysdeps/unix/getdents.c: Remove file.
2527 * sysdeps/unix/sysv/getdents.c: Likewise.
2528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2531 sysdeps/unix/mman/syscalls.list.
2533 (mprotect): Likewise.
2536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2537 * sysdeps/unix/mman/syscalls.list: Remove.
2538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2542 * configure: Regenerated.
2543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2545 * config.make.in (libgcc_s_suffix): Remove variable.
2547 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2549 * sysdeps/unix/sysv/gethostname.c: Move to ...
2550 * sysdeps/posix/gethostname.c: ... here.
2552 * sysdeps/unix/execve.S: Remove file.
2554 * sysdeps/unix/_exit.S: Remove file.
2556 2012-04-23 Andreas Jaeger <aj@suse.de>
2559 * manual/Makefile: Remove make dist support, there's no
2560 need for a stand-alone documentation tar ball.
2561 (TEXI2DVI): Define always, it's not in Makeconfig.
2565 (glibc-doc-$(edition).tar): Removed
2569 (ETAGS): Remove, it's in Makeconfig.
2570 (move-if-change): Remove, it's in Makeconfig.
2572 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2578 (strtod_l, strtof_l, strtold_l): Remove __wur.
2579 It is not necessarily an error to ignore strtol's return value.
2580 One can reliably look at the stored endptr to decide whether
2581 the number had valid syntax.
2583 2012-04-21 Andreas Jaeger <aj@suse.de>
2586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2588 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2591 * sysdeps/unix/sysv/Versions: Remove file.
2593 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2598 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2602 version from __vm86.
2604 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2606 * sysdeps/unix/common/lxstat.c: Remove file.
2607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2609 * sysdeps/unix/sysv/Makefile: Remove file.
2611 * sysdeps/unix/sysv/direct.h: Remove file.
2613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2623 * sysdeps/unix/xmknod.c: Remove file.
2624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2628 * sysdeps/unix/sysv/i386/time.S: Remove file.
2630 * sysdeps/unix/fxstat.c: Remove file.
2631 * sysdeps/unix/xstat.c: Likewise.
2632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2634 * sysdeps/unix/sysv/sigaction.c: Remove file.
2636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2637 (sysdep_headers): Remove variable.
2638 [termio.h not in sysdep_headers] (generated): Likewise.
2639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2642 * sysdeps/unix/sysv/tcflow.c: Likewise.
2643 * sysdeps/unix/sysv/tcflush.c: Likewise.
2644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2650 * sysdeps/unix/siglist.c: Remove file.
2652 * sysdeps/unix/getppid.S: Remove file.
2654 * sysdeps/unix/mkdir.c: Remove file.
2655 * sysdeps/unix/rmdir.c: Likewise.
2657 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2662 errlist-compat value.
2664 2012-04-18 David S. Miller <davem@davemloft.net>
2666 * sysdeps/generic/memcopy.h (reg_char): Delete.
2667 * debug/strcat_chk.c: Use char, not reg_char.
2668 * debug/strcpy_chk.c: Likewise.
2669 * debug/strncat_chk.c: Likewise.
2670 * debug/strncpy_chk.c: Likewise.
2671 * string/memchr.c: Likewise.
2672 * string/memrchr.c: Likewise.
2673 * string/rawmemchr.c: Likewise.
2674 * string/strcat.c: Likewise.
2675 * string/strchr.c: Likewise.
2676 * string/strchrnul.c: Likewise.
2677 * string/strcmp.c: Likewise.
2678 * string/strcpy.c: Likewise.
2679 * string/strncat.c: Likewise.
2680 * string/strncmp.c: Likewise.
2681 * string/strncpy.c: Likewise.
2683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2686 __builtin_memcopy is called when src and dest ranges are known to not
2689 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2693 fwd_align_merge macro call.
2694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2695 bwd_align_merge macro call.
2696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2701 bwd_align_merge macros.
2702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2706 2012-04-18 David S. Miller <davem@davemloft.net>
2708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2710 2012-04-18 Andreas Jaeger <aj@suse.de>
2713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2723 Adjust for changed ldbl-128 files.
2725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2729 2012-04-17 David S. Miller <davem@davemloft.net>
2731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2733 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2742 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2746 * math/libm-test.inc: Add ilogb errno and exception tests.
2747 * math/w_ilogb.c: New file: ilogb wrapper.
2748 * math/w_ilogbf.c: New file: ilogbf wrapper.
2749 * math/w_ilogbl.c: New file: ilogbl wrapper.
2750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2753 exception being thrown with 0.0 as argument.
2754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2756 exception being thrown with 0.0 as argument.
2757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2759 exception being thrown with 0.0 as argument.
2760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2762 exception being thrown with 0.0 as argument.
2763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2773 2012-04-17 Petr Baudis <pasky@ucw.cz>
2775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2778 2012-04-16 Marek Polacek <polacek@redhat.com>
2780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2782 2012-04-16 Marek Polacek <polacek@redhat.com>
2784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2785 operands of fdivp instruction.
2787 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2790 * elf/tst-auditmod3b.c: Likewise.
2791 * elf/tst-auditmod4b.c: Likewise.
2792 * elf/tst-auditmod5b.c: Likewise.
2793 * elf/tst-auditmod6b.c: Likewise.
2794 * elf/tst-auditmod6c.c: Likewise.
2795 * elf/tst-auditmod7b.c: Likewise.
2796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2797 * sysdeps/x86_64/preconfigure.in: Likewise.
2798 * sysdeps/x86_64/preconfigure: Regenerated.
2800 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2805 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2810 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2813 * locale/iso-639.def: Fix gl language name. Spotted by
2816 2012-04-12 Roland McGrath <roland@hack.frob.com>
2819 * libio/libio.h (__io_write_fn): Update comment.
2821 2012-04-12 Petr Baudis <pasky@ucw.cz>
2824 * stdio.texi (Hook Functions): The user provided writer function
2825 is not allowed to return -1.
2827 2012-04-11 David S. Miller <davem@davemloft.net>
2829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2831 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2834 Add a leading slash to rtkaio.
2836 2012-04-11 Jim Meyering <meyering@redhat.com>
2839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2840 It is not necessarily an error to ignore fwrite's return
2841 value. One can reliably use ferror to test for errors after
2844 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2846 * bits/types.h (__snseconds_t): New type.
2847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2851 (__SNSECONDS_T_TYPE): Likewise.
2852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2853 (__SNSECONDS_T_TYPE): Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2855 (__SNSECONDS_T_TYPE): Likewise.
2857 2012-04-10 Andreas Jaeger <aj@suse.de>
2860 * manual/time.texi (Processor Time): Return type of times is
2861 elapsed real time since an arbitrary point in the past.
2862 (CPU Time): Move CLK_TCK from here...
2863 (Processor Time): ...to here. Correct description.
2864 * manual/conf.texi (Constants for Sysconf): Correct description of
2867 2012-04-10 David S. Miller <davem@davemloft.net>
2870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2871 where the is a gap between DT_REL(A) and DT_JMPREL.
2873 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2879 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2883 (dl_main): Handle --inhibit-cache.
2884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2886 * elf/dl-load.c (_dl_map_object): Use it.
2887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2889 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2893 (__ieee754_powl): Saturate large exponents rather than testing for
2894 overflow of y*log2(x).
2895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2900 * math/s_ctan.c: Include <float.h>.
2901 (__ctan): Avoid internal overflow or cancellation in calculating
2903 * math/s_ctanf.c: Likewise.
2904 * math/s_ctanl.c: Likewise.
2905 * math/s_ctanh.c: Likewise.
2906 * math/s_ctanhf.c: Likewise.
2907 * math/s_ctanhl.c: Likewise.
2908 * math/libm-test.inc (ctan_test): Add more tests.
2909 (ctanh_test): Likewise.
2910 * sysdeps/i386/fpu/libm-test-ulps: Update.
2911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2913 2012-04-09 Andreas Jaeger <aj@suse.de>
2916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2917 is an optional BSD extension.
2920 * manual/stdio.texi (Opening Streams): Document additional fopen
2923 2012-04-09 Roland McGrath <roland@hack.frob.com>
2925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2926 %eax without telling the compiler.
2928 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2931 * manual/install.texi: Use sourceware.org.
2933 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2937 (__ieee754_pow): Generate overflow and underflow using huge*huge
2938 and tiny*tiny rather than just returning constant infinity or zero
2939 for large exponents.
2940 * math/libm-test.inc (pow_test): Require overflow exceptions for
2941 applicable cases of large exponents.
2944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2945 (__ieee754_pow): Use iterative multiplication algorithm only for
2946 integer exponents with absolute value below 1024. Check for odd
2947 integer exponents when using algorithm for real exponents.
2948 * math/libm-test.inc (pow_test): Add more tests.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2951 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2954 * math/libm-test.inc (exp_test): Do not allow overflow exception
2957 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2961 instead of __kernel_standard_f.
2963 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2966 * sysdeps/x86_64/memset_chk.S: Likewise.
2968 2012-04-08 Andreas Jaeger <aj@suse.de>
2971 * manual/startup.texi (Environment Access): Describe return value
2972 for putenv and setenv.
2975 * manual/filesys.texi (Directory Entries): Add description for
2979 * manual/filesys.texi (Directory Entries): Clarify that it's file
2980 system not operating system in the description of DT_UNKNOWN.
2983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2985 2012-04-08 Stephen Compall <s11@member.fsf.org>
2988 * manual/llio.texi (Opening and Closing Files): Add cross
2989 reference to explain mode argument.
2991 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2994 * sysdeps/x86_64/memset_chk.S: Likewise.
2996 2012-04-07 David S. Miller <davem@davemloft.net>
2998 * elf/elf.h (R_SPARC_WDISP10): Define.
2999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3002 R_SPARC_SIZE64 and R_SPARC_H34.
3004 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3007 conditions and remove no longer applicable assertion.
3009 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3011 * bits/byteswap.h: Include <features.h>.
3012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3015 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3017 * bits/byteswap.h (__bswap_16): Removed.
3018 Include <bits/byteswap-16.h> to get __bswap_16.
3019 * sysdeps/i386/bits/byteswap.h: Likewise.
3020 * sysdeps/s390/bits/byteswap.h: Likewise.
3021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3022 * bits/byteswap-16.h: New file.
3023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3026 * string/Makefile (headers): Add bits/byteswap-16.h.
3028 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3034 * nss/tst-nss-static.c: New.
3036 2012-04-06 Robert Millan <rmh@gnu.org>
3039 * manual/llio.texi (File Position Primitive): lseek
3040 refers to WHENCE when it really means OFFSET.
3042 2012-04-06 Andreas Jaeger <aj@suse.de>
3044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3045 strncmp declarations.
3047 * abilist/libc.abilist: Add __poll and __ppoll.
3049 2012-04-05 David S. Miller <davem@davemloft.net>
3051 * scripts/check-local-headers.sh: Accept a host triplet in the
3052 path matched by the exclude regexp.
3054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3056 * sysdeps/powerpc/powerpc32/dl-machine.h
3057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3058 * sysdeps/s390/s390-32/dl-machine.h
3059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3060 * sysdeps/sparc/sparc32/dl-machine.h
3061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3062 * sysdeps/sparc/sparc64/dl-machine.h
3063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3068 undefined symbol errors.
3070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3073 2012-04-05 Michael Matz <matz@suse.de>
3076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3078 2012-04-05 Andreas Jaeger <aj@suse.de>
3081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3084 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3087 which ROUND is no valid rounding mode.
3089 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3095 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3098 an exception using FPU order intentionally.
3100 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3107 2012-04-05 Simon Josefsson <simon@josefsson.org>
3110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3111 EINVAL when BUFLEN is too smal.
3113 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3119 2012-04-03 Andreas Jaeger <aj@suse.de>
3122 * manual/setjmp.texi (System V contexts): Fix sentence.
3125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3126 New macro for this case.
3127 [!__GNUC__] (__bswap_64): New inline function for this case.
3128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3129 * bits/byteswap.h: Likewise.
3130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3131 ull, guard with __GLIBC_HAVE_LONG_LONG.
3133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3134 __GLIBC_HAVE_LONG_LONG.
3136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3139 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3143 inptr and inend, rather than using last_ch.
3145 2012-04-02 David S. Miller <davem@davemloft.net>
3147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3148 * stdio-common/printf-parse.h (read_int): Change return type to
3149 'int', return -1 on INT_MAX overflow.
3150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3152 overflows INT_MAX. Check for overflow of in-format-string precision
3153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3154 SIZE_MAX not INT_MAX for integer overflow test.
3155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3156 skip the construct in the format string but do not record anything.
3157 * stdio-common/bug22.c: Adjust to test both width/prevision
3158 INT_MAX overflow as well as total length INT_MAX overflow. Check
3159 explicitly for proper errno values.
3161 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3165 * string/test-strcmp.c [! WIDE]: Likewise.
3166 * time/tst-mktime2.c: Likewise for INT_MAX.
3167 * string/test-string.h: #include <sys/param.h> for MIN.
3169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3170 * sysdeps/i386/init-first.c (init): Likewise.
3171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3173 * sysdeps/sh/init-first.c (init): Likewise.
3175 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3177 * po/ru.po: Update from translation team.
3178 * po/vi.po: Likewise.
3180 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3182 * resolv/nss_dns/dns-host.c: Merge copyright years.
3184 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3187 Optimize memcpy with prefetch if
3188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3189 src, dst pointers have unequal 16 byte alignments.
3191 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3195 from a CNAME entry and return the minimum ttl for the query.
3196 (gaih_getanswer_slice): Likewise.
3198 2012-03-30 Jeff Law <law@redhat.com>
3200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3205 * resolv/nss_dns/dns-host.c: Update copyright year.
3207 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3210 requests to save a system call. Fix check that all bytes are sent.
3212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3213 comments for sendmmsg.
3215 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3219 with only 1 character between 0x0041 and 0x01b0.
3220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3221 * wcsmbs/tst-mbsnrtowcs.c: New file.
3223 2012-03-29 David S. Miller <davem@davemloft.net>
3225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3226 small copies by hand.
3228 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3232 _nss_compat_initgroups_dyn): Fall back to malloc/free
3233 for large group memberships.
3235 2012-03-28 David S. Miller <davem@davemloft.net>
3237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3238 that branches into memcpy.
3239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3247 * sysdeps/sparc/mempcpy.S: New file.
3249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3250 the IFUNC routine in the libc case.
3251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3263 loop to 256 bytes instead of 64 bytes and fix test signedness.
3265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3266 * sysdeps/sparc/sparc32/Makefile: rather than here...
3267 * sysdeps/sparc/sparc64/Makefile: and here.
3269 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3271 * malloc/mallocbug.c: Avoid warnings about unused variables.
3273 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3277 in the right place. Discard and retry query if response is
3278 larger than input buffer size.
3280 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3286 x for large integer exponent.
3287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3289 sign of result as needed afterwards.
3290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3292 result for underflowing pow the same as for overflow.
3293 (__kernel_standard_l): Handle powl overflow and underflow here
3294 rather than calling __kernel_standard.
3295 * math/libm-test.inc (pow_test): Add more tests.
3310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3312 (__kernel_standard_l): New function.
3313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3315 * math/w_acosl.c (__acosl): Likewise.
3316 * math/w_asinl.c (__asinl): Likewise.
3317 * math/w_atan2l.c (__atan2l): Likewise.
3318 * math/w_atanhl.c (__atanhl): Likewise.
3319 * math/w_coshl.c (__coshl): Likewise.
3320 * math/w_exp10l.c (__exp10l): Likewise.
3321 * math/w_exp2l.c (__exp2l): Likewise.
3322 * math/w_fmodl.c (__fmodl): Likewise.
3323 * math/w_hypotl.c (__hypotl): Likewise.
3324 * math/w_j0l.c (__j0l, __y0l): Likewise.
3325 * math/w_j1l.c (__j1l, __y1l): Likewise.
3326 * math/w_jnl.c (__jnl, __ynl): Likewise.
3327 * math/w_lgammal.c (__lgammal): Likewise.
3328 * math/w_log10l.c (__log10l): Likewise.
3329 * math/w_log2l.c (__log2l): Likewise.
3330 * math/w_logl.c (__logl): Likewise.
3331 * math/w_powl.c (__powl): Likewise.
3332 * math/w_remainderl.c (__remainderl): Likewise.
3333 * math/w_scalbl.c (sysv_scalbl): Likewise.
3334 * math/w_sinhl.c (__sinhl): Likewise.
3335 * math/w_sqrtl.c (__sqrtl): Likewise.
3336 * math/w_tgammal.c (__tgammal): Likewise.
3337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3339 * math/libm-test.inc (acos_test): Add more tests.
3340 (acosh_test): Likewise.
3341 (asin_test): Likewise.
3342 (atanh_test): Likewise.
3343 (exp_test): Likewise.
3344 (exp10_test): Likewise.
3345 (exp2_test): Likewise.
3346 (expm1_test): Likewise.
3347 (lgamma_test): Likewise.
3348 (log_test): Likewise.
3349 (log10_test): Likewise.
3350 (log1p_test): Likewise.
3351 (log2_test): Likewise.
3352 (pow_test): Do not allow some spurious overflow exceptions.
3353 (sqrt_test): Add more tests.
3354 (tgamma_test): Likewise.
3355 (y0_test): Likewise.
3356 (y1_test): Likewise.
3357 (yn_test): Likewise.
3359 2012-03-27 Anton Blanchard <anton@samba.org>
3361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3367 2012-03-27 David S. Miller <davem@davemloft.net>
3369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3374 2012-03-27 Andreas Jaeger <aj@suse.de>
3376 * sysdeps/x86_64/elf/configure.in: Moved to ...
3377 * sysdeps/x86_64/configure.in: ... here.
3378 * sysdeps/x86_64/elf/start.S: Moved to ...
3379 * sysdeps/x86_64/start.S: ... here.
3380 * sysdeps/x86_64/elf/configure: Delete.
3382 * sysdeps/x86_64/configure.in: Merge contents from
3383 sysdeps/i386/configure.in (without i686 check).
3385 * sysdeps/i386/elf/Versions: Merge into ...
3386 * sysdeps/i386/Versions: ... this.
3387 * sysdeps/i386/elf/Versions: Delete file.
3388 * sysdeps/i386/elf/start.S: Moved to ...
3389 * sysdeps/i386/start.S: ...here.
3390 * sysdeps/i386/elf/configure.in: Merge into...
3391 * sysdeps/i386/configure.in: ...here.
3392 * sysdeps/i386/elf/configure.in: Delete file.
3393 * sysdeps/i386/elf/configure: Delete file.
3395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3396 * debug/backtracesyms.c: ... here.
3397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3398 * debug/backtracesymsfd.c: ... here.
3399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3400 * sysdeps/generic/ifunc-sel.h: ... here.
3402 * sysdeps/unix/i386/start.c: Delete file.
3403 * sysdeps/unix/sparc/start.c: Delete file.
3404 * sysdeps/unix/start.c: Delete file.
3406 * sysdeps/sh/elf/configure.in: Moved to ...
3407 * sysdeps/sh/configure.in: ... here.
3408 * sysdeps/sh/elf/start.S: Moved to ...
3409 * sysdeps/sh/start.S: ... here.
3410 * sysdeps/sh/elf/configure: Delete file.
3412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3417 * sysdeps/powerpc/powerpc64/start.S: here.
3418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3427 * sysdeps/powerpc/powerpc32/start.S: ... here.
3428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3433 * sysdeps/powerpc/ifunc-sel.h: ... here.
3434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3437 * sysdeps/sparc/elf/configure.in: Moved to ...
3438 * sysdeps/sparc/configure.in: ... here.
3439 * sysdeps/sparc/elf/configure: Delete file.
3440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3441 * sysdeps/sparc/sparc32/start.S: ... here.
3442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3443 * sysdeps/sparc/sparc64/start.S: ... here.
3444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3445 * sysdeps/sparc/sparc32/Makefile: ... this.
3446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3447 * sysdeps/sparc/sparc64/Makefile: ... this.
3449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3454 * sysdeps/s390/s390-32/setjmp.S: ... here.
3455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3456 * sysdeps/s390/s390-32/configure.in: ... here.
3457 * sysdeps/s390/s390-32/elf/configure: Delete file.
3458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3459 * sysdeps/s390/s390-32/start.S: ... here.
3461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3466 * sysdeps/s390/s390-64/setjmp.S: ... here.
3467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3468 * sysdeps/s390/s390-64/configure.in: ... here
3469 * sysdeps/s390/s390-64/elf/configure: Delete file.
3470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3471 * sysdeps/s390/s390-64/start.S: ... here.
3472 * sysdeps/s390/s390-64/elf/configure: Delete.
3474 * configure.in: Remove support for elf directories in sysdeps.
3476 * configure: Regenerated.
3477 * sysdeps/i386/configure: Regenerated.
3478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3480 * sysdeps/s390/s390-32/configure: Regenerated.
3481 * sysdeps/s390/s390-64/configure: Regenerated.
3482 * sysdeps/sh/configure: Regenerated.
3483 * sysdeps/sparc/configure: Regenerated.
3484 * sysdeps/x86_64/configure: Regenerated.
3486 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3491 denormal result into account.
3493 2012-03-25 Roland McGrath <roland@hack.frob.com>
3495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3496 Reported by Allan McRae <allan@archlinux.org>.
3498 2012-03-23 Jeff Law <law@redhat.com>
3500 * nss/getnssent.c (__nss_getent): Fix typo.
3502 2012-03-23 David S. Miller <davem@davemloft.net>
3504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3506 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3509 to pad to uint64_t for each field.
3510 (dl_tls_index): Replace unsigned long with uint64_t.
3512 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3513 Paul Pluzhnikov <ppluzhnikov@google.com>
3516 * grp/Makefile (otherlibs): Don't set it.
3517 * inet/Makefile (otherlibs): Likewise.
3518 * login/Makefile (otherlibs): Likewise.
3519 * nscd/Makefile (otherlibs): Likewise.
3520 * posix/Makefile (otherlibs): Likewise.
3521 * pwd/Makefile (otherlibs): Likewise.
3522 * rt/Makefile (otherlibs): Likewise.
3523 * sunrpc/Makefile (otherlibs): Likewise.
3524 * nss/Makefile (otherlibs): Likewise.
3525 Add libnss_files to routines and static-only-routines.
3526 ($(objpfx)getent): Remove rule.
3527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3528 static-only-routines.
3530 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3533 * math/s_cexp.c: Include <float.h>.
3534 (__cexp): Handle exp result overflowing not necessarily
3535 overflowing both real and imaginary parts of result.
3536 * math/s_cexpf.c: Likewise.
3537 * math/s_cexpl.c: Likewise.
3538 * math/libm-test.inc (cexp_test): Add more tests.
3539 * sysdeps/i386/fpu/libm-test-ulps: Update.
3540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3544 * include/link.h (ELFW): New macro.
3545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3548 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3553 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3557 (struct La_x32_retval): Likewise.
3559 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3561 * sysdeps/x86_64/preconfigure.in: New file.
3562 * sysdeps/x86_64/preconfigure: New generated file.
3564 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3567 * math/e_exp2l.c: Include <float.h>.
3568 (__ieee754_exp2l): Handle overflow and underflow cases
3569 separately. Only pass fractional part of argument to
3571 * math/libm-test.inc (exp2_test): Add more tests.
3573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3574 negating x to take absolute value.
3575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3581 computing low part if x was negated.
3582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3584 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3588 (pltexit): Cast int_retval to ptrdiff_t.
3589 * elf/tst-auditmod3b.c: Likewise.
3590 * elf/tst-auditmod4b.c: Likewise.
3591 * elf/tst-auditmod5b.c: Likewise.
3592 * elf/tst-auditmod6b.c: Likewise.
3593 * elf/tst-auditmod6c.c: Likewise.
3594 * elf/tst-auditmod7b.c: Likewise.
3596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3597 and x32_gnu_pltexit.
3599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3601 (La_x32_regs): New macro.
3602 (La_x32_retval): Likewise.
3603 (la_x32_gnu_pltenter): New function prototype.
3604 (la_x32_gnu_pltexit): Likewise.
3606 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3613 * configure.in (libc_cv_cc_nofma): Check for option to disable
3614 generation of FMA instructions.
3615 * configure: Regenerate.
3616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3617 * sysdeps/ieee754/dbl-64/Makefile: New file.
3618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3619 Remove brandred-fma4.
3620 (CFLAGS-brandred-fma4.c): Remove.
3621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3627 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3630 LLONG_MAX != LONG_MAX.
3631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3632 (_fitoa_word): Likewise.
3633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3634 LLONG_MAX != LONG_MAX.
3635 * stdio-common/_itowa.h: Include <_itoa.h>.
3636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3639 only if not defined.
3640 (_ITOA_WORD_TYPE): Likewise.
3641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3644 2012-03-21 David S. Miller <davem@davemloft.net>
3646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3651 of x86_64 when setting libc_cv_slibdir, libdir and
3653 * sysdeps/unix/sysv/linux/configure: Regenerated.
3655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3657 * manual/lang.texi (Old Varargs): Remove section.
3658 (How Variadic): Update menu.
3659 (va_start): Do not mention varargs.h.
3661 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3662 Joseph Myers <joseph@codesourcery.com>
3664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3666 * configure: Regenerated.
3668 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3674 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3677 * Makefile (files-for-dist): Remove NOTES.
3678 (NOTES): Remove rule.
3679 * README: Don't refer to NOTES.
3680 * manual/creature.texi: Don't include macros.texi.
3681 * manual/intro.texi (creature.texi): Remove comment referring to
3684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3686 * configure: Regenerated.
3687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3689 (libc_cv_as_i686): Likewise.
3690 (libc_cv_cc_avx): Likewise.
3691 (libc_cv_cc_sse2avx): Likewise.
3692 (libc_cv_cc_fma4): Likewise.
3693 (libc_cv_cc_novzeroupper): Likewise.
3694 * sysdeps/i386/configure: Regenerated.
3697 * sysdeps/i386/fpu/s_cexp.S: Remove.
3698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3700 * math/libm-test.inc (cexp_test): Add more tests.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704 2012-03-21 Allan McRae <allan@archlinux.org>
3706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3711 * math/w_exp2.c: Do not include <float.h>.
3712 (o_threshold, u_threshold): Remove.
3713 (__exp2): Calculate result before checking finiteness and calling
3715 * math/w_exp2f.c: Likewise.
3716 * math/w_exp2l.c: Likewise.
3717 * math/libm-test.inc (exp2_test): Require overflow exception for
3721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3722 range of signed 64-bit integers before using fistpll. Remove
3723 checks for whether integers fit in mantissa bits.
3724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3725 the range of signed 32-bit integers before using fistpl. Remove
3726 checks for whether integers fit in mantissa bits.
3727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3728 (__ieee754_powl): Test for y outside the range of signed 64-bit
3729 integers before using fistpll. Reduce 64-bit values to 63-bit
3731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3732 divide-by-zero is raised for zero to large negative powers.
3733 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3734 (__ieee754_powl): Test for y outside the range of signed 64-bit
3735 integers before using fistpll. Reduce 64-bit values to 63-bit
3737 * math/libm-test.inc (pow_test): Add more tests.
3739 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3742 <stdio-common/_itoa.h>.
3743 * debug/segfault.c: Likewise.
3744 * elf/dl-cache.c: Likewise.
3745 * elf/dl-minimal.c: Likewise.
3746 * elf/dl-misc.c: Likewise.
3747 * elf/dl-sysdep.c: Likewise.
3748 * elf/dl-version.c: Likewise.
3749 * elf/rtld.c: Likewise.
3750 * hurd/hurdsock.c: Likewise.
3751 * hurd/lookup-retry.c: Likewise.
3752 * malloc/malloc.c: Likewise.
3753 * malloc/mtrace.c: Likewise.
3754 * nscd/nscd_getgr_r.c: Likewise.
3755 * nscd/nscd_getpw_r.c: Likewise.
3756 * nscd/nscd_getserv_r.c: Likewise.
3757 * posix/getopt_init.c: Likewise.
3758 * posix/wordexp.c: Likewise.
3759 * stdio-common/_itoa.c: Likewise.
3760 * stdio-common/printf_fphex.c: Likewise.
3761 * stdio-common/vfprintf.c: Likewise.
3762 * string/_strerror.c: Likewise.
3763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3764 * sysdeps/i386/i686/hp-timing.h: Likewise.
3765 * sysdeps/mach/_strerror.c: Likewise.
3766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3767 * sysdeps/mach/hurd/sethostid.c: Likewise.
3768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3769 * sysdeps/mach/xpg-strerror.c: Likewise.
3770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3794 * stdio-common/_itoa.h: Moved to ...
3795 * sysdeps/generic/_itoa.h: Here.
3797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3800 instead of "_itoa.h" and "_itowa.h".
3801 * stdio-common/vfprintf.: Likewise.
3803 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3808 (__signbit): Likwise.
3812 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3817 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3820 OVERFLOW_EXCEPTION_OK.
3821 * math/libm-test.inc ("Philosophy"): Update comment about
3823 (OVERFLOW_EXCEPTION): Define.
3824 (OVERFLOW_EXCEPTION_OK): Likewise.
3825 (INVALID_EXCEPTION_OK): Renumber.
3826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3827 (IGNORE_ZERO_INF_SIGN): Likewise.
3828 (test_exceptions): Handle FE_OVERFLOW.
3829 (exp10_test): Expect overflow exceptions.
3830 (exp2_test): Likewise.
3831 (expm1_test): Likewise.
3832 (nextafter_test): Likewise.
3833 (pow_test): Likewise.
3834 (scalbn_test): Likewise.
3835 (scalbln_test): Likewise.
3837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3839 * sysdeps/x86_64/bits/atomic.h
3840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3842 (atomic_exchange_acq): Likewise.
3843 (__arch_exchange_and_add_body): Likewise.
3844 (__arch_add_body): Likewise.
3845 (atomic_add_negative): Likewise.
3846 (atomic_add_zero): Likewise.
3848 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3853 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3856 Check __x86_64__ instead of __WORDSIZE.
3858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3862 2012-03-19 David S. Miller <davem@davemloft.net>
3864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3866 * sysdeps/sparc/fpu/fenv_private.h: New file.
3867 * sysdeps/sparc/fpu/math_private.h: Use it.
3868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3871 (libc_feholdexcept_setroundl): Remove.
3872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3880 int64_t instead of long int.
3881 (INSERT_WORDS64): Likwise.
3883 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3886 _Unwind_GetCFA return to _Unwind_Ptr first.
3888 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3891 * math/s_clog.c: Include <float.h>.
3892 (__clog): Scale large or subnormal inputs.
3893 * math/s_clogf.c: Likewise.
3894 * math/s_clogl.c: Likewise.
3895 * math/s_clog10.c: Include <float.h>.
3896 (M_LOG10_2): Define.
3897 (__clog10): Scale large or subnormal inputs.
3898 * math/s_clog10f.c: Likewise.
3899 * math/s_clog10l.c: Likewise.
3900 * math/libm-test.inc (clog_test): Add more tests.
3901 (clog10_test): Likewise.
3902 * sysdeps/i386/fpu/libm-test-ulps: Update.
3903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3908 * math/libm-test.inc (atan2_test): Add another test.
3910 * Makerules (common-objdir-compile): Remove.
3911 * sysdeps/unix/Makefile (config-generated): Do not add
3912 $(unix-generated) to variable.
3913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3918 [generic bits/local_lim.h] (before-compile): Do not append to
3920 [generic bits/local_lim.h] (common-generated): Likewise.
3921 [generic sys/param.h] (before-compile): Do not append to variable.
3922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3929 [generic sys/param.h] ($(addprefix
3930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3931 [generic sys/param.h] (common-generated): Do not append to
3933 [generic sys/param.h] (sysdep_headers): Likewise.
3934 [generic bits/errno.h] (before-compile): Do not append to
3936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3941 [generic bits/errno.h] (common-generated): Do not append to
3943 [generic bits/ioctls.h] (before-compile): Do not append to
3945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3954 [generic bits/ioctls.h] (common-generated): Do not append to
3956 [generic sys/syscall.h] (syscall.h): Remove variable.
3957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3959 [generic sys/syscall.h] (before-compile): Do not append to
3961 [generic sys/syscall.h] (common-generated): Likewise.
3962 * sysdeps/unix/errnos-tmpl.c: Remove file.
3963 * sysdeps/unix/errnos.awk: Likewise.
3964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3965 * sysdeps/unix/ioctls.awk: Likewise.
3966 * sysdeps/unix/mk-local_lim.c: Likewise.
3967 * sysdeps/unix/snarf-ioctls: Likewise.
3969 2012-03-19 Richard Henderson <rth@twiddle.net>
3971 * sysdeps/i386/fpu/fenv_private.h: New file.
3972 * sysdeps/i386/fpu/math_private.h: Use it.
3973 (math_opt_barrier, math_force_eval): Remove.
3974 (libc_feholdexcept_setround_53bit): Remove.
3975 (libc_feupdateenv_53bit): Remove.
3976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3977 (math_opt_barrier, math_force_eval): Remove.
3978 (libc_feholdexcept): Remove.
3979 (libc_feholdexcept_setround): Remove.
3980 (libc_fetestexcept, libc_fesetenv): Remove.
3981 (libc_feupdateenv_test): Remove.
3982 (libc_feupdateenv, libc_feholdsetround): Remove.
3983 (libc_feresetround): Remove.
3985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3990 (libc_feupdateenv_testl): New.
3991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3992 (libc_feupdateenv_testf): New.
3993 (libc_feupdateenv): Use libc_feupdateenv_test.
3994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4000 (libc_feresetround_noex): New.
4001 (libc_feresetround_noexf): New.
4002 (libc_feresetround_noexl): New.
4003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4013 SET_RESTORE_ROUND_NOEX.
4014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4015 SET_RESTORE_ROUND_NOEXF.
4016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4018 (libc_feholdsetroundf): New.
4019 (libc_feresetround, libc_feresetroundf): New.
4021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4025 * sysdeps/generic/math_private.h: Include <fenv.h>.
4026 (default_libc_feholdexcept): New.
4027 (default_libc_feholdexcept_setround): New.
4028 (default_libc_fesetenv, default_libc_feupdateenv): New.
4029 (libc_feholdexcept): Only define if undefined.
4030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4032 (libc_feholdexcept_setroundl): Likewise.
4033 (libc_feholdexcept_setround_53bit): Likewise.
4034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4037 (libc_feupdateenv_53bit): Likewise.
4038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4039 (libc_feholdexcept): Convert from macro to inline function.
4040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4041 (libc_fesetenv, libc_feupdateenv): Likewise.
4043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4044 not previously defined.
4045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4049 * sysdeps/ieee754/flt-32/math_private.h: New file.
4050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4051 math_private.h below SET_FLOAT_WORD.
4052 (__isnan, __isinf_ns, __finite): Remove.
4053 (__isnanf, __isinf_nsf, __finitef): Remove.
4055 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4059 2012-03-17 David S. Miller <davem@davemloft.net>
4062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4065 2012-03-16 David S. Miller <davem@davemloft.net>
4067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4075 sysdep_routines when subdir is sysvipc.
4076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4090 (__lround): Renamed to ...
4091 (__llround): This. Replace long int with long long int.
4092 Define lround functions as aliases of llround functions.
4093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4095 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4099 adresses to uintptr_t. Replace "long int" and "unsigned long
4100 int" with "greg_t" on va_arg.
4102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4108 Move e_machine check before EI_CLASS check. Handle x32
4109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4111 SKIP_EM_IA_64 and include
4112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4116 (add_system_dir): New macro.
4118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4121 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4134 * math/w_j0f.c (j0f): Likewise.
4136 * math/w_j0l.c (__j0l): Likewise.
4138 * math/w_j1.c (j1): Likewise.
4140 * math/w_j1f.c (j1f): Likewise.
4142 * math/w_j1l.c (__j1l): Likewise.
4144 * math/w_jn.c (jn): Likewise.
4146 * math/w_jnf.c (jnf): Likewise.
4148 * math/w_jnl.c (__jnl): Likewise.
4150 * math/libm-test.inc (j0_test): Add more tests.
4151 (j1_test): Likewise.
4152 (jn_test): Likewise. Add trailing semicolon to existing test.
4153 (y0_test): Likewise.
4154 (y1_test): Likewise.
4155 * sysdeps/i386/fpu/libm-test-ulps: Update.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4164 (__tanl): Set errno for infinite argument.
4165 * sysdeps/i386/fpu/mptan.c: Remove.
4166 * sysdeps/i386/fpu/s_tan.S: Likewise.
4167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4170 * math/libm-test.inc (tan_test): Add more tests and enable more
4171 tests for double and long double.
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4175 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4180 2012-03-16 Roland McGrath <roland@hack.frob.com>
4182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4183 * configure.in: Use it for both main tree and add-ons.
4184 * configure: Regenerated.
4186 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4190 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4216 * math/libm-test.inc (cos_test): Add more tests and enable more
4217 tests for long double.
4218 (sin_test): Likewise.
4219 (sincos_test): Likewise.
4220 * sysdeps/i386/fpu/libm-test-ulps: Update.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223 2012-03-16 David S. Miller <davem@davemloft.net>
4225 * sysdeps/sparc/fpu/math_private.h: New file.
4227 2012-03-15 David S. Miller <davem@davemloft.net>
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4246 * sysdeps/sparc/sparc-ifunc.h: New file.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4292 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4298 2012-03-15 Andreas Jaeger <aj@suse.de>
4301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4302 ieee754/flt-32 implementation for sin, cos and sincos.
4303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4308 ieee754/flt-32 implementation for tan.
4310 * math/libm-test.inc (cos_test): Enable some large input tests for
4312 (sin_test): Likewise.
4313 (sincos_test): Likewise.
4314 (tan_test): Add tests for large input.
4316 * sysdeps/i386/fpu/libm-test-ulps: Update.
4318 2012-03-15 Andreas Jaeger <aj@suse.de>
4321 * math/libm-test.inc (cos_test): Add more test cases.
4322 (sin_test): Likewise.
4323 (sincos_test): Likewise.
4325 2012-03-15 Andreas Jaeger <aj@suse.de>
4328 * math/libm-test.inc (cos_test): Add a test case for large input
4330 (sin_test): Likewise.
4331 (sincos_test): Likewise.
4333 2012-03-15 Andreas Jaeger <aj@suse.de>,
4334 Joseph Myers <joseph@codesourcery.com>
4337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4339 * sysdeps/i386/fpu/branred.c: Likewise.
4340 * sysdeps/i386/fpu/dosincos.c: Likewise.
4341 * sysdeps/i386/fpu/mpa.c: Likewise.
4342 * sysdeps/i386/fpu/s_cos.S: Likewise.
4343 * sysdeps/i386/fpu/s_sin.S: Likewise.
4344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4345 * sysdeps/i386/fpu/sincos32.c: Likewise.
4347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4349 (libc_feupdateenv_53bit): Define.
4350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4352 (libc_feupdateenv_53bit): Define.
4354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4355 53 bit (without extend i386 double precision).
4357 * math/libm-test.inc (sincos_test): Add tests for large input.
4361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4363 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4367 2012-03-15 David S. Miller <davem@davemloft.net>
4369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4397 fmin/fmax sysdep routines.
4398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4400 2012-03-14 David S. Miller <davem@davemloft.net>
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4479 * sysdeps/sparc/configure.in: New file.
4480 * sysdeps/sparc/configure: Generate.
4481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4482 * configure: Regenerate.
4483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4484 * config.make.in (have-as-vis3): New.
4485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4486 available use -Av9d instead of -Av9a.
4487 * sysdeps/sparc/sparc64/Makefile: Likewise.
4488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4504 fzeros/fnegs to load 0x80000000 into a float register instead of
4506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4508 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4514 ($(inst_includedir)/bits/syscall.h): Remove rule.
4515 ($(objpfx)bits/syscall.d): Include instead of
4516 $(objpfx)syscall-list.d.
4517 (generated): Change syscall-list.h and syscall-list.d to
4518 bits/syscall.h and bits/syscall.d.
4520 2012-03-14 Roland McGrath <roland@hack.frob.com>
4523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4525 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4528 * math/s_csqrt.c: Include <float.h>.
4529 (__csqrt): Scale large or subnormal inputs.
4530 * math/s_csqrtf.c: Likewise.
4531 * math/s_csqrtl.c: Likewise.
4532 * math/libm-test.inc (csqrt_test): Add more tests.
4533 * sysdeps/i386/fpu/libm-test-ulps: Update.
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537 * math/libm-test.inc (hypot_test): Add more tests.
4539 2012-03-13 David S. Miller <davem@davemloft.net>
4542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4543 double-precision for the calculation instead of scaling.
4545 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4548 manipulate bits before adding and subtracting TWO52[sx].
4549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4554 2012-03-13 David S. Miller <davem@davemloft.net>
4556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4559 rtld-global-offsets.h
4560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4568 'err' in the ifdef scope in which it is actually used.
4570 * nss/nss_db/db-init.c: Include string.h
4572 2012-03-12 David S. Miller <davem@davemloft.net>
4574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4575 masking out of the most significant byte of random value used.
4576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4577 Fix coding style in previous change.
4579 * sysdeps/unix/sysv/linux/kernel-features.h
4580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4586 2012-03-11 David S. Miller <davem@davemloft.net>
4588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4591 for 'resultvar' otherwise things get truncated on 64-bit.
4593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4594 Fix masking out of the most significant byte of random value used.
4596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4598 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4602 2012-03-09 David S. Miller <davem@davemloft.net>
4604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4605 variables with appropriate CPP guards.
4606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4607 frame pointer, not the stack pointer. Correct layout comments. Fix test
4608 on resulting framesize and the management of the outregs buffer for pltexit.
4609 Preserve floating point return values across _dl_call_pltexit call.
4610 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4611 framesize and the management of the outregs buffer for pltexit.
4612 Preserve floating point return values across _dl_call_pltexit
4614 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4615 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4616 (print_exit): Fix format string for return register value.
4618 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4620 * sunrpc/Makefile (others): Add rpcgen.
4621 ($(objpfx)rpcgen): Remove special build rule and dependency on
4623 * sunrpc/rpcgen.c: New file.
4625 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4628 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4629 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4630 * sysdeps/i386/crti.S: Likewise.
4631 * sysdeps/i386/crtn.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4636 * sysdeps/sh/crti.S: Likewise.
4637 * sysdeps/sh/crtn.S: Likewise.
4638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4641 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4643 * locale/programs/locfile-kw.gperf: Likewise.
4644 * locale/programs/charmap-kw.h: Regenerated.
4645 * locale/programs/locfile-kw.h: Likewise.
4648 * intl/plural.y: Replace FSF snail mail address with URL.
4649 * intl/plural.c: Regenerated.
4651 2012-03-09 Richard Henderson <rth@twiddle.net>
4653 * include/math_private.h: Remove file.
4654 * math/math_private.h: Move file ...
4655 * sysdeps/generic/math_private.h: ... here.
4657 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4658 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4659 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4661 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4662 and <math_private.h>.
4663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4751 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4754 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4757 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4758 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4760 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4762 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4763 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4764 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4765 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4766 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4768 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4769 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4770 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4771 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4773 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4774 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4775 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4777 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4779 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4780 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4781 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4786 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4796 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4801 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4805 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4806 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4807 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4811 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4812 * sysdeps/ieee754/k_standard.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4904 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4973 * sysdeps/ieee754/s_lib_version.c: Likewise.
4974 * sysdeps/ieee754/s_matherr.c: Likewise.
4975 * sysdeps/ieee754/s_signgam.c: Likewise.
4976 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4978 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4979 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4981 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4982 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4983 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4984 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4987 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4998 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5000 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5001 * sunrpc/rpc_main.c: Likewise.
5002 * sunrpc/rpc_svcout.c: Likewise.
5004 2012-03-09 David S. Miller <davem@davemloft.net>
5006 * include/math_private.h: New file.
5008 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5010 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5011 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5012 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5013 from <bits/socket_type.h>.
5014 (enum __socket_type): Don't define here.
5015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5020 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5023 * Makerules ($(inst_includedir)/%.h): New rule.
5024 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5025 (install-others): Remove variable setting.
5026 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5028 2012-03-08 Richard Henderson <rth@twiddle.net>
5030 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5031 from macro to inline function; merge with the
5032 !__LIBC_INTERNAL_MATH_INLINES version.
5033 (__ieee754_sqrtf): Likewise.
5035 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5037 (__rintf, __floor, __floorf): Likewise.
5039 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5040 macro to inline function.
5041 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5044 not <math/math_private.h>.
5046 2012-03-08 David S. Miller <davem@davemloft.net>
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5050 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5052 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5054 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5056 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5057 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5059 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5061 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5062 be defined individually, they must be defined as a block. Define
5063 S for printing a string instead of hidint the different by using a
5064 macro for adding the 'l'.
5065 * stdio-common/tst-fphex-wide.c: Adjust.
5067 2012-03-07 Marek Polacek <polacek@redhat.com>
5069 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5071 2012-03-08 Marek Polacek <polacek@redhat.com>
5074 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5075 * stdio-common/tst-fphex.c: Define a few macros to make the
5076 test reusable. Use them.
5077 * stdio-common/tst-fphex-wide.c: New file.
5079 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5082 * manual/macros.texi (gnusystems): New macro.
5083 (nongnusystems): Likewise.
5084 (gnulinuxhurdsystems): Likewise.
5085 (gnuhurdsystems): Likewise..
5086 (gnulinuxsystems): Likewise.
5087 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5088 variants of the GNU system, not "GNU system".
5089 * manual/conf.texi: Likewise.
5090 * manual/errno.texi: Likewise. Update example of errno macro
5092 * manual/filesys.texi: Likewise.
5093 (getumask): Document as specific to GNU/Hurd.
5094 * manual/install.texi: Likewise. Reword some references to
5096 * manual/intro.texi: Likewise.
5097 * manual/io.texi: Likewise.
5098 (File Name Portability): Detail which constraints are inapplicable
5099 to all GNU systems and which are only inapplicable to GNU/Hurd.
5100 * manual/job.texi: Likewise.
5101 * manual/llio.texi: Likewise.
5102 (O_NOCTTY): Document as present on GNU/Linux.
5103 * manual/maint.texi: Likewise.
5104 * manual/memory.texi: Likewise.
5105 * manual/pattern.texi: Likewise.
5106 * manual/pipe.texi: Likewise.
5107 * manual/process.texi: Likewise.
5108 * manual/resource.texi: Likewise.
5109 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5111 * manual/setjmp.texi: Likewise.
5112 * manual/signal.texi: Likewise.
5113 * manual/startup.texi: Likewise.
5114 * manual/stdio.texi: Likewise.
5115 * manual/terminal.texi: Likewise.
5116 (ONLCR): Document as POSIX.
5117 (OXTABS): Document availability on GNU/Linux as XTABS.
5118 (ONOEOT): Document availability separately from other bits.
5119 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5120 * manual/time.texi: Likewise.
5121 * manual/users.texi: Likewise.
5122 * INSTALL: Regenerated.
5123 * sysdeps/gnu/errlist.c: Regenerated.
5125 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5126 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5127 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5129 * configure: Regenerated.
5131 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5133 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5134 default includes instead of AC_HEADER_CHECK.
5135 * sysdeps/i386/configure: Regenerated.
5138 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5139 * math/s_cacoshf.c (__cacoshf): Likewise.
5140 * math/s_cacoshl.c (__cacoshl): Likewise.
5141 * math/s_casinh.c (__casinh): Set signs of result from argument.
5142 * math/s_casinhf.c (__casinhf): Likewise.
5143 * math/s_casinhl.c (__casinhl): Likewise.
5144 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5145 (casinh_test): Add more tests.
5146 * sysdeps/i386/fpu/libm-test-ulps: Update.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5149 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5151 * po/zh_TW.po: Update from translation team.
5153 * login/Makefile (distribute): Remove variable.
5154 * catgets/Makefile: Likewise.
5155 * mach/Makefile: Likewise.
5156 * malloc/Makefile: Likewise.
5157 * misc/Makefile: Likewise.
5158 * iconv/Makefile: Likewise.
5159 * nscd/Makefile: Likewise.
5160 * hurd/Makefile: Likewise.
5161 * manual/Makefile: Likewise.
5162 * locale/Makefile: Likewise.
5163 * intl/Makefile: Likewise.
5164 * conform/Makefile: Likewise.
5165 * nss/Makefile: Likewise.
5166 * time/Makefile: Likewise.
5167 * soft-fp/Makefile: Likewise.
5168 * dirent/Makefile: Likewise.
5169 * gmon/Makefile: Likewise.
5170 * po/Makefile: Likewise.
5171 * rt/Makefile: Likewise.
5172 * socket/Makefile: Likewise.
5173 * math/Makefile: Likewise.
5174 * signal/Makefile: Likewise.
5175 * debug/Makefile: Likewise.
5176 * elf/Makefile: Likewise.
5177 * timezone/Makefile: Likewise.
5178 * stdlib/Makefile: Likewise.
5179 * iconvdata/Makefile: Likewise.
5180 * sunrpc/Makefile: Likewise.
5181 * io/Makefile: Likewise.
5182 * argp/Makefile: Likewise.
5183 * inet/Makefile: Likewise.
5184 * hesiod/Makefile: Likewise.
5185 * grp/Makefile: Likewise.
5186 * csu/Makefile: Likewise.
5187 * wctype/Makefile: Likewise.
5188 * crypt/Makefile: Likewise.
5189 * libio/Makefile: Likewise.
5190 * string/Makefile: Likewise.
5191 * nis/Makefile: Likewise.
5192 * resolv/Makefile: Likewise.
5193 * stdio-common/Makefile: Likewise.
5194 * wcsmbs/Makefile: Likewise.
5195 * dlfcn/Makefile: Likewise.
5196 * posix/Makefile: Likewise.
5199 * timezone/Makefile: Don't install timezone files, just the programs
5202 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5204 * nss/databases.def: Add missing gshadow entry.
5206 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5208 2012-03-06 Marek Polacek <polacek@redhat.com>
5211 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5212 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5213 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5214 * stdio-common/tst-long-dbl-fphex.c: New file.
5216 2012-03-06 David S. Miller <davem@davemloft.net>
5218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5219 (set_obp_int): New function.
5220 (get_obp_int): New function.
5221 (__get_clockfreq_via_dev_openprom): Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5223 Avoid unused variable warnings on 'val' and use builtin_expect.
5224 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5226 (INLINE_CLONE_SYSCALL): Likewise.
5228 2012-03-05 David S. Miller <davem@davemloft.net>
5230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5232 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5236 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5240 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5243 Replace gettimeofday with __vdso_gettimeofday.
5245 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5246 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5247 __vdso_clock_gettime and __vdso_getcpu.
5249 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5250 time with __vdso_time.
5252 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5254 * manual/lang.texi (size_t): Note types to which size_t may be
5255 equivalent with the GNU C Library, but do not describe when
5256 differences between them are significant.
5258 2012-03-05 Andreas Jaeger <aj@suse.de>
5260 * sysdeps/i386/fpu/libm-test-ulps: Update.
5262 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5265 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5266 (__ieee754_pow): Save and restore rounding mode and use
5267 round-to-nearest for main computations.
5268 * math/libm-test.inc (pow_test_tonearest): New function.
5269 (pow_test_towardzero): Likewise.
5270 (pow_test_downward): Likewise.
5271 (pow_test_upward): Likewise.
5272 (main): Call the new functions.
5273 * sysdeps/i386/fpu/libm-test-ulps: Update.
5274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5277 * math/libm-test.inc (cosh_test_tonearest): New function.
5278 (cosh_test_towardzero): Likewise.
5279 (cosh_test_downward): Likewise.
5280 (cosh_test_upward): Likewise.
5281 (sinh_test_tonearest): Likewise.
5282 (sinh_test_towardzero): Likewise.
5283 (sinh_test_downward): Likewise.
5284 (sinh_test_upward): Likewise.
5285 (main): Call the new functions.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289 2012-03-05 Tom de Vries <tom@codesourcery.com>
5291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5292 default stack guard is set in last bytes.
5293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5295 2012-03-05 Kees Cook <keescook@chromium.org>
5297 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5300 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5301 possibly allocate from heap instead of stack.
5302 * stdio-common/bug-vfprintf-nargs.c: New file.
5303 * stdio-common/Makefile (tests): Add nargs overflow test.
5305 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5309 2012-03-03 Marek Polacek <polacek@redhat.com>
5311 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5312 * math/math_private.h: Likewise.
5313 * stdlib/tst-strtod.c: Likewise.
5314 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5315 * sysdeps/x86_64/bits/atomic.h: Likewise.
5317 2012-03-02 David S. Miller <davem@davemloft.net>
5319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5323 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5324 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5325 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5326 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5328 2012-03-02 Roland McGrath <roland@hack.frob.com>
5331 * manual/examples/README: New file, says the example source files
5332 can be used under GPL>=2.
5333 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5334 line containing just "*/".
5335 * manual/examples/add.c: Add copyright header (GPL>=2).
5336 * manual/examples/argp-ex1.c: Likewise.
5337 * manual/examples/argp-ex2.c: Likewise.
5338 * manual/examples/argp-ex3.c: Likewise.
5339 * manual/examples/argp-ex4.c: Likewise.
5340 * manual/examples/atexit.c: Likewise.
5341 * manual/examples/db.c: Likewise.
5342 * manual/examples/dir.c: Likewise.
5343 * manual/examples/dir2.c: Likewise.
5344 * manual/examples/execinfo.c: Likewise.
5345 * manual/examples/filecli.c: Likewise.
5346 * manual/examples/filesrv.c: Likewise.
5347 * manual/examples/fmtmsgexpl.c: Likewise.
5348 * manual/examples/genpass.c: Likewise.
5349 * manual/examples/inetcli.c: Likewise.
5350 * manual/examples/inetsrv.c: Likewise.
5351 * manual/examples/isockad.c: Likewise.
5352 * manual/examples/longopt.c: Likewise.
5353 * manual/examples/memopen.c: Likewise.
5354 * manual/examples/memstrm.c: Likewise.
5355 * manual/examples/mkfsock.c: Likewise.
5356 * manual/examples/mkisock.c: Likewise.
5357 * manual/examples/mygetpass.c: Likewise.
5358 * manual/examples/pipe.c: Likewise.
5359 * manual/examples/popen.c: Likewise.
5360 * manual/examples/rprintf.c: Likewise.
5361 * manual/examples/search.c: Likewise.
5362 * manual/examples/select.c: Likewise.
5363 * manual/examples/setjmp.c: Likewise.
5364 * manual/examples/sigh1.c: Likewise.
5365 * manual/examples/sigusr.c: Likewise.
5366 * manual/examples/stpcpy.c: Likewise.
5367 * manual/examples/strdupa.c: Likewise.
5368 * manual/examples/strftim.c: Likewise.
5369 * manual/examples/strncat.c: Likewise.
5370 * manual/examples/subopt.c: Likewise.
5371 * manual/examples/swapcontext.c: Likewise.
5372 * manual/examples/termios.c: Likewise.
5373 * manual/examples/testopt.c: Likewise.
5374 * manual/examples/testpass.c: Likewise.
5375 * manual/examples/timeval_subtract.c: Likewise.
5378 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5380 * manual/timeval_subtract.c.texi: ... here, new file.
5382 2012-03-02 David S. Miller <davem@davemloft.net>
5384 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5386 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5389 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5390 (__sin): Save and restore rounding mode and use round-to-nearest
5391 for all computations.
5392 (__cos): Save and restore rounding mode and use round-to-nearest
5393 for all computations.
5394 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5396 (tan): Save and restore rounding mode and use round-to-nearest for
5398 * math/libm-test.inc (cos_test_tonearest): New function.
5399 (cos_test_towardzero): Likewise.
5400 (cos_test_downward): Likewise.
5401 (cos_test_upward): Likewise.
5402 (sin_test_tonearest): Likewise.
5403 (sin_test_towardzero): Likewise.
5404 (sin_test_downward): Likewise.
5405 (sin_test_upward): Likewise.
5406 (tan_test_tonearest): Likewise.
5407 (tan_test_towardzero): Likewise.
5408 (tan_test_downward): Likewise.
5409 (tan_test_upward): Likewise.
5410 (main): Call the new functions.
5411 * sysdeps/i386/fpu/libm-test-ulps: Update.
5412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5416 small n, then large n, before computing and testing k+n.
5417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5422 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5423 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5430 * math/libm-test.inc (scalbn_test): Add more tests.
5431 (scalbln_test): Likewise.
5433 * manual/filesys.texi (mode_t): Describe constraints on size and
5434 signedness, not exact equivalence to a particular type.
5436 (ino64_t): Likewise.
5438 (nlink_t): Likewise.
5439 (blkcnt_t): Likewise.
5440 (blkcnt64_t): Likewise.
5441 * manual/llio.texi (off_t): Likewise.
5444 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5445 (__ieee754_exp): Save and restore rounding mode and use
5446 round-to-nearest for all computations.
5447 * math/libm-test.inc (exp_test_tonearest): New function.
5448 (exp_test_towardzero): Likewise.
5449 (exp_test_downward): Likewise.
5450 (exp_test_upward): Likewise.
5451 (main): Call the new functions.
5452 * sysdeps/i386/fpu/libm-test-ulps: Update.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5455 2012-03-01 Chris Demetriou <cgd@google.com>
5457 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5458 have predictable order.
5460 2012-03-01 David S. Miller <davem@davemloft.net>
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5464 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5465 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5466 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5467 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5469 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5470 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5471 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5473 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5474 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5475 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5476 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5477 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5482 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5485 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5487 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5488 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5489 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5493 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5501 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5502 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5503 * sysdeps/sparc/elf/configure: Regenerated.
5505 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5507 * configure.in (AS, LD): Require binutils 2.20 or later.
5508 * configure: Regenerated.
5509 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5510 as required minimum version.
5511 * INSTALL: Regenerated.
5515 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5516 before squaring exponent.
5517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5518 bottom long double and 27 bits of top long double before squaring
5520 * math/libm-test.inc (erfc_test): Add more tests.
5521 * sysdeps/i386/fpu/libm-test-ulps: Update.
5522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5525 2012-03-01 Kai Tietz <ktietz@redhat.com>
5527 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5528 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5529 containing bit-fields.
5530 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5531 * soft-fp/single.h (_FP_UNION_S): Likewise.
5532 * soft-fp/double.h (_FP_UNION_D): Likewise.
5534 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5537 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5538 not include ../strcmp.S.
5539 [USE_AS_STRNCASECMP_L]: Likewise.
5540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5541 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5542 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5543 (__strncasecmp_l_ia32): Define as alias to
5544 __strncasecmp_l_nonascii.
5547 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5551 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554 2012-02-29 Jeff Law <law@redhat.com>
5556 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5559 2012-02-29 Marek Polacek <polacek@redhat.com>
5562 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5563 * elf/Makefile: Add rules to run tst-unused-dep.out.
5565 2012-02-28 David S. Miller <davem@davemloft.net>
5567 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5568 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5571 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5572 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5574 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5576 * math/libm-test.inc (llround_test): Move one test from
5577 lround_test. Use TEST_f_L in moved test.
5578 (lround_test): Move misplaced test to llround_test. Add testcase
5581 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5583 * sysdeps/x86_64/fpu/e_expf.S: New file.
5584 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5586 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5589 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5590 of remain_len that may cause incomplete multi-byte character and
5592 * posix/bug-regex33.c: New file.
5593 * posix/Makefile (tests): Add bug-regex33.
5595 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5597 * manual/macros.texi: New file.
5598 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5599 * manual/libc.texinfo: Include macros.texi.
5600 * manual/creatute.texi: Likewise.
5601 * manual/install.texi: Likewise.
5602 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5603 @glibcadj{} in references to the GNU C Library.
5604 * manual/charset.texi: Likewise.
5605 * manual/conf.texi: Likewise.
5606 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5607 when not using those macros.
5608 * manual/creature.texi: Likewise.
5609 * manual/crypt.texi: Likewise.
5610 * manual/errno.texi: Likewise.
5611 * manual/filesys.texi: Likewise.
5612 * manual/header.texi: Likewise.
5613 * manual/install.texi: Likewise.
5614 * manual/intro.texi: Likewise.
5615 * manual/io.texi: Likewise.
5616 * manual/job.texi: Likewise.
5617 * manual/lang.texi: Likewise.
5618 * manual/libc.texiinfo: Likewise.
5619 * manual/llio.texi: Likewise.
5620 * manual/locale.texi: Likewise.
5621 * manual/maint.texi: Likewise.
5622 * manual/math.texi: Likewise.
5623 * manual/memory.texi: Likewise.
5624 * manual/message.texi: Likewise.
5625 * manual/nss.texi: Likewise.
5626 * manual/pattern.texi: Likewise.
5627 * manual/process.texi: Likewise.
5628 * manual/resource.texi: Likewise.
5629 * manual/search.texi: Likewise.
5630 * manual/setjmp.texi: Likewise.
5631 * manual/signal.texi: Likewise.
5632 * manual/socket.texi: Likewise.
5633 * manual/startup.texi: Likewise.
5634 * manual/stdio.texi: Likewise.
5635 * manual/string.texi: Likewise.
5636 * manual/sysinfo.texi: Likewise.
5637 * manual/syslog.texi: Likewise.
5638 * manual/terminal.texi: Likewise.
5639 * manual/time.texi: Likewise.
5640 * manual/users.texi: Likewise.
5641 * INSTALL: Regenerated.
5642 * NOTES: Regenerated.
5643 * sysdeps/gnu/errlist.c: Regenerated.
5645 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5647 * include/dirent.h: Include <dirstream.h> before
5650 2012-02-28 David S. Miller <davem@davemloft.net>
5652 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5653 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5654 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5655 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5657 2012-02-27 David S. Miller <davem@davemloft.net>
5659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5661 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5662 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5665 frame pointer instead of stack pointer relative arg slot.
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5670 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5673 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5675 2012-02-27 David S. Miller <davem@davemloft.net>
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5683 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5686 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5688 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5689 later. Allow versions 5-9.
5690 * configure: Regenerated.
5691 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5692 required minimum version and 4.6 as recommended version. Do not
5693 mention bugs in GCC 2.7 and 2.8.
5694 * INSTALL: Regenerated.
5696 2012-02-27 David S. Miller <davem@davemloft.net>
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5704 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5708 manipulate bits before adding and subtracting TWO112[sx].
5709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5711 2012-02-27 Roland McGrath <roland@hack.frob.com>
5714 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5715 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5716 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5717 being in POSIX, because they are in 1003.1-2008.
5719 * rt/tst-aio.c: Include <fcntl.h>.
5720 * rt/tst-aio7.c: Likewise.
5721 * rt/tst-aio64.c: Likewise.
5723 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5725 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5727 * manual/install.texi (--with-headers): Describe headers as
5728 interface headers, not private headers.
5729 (Specific advice for GNU/Linux systems): Describe use of headers
5730 from "make headers_install", not private headers from older
5732 * INSTALL: Regenerated.
5733 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5735 * sysdeps/unix/sysv/linux/configure: Regenerated.
5737 * manual/llio.texi (fclean): Remove documentation.
5739 * manual/Makefile (libc-texi-generated): New variable. Include
5741 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5742 $(libc-texi-generated), not duplicated list of files.
5743 (version.texi, stamp-version): New rules.
5744 (realclean): Remove $(libc-texi-generated), not individual files
5745 from that list. Do not remove dir-add.texinfo.
5746 * manual/libc.texinfo: Comment out uses of edition numbers and
5747 references to printed manual. Remove last-updated dates.
5748 (EDITION): Comment out.
5750 (VERSION, UPDATED): Remove.
5751 (version.texi): Include.
5753 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5755 * sysdeps/posix/spawni.c: Include <signal.h>.
5756 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5757 * sysdeps/pthread/aio_fsync.c: Likewise.
5759 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5761 * conform/Makefile (tests): Run only when not cross-compiling and
5762 when fast-check is not defined.
5764 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5765 * conform/data/limits.h-data: Fixes for POSIX2008.
5766 * conform/run-conformtest.sh: Run all tests.
5767 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5769 * include/bits/dlfcn.h: Likewise.
5770 * include/langinfo.h: Likewise.
5771 * include/monetary.h: Likewise.
5772 * include/sys/poll.h: Likewise.
5774 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5776 * posix/spawn.h: Define __need_sigset_t.
5777 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5778 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5779 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5780 to get sigevent_t only.
5781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5784 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5785 process_vm_writev only for __USE_GNU.
5786 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5788 * conform/Makefile: For now ignore errors from run-conformtest.
5789 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5790 POSIX to avoid namespace pollution. Don't prepend headers.
5791 * conform/data/aio.h-data: Fixes for POSIX testing.
5792 * conform/data/fcntl.h-data: Likewise.
5793 * conform/data/glob.h-data: Likewise.
5794 * conform/data/grp.h-data: Likewise.
5795 * conform/data/pthread.h-data: Likewise.
5796 * conform/data/pwd.h-data: Likewise.
5797 * conform/data/signal.h-data: Likewise.
5798 * conform/data/spawn.h-data: Likewise.
5799 * conform/data/stdio.h-data: Likewise.
5800 * conform/data/stdlib.h-data: Likewise.
5801 * conform/data/stropts.h-data: Likewise.
5802 * conform/data/sys/mman.h-data: Likewise.
5803 * conform/data/sys/stat.h-data: Likewise.
5804 * conform/data/sys/types.h-data: Likewise.
5805 * conform/data/sys/wait.h-data: Likewise.
5806 * conform/data/time.h-data: Likewise.
5807 * conform/data/unistd.h-data: Likewise.
5808 * conform/data/utime.h-data: Likewise.
5810 * io/sys/stat.h: fchmod was always in POSIX.
5811 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5812 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5813 * rt/aio.h: Define __need_timespec before including <time.h>.
5814 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5815 struct. Add forward declaration of pthread_attr_t and use it in
5817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5819 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5820 always remove CLK_TCK definition.
5822 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5824 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5826 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5828 * conform/run-conformtest.sh: New file.
5829 * conform/Makefile: Run run-conformtest for tests.
5830 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5833 * conform/data/uchar.h-data: New file.
5834 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5835 * conform/data/arpa/inet.h-data: Likewise.
5836 * conform/data/assert.h-data: Likewise.
5837 * conform/data/complex.h-data: Likewise.
5838 * conform/data/cpio.h-data: Likewise.
5839 * conform/data/ctype.h-data: Likewise.
5840 * conform/data/dirent.h-data: Likewise.
5841 * conform/data/dlfcn.h-data: Likewise.
5842 * conform/data/errno.h-data: Likewise.
5843 * conform/data/fcntl.h-data: Likewise.
5844 * conform/data/float.h-data: Likewise.
5845 * conform/data/fmtmsg.h-data: Likewise.
5846 * conform/data/fnmatch.h-data: Likewise.
5847 * conform/data/ftw.h-data: Likewise.
5848 * conform/data/glob.h-data: Likewise.
5849 * conform/data/grp.h-data: Likewise.
5850 * conform/data/iconv.h-data: Likewise.
5851 * conform/data/inttypes.h-data: Likewise.
5852 * conform/data/langinfo.h-data: Likewise.
5853 * conform/data/libgen.h-data: Likewise.
5854 * conform/data/limits.h-data: Likewise.
5855 * conform/data/locale.h-data: Likewise.
5856 * conform/data/math.h-data: Likewise.
5857 * conform/data/monetary.h-data: Likewise.
5858 * conform/data/mqueue.h-data: Likewise.
5859 * conform/data/ndbm.h-data: Likewise.
5860 * conform/data/net/if.h-data: Likewise.
5861 * conform/data/netdb.h-data: Likewise.
5862 * conform/data/netinet/in.h-data: Likewise.
5863 * conform/data/nl_types.h-data: Likewise.
5864 * conform/data/poll.h-data: Likewise.
5865 * conform/data/pthread.h-data: Likewise.
5866 * conform/data/pwd.h-data: Likewise.
5867 * conform/data/regex.h-data: Likewise.
5868 * conform/data/sched.h-data: Likewise.
5869 * conform/data/search.h-data: Likewise.
5870 * conform/data/semaphore.h-data: Likewise.
5871 * conform/data/setjmp.h-data: Likewise.
5872 * conform/data/signal.h-data: Likewise.
5873 * conform/data/spawn.h-data: Likewise.
5874 * conform/data/stdarg.h-data: Likewise.
5875 * conform/data/stdio.h-data: Likewise.
5876 * conform/data/stdlib.h-data: Likewise.
5877 * conform/data/string.h-data: Likewise.
5878 * conform/data/strings.h-data: Likewise.
5879 * conform/data/stropts.h-data: Likewise.
5880 * conform/data/sys/ipc.h-data: Likewise.
5881 * conform/data/sys/mman.h-data: Likewise.
5882 * conform/data/sys/msg.h-data: Likewise.
5883 * conform/data/sys/resource.h-data: Likewise.
5884 * conform/data/sys/select.h-data: Likewise.
5885 * conform/data/sys/sem.h-data: Likewise.
5886 * conform/data/sys/shm.h-data: Likewise.
5887 * conform/data/sys/socket.h-data: Likewise.
5888 * conform/data/sys/stat.h-data: Likewise.
5889 * conform/data/sys/statvfs.h-data: Likewise.
5890 * conform/data/sys/time.h-data: Likewise.
5891 * conform/data/sys/timeb.h-data: Likewise.
5892 * conform/data/sys/times.h-data: Likewise.
5893 * conform/data/sys/types.h-data: Likewise.
5894 * conform/data/sys/uio.h-data: Likewise.
5895 * conform/data/sys/un.h-data: Likewise.
5896 * conform/data/sys/utsname.h-data: Likewise.
5897 * conform/data/sys/wait.h-data: Likewise.
5898 * conform/data/syslog.h-data: Likewise.
5899 * conform/data/tar.h-data: Likewise.
5900 * conform/data/termios.h-data: Likewise.
5901 * conform/data/utime.h-data: Likewise.
5902 * conform/data/utmpx.h-data: Likewise.
5903 * conform/data/varargs.h-data: Likewise.
5904 * conform/data/wchar.h-data: Likewise.
5905 * conform/data/wctype.h-data: Likewise.
5906 * conform/data/wordexp.h-data: Likewise.
5908 * include/stropts.h: New file.
5909 * include/uchar.h: New file.
5910 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5911 * include/assert.h: Likewise.
5912 * include/ctype.h: Likewise.
5913 * include/dirent.h: Likewise.
5914 * include/dlfcn.h: Likewise.
5915 * include/fcntl.h: Likewise.
5916 * include/fnmatch.h: Likewise.
5917 * include/glob.h: Likewise.
5918 * include/grp.h: Likewise.
5919 * include/libio.h: Likewise.
5920 * include/locale.h: Likewise.
5921 * include/math.h: Likewise.
5922 * include/net/if.h: Likewise.
5923 * include/netdb.h: Likewise.
5924 * include/netinet/in.h: Likewise.
5925 * include/pthread.h: Likewise.
5926 * include/pwd.h: Likewise.
5927 * include/regex.h: Likewise.
5928 * include/sched.h: Likewise.
5929 * include/search.h: Likewise.
5930 * include/setjmp.h: Likewise.
5931 * include/signal.h: Likewise.
5932 * include/stdio.h: Likewise.
5933 * include/stdlib.h: Likewise.
5934 * include/string.h: Likewise.
5935 * include/sys/cdefs.h: Likewise.
5936 * include/sys/mman.h: Likewise.
5937 * include/sys/msg.h: Likewise.
5938 * include/sys/resource.h: Likewise.
5939 * include/sys/select.h: Likewise.
5940 * include/sys/socket.h: Likewise.
5941 * include/sys/stat.h: Likewise.
5942 * include/sys/statvfs.h: Likewise.
5943 * include/sys/time.h: Likewise.
5944 * include/sys/times.h: Likewise.
5945 * include/sys/uio.h: Likewise.
5946 * include/sys/utsname.h: Likewise.
5947 * include/sys/wait.h: Likewise.
5948 * include/termios.h: Likewise.
5949 * include/time.h: Likewise.
5950 * include/ulimit.h: Likewise.
5951 * include/unistd.h: Likewise.
5952 * include/utime.h: Likewise.
5953 * include/wchar.h: Likewise.
5954 * include/wctype.h: Likewise.
5955 * include/wordexp.h: Likewise.
5957 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5959 * time/time.h: TIME_UTC must be a macro.
5960 Make timespec_get available for ISO C11 only as well.
5962 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5964 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5965 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5967 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5969 * configure.in: Use -o not -a in test for unsupported multi-arch.
5971 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5973 * manual/texinfo.tex: Update to version 2012-01-19.16.
5975 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5977 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5979 2012-02-24 Roland McGrath <roland@hack.frob.com>
5982 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5983 * manual/fdl-1.3.texi: New file.
5984 * manual/fdl-1.1.texi: File removed.
5987 * manual/libc.texinfo (FDL_VERSION): New @set.
5988 Use it for mention of FDL in cover text.
5989 (Documentation License): Use it in @include file name.
5991 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5992 Roland McGrath <roland@hack.frob.com>
5995 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5996 not LONG_LONG_MAX and LONG_LONG_MIN.
5997 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5998 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6000 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6006 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6007 manipulate bits before adding and subtracting TWO23[sx].
6008 * math/libm-test.inc (nearbyint_test): Add more tests.
6010 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6013 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6014 bits before adding and subtracting TWO23[sx].
6015 * math/libm-test.inc (rint_test): Add more tests.
6016 (rint_test_tonearest): Likewise.
6017 (rint_test_towardzero): Likewise.
6018 (rint_test_downward): Likewise.
6019 (rint_test_upward: Likewise.
6021 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6024 * include/stdc-predef.h: New file. Extracted from features.h.
6025 * include/features.h: Include stdc-predef.h.
6026 * Makefile (headers): Add stdc-predef.h.
6027 * CONFORMANCE (Compiler limitations): Update.
6029 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6031 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6033 2012-02-21 David S. Miller <davem@davemloft.net>
6035 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6038 2012-02-20 David S. Miller <davem@davemloft.net>
6040 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6041 using a normal save/restore sequence, rather than allocating a
6042 dummy stack frame just to store a frame pointer and restore.
6043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6045 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6047 * manual/install.texi: Fix stray word in line-wrapped comment.
6049 2012-02-20 David S. Miller <davem@davemloft.net>
6051 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6052 both binutils and gcc support GOTDATA.
6054 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6055 "rd %pc" in the PIC register setup sequences.
6057 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6058 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6059 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6060 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6066 (SYSCALL_ERROR_HANDLER): Likewise.
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6070 (SYSCALL_ERROR_HANDLER): Likewise.
6072 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6073 (HAVE_GCC_GOTDATA): New.
6074 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6075 relocation support in both binutils and gcc.
6076 * sysdeps/sparc/elf/configure: Regenerate.
6078 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6079 * sysdeps/sparc/sparc32/elf/configure: Delete.
6080 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6081 * sysdeps/sparc/sparc64/elf/configure: Delete.
6082 * sysdeps/sparc/elf/configure.in: New file.
6083 * sysdeps/sparc/elf/configure: Generate.
6085 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6086 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6088 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6089 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6091 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6093 * manual/install.texi: Do not mention specific glibc version
6095 * manual/libc.texinfo (VERSION, UPDATED): Update.
6096 (@copying): Use @copyright{} and range of years.
6098 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6101 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6102 [crti.S not in sysdirs] (generated): Do not append.
6103 [crti.S not in sysdirs] (omit-deps): Likewise.
6104 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6105 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6106 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6107 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6108 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6110 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6111 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6112 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6113 * csu/defs.awk: Remove file.
6114 * sysdeps/generic/initfini.c: Likewise.
6115 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6117 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6120 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6122 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6123 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6124 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6127 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6129 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6130 (__EPOLL_PACKED): Define to empty if not defined by
6132 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6136 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6138 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6139 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6140 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6141 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6143 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6147 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6149 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6156 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6161 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6163 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6164 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6166 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6168 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6171 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6173 * math/w_acos.c: Use non-signaling floating-point comparisons.
6174 * math/w_acosf.c: Likewise.
6175 * math/w_acosh.c: Likewise.
6176 * math/w_acoshf.c: Likewise.
6177 * math/w_acoshl.c: Likewise.
6178 * math/w_acosl.c: Likewise.
6179 * math/w_asin.c: Likewise.
6180 * math/w_asinf.c: Likewise.
6181 * math/w_asinl.c: Likewise.
6182 * math/w_atanh.c: Likewise.
6183 * math/w_atanhf.c: Likewise.
6184 * math/w_atanhl.c: Likewise.
6185 * math/w_exp2.c: Likewise.
6186 * math/w_exp2f.c: Likewise.
6187 * math/w_exp2l.c: Likewise.
6188 * math/w_j0.c: Likewise.
6189 * math/w_j0f.c: Likewise.
6190 * math/w_j0l.c: Likewise.
6191 * math/w_j1.c: Likewise.
6192 * math/w_j1f.c: Likewise.
6193 * math/w_j1l.c: Likewise.
6194 * math/w_jn.c: Likewise.
6195 * math/w_jnf.c: Likewise.
6196 * math/w_log.c: Likewise.
6197 * math/w_log10.c: Likewise.
6198 * math/w_log10f.c: Likewise.
6199 * math/w_log10l.c: Likewise.
6200 * math/w_log2.c: Likewise.
6201 * math/w_log2f.c: Likewise.
6202 * math/w_log2l.c: Likewise.
6203 * math/w_logf.c: Likewise.
6204 * math/w_logl.c: Likewise.
6205 * math/w_sqrt.c: Likewise.
6206 * math/w_sqrtf.c: Likewise.
6207 * math/w_sqrtl.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6214 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6217 * manual/string.texi (strnlen): Use correct parameter name in
6218 equivalent expression.
6220 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6223 * manual/users.texi (seteuid): Consistently use neweuid for
6226 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6229 * manual/nss.texi (Services in the NSS configuration): Correct
6230 list of services in example configuration file.
6232 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6235 * manual/arith.texi: Remove statements about negative zero
6236 behaving identically to zero.
6238 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6241 * manual/install.texi: Do not document upgrading from libc5.
6243 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6246 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6248 2012-02-18 David S. Miller <davem@davemloft.net>
6250 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6251 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6252 %o7 across the call.
6253 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6258 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6259 * sysdeps/sparc/crtn.S: Likewise.
6261 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6263 * aout/Makefile: Remove.
6265 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6268 * manual/examples/argp-ex1.c (main): Format definition in GNU
6270 * manual/examples/argp-ex2.c (main): Likewise.
6271 * manual/examples/argp-ex3.c (main): Likewise.
6272 * manual/examples/argp-ex4.c (main): Likewise.
6273 * manual/examples/longopt.c (main): Use new-style prototype
6275 * manual/examples/strncat.c (main): Specify return type and use
6276 (void) for arguments.
6277 * manual/examples/subopt.c (main): Use char **argv argument.
6279 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6282 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6285 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6288 * manual/string.texi (strchr): Change when strchrnul is
6291 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6294 * manual/locale.texi (setlocale): Document LOCPATH.
6296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6299 * manual/process.texi (execle): Move @dots{} before last argument.
6301 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6304 * manual/charset.texi (Generic Charset Conversion): Fix typo
6305 (LC_TYPE -> LC_CTYPE).
6307 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6310 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6311 (scalbnf): Likewise.
6312 (scalbnl): Likewise.
6313 (scalbln): Likewise.
6314 (scalblnf): Likewise.
6315 (scalblnl): Likewise.
6316 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6320 * manual/filesys.texi (telldir): Use braces around return type.
6321 * manual/llio.texi (mmap): Add space after comma.
6323 * manual/math.texi (jn): Use @var{} on parameter names.
6329 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6331 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6333 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6334 (sched_get_priority_max): Likewise.
6335 * manual/signal.texi (sigvec): Add space after comma.
6336 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6338 (if_indextoname): Likewise.
6339 (if_freenameindex): Likewise.
6340 (sendto): Use ',' instead of '.' in prototype.
6341 * manual/startup.texi (syscall): Use @dots{} instead of literal
6343 * manual/stdio.texi (__fpending): Separate initial words of
6344 paragraph from @deftypefun line.
6345 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6347 (vsyslog): Use @var{} on parameter names.
6348 * manual/terminal.texi (stty): Use @var{} on parameter names.
6349 * manual/users.texi (getutmp): Use @var{} on parameter names.
6350 (getutmpx): Likewise.
6352 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6355 * manual/stdio.texi (fopen): Fix typos in description of
6358 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6361 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6362 get clock_id definition.
6364 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6367 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6368 (madvise): Cast every argument to void on its own.
6370 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6373 * manual/startup.texi (Exit Status): Fix typo.
6375 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6378 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6379 * manual/examples/argp-ex2.c: Likewise.
6380 * manual/examples/argp-ex3.c: Likewise.
6382 2012-02-16 Richard Henderson <rth@redhat.com>
6384 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6385 * sysdeps/s390/s390-32/initfini.c: Remove.
6386 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6387 * sysdeps/s390/s390-64/initfini.c: Remove.
6389 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6391 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6392 compiler output for sysdeps/generic/initfini.c.
6393 * sysdeps/sh/elf/initfini.c: Remove file.
6395 2012-02-16 David S. Miller <davem@davemloft.net>
6398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6400 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6401 * sysdeps/sparc/crti.S: New file.
6402 * sysdeps/sparc/crtn.S: New file.
6403 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6404 * sysdeps/sparc/sparc64/Makefile: Likewise.
6406 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6409 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6411 2012-02-15 Roland McGrath <roland@hack.frob.com>
6414 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6416 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6417 (write, read, close): Likewise.
6418 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6420 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6422 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6423 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6425 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6427 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6431 2012-02-14 Marek Polacek <polacek@redhat.com>
6433 * sysdeps/x86_64/crti.S: New file.
6434 * sysdeps/x86_64/crtn.S: New file.
6435 * sysdeps/x86_64/elf/initfini.c: Remove file.
6437 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6439 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6440 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6442 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6444 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6448 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6450 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6451 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6453 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6455 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6459 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6461 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6462 __feraiseexcept instead of feraiseexcept.
6464 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6465 nanosleep invocations.
6466 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6467 strings, and add error checking for a nanosleep invocations.
6469 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6471 Replace FSF snail mail address with URLs, as per GNU coding standards.
6472 Most of the snail mail addresses were wrong anyway, and omitting
6473 them makes the source code easier to maintain. Almost all of the
6474 changes are to license notices and to locale LC_IDENTIFICATION
6475 addresses, except for this one:
6476 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6477 not its snail mail address.
6479 2012-02-09 Richard Henderson <rth@twiddle.net>
6481 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6482 of kernel-features.h.
6484 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6486 2012-02-08 Marek Polacek <polacek@redhat.com>
6488 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6489 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6490 * sysdeps/gnu/_G_config.h: Likewise.
6491 * sysdeps/generic/_G_config.h: Likewise.
6493 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6495 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499 * sysdeps/powerpc/powerpc32/crti.S: New file.
6500 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6501 * sysdeps/powerpc/powerpc64/crti.S: New file.
6502 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6504 * Makeconfig (have-initfini): Don't set.
6505 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6506 * configure.in (nopic_initfini): Don't substitute.
6507 * config.h.in (HAVE_INITFINI): Don't #undef.
6508 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6509 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6511 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6513 Support crti.S and crtn.S provided directly by architectures.
6514 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6515 [crti.S in sysdirs] (omit-deps): Likewise.
6516 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6517 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6518 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6519 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6520 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6521 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6522 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6523 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6524 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6525 compiler output for sysdeps/generic/initfini.c.
6526 * sysdeps/i386/elf/Makefile: Remove file.
6527 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6529 2012-02-07 Marek Polacek <polacek@redhat.com>
6531 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6532 * sysdeps/gnu/_G_config.h: Likewise.
6533 * sysdeps/mach/hurd/_G_config.h: Likewise.
6535 2012-02-07 Marek Polacek <polacek@redhat.com>
6537 * math/Makefile (tests): Add tst-CMPLX2.
6538 * math/tst-CMPLX2.c: New file.
6540 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6544 * math/libm-test.inc (jn_test): Add missing L suffix.
6546 2012-02-06 Marek Polacek <polacek@redhat.com>
6548 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6549 * sysdeps/i386/fpu/e_powf.S: Likewise.
6550 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6551 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6553 * sysdeps/i386/fpu/e_pow.S: Likewise.
6554 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6556 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6557 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6558 * sysdeps/i386/fpu/e_log2.S: Likewise.
6559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6561 * sysdeps/i386/fpu/e_powl.S: Likewise.
6562 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6564 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6565 * sysdeps/i386/fpu/e_logl.S: Likewise.
6566 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6567 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6568 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6569 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6571 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6572 * sysdeps/i386/fpu/e_log.S: Likewise.
6573 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6575 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6576 * sysdeps/i386/fpu/e_logf.S: Likewise.
6577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6579 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6582 * sysdeps/i386/fpu/e_log10.S: Likewise.
6583 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6585 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6586 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6589 * sysdeps/i386/asm-syntax.h: Likewise.
6590 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6592 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6593 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6594 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6596 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6597 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6599 * sysdeps/powerpc/sysdep.h: Likewise.
6600 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6603 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6606 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6608 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6610 * sysdeps/i386/sysdep.h: Include <features.h>.
6611 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6614 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6616 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6618 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6621 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6623 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6624 (SETUP_PIC_REG): Use GET_PC_THUNK.
6625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6628 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6631 for non-PIC compilation.
6632 (SETUP_PIC_REG): Add .p2align directive.
6633 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6634 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6675 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6677 * math/tst-CMPLX.c: Include <stdio.h>.
6679 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6684 * sysdeps/sparc/bits/mathdef.h: Likewise.
6686 2012-01-31 Marek Polacek <polacek@redhat.com>
6688 * libio/libio.h: Don't define _PARAMS.
6689 * locale/programs/config.h: Don't define PARAMS.
6690 * stdlib/strtol_l.c: Likewise.
6691 (__strtol_l): Remove PARAMS from the prototype.
6693 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6695 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6696 names. Just use the correct names. Remove unnecessary wrapper
6698 * malloc/arena.c: Likewise.
6699 * malloc/hooks.c: Likewise.
6701 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6702 ARENA_TEST says not to. Simplify test for creation of a new arena.
6703 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6705 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6707 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6709 (update_get_addr): New function.
6710 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6711 GET_ADDR_MODULE parameter.
6713 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6715 * crypt/cert.c: Remove __STDC__ conditionals.
6716 * crypt/crypt-entry.c: Likewise.
6717 * crypt/crypt_util.c: Likewise.
6718 * libio/filedoalloc.c: Likewise.
6719 * libio/fileops.c: Likewise.
6720 * libio/genops.c: Likewise.
6721 * libio/iofclose.c: Likewise.
6722 * libio/iofdopen.c: Likewise.
6723 * libio/iofopen.c: Likewise.
6724 * libio/iofopen64.c: Likewise.
6725 * libio/iogetdelim.c: Likewise.
6726 * libio/iopopen.c: Likewise.
6727 * libio/obprintf.c: Likewise.
6728 * libio/oldfileops.c: Likewise.
6729 * libio/oldiofclose.c: Likewise.
6730 * libio/oldiofdopen.c: Likewise.
6731 * libio/oldiofopen.c: Likewise.
6732 * libio/oldiopopen.c: Likewise.
6733 * libio/wfiledoalloc.c: Likewise.
6734 * libio/wgenops.c: Likewise.
6735 * locale/programs/xmalloc.c: Likewise.
6736 * misc/syslog.c: Likewise.
6737 * stdio-common/xbug.c: Likewise.
6738 * string/memchr.c: Likewise.
6739 * string/memcmp.c: Likewise.
6740 * string/memrchr.c: Likewise.
6741 * string/rawmemchr.c: Likewise.
6742 * sysdeps/posix/getcwd.c: Likewise.
6743 * time/strftime_l.c: Likewise.
6745 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6747 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6748 * config.make.in (config-cflags-sse2avx): Define.
6749 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6752 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6754 * scripts/config.guess: Update from upstream config git repository.
6755 * scripts/config.sub: Likewise.
6757 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6759 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6761 (R_TILEPRO_*, R_TILEGX_*): New macros.
6763 * scripts/firstversions.awk: Fix bug in version range handling.
6765 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6767 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6769 * include/sys/epoll.h: New file.
6770 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6773 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6775 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6776 Avoid unnecessary __WORDSIZE == 64 test.
6777 (fmaxf): Use VEX format if possible.
6782 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6783 * math/math_private.h: Remove libc_fegetround* and
6785 * sysdeps/i386/configure.in: Check for -msse2avx.
6786 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6787 also if SSE2AVX is defined.
6788 Remove libc_fegetround* and libc_fesetround*.
6789 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6790 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6799 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6801 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6805 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6807 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6810 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6812 * Makeconfig (libm): Define.
6813 * elf/Makefile: Add rules to build and run tst-relsort1.
6814 * elf/tst-relsort1.c: New file.
6815 * elf/tst-relsort1mod1.c: New file.
6816 * elf/tst-relsort1mod2.c: New file.
6818 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6820 * math/s_ldexp.c: Remove __STDC__ conditionals.
6821 * math/s_ldexpf.c: Likewise.
6822 * math/s_ldexpl.c: Likewise.
6823 * math/s_nextafter.c: Likewise.
6824 * math/s_nexttowardf.c: Likewise.
6825 * math/s_significand.c: Likewise.
6826 * math/s_significandf.c: Likewise.
6827 * math/s_significandl.c: Likewise.
6828 * math/w_jnl.c: Likewise.
6829 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6830 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6831 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6832 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6833 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6848 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6869 * sysdeps/ieee754/k_standard.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6949 * sysdeps/ieee754/s_matherr.c: Likewise.
6950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6955 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6957 * crypt/md5.h: Remove __STDC__ conditionals.
6958 * libio/libioP.h: Likewise.
6959 * locale/programs/config.h: Likewise.
6960 * sysdeps/generic/sysdep.h: Likewise.
6961 * sysdeps/i386/asm-syntax.h: Likewise.
6962 * sysdeps/s390/asm-syntax.h: Likewise.
6963 * sysdeps/unix/sysdep.h: Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6967 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6969 * libio/libio.h: Remove __STDC__ conditionals.
6970 * malloc/obstack.h: Likewise.
6971 * math/complex.h: Likewise.
6972 * math/math.h: Likewise.
6973 * sysdeps/generic/_G_config.h: Likewise.
6974 * sysdeps/gnu/_G_config.h: Likewise.
6975 * sysdeps/mach/hurd/_G_config.h: Likewise.
6976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6978 * sysdeps/sparc/bits/mathdef.h: Likewise.
6980 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6984 Clean up HAS_* macros.
6985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6986 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6996 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6998 * elf/tst-unique3.cc (gets): Remove declaration.
6999 * elf/tst-unique3lib.cc (gets): Likewise.
7000 * elf/tst-unique3lib2.cc (gets): Likewise.
7001 * elf/tst-unique4.cc (gets): Likewise.
7003 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7005 * include/stdio.h: Add C++ protection. Add gets declarations and
7007 * debug/tst-chk1.c: Don't declare gets here.
7008 * stdio-common/tst-gets.c: Likewise.
7010 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7012 * posix/glob: Remove directory.
7014 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7016 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7018 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7020 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7021 of the non-standard EPFNOSUPPORT.
7023 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7025 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7026 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7027 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7029 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7031 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7033 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7035 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7037 * nscd/grpcache.c (cache_addgr): Likewise.
7038 * nscd/hstcache.c (cache_addhst): Likewise.
7039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7040 * nscd/pwdcache.c (cache_addpw): Likewise.
7041 * nscd/servicescache.c (cache_addserv): Likewise.
7043 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7045 * malloc/malloc.c: Various cleanups.
7046 * malloc/hooks.c: Likewise.
7048 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7049 * stdlib/bug-fmtmsg1.c: New file.
7051 * stdlib/fmtmsg.c (init): Add missing unlock.
7052 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7054 2012-01-12 Marek Polacek <polacek@redhat.com>
7056 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7059 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7061 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7063 macro to ensure uniqueness of label name.
7064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7067 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7076 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7080 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7081 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7084 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7087 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7091 * math/bits/math-finite.h: Add ldexp support.
7093 2012-01-10 Marek Polacek <polacek@redhat.com>
7095 * locale/programs/localedef.h (show_archive_content): Add noreturn
7098 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7100 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7102 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7104 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7106 * io/Makefile (headers): Add bits/poll2.h.
7108 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7111 typo #include statement.
7113 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7115 * include/sys/cdefs.h: Define __attribute_alloc_size.
7116 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7117 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7118 * elf/pldd.c: Likewise.
7119 * iconv/iconv_charmap.c: Likewise.
7120 * iconv/iconvconfig.c: Likewise.
7121 * iconv/strtab.c: Likewise.
7122 * locale/programs/locale.c: Likewise.
7123 * locale/programs/localedef.h: Likewise.
7124 * locale/programs/simple-hash.c: Likewise.
7125 * nscd/nscd.h: Likewise.
7126 * nss/makedb.c: Likewise.
7127 * sysdeps/generic/ldconfig.h: Likewise.
7128 * locale/programs/localedef.c: Remove xmalloc prototype.
7129 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7131 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7133 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7136 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7138 * math/Makefile (tests): Add tst-CMPLX.
7139 * math/tst-CMPLX.c: New file.
7141 * math/complex.h (CMPLXL): Fix typo.
7143 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7144 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7146 * debug/tst-chk1.c: Add poll and ppoll tests.
7147 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7148 * include/sys/poll.h: Add hidden proto for ppoll.
7149 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7150 * sysdeps/mach/hurd/ppoll.c: Likewise.
7151 * io/ppoll.c: Likewise.
7152 * debug/poll_chk.c: New file.
7153 * debug/ppoll_chk.c: New file.
7154 * include/bits/poll2.h: New file.
7155 * io/bits/poll2.h: New file.
7158 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7160 * configure.in: static is always set to yes. Remove.
7161 * config.make.in: Don't set build-static.
7162 * Makeconfig: Remove use of build-static.
7163 * dlfcn/Makefile: Likewise.
7164 * elf/Makefile: Likewise.
7165 * math/Makefile: Likewise.
7166 * misc/Makefile: Likewise.
7167 * nptl/Makefile: Likewise.
7168 * sysdeps/mach/hurd/Makefile: Likewise.
7170 * configure.in: PWD_P is not used anymore.
7171 * config.make.in: Remove PWD_P entry.
7173 * configure.in: Remove last remnants of RANLIB.
7174 No need to check for signed size_t anymore.
7175 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7177 Remove __builtin_expect test because we require at least gcc 3.4.
7178 * aclocal.m4: Likewise.
7180 * wcsmbs/mbrtoc16.c: Implement using towc function.
7181 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7182 * wcsmbs/wcsmbsload.c: Likewise.
7183 * iconv/gconv_simple.c: Likewise.
7184 * iconv/gconv_int.h: Likewise.
7185 * iconv/gconv_builtin.h: Likewise.
7186 * iconv/iconv_prog.c: Remove CHAR16 handling.
7188 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7190 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7192 * configure.in: Remove --with-elf and --enable-bounded options.
7193 Dont set base_machine for ia64. More non-ELF conditions removed.
7194 Remove testing and setting of leading underscore information.
7195 * config.make.in (build-bounded): Set to no.
7196 * config.h.in: Remove NO_UNDERSCORES entry.
7197 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7199 * csu/start.c: Remove !NO_UNDERSCORE code.
7200 * locale/localeinfo.h: Likewise.
7201 * sysdeps/generic/machine-gmon.h: Likewise.
7202 * sysdeps/generic/sysdep.h: Likewise.
7203 * sysdeps/i386/sysdep.h: Likewise.
7204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7205 * sysdeps/mach/sysdep.h: Likewise.
7206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7208 * sysdeps/sh/sysdep.h: Likewise.
7209 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7210 * sysdeps/unix/i386/sysdep.S: Likewise.
7211 * sysdeps/unix/sparc/start.c: Likewise.
7212 * sysdeps/unix/sparc/sysdep.S: Likewise.
7213 * sysdeps/unix/sparc/sysdep.h: Likewise.
7214 * sysdeps/unix/start.c: Likewise.
7215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7216 * sysdeps/x86_64/sysdep.h: Likewise.
7218 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7221 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7223 * argp/argp-fmtstream.h: Use const instead __const.
7224 * argp/argp.h: Likewise.
7225 * assert/assert.h: Likewise.
7226 * bits/fenv.h: Likewise.
7227 * bits/sched.h: Likewise.
7228 * bits/sigset.h: Likewise.
7229 * bits/sigthread.h: Likewise.
7230 * catgets/nl_types.h: Likewise.
7231 * conform/data/pthread.h-data: Likewise.
7232 * crypt/crypt-private.h: Likewise.
7233 * crypt/crypt.h: Likewise.
7234 * crypt/crypt_util.c: Likewise.
7235 * ctype/ctype.h: Likewise.
7236 * debug/execinfo.h: Likewise.
7237 * debug/mbsnrtowcs_chk.c: Likewise.
7238 * debug/mbsrtowcs_chk.c: Likewise.
7239 * debug/wcsnrtombs_chk.c: Likewise.
7240 * debug/wcsrtombs_chk.c: Likewise.
7241 * debug/wcstombs_chk.c: Likewise.
7242 * dirent/dirent.h: Likewise.
7243 * dlfcn/dlfcn.h: Likewise.
7244 * elf/neededtest4.c: Likewise.
7245 * grp/grp.h: Likewise.
7246 * gshadow/gshadow.h: Likewise.
7247 * iconv/gconv.h: Likewise.
7248 * iconv/gconv_int.h: Likewise.
7249 * iconv/gconv_simple.c: Likewise.
7250 * iconv/iconv.h: Likewise.
7251 * iconv/loop.c: Likewise.
7252 * iconv/skeleton.c: Likewise.
7253 * include/aio.h: Likewise.
7254 * include/aliases.h: Likewise.
7255 * include/argz.h: Likewise.
7256 * include/arpa/inet.h: Likewise.
7257 * include/assert.h: Likewise.
7258 * include/dirent.h: Likewise.
7259 * include/dlfcn.h: Likewise.
7260 * include/execinfo.h: Likewise.
7261 * include/fcntl.h: Likewise.
7262 * include/fenv.h: Likewise.
7263 * include/glob.h: Likewise.
7264 * include/grp.h: Likewise.
7265 * include/libintl.h: Likewise.
7266 * include/mntent.h: Likewise.
7267 * include/netdb.h: Likewise.
7268 * include/pwd.h: Likewise.
7269 * include/rpc/netdb.h: Likewise.
7270 * include/sched.h: Likewise.
7271 * include/search.h: Likewise.
7272 * include/shadow.h: Likewise.
7273 * include/signal.h: Likewise.
7274 * include/stdio.h: Likewise.
7275 * include/stdlib.h: Likewise.
7276 * include/string.h: Likewise.
7277 * include/sys/socket.h: Likewise.
7278 * include/sys/stat.h: Likewise.
7279 * include/sys/statfs.h: Likewise.
7280 * include/sys/statvfs.h: Likewise.
7281 * include/sys/syslog.h: Likewise.
7282 * include/sys/time.h: Likewise.
7283 * include/sys/uio.h: Likewise.
7284 * include/time.h: Likewise.
7285 * include/unistd.h: Likewise.
7286 * include/utmp.h: Likewise.
7287 * include/wchar.h: Likewise.
7288 * include/wctype.h: Likewise.
7289 * inet/aliases.h: Likewise.
7290 * inet/arpa/inet.h: Likewise.
7291 * inet/netinet/ether.h: Likewise.
7292 * inet/netinet/in.h: Likewise.
7293 * intl/libintl.h: Likewise.
7294 * io/bits/fcntl2.h: Likewise.
7295 * io/fcntl.h: Likewise.
7296 * io/ftw.h: Likewise.
7297 * io/sys/poll.h: Likewise.
7298 * io/sys/stat.h: Likewise.
7299 * io/sys/statfs.h: Likewise.
7300 * io/sys/statvfs.h: Likewise.
7301 * io/utime.h: Likewise.
7302 * libio/bits/stdio.h: Likewise.
7303 * libio/bits/stdio2.h: Likewise.
7304 * libio/libio.h: Likewise.
7305 * libio/libioP.h: Likewise.
7306 * libio/stdio.h: Likewise.
7307 * locale/lc-ctype.c: Likewise.
7308 * locale/locale.h: Likewise.
7309 * login/utmp.h: Likewise.
7310 * malloc/arena.c: Likewise.
7311 * malloc/malloc.c: Likewise.
7312 * malloc/malloc.h: Likewise.
7313 * malloc/mcheck.c: Likewise.
7314 * malloc/mtrace.c: Likewise.
7315 * math/bits/mathcalls.h: Likewise.
7316 * math/fenv.h: Likewise.
7317 * math/math_private.h: Likewise.
7318 * misc/bits/error.h: Likewise.
7319 * misc/bits/syslog.h: Likewise.
7320 * misc/err.h: Likewise.
7321 * misc/error.h: Likewise.
7322 * misc/fstab.h: Likewise.
7323 * misc/mntent.h: Likewise.
7324 * misc/regexp.h: Likewise.
7325 * misc/search.h: Likewise.
7326 * misc/sgtty.h: Likewise.
7327 * misc/sys/mman.h: Likewise.
7328 * misc/sys/syslog.h: Likewise.
7329 * misc/sys/uio.h: Likewise.
7330 * misc/sys/xattr.h: Likewise.
7331 * misc/ttyent.h: Likewise.
7332 * nis/rpcsvc/ypclnt.h: Likewise.
7333 * nss/nss.h: Likewise.
7334 * posix/bits/unistd.h: Likewise.
7335 * posix/fnmatch.h: Likewise.
7336 * posix/glob.h: Likewise.
7337 * posix/sched.h: Likewise.
7338 * posix/spawn.h: Likewise.
7339 * posix/sys/wait.h: Likewise.
7340 * posix/unistd.h: Likewise.
7341 * posix/wordexp.h: Likewise.
7342 * pwd/pwd.h: Likewise.
7343 * resolv/netdb.h: Likewise.
7344 * resource/sys/resource.h: Likewise.
7345 * rt/aio.h: Likewise.
7346 * rt/bits/mqueue2.h: Likewise.
7347 * rt/mqueue.h: Likewise.
7348 * shadow/shadow.h: Likewise.
7349 * signal/signal.h: Likewise.
7350 * socket/send.c: Likewise.
7351 * socket/sendto.c: Likewise.
7352 * socket/sys/socket.h: Likewise.
7353 * stdio-common/printf.h: Likewise.
7354 * stdlib/bits/stdlib.h: Likewise.
7355 * stdlib/fmtmsg.h: Likewise.
7356 * stdlib/monetary.h: Likewise.
7357 * stdlib/stdlib.h: Likewise.
7358 * stdlib/ucontext.h: Likewise.
7359 * streams/stropts.h: Likewise.
7360 * string/argz.h: Likewise.
7361 * string/bits/string2.h: Likewise.
7362 * string/string.h: Likewise.
7363 * string/strings.h: Likewise.
7364 * sunrpc/rpc/auth.h: Likewise.
7365 * sunrpc/rpc/auth_des.h: Likewise.
7366 * sunrpc/rpc/clnt.h: Likewise.
7367 * sunrpc/rpc/netdb.h: Likewise.
7368 * sunrpc/rpc/pmap_clnt.h: Likewise.
7369 * sunrpc/rpc/xdr.h: Likewise.
7370 * sysdeps/generic/inttypes.h: Likewise.
7371 * sysdeps/generic/net/if.h: Likewise.
7372 * sysdeps/generic/sys/swap.h: Likewise.
7373 * sysdeps/gnu/net/if.h: Likewise.
7374 * sysdeps/gnu/utmpx.h: Likewise.
7375 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7376 * sysdeps/i386/i486/bits/string.h: Likewise.
7377 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7378 * sysdeps/s390/bits/string.h: Likewise.
7379 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7380 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7381 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7382 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7383 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7384 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7385 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7387 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7389 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7390 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7391 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7393 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7395 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7401 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7404 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7407 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7409 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7410 * sysvipc/sys/ipc.h: Likewise.
7411 * sysvipc/sys/msg.h: Likewise.
7412 * sysvipc/sys/sem.h: Likewise.
7413 * sysvipc/sys/shm.h: Likewise.
7414 * termios/termios.h: Likewise.
7415 * time/sys/time.h: Likewise.
7416 * time/time.h: Likewise.
7417 * wcsmbs/bits/wchar2.h: Likewise.
7418 * wcsmbs/uchar.h: Likewise.
7419 * wcsmbs/wchar.h: Likewise.
7420 * wctype/wctype.h: Likewise.
7423 * Makeconfig: Remove all but ELF support including AIX support.
7424 * Makerules: Likewise.
7425 * config.h.in: Likewise.
7426 * config.make.in: Likewise.
7427 * configure: Likewise.
7428 * configure.in: Likewise.
7429 * csu/Makefile: Likewise.
7430 * csu/version.c: Likewise.
7431 * debug/Makefile: Likewise.
7432 * dlfcn/Makefile: Likewise.
7433 * elf/Makefile: Likewise.
7434 * extra-lib.mk: Likewise.
7435 * iconv/Makefile: Likewise.
7436 * include/libc-symbols.h: Likewise.
7437 * include/shlib-compat.h: Likewise.
7438 * resolv/Makefile: Likewise.
7439 * resolv/res_libc.c: Likewise.
7440 * rt/Makefile: Likewise.
7441 * sysdeps/i386/asm-syntax.h: Likewise.
7442 * sysdeps/i386/sysdep.h: Likewise.
7443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7444 * sysdeps/mach/sysdep.h: Likewise.
7445 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7446 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7447 * sysdeps/s390/asm-syntax.h: Likewise.
7448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7450 * sysdeps/sh/sysdep.h: Likewise.
7451 * sysdeps/unix/sparc/sysdep.h: Likewise.
7452 * sysdeps/wordsize-32/divdi3.c: Likewise.
7453 * sysdeps/x86_64/sysdep.h: Likewise.
7455 * argp/Versions: Remove _argp_unlock_xxx.
7458 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7459 * abilist/libBrokenLocale.abilist: Likewise.
7460 * abilist/libanl.abilist: Likewise.
7461 * abilist/libc.abilist: Likewise.
7462 * abilist/libcrypt.abilist: Likewise.
7463 * abilist/libdl.abilist: Likewise.
7464 * abilist/libm.abilist: Likewise.
7465 * abilist/libnsl.abilist: Likewise.
7466 * abilist/libpthread.abilist: Likewise.
7467 * abilist/libresolv.abilist: Likewise.
7468 * abilist/librt.abilist: Likewise.
7469 * abilist/libthread_db.abilist: Likewise.
7470 * abilist/libutil.abilist: Likewise.
7471 * abilist/libnss_db.abilist: New file.
7473 * scripts/abilist.awk: Add support for indirect functions.
7475 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7477 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7479 * shlib-versions: Remove entries for ports architectures.
7481 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7483 * elf/stackguard-macros.h: Remove support for IA-64.
7484 * elf/tst-auditmod1.c: Likewise.
7485 * sysdeps/generic/ldsodefs.h: Likewise.
7487 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7488 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7492 * configure.in: Remove --enable-omitfp support.
7494 * config.make.in: Likewise.
7495 * Makeconfig: Likewise.
7496 * manual/install.texi: Likewise.
7498 In case anyone cares, the IA-64 architecture could move to ports.
7499 * sysdeps/ia64/*: Removed.
7500 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7501 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7504 * configure.in: Remove entries for unsupported architectures.
7507 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7508 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7510 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7511 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7512 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7513 fall back to using wcrtomb.
7514 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7515 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7517 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7518 * wcsmbs/tst-c16c32-1.c: New file.
7520 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7523 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7525 * elf/tst-unique3.cc: Add explicit declaration of gets.
7526 * elf/tst-unique3lib.cc: Likewise.
7527 * elf/tst-unique3lib2.cc: Likewise.
7528 * elf/tst-unique4.cc: Likewise.
7530 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7532 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7535 * assert/assert.h (static_assert): Don't define for C++.
7536 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7537 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7539 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7541 * iconv/loop.c (single loop): Fix assertion in storing of
7544 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7546 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7548 * posix/getconf.c: Update copyright year.
7549 * nss/getent.c: Likewise.
7550 * nss/makedb.c: Likewise.
7551 * iconv/iconvconfig.c: Likewise.
7552 * iconv/iconv_prog.c: Likewise.
7553 * elf/ldconfig.c: Likewise.
7554 * elf/pldd.c: Likewise.
7555 * elf/sotruss.ksh: Likewise.
7556 * catgets/gencat.c: Likewise.
7557 * csu/version.c: Likewise.
7558 * elf/ldd.bash.in: Likewise.
7559 * elf/sprof.c (print_version): Likewise.
7560 * locale/programs/locale.c: Likewise.
7561 * locale/programs/localedef.c: Likewise.
7562 * login/programs/pt_chown.c: Likewise.
7563 * nscd/nscd.c (print_version): Likewise.
7564 * debug/xtrace.sh: Likewise.
7565 * malloc/memusage.sh: Likewise.
7566 * malloc/mtrace.pl: Likewise.
7567 * debug/catchsegv.sh: Likewise.
7569 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7571 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7574 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7577 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7578 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7580 * iconv/gconv_int.h: Likewise.
7581 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7582 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7583 from libc for GLIBC_2.16.
7584 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7585 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7586 * wcsmbs/uchar.h: Really define mbstate_t.
7587 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7588 * wcsmbs/c16rtomb.c: New file.
7589 * wcsmbs/mbrtoc16.c: New file.
7590 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7592 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7593 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7595 * wcsmbs/wchar.h: Add missing __restrict.
7597 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7600 * time/Makefile (routines): Add timespec_get.
7601 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7602 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7603 timespec for ISO C11.
7604 * time/timespec_get.c: New file.
7605 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7606 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7609 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7610 * stdlib/stdlib.h: Declare aligned_alloc.
7611 * Versions.def: Add GLIBC_2.16 for libc.
7612 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7615 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7618 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7622 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7625 * assert/assert.h (static_assert): Define.
7627 * version.h: Update for 2.16 development version.
7630 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7633 * version.h (RELEASE): Bump for 2.15 release.
7634 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7636 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7637 Patch by Marek Polacek <mpolacek@redhat.com>.
7639 * bits/byteswap.h: Protect long long constants with __extension__.
7640 * sysdeps/i386/bits/byteswap.h: Likewise.
7641 * sysdeps/ia64/bits/byteswap.h: Likewise.
7642 * sysdeps/s390/bits/byteswap.h: Likewise.
7643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7645 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7652 2011-12-23 Marek Polacek <polacek@redhat.com>
7654 * elf/dl-addr.c (determine_info): Add inline keyword.
7655 * elf/tst-auditmod4b.c (check_avx): Likewise.
7656 * elf/tst-auditmod6b.c (check_avx): Likewise.
7657 * elf/tst-auditmod6c.c (check_avx): Likewise.
7658 * elf/tst-auditmod7b.c (check_avx): Likewise.
7660 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7665 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7669 processing for last bytes.
7671 2011-08-06 Bruno Haible <bruno@clisp.org>
7674 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7675 U+0385, not to U+1FEE.
7678 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7679 entry for U+00A5 U+0301.
7681 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7684 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7685 buffer for the output is too small.
7687 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7691 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7692 SSE flags if possible.
7694 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7698 processing for last bytes.
7700 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7703 (syscall-list-default-options, syscall-list-default-condition)
7704 (syscall-list-includes): Define.
7705 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7706 list of ABIs and options and #if conditions for each ABI. Do not
7707 handle common syscalls between ABIs specially.
7708 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7710 (syscall-list-variants, syscall-list-32bit-options)
7711 (syscall-list-32bit-condition, syscall-list-64bit-options)
7712 (syscall-list-64bit-condition): Define.
7713 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7714 (syscall-list-variants, syscall-list-32bit-options)
7715 (syscall-list-32bit-condition, syscall-list-64bit-options)
7716 (syscall-list-64bit-condition): Define.
7717 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7719 (syscall-list-variants, syscall-list-32bit-options)
7720 (syscall-list-32bit-condition, syscall-list-64bit-options)
7721 (syscall-list-64bit-condition): Define.
7722 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7724 (syscall-list-variants, syscall-list-32bit-options)
7725 (syscall-list-32bit-condition, syscall-list-64bit-options)
7726 (syscall-list-64bit-condition): Define.
7728 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7730 * locale/iso-639.def: Add brx entry.
7733 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7734 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7736 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7737 __feraiseexcept_renamed.
7739 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7742 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7743 EPOLLET with unsigned values.
7744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7747 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7748 to large cancellation.
7749 * math/s_cacoshf.c: Likewise.
7750 * math/s_cacoshl.c: Likewise.
7752 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7756 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7757 * math/s_cacoshf.c: Likewise.
7758 * math/s_cacoshl.c: Likewise.
7760 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7763 * iconv/gconv.h: Define __GCONV_SWAP.
7764 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7765 * iconvdata/utf-16.c: Likewise.
7766 * iconvdata/utf-32.c: Likewise.
7768 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7772 numerator after shifting it by one limb.
7774 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7777 under [__USE_EXTERN_INLINES].
7779 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7782 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7784 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7786 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7787 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7789 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7791 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7792 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7793 for strncasecmp/strncasecmp_l compilation.
7794 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7795 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7797 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7800 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7803 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7806 * time/tzfile.c (__tzfile_read): Check values from file header.
7808 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7810 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7811 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7812 * powerpc/powerpc32/dl-start.S: Likewise.
7813 * powerpc/powerpc32/elf/start.S: Likewise.
7814 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7815 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7816 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7817 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7818 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7819 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7820 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7821 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7822 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7823 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7824 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7825 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7826 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7827 * powerpc/powerpc32/memset.S: Likewise.
7828 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7829 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7830 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7831 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7832 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7833 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7834 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7835 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7836 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7837 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7842 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844 * math/libm-test.inc: Added more nearbyint tests.
7845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7850 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7852 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7855 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7857 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7858 Add wcscpy-ssse3 wcscpy-c.
7859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7860 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7861 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7862 * sysdeps/x86_64/wcschr.S: New file.
7863 * sysdeps/x86_64/wcsrchr.S: New file.
7864 * string/test-strcmp.c: Remove checking of wcscmp function for
7866 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7867 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7868 wcsrchr-sse2 wcsrchr-c.
7869 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7870 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7871 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7872 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7873 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7874 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7875 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7876 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7878 * wcsmbc/wcschr.c (WCSCHR): New macro.
7880 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7882 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7883 * wcsmbs/test-wcsrchr.c: New file.
7884 * string/test-strrchr.c: Add wcsrchr support.
7886 * wcsmbs/test-wcscpy.c: New file.
7887 * string/test-strcpy.c: Add wcscpy support.
7890 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7892 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7895 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7898 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7900 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7903 Minor optimizations.
7905 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7906 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7907 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7909 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7911 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7912 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7913 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7914 for gcc to avoid warnings.
7915 * inet/Makefile (tests): Add tst-checks.
7916 * inet/tst-checks.c: New file.
7918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7921 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7924 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7925 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7927 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7929 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7931 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7934 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7936 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7939 conditional on GCC version.
7940 (__arch_compare_and_exchange_val_8_acq)
7941 (__arch_compare_and_exchange_val_16_acq)
7942 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7943 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7944 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7946 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/sh/backtrace.c: New file.
7950 2011-12-02 Andreas Schwab <schwab@redhat.com>
7952 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7955 2011-12-01 Andreas Schwab <schwab@redhat.com>
7957 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7958 falling back to utime.
7960 2011-11-30 Andreas Schwab <schwab@redhat.com>
7962 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7963 expectations for float.
7965 2011-11-29 Andreas Schwab <schwab@redhat.com>
7967 * locale/weight.h (findidx): Add parameter len.
7968 * locale/weightwc.h (findidx): Likewise.
7969 * posix/fnmatch_loop.c (FCT): Adjust caller.
7970 * posix/regcomp.c (build_equiv_class): Likewise.
7971 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7972 * posix/regexec.c (check_node_accept_bytes): Likewise.
7973 * string/strcoll_l.c (STRCOLL): Likewise.
7974 * string/strxfrm_l.c (STRXFRM): Likewise.
7976 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7978 * Makefile.in: Remove CVSOPT handling.
7979 * configure.in: Remove use of AC_REVISION.
7980 * iconvdata/Makefile (distribute): No need to filter out CVS.
7981 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7984 2011-11-16 Andreas Schwab <schwab@redhat.com>
7986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7987 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7988 [USE_AS_STRNCASECMP_L]: Likewise.
7989 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7990 NO_TLS_DIRECT_SEG_REFS.
7991 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7992 Fix argument offsets for non-PIC.
7993 [USE_AS_STRNCASECMP_L]: Likewise.
7994 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7995 NO_TLS_DIRECT_SEG_REFS.
7997 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7999 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8001 * locale/loadlocale.c (_nl_load_locale): Likewise.
8003 2011-11-15 Andreas Schwab <schwab@redhat.com>
8005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8006 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8008 (SYSCALL_GETTIME): Set errno on error.
8010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8011 count references to noai6ai_cached.
8013 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8015 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8017 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8018 FD_CLOEXEC for /proc/self/maps.
8020 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8021 FD_CLOEXEC for /proc/meminfo.
8023 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8026 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8027 FD_CLOEXEC for given file.
8029 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8031 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8032 FD_CLOEXEC for /etc/hosts.
8033 (_gethtent): Likewise.
8035 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8037 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8038 cancellation and set FD_CLOEXEC for /etc/netgroup.
8040 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8041 reading /etc/publickey.
8043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8044 allow cancellation when reading /etc/group.
8046 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8048 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8050 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8051 when using data file.
8053 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8055 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8056 (write_nis_obj): Use "c" and "e" in fopen.
8058 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8060 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8062 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8064 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8066 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8069 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8071 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8073 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8075 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8076 file parsing and set FD_CLOEXEC.
8078 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8080 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8082 2011-11-14 Andreas Schwab <schwab@redhat.com>
8084 * malloc/arena.c (arena_get2): Don't call reused_arena when
8085 _int_new_arena failed.
8087 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8089 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8090 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8095 to compile strcasecmp and strncasecmp.
8096 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8097 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8101 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8104 locale-defines.sym to gen-as-const-headers.
8105 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8106 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8108 to compile strcasecmp and strncasecmp.
8109 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8110 strcasecmp_l and strncasecmp_l.
8111 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8112 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8113 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8115 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8117 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8118 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8119 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8120 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8121 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8123 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8125 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8126 result of SYSDEP_GETTIME_CPU to retval.
8127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8128 parameter list to macro. Remove trailing semicolon. Adjust users.
8130 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8133 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8138 from unused variable.
8140 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8142 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8145 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8148 * sunrpc/rpc_prot.c (rejected): Fix case value.
8150 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8151 unsigned long long int to avoid warnings in shift.
8153 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8155 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8159 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8162 * nis/nis_table.c (nis_list): Use variable of correct type for
8163 result of __follow_path call.
8165 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8168 of math functions ceil, trunc, floor, round, and sqrt, when
8169 avaliable on the platform.
8170 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8176 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8178 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8181 2011-11-11 Roland McGrath <roland@hack.frob.com>
8183 * include/unistd.h: Fix __readlink return type.
8184 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8186 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8188 * stdlib/ucontext.h: Undo last change for makecontext.
8190 2011-11-11 Andreas Schwab <schwab@redhat.com>
8192 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8194 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8195 * setjmp/setjmp.h: Mark functions as non-leaf.
8196 * setjmp/bits/setjmp2.h: Likewise.
8197 * stdlib/ucontext.h: Likewise.
8199 2011-11-10 Andreas Schwab <schwab@redhat.com>
8201 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8202 (reused_arena): Don't check arena limit.
8203 (arena_get2): Atomically check arena limit.
8205 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8207 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8208 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8213 2011-11-07 Andreas Schwab <schwab@redhat.com>
8215 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8216 handler when locking.
8218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8219 Fix size of allocated buffer.
8221 2011-11-04 Andreas Schwab <schwab@redhat.com>
8224 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8225 declarations for long double functions.
8226 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8228 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8230 2011-11-03 Andreas Schwab <schwab@redhat.com>
8232 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8235 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8238 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8240 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8242 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8244 * include/alloca.h (stackinfo_alloca_round): Define.
8245 (extend_alloca): Use it.
8246 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8247 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8250 * scripts/check-local-headers.sh: Ignore libaudit.h.
8252 * nscd/Makefile (extra-objs): Make recursively expanded.
8254 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8256 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8259 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8260 * posix/tst-rfc3484-2.c: Likewise.
8261 * posix/tst-rfc3484-3.c: Likewise.
8263 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8265 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8267 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8268 process_vm_writev from libc using GLIBC_2.15 version.
8270 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8272 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8274 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8277 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8280 * nss/getent.c (initgroups_keys): Show error message in case no group
8283 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8284 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8285 __bump_nl_timestamp.
8286 * nscd/connections (nscd_init): When host database is served open
8287 netlink socket and request notification about configuration changes.
8288 (main_loop_poll): Track netlink file descriptor and bump timestamp
8289 in case data becomes available.
8290 (main_loop_epoll): Likewise.
8291 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8292 (database_pers_head): Add extra_data fileds.
8293 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8295 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8298 in6ai data, call __free_in6ai.
8299 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8301 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8302 interface information. Reuse previous data if netlink timestamp
8304 (__bump_nl_timestamp): New function.
8305 (__free_in6ai): New function.
8307 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8309 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8310 close_not_cancel_no_status here.
8311 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8313 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8316 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8319 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8320 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8321 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8323 2011-07-03 Andreas Jaeger <aj@suse.de>
8326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8327 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8328 * math/libm-test.inc (sin_test): Add test case.
8330 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8333 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8334 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8336 * elf/chroot_canon.c (chroot_canon): Cleanups.
8338 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8341 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8342 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8344 * string/test-strchr.c: Make usable for strchrnul testing.
8345 * string/test-strchrnul.c: New file.
8346 * string/Makefile (strop-tests): Add strchrnul.
8348 * po/it.po: Update from translation team.
8349 * po/es.po: Likewise.
8351 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8354 the three constants needed as parameters. Drop the others.
8355 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8356 __m128i_strloadu_tolower.
8357 Create and initialize variable zero and use it in all the places
8358 where _mm_setzero_si128 was used.
8360 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8361 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8362 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8368 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8369 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8370 __mpranred, __mptan.
8371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8375 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8376 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8378 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8379 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8381 2011-10-28 Andreas Schwab <schwab@redhat.com>
8383 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8385 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8388 wide char related routines to wcsmbs subdir.
8390 2011-10-27 Andreas Schwab <schwab@redhat.com>
8393 * misc/sys/cdefs.h (__THROWNL): Define.
8394 * posix/unistd.h: Use __THREADNL instead of __THREAD
8395 for memory synchronization functions.
8397 2011-10-26 Roland McGrath <roland@hack.frob.com>
8400 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8402 * manual/stdio.texi (Obstack Streams): Node removed.
8404 2011-10-26 Andreas Schwab <schwab@redhat.com>
8406 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8410 * math/math_private.h (math_force_eval): Allow non-addressable
8412 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8414 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8416 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8419 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8428 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8429 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8430 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8431 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8432 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8433 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8434 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8435 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8438 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8439 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8442 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8444 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8446 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8448 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8449 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8452 place. Use VEX encoding when compiling for AVX.
8454 2011-10-25 Andreas Schwab <schwab@redhat.com>
8456 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8457 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8459 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8461 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8463 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8464 useless if() expression.
8465 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8485 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8487 2011-10-25 Andreas Schwab <schwab@redhat.com>
8489 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8493 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8495 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8496 .text section. Avoid duplicate constants.
8497 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8509 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8514 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8528 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8530 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8531 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8532 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8533 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8535 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8536 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8543 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8545 * sysdeps/x86_64/dla.h: Move to ...
8546 * sysdeps/x86_64/fpu/dla.h: ...here.
8547 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8548 situations. Use __builtin_fma only for gcc 4.6 and up.
8550 * config.make.in: Add have-mfma4 entry.
8551 * configure.in: Substitute libc_cv_cc_fma4.
8552 * math/Makefile (dbl-only-routines): Add sincostab.
8553 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8554 Use __sincostab not sincos.
8555 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8562 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8563 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8564 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8565 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8568 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8570 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8571 define aliases when function name is a macro.
8572 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8573 sysdeps/ieee754/dbl-64/sincos.tbl.
8574 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8575 fma4-enabled routines.
8576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8577 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8578 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8579 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8586 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8587 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8588 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8607 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8618 2011-10-24 Andreas Schwab <schwab@redhat.com>
8620 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8622 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8630 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8631 Remove unused variable magic_bits.
8632 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8634 * string/strnlen.c: Define and use STRNLEN macro.
8635 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8636 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8638 * wcsmbs/wcslen.c: Define and use WCSLEN.
8639 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8640 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8641 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8642 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8643 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8644 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8647 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8650 strnlen-sse2-no-bsf.
8651 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8654 Add strnlen support.
8655 (USE_AS_STRNLEN): New macro.
8656 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8658 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8659 * sysdeps/x86_64/wcslen.S: New file.
8661 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8664 XMM-moves are used for copying on small sizes.
8666 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8668 * wcsmbs/Makefile (strop-tests): Add wcschr.
8669 * wcsmbs/test-wcschr.c: New file.
8670 * string/test-strchr.c: Update.
8674 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8676 * wcsmbs/Makefile (strop-tests): Add wcslen.
8677 * wcsmbs/test-wcslen.c: New file.
8678 * string/test-strlen.c: Update.
8682 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8684 * po/it.po: Update from translation team.
8686 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8688 * sysdeps/x86_64/wcscmp.S: Update.
8689 Fix wrong comparison semantics.
8690 wcscmp shall use signed comparison not unsigned.
8691 Don't use substraction to avoid overflow bug.
8692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8693 * wcsmbc/wcscmp.c: Likewise.
8694 * string/test-strcmp.c: Likewise.
8695 Add new tests to check cases with negative values.
8697 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8699 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8700 * sysdeps/x86_64/dla.h: ...here. New file.
8701 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8711 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8714 __ynl_finite aliases.
8716 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8720 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8722 [DLA_FMA] (EMULV): Use DLA_FMA.
8723 [DLA_FMA] (MUL12): Use EMULV.
8724 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8725 that are not needed.
8726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8734 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8736 * math/s_nan.c: Undef __nan.
8737 * math/s_nanf.c: Undef __nanf.
8738 * math/s_nanl.c: Undef __nanl.
8739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8742 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8744 * math/s_catan.c: Add branch predictions.
8745 * math/s_catanf.c: Likewise.
8746 * math/s_catanh.c: Likewise.
8747 * math/s_catanhf.c: Likewise.
8748 * math/s_catanhl.c: Likewise.
8749 * math/s_catanl.c: Likewise.
8750 * math/s_cexp.c: Likewise.
8751 * math/s_cexpf.c: Likewise.
8752 * math/s_cexpl.c: Likewise.
8753 * math/s_clog.c: Likewise.
8754 * math/s_clog10.c: Likewise.
8755 * math/s_clog10f.c: Likewise.
8756 * math/s_clog10l.c: Likewise.
8757 * math/s_clogf.c: Likewise.
8758 * math/s_clogl.c: Likewise.
8759 * math/s_csqrt.c: Likewise.
8760 * math/s_csqrtf.c: Likewise.
8761 * math/s_csqrtl.c: Likewise.
8762 * math/s_ctanf.c: Likewise.
8763 * math/s_ctanh.c: Likewise.
8764 * math/s_ctanhf.c: Likewise.
8765 * math/s_ctanhl.c: Likewise.
8766 * math/s_ctanl.c: Likewise.
8768 * math/math_private.h: Define __nan, __nanf, __nanl.
8769 * math/s_cacosh.c: Include <math_private.h>.
8770 * math/s_cacoshl.c: Likewise.
8771 * math/s_casinh.c: Likewise.
8772 * math/s_casinhf.c: Likewise.
8773 * math/s_casinhl.c: Likewise.
8774 * math/s_ccos.c: Rely entire on ccosh.
8775 * math/s_ccosf.c: Rely entire on ccoshf.
8776 * math/s_ccosl.c: Rely entirely on ccoshl.
8777 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8778 Remove tests for FE_INVALID.
8779 * math/s_ccoshf.c: Likewise.
8780 * math/s_ccoshl.c: Likewise.
8781 * math/s_csin.c: Likewise.
8782 * math/s_csinf.c: Likewise.
8783 * math/s_csinh.c Likewise.
8784 * math/s_csinhf.c: Likewise.
8785 * math/s_csinhl.c: Likewise.
8786 * math/s_csinl.c: Likewise.
8787 * math/s_ctan.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8789 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8792 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8795 compilation problems.
8797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8800 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8802 * sysdeps/i386/configure.in: Test for -mfma4 option.
8803 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8804 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8805 COMMON_CPUID_INDEX_80000001.
8806 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8807 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8808 use it if FMA3 is not supported.
8809 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8811 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8814 2011-10-20 Andreas Schwab <schwab@redhat.com>
8817 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8818 it would create a cycle with a link time dependency.
8820 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8822 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8824 * string/Makefile (strop-tests): Add rawmemchr.
8825 * string/test-rawmemchr.c: New file.
8827 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8829 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8830 when compiling str{,n}casecmp and when AVX is available. Hook up
8831 new optimized code in initializers.
8833 2011-10-19 Andreas Schwab <schwab@redhat.com>
8835 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8836 __feraiseexcept instead of feraiseexcept.
8838 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8840 * math/math_private.h: Define defaults for libc_fetestexcept and
8842 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8847 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8848 libc_fetestexcept and libc_feupdateenv.
8850 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8851 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8852 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8853 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8854 libc_feholdexcept_setround.
8856 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8857 Add s_nearbyint-c and s_nearbyintf-c.
8858 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8865 * math/math_private.h: Define defaults for libc_fegetround,
8866 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8867 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8868 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8870 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8873 Remove comments and hacks for old compiler versions.
8874 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8875 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8878 2011-10-18 Andreas Schwab <schwab@redhat.com>
8880 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8881 (__feraiseexcept_renamed): Add __NTH.
8882 (feraiseexcept): Add __NTH. Rename local variables to fix
8883 namespace violations.
8885 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8891 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8892 recently added interfaces.
8893 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8895 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8896 about macro parameter expansion.
8898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8899 __NO_MATH_INLINES is defined. Cleanups.
8901 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8902 and __floorf is target has SSE4.1.
8903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8904 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8908 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8912 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8914 2011-10-17 Andreas Schwab <schwab@redhat.com>
8916 * misc/sys/cdefs.h: Fix last change.
8918 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8921 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8923 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8925 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8935 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8937 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8940 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8942 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8944 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8946 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8949 ceil, ceilf, floor, floorf.
8951 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8952 Perform IRELATIVE relocations last.
8954 * elf/do-rel.h: Add another parameter nrelative, replacing the
8955 local variable with the same name. Change name of the function
8956 to end in Rel or Rela (uppercase).
8957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8958 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8959 elf_dynamic_do_##reloc function.
8961 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8963 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8964 is sufficient, at least on modern CPUs.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8968 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8971 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8973 * math/bits/math-finite.h: Add entries for exp.
8974 * math/e_expl.c: Add __*_finite alias.
8975 * sysdeps/i386/fpu/e_exp.S: Likewise.
8976 * sysdeps/i386/fpu/e_expf.S: Likewise.
8977 * sysdeps/i386/fpu/e_expl.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8979 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8983 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8986 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8987 is sufficient, at least on modern CPUs.
8989 * ctype/ctype-info.c (__ctype_init): Define.
8990 * include/ctype.h (__ctype_init): Declare.
8991 (__ctype_b_loc): The variable is always initialized.
8992 (__ctype_toupper_loc): Likewise.
8993 (__ctype_tolower_loc): Likewise.
8994 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8995 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8997 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8999 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9001 * configure.in: Also look in $cxxmachine/include for C++ system
9004 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9006 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9007 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9008 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9009 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9011 (USE_AS_WMEMCMP): New macro.
9013 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9014 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9015 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9016 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9018 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9019 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9020 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9021 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9022 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9024 (USE_AS_WMEMCMP): New macro.
9025 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9026 * sysdeps/string/test-memcmp.c: Update.
9029 * wcsmbs/wmemcmp.c: Update.
9030 (WMEMCMP): New macro.
9033 2011-10-12 Andreas Jaeger <aj@suse.de>
9036 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9038 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9040 * libio/iofwide.c (do_length): Avoid warning.
9042 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9044 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9046 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9048 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9049 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9050 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9051 * sysdeps/i386/i686/fpu/e_log.S: New file.
9052 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9053 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9055 * ctype/ctype.h: Add support for inlined isXXX functions when
9058 2011-10-14 Andreas Schwab <schwab@redhat.com>
9060 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9062 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9064 2011-10-13 Roland McGrath <roland@hack.frob.com>
9067 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9069 2011-10-13 Andreas Schwab <schwab@redhat.com>
9071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9072 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9075 * sysdeps/x86_64/memrchr.S: Check for zero size.
9077 * string/stratcliff.c: Add memrchr tests.
9079 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9082 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9083 rawmemchr-sse2 rawmemchr-sse2-bsf.
9084 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9085 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9086 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9087 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9088 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9089 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9090 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9091 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9092 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9093 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9094 * string/memrchr.c (MEMRCHR): New macro.
9096 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9098 Add integration with gcc's -ffinite-math-only and optimize wrapper
9100 * Versions.def: Define GLIBC_2.15 version for libm.
9101 * math/Makefile (headers): Add bits/math-finite.h.
9102 * math/bits/math-finite.h: New file.
9103 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9104 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9105 * math/e_acoshl.c: Add __*_finite alias.
9106 * math/e_acosl.c: Likewise.
9107 * math/e_asinl.c: Likewise.
9108 * math/e_atan2l.c: Likewise.
9109 * math/e_atanhl.c: Likewise.
9110 * math/e_coshl.c: Likewise.
9111 * math/e_exp10.c: Likewise.
9112 * math/e_exp10f.c: Likewise.
9113 * math/e_exp10l.c: Likewise.
9114 * math/e_exp2l.c: Likewise.
9115 * math/e_fmodl.c: Likewise.
9116 * math/e_gammal_r.c: Likewise.
9117 * math/e_hypotl.c: Likewise.
9118 * math/e_j0l.c: Likewise.
9119 * math/e_j1l.c: Likewise.
9120 * math/e_jnl.c: Likewise.
9121 * math/e_lgammal_r.c: Likewise.
9122 * math/e_log10l.c: Likewise.
9123 * math/e_log2l.c: Likewise.
9124 * math/e_logl.c: Likewise.
9125 * math/e_powl.c: Likewise.
9126 * math/e_sinhl.c: Likewise.
9127 * math/e_sqrtl.c: Likewise.
9128 * math/e_scalb.c: Completely rewritten and optimized.
9129 * math/e_scalbf.c: Likewise.
9130 * math/e_scalbl.c: Likewise.
9131 * math/w_acos.c: Likewise.
9132 * math/w_acosf.c: Likewise.
9133 * math/w_acosl.c: Likewise.
9134 * math/w_acosh.c: Likewise.
9135 * math/w_acoshf.c: Likewise.
9136 * math/w_acoshl.c: Likewise.
9137 * math/w_asin.c: Likewise.
9138 * math/w_asinf.c: Likewise.
9139 * math/w_asinl.c: Likewise.
9140 * math/w_atan2.c: Likewise.
9141 * math/w_atan2f.c: Likewise.
9142 * math/w_atan2l.c: Likewise.
9143 * math/w_atanh.c: Likewise.
9144 * math/w_atanhf.c: Likewise.
9145 * math/w_atanhl.c: Likewise.
9146 * math/w_exp10.c: Likewise.
9147 * math/w_exp10f.c: Likewise.
9148 * math/w_exp10l.c: Likewise.
9149 * math/w_fmod.c: Likewise.
9150 * math/w_fmodf.c: Likewise.
9151 * math/w_fmodl.c: Likewise.
9152 * math/w_j0.c: Likewise.
9153 * math/w_j0f.c: Likewise.
9154 * math/w_j0l.c: Likewise.
9155 * math/w_j1.c: Likewise.
9156 * math/w_j1f.c: Likewise.
9157 * math/w_j1l.c: Likewise.
9158 * math/w_jn.c: Likewise.
9159 * math/w_jnf.c: Likewise.
9160 * math/w_log.c: Likewise.
9161 * math/w_logf.c: Likewise.
9162 * math/w_logl.c: Likewise.
9163 * math/w_log10.c: Likewise.
9164 * math/w_log10f.c: Likewise.
9165 * math/w_log10l.c: Likewise.
9166 * math/w_log2.c: Likewise.
9167 * math/w_log2f.c: Likewise.
9168 * math/w_log2l.c: Likewise.
9169 * math/w_pow.c: Likewise.
9170 * math/w_powf.c: Likewise.
9171 * math/w_powl.c: Likewise.
9172 * math/w_remainder.c: Likewise.
9173 * math/w_remainderf.c: Likewise.
9174 * math/w_remainderl.c: Likewise.
9175 * math/w_scalb.c: Likewise.
9176 * math/w_scalbf.c: Likewise.
9177 * math/w_scalbl.c: Likewise.
9178 * math/w_sqrt.c: Likewise.
9179 * math/w_sqrtf.c: Likewise.
9180 * math/w_sqrtl.c: Likewise.
9181 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9182 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9184 * math/math_private.h: Declare __kernel_standard_f.
9185 * math/w_cosh.c: Remove cruft and optimize a bit.
9186 * math/w_coshf.c: Likewise.
9187 * math/w_coshl.c: Likewise.
9188 * math/w_exp2.c: Likewise.
9189 * math/w_exp2f.c: Likewise.
9190 * math/w_exp2l.c: Likewise.
9191 * math/w_hypot.c: Likewise.
9192 * math/w_hypotf.c: Likewise.
9193 * math/w_hypotl.c: Likewise.
9194 * math/w_lgamma.c: Likewise.
9195 * math/w_lgamma_r.c: Likewise.
9196 * math/w_lgammaf.c: Likewise.
9197 * math/w_lgammaf_r.c: Likewise.
9198 * math/w_lgammal.c: Likewise.
9199 * math/w_lgammal_r.c: Likewise.
9200 * math/w_sinh.c: Likewise.
9201 * math/w_sinhf.c: Likewise.
9202 * math/w_sinhl.c: Likewise.
9203 * math/w_tgamma.c: Likewise.
9204 * math/w_tgammaf.c: Likewise.
9205 * math/w_tgammal.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9208 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9209 Minor optimizations. Pretty printing. Remove cruft.
9210 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9214 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9215 * sysdeps/i386/fpu/e_asin.S: Likewise.
9216 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9217 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9218 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9219 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9221 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9223 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9224 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9225 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9226 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9227 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9228 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9229 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9230 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9231 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9232 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9233 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9234 * sysdeps/i386/fpu/e_log.S: Likewise.
9235 * sysdeps/i386/fpu/e_log10.S: Likewise.
9236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9238 * sysdeps/i386/fpu/e_log2.S: Likewise.
9239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9240 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9241 * sysdeps/i386/fpu/e_logf.S: Likewise.
9242 * sysdeps/i386/fpu/e_logl.S: Likewise.
9243 * sysdeps/i386/fpu/e_pow.S: Likewise.
9244 * sysdeps/i386/fpu/e_powf.S: Likewise.
9245 * sysdeps/i386/fpu/e_powl.S: Likewise.
9246 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9247 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9248 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9250 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9252 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9253 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9254 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9280 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9284 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9285 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9286 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9288 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9289 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9290 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9291 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9292 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9350 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9351 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9352 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9353 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9354 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9355 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9356 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9357 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9358 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9363 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9365 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9366 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9367 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9368 (__isnanf): Likewise.
9369 (__isinf_ns): Likewise.
9370 (__isinf_nsf): Likewise.
9371 (__finite): Likewise.
9372 (__finitef): Likewise.
9373 (__ieee754_sqrt): Define as macro.
9374 (__ieee754_sqrtf): Define as macro.
9375 (__ieee754_sqrtl): Define as macro.
9376 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9378 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9379 __FINITE_MATH_ONLY__ consistent.
9380 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9382 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9384 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9389 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9391 * po/ja.po: Update from translation team.
9393 2011-10-08 Roland McGrath <roland@hack.frob.com>
9395 * locale/programs/locarchive.c (prepare_address_space): New function.
9396 (create_archive, enlarge_archive, open_archive): Use it.
9398 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9399 inside [SHARED], where it is used.
9401 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9403 * nss/getent.c (netgroup_keys): Remove unused variable.
9404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9406 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9408 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9412 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9413 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9414 * math/Makefile (libm-calls): Add s_isinf_ns.
9415 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9416 * math/multc3.c: Likewise.
9417 * math/s_casin.c: Likewise.
9418 * math/s_casinf.c: Likewise.
9419 * math/s_casinl.c: Likewise.
9420 * math/s_ccos.c: Likewise.
9421 * math/s_ccosf.c: Likewise.
9422 * math/s_ccosl.c: Likewise.
9423 * math/s_ctan.c: Likewise.
9424 * math/s_ctanf.c: Likewise.
9425 * math/s_ctanh.c: Likewise.
9426 * math/s_ctanhf.c: Likewise.
9427 * math/s_ctanhl.c: Likewise.
9428 * math/s_ctanl.c: Likewise.
9429 * math/w_fmod.c: Likewise.
9430 * math/w_fmodf.c: Likewise.
9431 * math/w_fmodl.c: Likewise.
9432 * math/w_remainder.c: Likewise.
9433 * math/w_remainderf.c: Likewise.
9434 * math/w_remainderl.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9436 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9439 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9440 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9441 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9442 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9444 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9446 * stdio-common/printf_fphex.c: Likewise.
9447 * stdio-common/printf_size.c: Likewise.
9449 * math/e_exp10.c: Include math_private.h using <...> not "...".
9450 * math/e_exp10f.c: Likewise.
9451 * math/e_exp10l.c: Likewise.
9452 * math/e_exp2l.c: Likewise.
9453 * math/e_j0l.c: Likewise.
9454 * math/e_j1l.c: Likewise.
9455 * math/e_jnl.c: Likewise.
9456 * math/e_lgammal_r.c: Likewise.
9457 * math/e_rem_pio2l.c: Likewise.
9458 * math/e_scalb.c: Likewise.
9459 * math/e_scalbf.c: Likewise.
9460 * math/e_scalbl.c: Likewise.
9461 * math/k_cosl.c: Likewise.
9462 * math/k_sinl.c: Likewise.
9463 * math/k_tanl.c: Likewise.
9464 * math/s_cacoshf.c: Likewise.
9465 * math/s_catan.c: Likewise.
9466 * math/s_catanf.c: Likewise.
9467 * math/s_catanh.c: Likewise.
9468 * math/s_catanhf.c: Likewise.
9469 * math/s_catanhl.c: Likewise.
9470 * math/s_catanl.c: Likewise.
9471 * math/s_ccosh.c: Likewise.
9472 * math/s_ccoshf.c: Likewise.
9473 * math/s_ccoshl.c: Likewise.
9474 * math/s_cexp.c: Likewise.
9475 * math/s_cexpf.c: Likewise.
9476 * math/s_cexpl.c: Likewise.
9477 * math/s_clog.c: Likewise.
9478 * math/s_clog10.c: Likewise.
9479 * math/s_clog10f.c: Likewise.
9480 * math/s_clog10l.c: Likewise.
9481 * math/s_clogf.c: Likewise.
9482 * math/s_clogl.c: Likewise.
9483 * math/s_csin.c: Likewise.
9484 * math/s_csinf.c: Likewise.
9485 * math/s_csinh.c: Likewise.
9486 * math/s_csinhf.c: Likewise.
9487 * math/s_csinhl.c: Likewise.
9488 * math/s_csinl.c: Likewise.
9489 * math/s_csqrt.c: Likewise.
9490 * math/s_csqrtf.c: Likewise.
9491 * math/s_csqrtl.c: Likewise.
9492 * math/s_ctan.c: Likewise.
9493 * math/s_ctanf.c: Likewise.
9494 * math/s_ctanh.c: Likewise.
9495 * math/s_ctanhf.c: Likewise.
9496 * math/s_ctanhl.c: Likewise.
9497 * math/s_ctanl.c: Likewise.
9498 * math/s_ldexp.c: Likewise.
9499 * math/s_ldexpf.c: Likewise.
9500 * math/s_ldexpl.c: Likewise.
9501 * math/s_significand.c: Likewise.
9502 * math/s_significandf.c: Likewise.
9503 * math/s_significandl.c: Likewise.
9504 * math/w_acos.c: Likewise.
9505 * math/w_acosf.c: Likewise.
9506 * math/w_acosh.c: Likewise.
9507 * math/w_acoshf.c: Likewise.
9508 * math/w_acoshl.c: Likewise.
9509 * math/w_acosl.c: Likewise.
9510 * math/w_asin.c: Likewise.
9511 * math/w_asinf.c: Likewise.
9512 * math/w_asinl.c: Likewise.
9513 * math/w_atan2.c: Likewise.
9514 * math/w_atan2f.c: Likewise.
9515 * math/w_atan2l.c: Likewise.
9516 * math/w_atanh.c: Likewise.
9517 * math/w_atanhf.c: Likewise.
9518 * math/w_atanhl.c: Likewise.
9519 * math/w_cosh.c: Likewise.
9520 * math/w_coshf.c: Likewise.
9521 * math/w_coshl.c: Likewise.
9522 * math/w_dremf.c: Likewise.
9523 * math/w_exp10.c: Likewise.
9524 * math/w_exp10f.c: Likewise.
9525 * math/w_exp10l.c: Likewise.
9526 * math/w_exp2.c: Likewise.
9527 * math/w_exp2f.c: Likewise.
9528 * math/w_fmod.c: Likewise.
9529 * math/w_fmodf.c: Likewise.
9530 * math/w_fmodl.c: Likewise.
9531 * math/w_hypot.c: Likewise.
9532 * math/w_hypotf.c: Likewise.
9533 * math/w_hypotl.c: Likewise.
9534 * math/w_j0.c: Likewise.
9535 * math/w_j0f.c: Likewise.
9536 * math/w_j0l.c: Likewise.
9537 * math/w_j1.c: Likewise.
9538 * math/w_j1f.c: Likewise.
9539 * math/w_j1l.c: Likewise.
9540 * math/w_jn.c: Likewise.
9541 * math/w_jnf.c: Likewise.
9542 * math/w_jnl.c: Likewise.
9543 * math/w_lgamma.c: Likewise.
9544 * math/w_lgamma_r.c: Likewise.
9545 * math/w_lgammaf.c: Likewise.
9546 * math/w_lgammaf_r.c: Likewise.
9547 * math/w_lgammal.c: Likewise.
9548 * math/w_lgammal_r.c: Likewise.
9549 * math/w_log.c: Likewise.
9550 * math/w_log10.c: Likewise.
9551 * math/w_log10f.c: Likewise.
9552 * math/w_log10l.c: Likewise.
9553 * math/w_log2.c: Likewise.
9554 * math/w_log2f.c: Likewise.
9555 * math/w_log2l.c: Likewise.
9556 * math/w_logf.c: Likewise.
9557 * math/w_logl.c: Likewise.
9558 * math/w_pow.c: Likewise.
9559 * math/w_powf.c: Likewise.
9560 * math/w_powl.c: Likewise.
9561 * math/w_remainder.c: Likewise.
9562 * math/w_remainderf.c: Likewise.
9563 * math/w_remainderl.c: Likewise.
9564 * math/w_scalb.c: Likewise.
9565 * math/w_scalbf.c: Likewise.
9566 * math/w_scalbl.c: Likewise.
9567 * math/w_sinh.c: Likewise.
9568 * math/w_sinhf.c: Likewise.
9569 * math/w_sinhl.c: Likewise.
9570 * math/w_sqrt.c: Likewise.
9571 * math/w_sqrtf.c: Likewise.
9572 * math/w_sqrtl.c: Likewise.
9573 * math/w_tgamma.c: Likewise.
9574 * math/w_tgammaf.c: Likewise.
9575 * math/w_tgammal.c: Likewise.
9577 * po/ja.po: Update from translation team.
9579 2011-09-29 Andreas Jaeger <aj@suse.de>
9582 * sunrpc/netname.c (netname2host): Fix logic.
9586 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9588 * math/w_remainder.c (__remainder): Likewise.
9589 * math/w_remainderf.c (__remainderf): Likewise.
9590 * math/libm-test.inc (remainder_test): Add test cases.
9592 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9594 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9597 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9599 * string/test-memcmp.c: Avoid unncessary #defines.
9600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9602 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9604 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9605 Use new sse2 version for core i3 - i7 as it's faster
9607 (bit_Prefer_PMINUB_for_stringop): New.
9608 * sysdeps/x86_64/rawmemchr.S: Update.
9609 Replace with faster SSE2 version.
9610 * sysdeps/x86_64/memrchr.S: New file.
9611 * sysdeps/x86_64/memchr.S: Update.
9612 Replace with faster SSE2 version.
9614 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9616 * elf/dl-load.c (lose): Add cast to avoid warning.
9618 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9620 * po/ca.po: Update from translation team.
9622 * inet/getnetgrent_r.c: Hook up nscd.
9623 * nscd/Makefile (routines): Add nscd_netgroup.
9624 (nscd-modules): Add netgroupcache.
9625 (CFLAGS-netgroupcache.c): Define.
9626 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9627 (cache_search): Add const to second parameter.
9628 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9630 (dbs): Add netgrdb entry.
9631 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9632 (verify_persistent_db): Handle netgrdb.
9633 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9634 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9636 (netgroup_response_header): Define.
9637 (innetgroup_response_header): Define.
9638 (datahead): Add netgroup_response_header and innetgroup_response_header
9640 * nscd/nscd.conf: Add entries for netgroup cache.
9641 * nscd/nscd.h (dbtype): Add netgrdb.
9642 (_PATH_NSCD_NETGROUP_DB): Define.
9643 (netgroup_iov_disabled): Declare.
9644 (xmalloc, xcalloc, xrealloc): Move declarations here.
9645 (cache_search): Adjust prototype.
9646 Add netgroup-related prototypes.
9647 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9648 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9649 (__nscd_innetgr): Declare.
9650 * nscd/selinux.c (perms): Use access_vector_t as element type and
9651 add netgroup-related initializers.
9652 * nscd/netgroupcache.c: New file.
9653 * nscd/nscd_netgroup.c: New file.
9654 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9655 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9656 For four parameters use innetgr.
9657 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9658 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9659 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9660 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9662 * nscd/connections.c (register_traced_file): Don't register file
9663 for disabled databases.
9665 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9667 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9669 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9670 from tree and freeing node.
9672 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9674 * nss/nsswitch.c (__nss_database_lookup): Handle
9675 nss_parse_service_list out of memory case.
9677 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9679 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9682 2011-10-04 Andreas Schwab <schwab@redhat.com>
9684 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9685 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9687 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9688 elf_machine_rela, elf_machine_lazy_rel.
9689 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9690 (ELF_DYNAMIC_DO_REL): Likewise.
9691 (ELF_DYNAMIC_DO_RELA): Likewise.
9692 (ELF_DYNAMIC_RELOCATE): Likewise.
9693 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9694 to ELF_DYNAMIC_DO_REL.
9695 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9696 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9697 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9700 skip_ifunc, don't call ifunc function if non-zero.
9701 (elf_machine_rela): Likewise.
9702 (elf_machine_lazy_rel): Likewise.
9703 (elf_machine_lazy_rela): Likewise.
9704 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9705 (elf_machine_lazy_rel): Likewise.
9706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9708 (elf_machine_lazy_rel): Likewise.
9709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9711 (elf_machine_lazy_rel): Likewise.
9712 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9713 (elf_machine_lazy_rel): Likewise.
9714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9715 (elf_machine_lazy_rel): Likewise.
9716 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9717 (elf_machine_lazy_rel): Likewise.
9718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9719 (elf_machine_lazy_rel): Likewise.
9720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9721 (elf_machine_lazy_rel): Likewise.
9722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9723 (elf_machine_lazy_rel): Likewise.
9725 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9727 * nss/nss_files/files-init.c (_nss_files_init): Use static
9728 initialization for all the *_traced_file variables.
9730 2011-09-28 Andreas Schwab <schwab@redhat.com>
9732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9734 2011-09-27 Roland McGrath <roland@hack.frob.com>
9737 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9739 2011-09-27 Andreas Schwab <schwab@redhat.com>
9741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9742 Reread the line before reparsing it.
9744 2011-09-26 Andreas Schwab <schwab@redhat.com>
9746 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9748 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9749 Maxim Kuvyrkov <maxim@codesourcery.com>
9750 Joseph Myers <joseph@codesourcery.com>
9752 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9753 if needed for __stack_chk_guard.
9755 2011-09-19 Roland McGrath <roland@hack.frob.com>
9757 * sysdeps/posix/spawni.c (script_execute): Always define it.
9758 It will be optimized away if unused.
9759 (maybe_script_execute): New function.
9760 (__spawni): Call it.
9762 * Makerules: Don't include tls.make.
9763 (config-tls): Always set to thread.
9764 * tls.make.c: File removed.
9766 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9768 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9769 * config.make.in (CPPFLAGS-config): New substituted variable.
9771 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9776 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9777 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9779 2011-09-15 Roland McGrath <roland@hack.frob.com>
9781 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9782 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9784 (CALL_FAIL): Likewise.
9785 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9786 (CALL_FAIL): Macro removed.
9787 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9789 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9792 for __FINITE_MATH_ONLY__ == 1.
9794 2011-09-15 Andreas Schwab <schwab@redhat.com>
9796 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9797 __ieee754_sqrt instead of sqrt.
9798 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9799 __ieee754_sqrtf instead of sqrtf.
9800 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9801 __floorf instead of floorf.
9802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9803 __floorf, __truncf instead of floorf, truncf.
9805 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9807 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9809 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9810 __extern_always_inline.
9811 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9814 2011-09-14 Andreas Schwab <schwab@redhat.com>
9816 * elf/rtld.c (dl_main): Also relocate in dependency order when
9817 doing symbol dependency testing.
9819 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9822 Always define `refsym'.
9824 2011-09-13 Andreas Schwab <schwab@redhat.com>
9826 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9827 (__FD_ELT): Renamed from __FDELT.
9828 * misc/bits/select2.h (__FD_ELT): Likewise.
9829 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9830 __FD_MASK instead of __FDELT, __FDMASK.
9831 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9833 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9836 * elf/Makefile (gen-ldd): Fix pattern.
9838 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9839 (init_tls): Likewise.
9841 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9845 2011-09-12 Andreas Schwab <schwab@redhat.com>
9847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9848 `struct cmsghdr *' instead of `void *'.
9849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9852 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9854 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9856 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9859 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9861 * configure.in: Remove --with-tls option.
9862 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9863 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9864 out in case it is missing.
9865 * sysdeps/ia64/elf/configure.in: Likewise.
9866 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9867 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9868 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9869 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9870 * sysdeps/sh/elf/configure.in: Likewise.
9871 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9872 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9873 * sysdeps/x86_64/elf/configure.in: Likewise.
9874 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9875 * sysdeps/mach/hurd/tls.h: Likewise.
9878 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9881 * configure.in: Fix use of AC_INIT.
9883 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9885 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9887 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9889 * malloc/hooks.c: Likewise.
9892 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9893 variables statically.
9894 (narenas): Initialize.
9895 (list_lock): Initialize.
9896 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9897 initializtion of main_arena and list_lock. Small cleanups.
9898 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9899 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9900 Add initializers to main_arena and mp_.
9901 (malloc_state): Remove pagesize member. Change all users to use
9904 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9905 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9906 is always initialized.
9908 * malloc/malloc.c: Removed unused configurations and dead code.
9909 * malloc/arena.c: Likewise.
9910 * malloc/hooks.c: Likewise.
9911 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9913 * include/tls.h: Removed. USE___THREAD must always be defined.
9914 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9915 * elf/dl-libc.c: Likewise.
9916 * elf/dl-tsd.c: Likewise.
9917 * include/errno.h: Likewise.
9918 * include/netdb.h: Likewise.
9919 * include/resolv.h: Likewise.
9920 * inet/herrno-loc.c: Likewise.
9921 * inet/herrno.c: Likewise.
9922 * malloc/arena.c: Likewise.
9923 * malloc/hooks.c: Likewise.
9924 * malloc/malloc.c: Likewise.
9925 * resolv/res-state.c: Likewise.
9926 * resolv/res_libc.c: Likewise.
9927 * sysdeps/i386/dl-machine.h: Likewise.
9928 * sysdeps/ia64/dl-machine.h: Likewise.
9929 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9931 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9933 * sysdeps/sh/dl-machine.h: Likewise.
9934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9936 * sysdeps/unix/i386/sysdep.S: Likewise.
9937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9938 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9943 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9948 * sysdeps/x86_64/dl-machine.h: Likewise.
9949 * tls.make.c: Likewise.
9951 * configure.in: Remove --with-__thread option. Make tests for
9952 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9953 tls_model attribute fail if no support is available. Remove
9955 * Makeconfig: Adjust for dropped configure option. All features are
9957 * Makerules: Likewise.
9958 * Versions.def: Likewise.
9959 * argp/argp-fmtstream.c: Likewise.
9960 * argp/argp-fmtstream.h: Likewise.
9961 * argp/argp-help.c: Likewise.
9962 * assert/assert.c: Likewise.
9963 * config.h.in: Likewise.
9964 * config.make.in: Likewise.
9965 * configure: Likewise.
9966 * configure.in: Likewise.
9967 * csu/Versions: Likewise.
9968 * csu/init.c: Likewise.
9969 * elf/tst-audit2.c: Likewise.
9970 * elf/tst-tls10.c: Likewise.
9971 * elf/tst-tls10.h: Likewise.
9972 * elf/tst-tls11.c: Likewise.
9973 * elf/tst-tls12.c: Likewise.
9974 * elf/tst-tls14.c: Likewise.
9975 * elf/tst-tlsmod11.c: Likewise.
9976 * elf/tst-tlsmod12.c: Likewise.
9977 * elf/tst-tlsmod13.c: Likewise.
9978 * elf/tst-tlsmod13a.c: Likewise.
9979 * elf/tst-tlsmod14a.c: Likewise.
9980 * elf/tst-tlsmod15b.c: Likewise.
9981 * elf/tst-tlsmod16a.c: Likewise.
9982 * elf/tst-tlsmod16b.c: Likewise.
9983 * elf/tst-tlsmod7.c: Likewise.
9984 * elf/tst-tlsmod8.c: Likewise.
9985 * elf/tst-tlsmod9.c: Likewise.
9986 * gmon/gmon.c: Likewise.
9987 * grp/fgetgrent_r.c: Likewise.
9988 * grp/putgrent.c: Likewise.
9989 * hurd/fopenport.c: Likewise.
9990 * include/libc-symbols.h: Likewise.
9991 * include/tls.h: Likewise.
9992 * intl/gettextP.h: Likewise.
9993 * intl/loadinfo.h: Likewise.
9994 * locale/global-locale.c: Likewise.
9995 * locale/localeinfo.h: Likewise.
9996 * mach/devstream.c: Likewise.
9997 * malloc/arena.c: Likewise.
9998 * malloc/set-freeres.c: Likewise.
9999 * misc/err.c: Likewise.
10000 * misc/getttyent.c: Likewise.
10001 * misc/mntent_r.c: Likewise.
10002 * posix/getopt.c: Likewise.
10003 * posix/wordexp.c: Likewise.
10004 * pwd/fgetpwent_r.c: Likewise.
10005 * resolv/Versions: Likewise.
10006 * resolv/res_hconf.c: Likewise.
10007 * shadow/fgetspent_r.c: Likewise.
10008 * shadow/putspent.c: Likewise.
10009 * stdio-common/printf_fphex.c: Likewise.
10010 * stdio-common/tmpfile.c: Likewise.
10011 * stdlib/abort.c: Likewise.
10012 * stdlib/fmtmsg.c: Likewise.
10013 * sunrpc/auth_unix.c: Likewise.
10014 * sunrpc/clnt_perr.c: Likewise.
10015 * sunrpc/clnt_tcp.c: Likewise.
10016 * sunrpc/clnt_udp.c: Likewise.
10017 * sunrpc/clnt_unix.c: Likewise.
10018 * sunrpc/openchild.c: Likewise.
10019 * sunrpc/svc_simple.c: Likewise.
10020 * sunrpc/svc_tcp.c: Likewise.
10021 * sunrpc/svc_udp.c: Likewise.
10022 * sunrpc/svc_unix.c: Likewise.
10023 * sunrpc/xdr.c: Likewise.
10024 * sunrpc/xdr_array.c: Likewise.
10025 * sunrpc/xdr_rec.c: Likewise.
10026 * sunrpc/xdr_ref.c: Likewise.
10027 * sunrpc/xdr_stdio.c: Likewise.
10029 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10031 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10033 2011-07-03 Andreas Jaeger <aj@suse.de>
10035 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10036 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10037 regenerate with gen-libm-tests.pl.
10039 2010-05-12 Petr Baudis <pasky@suse.cz>
10042 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10043 around j0() zero points by switching to j1().
10044 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10049 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10053 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10056 Patch in part by Pavel Roskin <proski@gnu.org>.
10059 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10061 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10062 Free memory block if necessary.
10065 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10066 be NULL. Don't lock in this case.
10068 2011-09-09 Roland McGrath <roland@hack.frob.com>
10070 * elf/elf.h (ELFOSABI_GNU): New macro.
10071 (ELFOSABI_LINUX): Define to that.
10073 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10075 * string/strncat.c (strncat): Undef the symbol in case it has been
10076 defined in bits/string.h.
10078 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10080 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10082 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10085 2011-08-17 Andreas Jaeger <aj@suse.de>
10087 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10089 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10090 Ian Lance Taylor <iant@google.com>
10092 * math/libm-test.inc (lround_test): New testcase.
10093 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10095 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10097 * Makefile: Remove support for automatic cvs check-ins.
10098 * Makerules: Likewise.
10099 * config.make.in: Likewise.
10100 * configure.in: Likewise.
10101 * intl/Makefile: Likewise.
10102 * locale/Makefile: Likewise.
10103 * po/Makefile: Likewise.
10104 * posix/Makefile: Likewise.
10105 * sysdeps/gnu/Makefile: Likewise.
10106 * sysdeps/mach/hurd/Makefile: Likewise.
10107 * sysdeps/sparc/sparc32/Makefile: Likewise.
10110 * posix/Makefile (bug-regex32-ENV): Define.
10111 Patch by John Stanley <jpsinthemix@verizon.net>.
10113 * misc/Makefile (headers): Add bits/select2.h.
10114 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10115 * misc/bits/select2.h: New file.
10116 * include/bits/select2.h: New file.
10117 * debug/Makefile (routines): Add fdelt_chk.
10118 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10119 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10121 * debug/fdelt_chk.c: New file.
10123 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10124 * wcsmbs/test-wmemcmp.c: Likewise.
10125 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10126 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10128 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10130 * string/Makefile (strop-tests): Add memcmp.
10131 * string/test-wmemcmp.c: New file.
10132 * string/test-memcmp.c: Add wmemcmp support.
10134 2011-09-08 Roland McGrath <roland@hack.frob.com>
10137 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10140 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10141 garbage value in a __mach_port_mod_refs call in the cases of the
10142 task-self and thread-self ports.
10144 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10146 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10148 2011-09-08 Andreas Schwab <schwab@redhat.com>
10150 * elf/dl-load.c (lose): Check for non-null L.
10152 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10154 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10156 * elf/dl-libc.c (dlerror_run): Pass back error code from
10160 * elf/dl-load.c (lose): Free l_origin if it is valid.
10162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10166 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10168 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10169 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10171 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10173 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10174 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10177 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10178 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10179 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10180 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10181 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10182 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10184 2011-08-15 Alan Modra <amodra@gmail.com>
10187 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10188 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10189 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10190 ppc_mcount to static-only-routines.
10191 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10193 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10194 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10196 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10198 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10199 for finite and infinity parameters.
10201 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10204 and add nop instructions for throughput optimization.
10205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10207 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10210 aligned copy for power7 with vector-scalar instructions.
10211 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10213 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10218 2011-09-07 Andreas Schwab <schwab@redhat.com>
10221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10224 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10227 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10228 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10229 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10232 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10235 Forgot to demangle the pointer.
10237 * sysdeps/i386/sysdep.h: Define atom_text_section.
10238 * sysdeps/x86_64/sysdep.h: Likewise.
10239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10240 section with atom_text_section.
10241 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10249 already be defined. Change to take two parameters and don't assign
10250 result to variable. Adjust all users.
10251 Define INTERNAL_GETTIME if not already defined.
10252 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10255 HAVE_CLOCK_GETTIME_VSYSCALL.
10256 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10259 gettimeofday vsyscall, just use time.
10261 2011-09-06 Andreas Schwab <schwab@redhat.com>
10263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10266 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10268 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10272 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10274 syscall if possible.
10276 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10278 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10279 e_ident. Don't pass to find_mapsXX.
10280 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10282 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10285 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10286 * sysdeps/x86_64/multiarch/strchr.S: Update.
10287 Check bit_slow_BSF bit.
10288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10289 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10292 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10295 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10297 (tryshell): Define.
10298 (__spawni): Change last parameter to be flag. Test
10299 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10300 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10301 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10302 * posix/spawni.c: Likewise.
10303 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10304 * posix/spawnp.c: Likewise. Change normal version to use
10305 SPAWN_XFLAGS_USE_PATH.
10306 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10307 SPAWN_XFLAGS_TRY_SHELL.
10310 * posix/glob.h: Remove gcc 1.x support.
10313 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10315 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10318 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10320 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10321 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10325 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10327 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10329 * sysdeps/x86_64/wcscmp.S: New file.
10331 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10332 wcscmp-c wcscmp-sse2
10333 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10334 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10335 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10336 * wcsmbs/wcscmp.c: Allow renaming.
10338 2011-09-05 David S. Miller <davem@davemloft.net>
10340 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10341 stack slot, rather than the struct return pointer slot.
10342 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10343 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10349 * po/ja.po: Update from translation team.
10352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10353 kernel in 64-bit binaries.
10355 2011-09-01 David S. Miller <davem@davemloft.net>
10357 * elf/elf.h (HWCAP_SPARC_*): Move to..
10358 * sysdeps/sparc/sysdep.h: this new file and add new values.
10359 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10360 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10361 _DL_HWCAP_COUNT to 24.
10362 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10364 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10365 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10366 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10368 instead of magic constants.
10369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10371 2011-08-31 David S. Miller <davem@davemloft.net>
10373 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10375 Reimplement to do errno handling inline.
10376 (SYSCALL_ERROR_HANDLER): New macro.
10377 (__SYSCALL_STRING): Do not do errno handling in asm.
10378 (__CLONE_SYSCALL_STRING): Delete.
10379 (__INTERNAL_SYSCALL_STRING): Delete.
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10381 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10382 (PSEUDO): Reimplement to do errno handling inline.
10383 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10384 (SYSCALL_ERROR_HANDLER): New macro.
10385 (__SYSCALL_STRING): Do not do errno handling in asm.
10386 (__CLONE_SYSCALL_STRING): Delete.
10387 (__INTERNAL_SYSCALL_STRING): Delete.
10388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10389 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10391 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10392 (inline_syscall*): Add 'err' argument.
10393 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10394 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10395 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10396 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10398 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10401 2011-08-30 Andreas Schwab <schwab@redhat.com>
10403 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10405 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10407 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10410 2011-08-24 David S. Miller <davem@davemloft.net>
10412 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10414 2011-08-24 Andreas Schwab <schwab@redhat.com>
10416 * elf/Makefile: Add rules to build and run unload8 test.
10417 * elf/unload8.c: New file.
10418 * elf/unload8mod1.c: New file.
10419 * elf/unload8mod1x.c: New file.
10420 * elf/unload8mod2.c: New file.
10421 * elf/unload8mod3.c: New file.
10423 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10426 2011-08-23 David S. Miller <davem@davemloft.net>
10428 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10429 subtract stack bias.
10430 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10431 %sp not %fp in calculations.
10432 (_JMPBUF_UNWINDS_ADJ): Likewise.
10434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10435 (aio_suspend): Call it to force an exception region around the
10436 AIO_MISC_WAIT() invocation.
10438 2011-08-23 Andreas Schwab <schwab@redhat.com>
10440 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10443 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10445 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10447 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10448 and <dl-machine.h>.
10449 (Elf64_FuncDesc): Remove.
10451 2011-08-22 David S. Miller <davem@davemloft.net>
10453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10454 sigaltstack check, add missing cfi directives.
10455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10456 missing cfi directives, and sigaltstack handling.
10458 2011-08-16 Andreas Schwab <schwab@redhat.com>
10461 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10462 object is seen twice.
10463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10465 * elf/Makefile (distribute): Add tst-initorder2.c.
10466 (tests): Add tst-initorder2.
10467 (modules-names): Add tst-initorder2a tst-initorder2b
10468 tst-initorder2c tst-initorder2d. Add rules to build them.
10469 ($(objpfx)tst-initorder2.out): New rule.
10470 * elf/tst-initorder2.c: New file.
10471 * elf/tst-initorder2.exp: New file.
10473 2011-08-22 Andreas Schwab <schwab@redhat.com>
10475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10477 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10478 dependencies back to end of function.
10480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10481 $(elfobjdir)/ld.so.
10483 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10486 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10488 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10489 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10490 of __vdso_gettimeofday.
10491 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10492 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10494 (_libc_vdso_platform_setup): Remove initialization of
10495 __vdso_gettimeofday and __vdso_time.
10497 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10499 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10500 and fgetc_unlocked.
10501 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10504 * elf/dl-open.c (add_to_global): Report additions to the global scope
10505 for LD_DEBUG=scopes.
10506 (dl_open_worker): Also print scope of newly loaded dependencies.
10507 (_dl_show_scope): Indicate if there is no scope.
10510 * stdio-common/Makefile (tests): Add bug24.
10511 * stdio-common/bug24.c: New file.
10513 2011-08-19 Andreas Jaeger <aj@suse.de>
10516 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10517 non-existant file when using close-on-exec mode.
10519 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10522 the very first instruction.
10524 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10525 the CFI state in the end.
10526 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10527 inclusion of dl-trampoline.h.
10528 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10530 2011-08-19 Andreas Schwab <schwab@redhat.com>
10532 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10533 expectations for long double.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10536 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10538 2011-08-14 David S. Miller <davem@davemloft.net>
10540 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10541 artificual limit depends upon the system page size.
10543 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10545 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10546 * resolv/Makefile: Define CFLAGS-libresolv.
10548 2011-08-17 Andreas Schwab <schwab@redhat.com>
10550 * nss/makedb.c (compute_tables): Make variables used in nested
10553 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10555 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10556 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10557 if buffer was too small.
10559 * elf/pldd.c (main): Attach to all threads in the process.
10560 Rewrite /proc handling to use *at functions.
10562 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10564 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10565 specifies first scope to show.
10566 (dl_open_worker): Update callers. Move printing scope of new
10567 object to before the relocation.
10568 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10569 * sysdeps/generic/ldsodefs.h: Update declaration.
10571 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10572 string for the scope number.
10574 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10576 * nscd/servicescache.c (cache_addserv): Make sure written is always
10579 2011-08-14 Roland McGrath <roland@hack.frob.com>
10581 * sysdeps/i386/i486/bits/atomic.h
10582 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10583 statement expression, so as to suppress "set but not used" warning.
10584 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10586 * string/strncat.c (STRNCAT): Use prototype definition.
10588 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10589 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10591 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10592 (localedef-modules): Add localedef.
10593 (locale-modules): Add locale.
10595 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10596 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10597 to avoid a warning.
10599 2011-08-14 David S. Miller <davem@davemloft.net>
10601 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10602 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10604 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10606 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10607 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10608 * elf/rtld.c (dl_main): Set l_name of vDSO.
10609 Call _dl_show_scope when DL_DEBUG_SCOPES.
10610 (process_dl_debug): Recognize scopes flag and also set it for all.
10611 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10612 Declare _dl_show_scope.
10614 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10615 (do_dlopen): Pass caller_dlopen to dl_open.
10616 (__libc_dlopen_mode): Initialize caller_dlopen.
10618 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10619 of libc. Make tolower call locale-independent. Optimize a bit by
10620 using isdigit instead of isalnum.
10621 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10623 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10625 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10626 was a dependency or dynamically loaded.
10628 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10630 * intl/l10nflist.c: Allow architecture-specific pop function.
10631 * sysdeps/x86_64/l10nflist.c: New file.
10633 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10636 2011-08-10 Andreas Schwab <schwab@redhat.com>
10638 * include/dirent.h: Add libc_hidden_proto for scandirat and
10639 scandirat64. Don't declare __scandirat64.
10640 * dirent/scandirat.c: Add libc_hidden_def.
10641 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10642 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10644 2011-08-10 David S. Miller <davem@davemloft.net>
10646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10652 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10654 * Versions.def [libc]: Add GLIBC_2.15.
10655 * dirent/Makefile (routines): Add scandirat and scandirat64.
10656 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10658 * dirent/dirent.h: Declare scandirat and scandirat64.
10659 * dirent/scandirat.c: New file.
10660 * dirent/scandirat64.c: New file.
10661 * sysdeps/wordsize-64/scandirat.c: New file.
10662 * sysdeps/wordsize-64/scandirat64.c: New file.
10663 * dirent/opendir.c: Define opendirat.
10664 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10666 * dirent/scandir64.c: Adjust for scandir.c change.
10667 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10668 __scandirat64, and __scandir_cancel_handler.
10669 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10670 additional parameter and use openat instead of open (outside of ld.so).
10671 Add new __opendir as wrapper around __opendirat.
10672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10673 here without requiring old scandirat implementation.
10675 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10677 * dirent/scandir.c (cancel_handler): Renamed to
10678 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10679 defined. Adjust users.
10680 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10683 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10685 * string/test-string.h (IMPL): Use __STRING to expand name and then
10688 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10691 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10693 * string/Makefile: Update.
10694 (strop-tests): Append strncat.
10695 * string/test-wcscmp.c: New file.
10696 New comprehensive test for wcscmp.
10697 * string/test-strcmp.c: Update.
10698 (WIDE): New define.
10700 2011-07-22 Andreas Schwab <schwab@redhat.com>
10702 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10705 2011-07-26 Andreas Schwab <schwab@redhat.com>
10707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10708 encoding to ACE if AI_IDN.
10710 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10713 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10715 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10718 Fix overflow bug in strncat.
10719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10721 * string/test-strncat.c: Update.
10722 Add new tests for checking overflow bugs.
10724 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10727 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10728 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10729 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10730 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10731 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10732 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10733 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10734 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10737 (USE_AS_STRCAT): Define.
10738 Add strcat and strncat support.
10739 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10741 2011-07-25 Andreas Schwab <schwab@redhat.com>
10743 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10744 __n bigger than INT_MAX+1.
10745 (__strncmp_g): Likewise.
10747 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10749 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10750 * libio/stido.h: Likewise.
10752 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10757 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10764 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10769 (_dl_x86_64_save_sse): Likewise.
10771 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10775 (_dl_x86_64_save_sse): Likewise.
10777 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10779 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10781 2011-07-21 Andreas Schwab <schwab@redhat.com>
10783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10785 (_dl_x86_64_save_sse): Use correct AVX check.
10787 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10790 bug in strncpy/strncat.
10791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10793 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10795 * string/tester.c (test_strcat): Add tests for different alignments
10796 of source and destination.
10797 (test_strncat): Likewise.
10799 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10802 * posix/glob.c (glob): Check passed in values before using them in
10803 expressions to avoid some overflows.
10804 (glob_in_dir): Likewise.
10807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10808 check for AVX enablement so that we don't crash with old kernels and
10810 * elf/tst-audit4.c: Add same checks here.
10811 * elf/tst-audit6.c: Likewise.
10813 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10815 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10817 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10819 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10821 * po/cs.po: Update from translation team.
10822 * po/bg.po: Likewise.
10824 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10826 * misc/sys/cdefs.h: Add support for const attribute.
10827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10828 to gnu_dev_{major,minor,makedev} functions.
10830 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10832 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10834 2011-07-20 Andreas Schwab <schwab@redhat.com>
10836 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10839 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10842 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10843 register in order to avoid conflicts with the soft frame pointer
10844 being held in r11 when necessary.
10845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10846 (INTERNAL_VSYSCALL_NCS): Likewise.
10848 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10850 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10851 * elf/dl-fini.c (_dl_fini): Adjust caller.
10852 * elf/dl-close.c (_dl_close_worker): Likewise.
10853 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10855 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10857 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10858 "aux_cache->nlibs < 0".
10860 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10861 in the reload-count case.
10863 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10866 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10867 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10868 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10869 * sysdeps/x86_64/multiarch/strcat.S: New file.
10870 * sysdeps/x86_64/multiarch/strncat.S: New file.
10871 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10873 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10874 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10876 (USE_AS_STRCAT): Define.
10877 Add strcat and strncat support.
10878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10879 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10880 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10881 * string/strncat.c: Update.
10882 (USE_AS_STRNCAT): Define.
10883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10884 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10886 * sysdeps/x86_64/multiarch/init-arch.h
10887 (bit_Prefer_PMINUB_for_stringop): New.
10888 (index_Prefer_PMINUB_for_stringop): Likewise.
10889 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10890 bit_Prefer_PMINUB_for_stringop.
10892 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10894 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10896 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10897 of casting of buffer.
10898 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10899 buffer32 and buffer64.
10900 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10901 writes instead of casting of buffer.
10902 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10904 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10907 2011-07-19 Andreas Schwab <schwab@redhat.com>
10909 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10911 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10913 * nscd/nscd.c (termination_handler): Don't do anything for a database
10914 if it has not yet been initialized.
10916 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10918 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10920 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10922 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10924 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10926 * po/nl.po: Update from translation team.
10927 * po/sv.po: Likewise.
10929 2011-07-16 Roland McGrath <roland@hack.frob.com>
10931 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10932 now disallowed by GCC.
10934 * configure.in (use-default-link): Default to yes if a test -shared
10935 link meets our qualifications.
10936 * configure: Regenerated.
10938 * config.make.in (output-format): New variable.
10939 * configure.in: Check for ld --print-output-format support.
10940 * configure: Regenerated.
10941 * Makerules ($(common-objpfx)format.lds)
10942 [$(output-format) != unknown]: Just use $(output-format),
10943 instead of the linker-script munging.
10945 2011-07-14 Roland McGrath <roland@hack.frob.com>
10947 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10948 of $(common-objpfx)shlib.lds.
10949 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10951 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10952 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10954 * configure.in (-z relro check): Adjust test code to add a large
10955 writable data section after it.
10956 * configure: Regenerated.
10958 2011-07-11 Roland McGrath <roland@hack.frob.com>
10960 * configure.in (-z relro check): Fix test code to make the variable
10962 * configure: Regenerated.
10964 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10966 * nscd/nscd.h (struct traced_file): Define.
10967 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10968 elements. Add traced_files.
10969 (inotify_fd): Declare.
10970 (register_traced_file): Declare.
10971 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10972 (inotify_fd): Export.
10973 (resolv_conf_descr): Remove.
10974 (nscd_init): Move inotify descriptor creation to main.
10975 Don't register files for notification here.
10976 (register_traced_file): New function.
10977 (invalidate_cache): Don't use reset_res to determine whether to call
10978 res_init, go through the list of registered files.
10979 (main_loop_poll): The inotify descriptors are now stored in the
10980 structures for the traced files.
10981 (main_loop_epoll): Likewise
10982 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10983 to __nss_disable_nscd.
10984 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10985 for a database anymore. Check the records for all the registered
10987 * nss/Makefile (libnss_files-routines): Add files-init.
10988 (libnss_db-routines): Add db-init.
10989 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10990 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10991 * nss/nss_db/db-init.c: New file.
10992 * nss/nss_files/files-init.c: New file.
10993 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10994 __nss_lookup_function.
10995 (__nss_lookup_function): Call nss_load_library.
10996 (nss_load_all_libraries): New function.
10997 (__nss_disable_nscd): Take parameter with callback function for files
10998 to register. Set is_nscd. Load all the DSOs for the NSS modules
10999 used for the cached services.
11000 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11002 options for features to all the files in nscd.
11004 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11006 2011-07-10 Roland McGrath <roland@hack.frob.com>
11008 * csu/elf-init.c (__libc_csu_init): Comment typo.
11010 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11012 * po/pl.po: Update from translation team.
11013 * po/ja.po: Likewise.
11014 * po/ru.po: Likewise.
11015 * po/ko.po: Likewise.
11016 * po/fr.po: Likewise.
11018 2011-07-09 Roland McGrath <roland@hack.frob.com>
11020 * configure.in (.ctors/.dtors header and trailer check):
11021 Use an empirical test on a built program.
11022 * configure: Regenerated.
11024 * configure.in (-z relro check): Use an empirical test on a built DSO.
11025 Detect, but do not require, on ia64.
11026 * configure: Regenerated.
11028 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11029 Update tests that use readelf to use $READELF instead.
11030 * configure: Regenerated.
11032 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11034 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11035 if the result is not used.
11037 2011-07-05 Andreas Jaeger <aj@suse.de>
11040 * stdlib/tst-strtod.c: Add testcase.
11042 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11044 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11045 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11046 The latter has a higher limit. Take additional parameter to pass to
11048 (__pathconf): Pass file to __statfs_link_max.
11049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11051 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11055 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11059 (__statfs_filesize_max): Likewise.
11060 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11062 2011-07-05 Andreas Jaeger <aj@suse.de>
11064 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11066 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11068 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11070 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11073 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11075 * Makefile (strop-tests): Add strncat.
11076 * string/test-strncat.c: New file.
11078 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11080 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11082 2011-06-21 Andreas Jaeger <aj@suse.de>
11084 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11085 Copy rule from iconvdata/Makefile.
11087 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11090 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11091 but no long options are defined, just return 'W'.
11093 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11096 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11098 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11100 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11102 (innetgr): Likewise.
11104 2011-07-05 Roland McGrath <roland@hack.frob.com>
11106 * config.make.in (install_root): Default to $(DESTDIR).
11108 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11112 2011-07-02 Roland McGrath <roland@hack.frob.com>
11114 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11116 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11117 containing directory rather than embedding absolute directory names.
11119 * scripts/check-local-headers.sh: Rewritten using awk.
11120 Match by word, not by line. Print error messages for matches.
11121 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11123 * Makerules [shlib-lds-flags empty]:
11124 ($(common-objpfx)libc_pic.opts): New target.
11125 ($(common-objpfx)libc_pic.os.clean): New target.
11126 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11128 * config.make.in (OBJCOPY): New variable.
11129 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11130 * configure: Regenerated.
11132 * config.make.in (use-default-link): New variable.
11133 * configure.in (use_default_link): Grok --with-default-link to set it.
11134 * configure: Regenerated.
11135 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11136 (shlib-lds, shlib-lds-flags): Define to empty.
11138 * Makerules (shlib-lds): New variable.
11139 (shlib-lds-flags): New variable.
11140 (build-shlib, build-moduile, build-module-asneeded): Use it.
11141 ($(common-objpfx)libc.so): Use $(shlib-lds).
11142 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11143 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11145 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11146 DT_FLAGS/DT_FLAGS_1 with zero flags.
11148 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11149 linker script munging.
11151 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11153 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11155 * crypt/sha512.c (sha512_process_block): Perform total addition using
11156 128-bit if possible.
11157 (__sha512_finish_ctx): Likewise.
11158 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11160 * crypt/sha256.c (SWAP64): Define.
11161 (sha256_process_block): Perform total addition using 64-bit if
11163 (__sha256_finish_ctx): Likewise.
11165 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11167 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11169 * nscd/hstcache.c (cache_addhst): Likewise.
11170 * nscd/grpcache.c (cache_addgr): Likewise.
11171 * nscd/aicache.c (addhstaiX): Likewise
11172 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11174 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11176 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11178 * nscd/hstcache.c (cache_addhst): Likewise.
11179 * nscd/grpcache.c (cache_addgr): Likewise.
11180 * nscd/aicache.c (addhstaiX): Likewise
11182 2011-07-01 Andreas Schwab <schwab@redhat.com>
11184 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11185 domain only when needed.
11187 2011-06-30 Andreas Schwab <schwab@redhat.com>
11189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11190 is always restored.
11192 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11194 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11195 are re-adding the entry.
11196 * nscd/servicescache.c (cache_addserv): Likewise.
11198 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11200 * sysdeps/generic/dl-irel.h: fix protection against multiple
11202 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11204 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11207 * malloc/memusage.sh: Fix quoting in message.
11208 * debug/xtrace.sh: Likewise.
11210 * configure.in: Remove support for --experimental-malloc option, make
11212 * config.make.in: Likewise.
11213 * malloc/Makefile: Likewise.
11215 2011-06-27 Andreas Schwab <schwab@redhat.com>
11217 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11218 two-byte characters.
11220 2011-06-27 Roland McGrath <roland@hack.frob.com>
11222 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11223 AC_CACHE_CHECK invocation.
11224 * configure: Regenerated.
11226 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11228 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11231 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11232 bit from old_res_options.
11234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11236 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11237 value type for setfct.
11239 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11242 __gettimeofday instead of gettimeofday.
11244 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11246 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11248 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11255 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11258 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11259 strcpy-sse2-unaligned strncpy-sse2-unaligned
11260 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11261 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11262 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11263 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11264 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11267 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11268 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11269 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11270 (STRCPY): Support SSE2 and SSSE3 versions.
11272 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11276 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11277 kernels which artificially limit size of requests.
11279 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11282 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11283 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11284 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11285 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11286 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11287 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11288 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11291 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11292 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11293 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11294 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11295 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11297 Enable unaligned load optimization for Intel Core i3, i5 and i7
11299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11301 (index_Fast_Unaligned_Load): Define.
11302 (HAS_FAST_UNALIGNED_LOAD): Define.
11304 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11306 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11308 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11312 until it is clear that the information is realy needed.
11313 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11315 2011-06-22 Andreas Schwab <schwab@redhat.com>
11317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11319 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11322 /sys/devices/system/cpu/online if it is usable.
11324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11325 reading the information from the /proc filesystem to once a second.
11327 2011-06-21 Andreas Jaeger <aj@suse.de>
11329 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11330 NULL after inclusion of kernel headers.
11332 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11334 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11335 calls to internal_setent.
11338 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11339 addresses using gethostbyname4_r ignore IPv4 addresses.
11341 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11342 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11344 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11346 2011-06-20 David S. Miller <davem@davemloft.net>
11348 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11350 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11352 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11353 (elf_irel): Use it.
11354 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11355 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11356 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11357 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11358 * sysdeps/x86_64/dl-irel.h: Likewise.
11360 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11361 * elf/dl-sym.c: Likewise.
11363 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11365 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11366 need to dereference resplen2.
11368 2011-06-14 Andreas Schwab <schwab@redhat.com>
11370 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11372 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11374 * Makeconfig: Define vardbdir and inst_vardbdir.
11375 * nss/Makefile: Add rules to install db-Makefile.
11377 * nss/nss_db/db-XXX.c: Cleanup.
11379 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11380 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11382 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11383 * nss/makedb.c: Implement -g option to specify that value strings
11384 are generated and should not be added to table iterated over for
11386 * nss/nss_db/db-initgroups.c: New file.
11388 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11391 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11392 (internal_getgrouplist): Adjust to name change.
11393 Update use_initgroups_entry if this is not the first call.
11394 * nss/databases.def: Add initgroups entry.
11396 * nss/makedb.c (compute_tables): Check result of multiple hash table
11397 sizes to minimize maximum chain length.
11399 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11401 * Versions.def: Add entry for libnss_db.
11402 * shlib-versions: Likewise.
11403 * nss/Makefile: Add rules to build libnss_db.
11404 * nss/Versions: Add libnss_db information. Organize libnss_files
11406 * nss/db-Makefile: Add gshadow support. Change rules for the new
11407 makedb progra. Some minor improvements to generate smaller files.
11408 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11410 * nss/makedb.c: ...here.
11411 Improve database format to be smaller and require less memory at
11413 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11415 * nss/nss_db/db-netgrp.c: Likewise.
11416 * nss/nss_db/db-open.c: Likewise.
11417 * nss/nss_files/flies-XXX.x: Adjust comments.
11418 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11419 * nss/nss_files/files-grp.c: Likewise.
11420 * nss/nss_files/files-hosts.c: Likewise.
11421 * nss/nss_files/files-network.c: Likewise.
11422 * nss/nss_files/files-proto.c: Likewise.
11423 * nss/nss_files/files-pwd.c: Likewise.
11424 * nss/nss_files/files-rpc.c: Likewise.
11425 * nss/nss_files/files-service.c: Likewise.
11426 * nss/nss_files/files-sgrp.c: Likewise.
11427 * nss/nss_files/files-spwd.c: Likewise.
11428 * nss/nss_db/db-alias.c: Removed.
11429 * nss/nss_db/dummy-db.h: Removed.
11431 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11433 * nss/makedb.c: Rewritten to not use database library.
11434 * nss/Makefile: Update to build new makedb program.
11436 2011-06-14 Andreas Jaeger <aj@suse.de>
11438 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11439 memset declaration.
11441 2011-06-10 Andreas Schwab <schwab@redhat.com>
11443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11446 2011-06-10 Roland McGrath <roland@hack.frob.com>
11448 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11449 * elf/Makefile ($(objpfx)ld.so): Likewise.
11451 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11452 Don't list ld.so twice in dependencies.
11454 * posix/bug-regex31.c: Include <stdlib.h>.
11456 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11458 * nis/nss_compat/compat-spwd.c
11459 (getspent_next_nss_netgr): Remove unused variable.
11460 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11462 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11463 nonmembers" output to use the right array.
11465 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11467 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11469 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11470 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11471 * catgets/gencat.c (read_input_file): Likewise.
11472 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11474 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11475 variable definition inside #if's controlling its use.
11477 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11479 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11481 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11483 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11486 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11488 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11489 * configure: Regenerated.
11491 * Makerules: Revert last change.
11492 * elf/Makefile: Likewise.
11494 2011-06-09 Roland McGrath <roland@hack.frob.com>
11496 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11497 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11498 (reloc-link): Likewise.
11500 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11502 * elf/Makefile: Add rules to build pldd.
11503 * elf/pldd.c: New file.
11504 * elf/pldd-xx.c: New file.
11506 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11508 * version.h: Update for 2.15 development version.
11510 2011-06-07 David S. Miller <davem@davemloft.net>
11512 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11515 elf_machine_lazy_rel): Likewise.
11516 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11518 elf_machine_lazy_rel): Likewise.
11519 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11520 dl_hwcap via passed in argument.
11521 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11524 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11526 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11528 2011-06-06 Roland McGrath <roland@hack.frob.com>
11531 * manual/fdl-1.1.texi: New file, verbatim from:
11532 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11533 * manual/lgpl-2.1.texi: New file, verbatim from:
11534 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11535 * manual/Makefile (licenses): New variable, list those new file names.
11537 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11539 * manual/fdl.texi: File removed.
11540 * manual/lesser.texi: File removed.
11541 * manual/libc.texinfo (Copying, Documentation License):
11542 Use new @include file names, put @appendix directive before @include.
11544 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11547 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11548 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11549 (mq_open): Add __NTH.
11551 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11554 Assume Intel Core i3/i5/i7 processor if AVX is available.
11556 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11561 2011-05-31 Andreas Schwab <schwab@redhat.com>
11563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11564 memory. Use alloca_account. Fix memory leak when retrying.
11566 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11568 * version.h (RELEASE): Bump for 2.14 release.
11569 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11571 * config.make.in (RANLIB): Remove entry.
11573 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11575 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11576 (libc.pot): Work around missing support for .ksh extension in xgettext.
11579 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11580 if both request failed.
11581 (send_dg): In case of server errors clear resplen or *resplen2.
11584 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11585 when there are multiple maps.
11586 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11587 (_dl_fini): Remove test here.
11589 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11591 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11594 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11595 bit from old_res_options.
11596 (gaih_inet): Likewise.
11599 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11602 * resolv/res_init.c (res_setoptions): Make the code more compact.
11605 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11609 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11611 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11614 * malloc/malloc.h: Declare malloc hook variables as volatile.
11616 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11620 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11621 raise in the comment.
11622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11624 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11626 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11629 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11630 grow the buffers more if it already has to be sufficient.
11631 (build_wcs_upper_buffer): Likewise.
11632 * posix/regexec.c (check_matching): Likewise.
11633 (clean_state_log_if_needed): Likewise.
11634 (extend_buffers): Don't enlarge buffers beyond size of the input
11636 Patches mostly by Emil Wojak <emil@wojak.eu>.
11637 * posix/bug-regex32.c: New file.
11638 * posix/Makefile (tests): Add bug-regex32.
11640 * locale/findlocale.c (_nl_find_locale): Return right away if
11641 _nl_explode_name failed.
11642 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11644 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11646 * debug/xtrace.sh: Unify messages.
11647 * malloc/memusage.sh: Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11651 time symbol from vDSO. Substitute with vsyscall if not available.
11652 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11656 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11658 Add sendmmsg and internal_sendmmsg.
11659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11663 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11664 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11667 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11670 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11671 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11677 * iconvdata/Makefile (tests): Add bug-iconv9.
11678 * iconvdata/bug-iconv9.c: New file.
11680 2011-05-27 Andreas Schwab <schwab@redhat.com>
11683 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11685 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11688 (struct user_regs_struct): Change intcs field back to cs.
11690 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11692 * po/ja.po: Update from translation team.
11694 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11698 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11700 2011-05-20 Andreas Schwab <schwab@redhat.com>
11702 * stdlib/longlong.h: Update from GCC.
11704 2011-05-23 Andreas Schwab <schwab@redhat.com>
11706 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11708 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11709 Add parameter name.
11710 (__sysconf): Pass it down.
11712 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11715 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11718 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11719 add in in __libc_use_alloca calls. Adjust callers.
11720 (glob): Use malloc in some situations.
11722 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11723 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11726 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11728 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11729 and CLOCK_BOOTTIME_ALARM.
11732 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11735 * string/_strerror.c (__strerror_r): Print negative errors as signed
11739 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11740 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11741 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11743 * configure.in: Fix typo in redirection and correct removal of test
11744 files in two cases.
11747 * locale/setlocale.c (new_composite_name): Fix test to check for
11748 identical name of all categories.
11751 * libio/filedoalloc.c (local_isatty): New function.
11752 (_IO_file_doallocate): Use local_isatty.
11753 * stdio-common/perror.c (perror): In case a new stream is used
11754 forward the stream error.
11755 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11758 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11763 * include/alloca.h (extend_alloca_account): Define.
11766 * posix/regex.h: Fix comments with documentation of user-accessible
11767 fields after compilation and describe correct free'ing of pattern
11768 after re_compile_pattern.
11769 Patch by Reuben Thomas <rrt@sc3d.org>.
11771 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11773 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11774 and -mno-altivec to prevent the compiler from using Altivec and/or
11775 VSX instructions when the corresponding registers are not available.
11777 2011-05-19 Andreas Schwab <schwab@redhat.com>
11779 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11781 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11783 * libio/freopen.c (freopen): Use __dup2, not dup2.
11784 * libio/freopen64.c (freopen64): Likewise.
11786 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11789 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11790 * math/Makefile (tests): Add test-powl.
11791 (CFLAGS-test-powl.c): Define.
11792 * math/test-powl.c: New file.
11794 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11796 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11798 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11801 * iconvdata/gb18030.c: Update to GB18020-2005.
11803 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11805 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11806 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11807 Patch by Aharon Robbins <arnold@skeeve.com>.
11810 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11814 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11815 through underflows.
11818 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11819 point to strings before performing equality test for error_one_per_line
11823 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11827 (struct user_fpregs_struct): Avoid __uint*_t types.
11830 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11831 symbol info. Use it instead of calling _dl_addr locally.
11832 (lock_and_info): New function.
11833 (tr_freehook): Call lock_and_info and pass symbol info as additional
11834 parameter to tr_where.
11835 (tr_mallochook): Likewise.
11836 (tr_reallochook): Likewise.
11837 (tr_memalignhook): Likewise.
11839 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11840 used and couldn't be at all thread-safe.
11842 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11844 * libio/freopen.c (freopen): Don't close old file descriptor
11845 before the new one is opened. Instead dup the new file descriptor
11846 to the old one after the new stream is created.
11847 * libio/freopen64.c (freopen64): Likewise.
11848 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11849 * libio/fileops.c (_IO_new_file_close_it): Handle new
11850 _IO_FLAGS2_NOCLOSE flag.
11851 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11852 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11853 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11854 _IO_FLAGS2_NOCLOSE flag.
11855 * include/unistd.h: Add hidden_proto for dup3.
11856 Define __have_dup3.
11857 * io/dup3.c: Define hidden symbol.
11858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11861 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11862 when an incomplete long option is used.
11863 * posix/tst-getopt_long1.c: New file.
11864 * posix/Makefile (tests): Add tst-getopt_long1.
11867 * scripts/config.guess: Update from autoconf-2.68.
11868 * scripts/config.sub: Likewise.
11871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11873 (has_cpuclock): ...this. New function.
11874 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11875 macro here based on has_cpuclock code.
11878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11879 First byte (not low byte) is now always NUL.
11880 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11883 Use non-cancelable interfaces.
11886 * locale/iso-639.def: Add entry for Sorani.
11889 * include/stdlib.h: Move include protection to the right place.
11890 Define abort_msg_s. Declare __abort_msg with it.
11891 * stdlib/abort.c (__abort_msg): Adjust type.
11892 * assert/assert.c (__assert_fail_base): New function. Majority
11893 of code from __assert_fail. Allocate memory for __abort_msg with
11895 (__assert_fail): Now call __assert_fail_base.
11896 * assert/assert-perr.c: Remove bulk of implementation. Use
11897 __assert_fail_base.
11898 * include/assert.hL Declare __assert_fail_base.
11899 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11901 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11903 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11907 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11908 until all modules are registered in the DTV.
11909 * elf/Makefile: Add rules to build and run tst-tls19.
11910 * elf/tst-tls19.c: New file.
11911 * elf/tst-tls19mod1.c: New file.
11912 * elf/tst-tls19mod2.c: New file.
11913 * elf/tst-tls19mod3.c: New file.
11914 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11917 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11921 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11922 two-byte sequence errors.
11923 * iconvdata/Makefile (tests): Add bug-iconv8.
11924 * iconvdata/bug-iconv8.c: New file.
11927 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11930 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11933 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11934 (dummy_getcfa): New function.
11935 (init): Get _Unwind_GetCFA address, use dummy if not found.
11936 (backtrace_helper): In recursion check, also check whether CFA changes.
11937 (__backtrace): Completely initialize arg.
11939 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11940 storing incomplete byte sequence in state object. Avoid testing for
11941 guaranteed too small input if we know there is enough data available.
11943 2011-05-11 Andreas Schwab <schwab@redhat.com>
11945 * Makeconfig (+link-pie): Indent.
11946 * Rules (binaries-pie): Define if $(have-fpie) and
11948 (binaries-shared): Also filter out $(binaries-pie).
11949 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11950 * nscd/Makefile (others-pie): Add nscd.
11951 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11952 ($(objpfx)nscd): Remove command override.
11953 * login/Makefile (others-pie): Add pt_chown.
11954 ($(objpfx)pt_chown): Remove command override.
11955 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11956 remove command overrides.
11958 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11960 * libio/tst_putwc.c: Fix error messages.
11963 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11964 currently writing and seek to current position when not.
11965 * libio/Makefile (tests): Add bug-fclose1.
11966 * libio/bug-fclose1.c: New file.
11968 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11971 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11972 don't set DF_1_NODELETE here.
11973 (do_lookup_x): When entering new entry test for copy relocation
11974 and if necessary set DF_1_NODELETE flag.
11975 * elf/tst-unique4.cc: New file.
11976 * elf/tst-unique4.h: New file.
11977 * elf/tst-unique4lib.cc: New file.
11978 * elf/Makefile: Add rules to build and run tst-unique4.
11979 Patch by Piotr Bury <pbury@goahead.com>.
11981 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11984 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11987 * misc/mntent_r.c (addmntent): Flush the stream after the output
11990 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11991 (is_trusted_path_normalize): Skip initial colon. Append slash
11992 to empty buffer. Duplicate is_trusted_path code but allow
11993 constructed patch to be prefix.
11994 (is_dst): Allow $ORIGIN followed by /.
11995 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11996 Correct testing of result of is_trusted_path_normalize
11997 (decompose_rpath): Fix warning.
11999 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12002 * grp/initgroups.c (internal_getgrouplist): When we found the service
12003 list through the initgroups entry in nsswitch.conf do not always
12004 continue on a successful lookup. Don't always use the
12005 __nss_group_database value if it is set.
12006 * nss/nsswitch.conf (initgroups): Change action for successful db
12007 lookup to continue for compatibility.
12009 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12012 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12014 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12016 * iconvdata/tst-tables.sh: Likewise.
12017 * iconvdata/cp770.c: New file.
12018 * iconvdata/cp771.c: New file.
12019 * iconvdata/cp772.c: New file.
12020 * iconvdata/cp773.c: New file.
12021 * iconvdata/cp774.c: New file.
12022 * iconvdata/testdata/CP770: New file.
12023 * iconvdata/testdata/CP770..UTF8: New file.
12024 * iconvdata/testdata/CP771: New file.
12025 * iconvdata/testdata/CP771..UTF8: New file.
12026 * iconvdata/testdata/CP772: New file.
12027 * iconvdata/testdata/CP772..UTF8: New file.
12028 * iconvdata/testdata/CP773: New file.
12029 * iconvdata/testdata/CP773..UTF8: New file.
12030 * iconvdata/testdata/CP774: New file.
12031 * iconvdata/testdata/CP774..UTF8: New file.
12033 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12035 * iconvdata/gen-8bit-gap.sh: Likewise.
12036 * iconvdata/gen-8bit.sh: Likewise.
12038 * locale/iso-639.def: Add ary entry.
12041 * locale/C-translit.h.in: Add U20A1 transliteration.
12044 * locale/iso-639.def: Add wae entry.
12045 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12048 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12052 * locale/C-translit.h.in: Add entry for U20B9.
12053 Patch by pravin.d.s@gmail.com.
12055 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12058 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12059 ENAMETOOLONG use generic getcwd.
12060 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12061 in rtld. Use *stat64.
12062 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12063 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12064 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12065 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12066 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12067 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12068 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12069 __fstatat64 macros.
12070 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12071 * dirent/rewinddir.c: Add libc_hidden_def.
12072 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12073 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12075 * include/dirent.h (__alloc_dir): Add flags parameter.
12076 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12077 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12079 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12080 from fdopendir if O_CLOEXEC is already set.
12082 2011-03-15 Alan Modra <amodra@gmail.com>
12084 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12085 l_tls_firstbyte_offset non-zero. Save padding offset in
12086 l_tls_firstbyte_offset for later use.
12087 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12088 freeing static tls block.
12090 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12092 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12093 where #ifdef was intended. The intent is to prevent ARG_MAX from
12094 being defined by the kernel headers.
12096 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12099 * resolv/resolv.h: Define RES_NOTLDQUERY.
12100 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12101 no-tld-query and set RES_NOTLDQUERY.
12102 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12103 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12104 modern BIND to search name as TLD unless forbidden.
12106 2011-05-07 Petr Baudis <pasky@suse.cz>
12107 Ulrich Drepper <drepper@gmail.com>
12110 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12111 (is_trusted_path): ...to here.
12112 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12113 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12114 using is_trusted_path_normalize() in setuid scripts.
12116 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12118 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12119 __BEGIN/__END_DECLS.
12121 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12124 NSS_STATUS_NOTFOUND if no record was found.
12126 2011-05-05 Andreas Schwab <schwab@redhat.com>
12128 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12129 (headers-not-in-tirpc): Remove rpc/netdb.h
12130 * resolv/netdb.h: Revert last change.
12132 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12134 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12135 circular dependency between libgcc.a and libc.a.
12137 2011-05-05 Andreas Schwab <schwab@redhat.com>
12139 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12140 * nis/Makefile: Don't install rpcsvc/*.
12141 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12142 instead of <rpc/types.h>.
12143 (MAXHOSTNAMELEN): Define.
12145 2011-05-03 Andreas Schwab <schwab@redhat.com>
12147 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12149 2011-04-28 Maciej Babinski <mbabinski@google.com>
12152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12153 gethostbyname4_r when IPv6 results are possible.
12155 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12159 _PC_PIPE_BUF handling.
12161 2011-04-30 Bruno Haible <bruno@clisp.org>
12164 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12165 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12167 * inet/getnameinfo.c (getnameinfo): Likewise.
12169 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12171 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12172 to groups setting in database lookup.
12173 * nss/nsswitch.conf: Add initgroups entry.
12175 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12178 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12180 Patch by Eric Blake <eblake@redhat.com>.
12182 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12184 * sunrpc/Makefile (need-export-routines): Add svc_run.
12185 (routines): Remove svc_run.
12186 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12187 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12188 * sunrpc/svc_run.c (svc_run): Likewise.
12189 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12191 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12194 problem in reallocation in last patch.
12196 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12198 * sunrpc/Makefile: Move inclusion of Rules.
12200 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12202 * nss/nss_files/files-initgroups.c: New file.
12203 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12204 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12205 _nss_files_initgroups_dyn.
12207 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12209 * elf/elf.h (R_ARM_IRELATIVE): Define.
12211 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12213 * po/ru.po: Update from translation team.
12215 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12217 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12220 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12224 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12229 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12237 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12240 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12242 * stdlib/bug-getcontext.c: New file.
12243 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12245 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12247 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12248 instructions into .machine "z9-109".
12249 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12250 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12252 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12254 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12255 between environment variables and auxiliary vector.
12257 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12259 * Makefile: Add rules to build linkobj/libc.so.
12260 * include/libc-symbols.h: Define libc_hidden_nolink.
12261 * include/rpc/auth.h: Mark functions which are to be hidden.
12262 * include/rpc/auth_des.h: Likewise.
12263 * include/rpc/auth_unix.h: Likewise.
12264 * include/rpc/clnt.h: Likewise.
12265 * include/rpc/des_crypt.h: Likewise.
12266 * include/rpc/key_prot.h: Likewise.
12267 * include/rpc/pmap_clnt.h: Likewise.
12268 * include/rpc/pmap_prot.h: Likewise.
12269 * include/rpc/pmap_rmt.h: Likewise.
12270 * include/rpc/rpc_msg.h: Likewise.
12271 * include/rpc/svc.h: Likewise.
12272 * include/rpc/svc_auth.h: Likewise.
12273 * include/rpc/xdr.h: Likewise.
12274 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12275 * nss/Makefile: Likewise.
12276 * sunrpc/Makefile: Don't install headers. Build library with normal
12277 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12278 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12279 for the compat linking library. Remove use of INTDEF/INTUSE.
12280 * sunrpc/auth_none.c: Likewise.
12281 * sunrpc/auth_unix.c: Likewise.
12282 * sunrpc/authdes_prot.c: Likewise.
12283 * sunrpc/authuxprot.c: Likewise.
12284 * sunrpc/clnt_gen.c: Likewise.
12285 * sunrpc/clnt_perr.c: Likewise.
12286 * sunrpc/clnt_raw.c: Likewise.
12287 * sunrpc/clnt_simp.c: Likewise.
12288 * sunrpc/clnt_tcp.c: Likewise.
12289 * sunrpc/clnt_udp.c: Likewise.
12290 * sunrpc/clnt_unix.c: Likewise.
12291 * sunrpc/des_crypt.c: Likewise.
12292 * sunrpc/des_soft.c: Likewise.
12293 * sunrpc/get_myaddr.c: Likewise.
12294 * sunrpc/key_call.c: Likewise.
12295 * sunrpc/key_prot.c: Likewise.
12296 * sunrpc/netname.c: Likewise.
12297 * sunrpc/pm_getmaps.c: Likewise.
12298 * sunrpc/pm_getport.c: Likewise.
12299 * sunrpc/pmap_clnt.c: Likewise.
12300 * sunrpc/pmap_prot.c: Likewise.
12301 * sunrpc/pmap_prot2.c: Likewise.
12302 * sunrpc/pmap_rmt.c: Likewise.
12303 * sunrpc/publickey.c: Likewise.
12304 * sunrpc/rpc_cmsg.c: Likewise.
12305 * sunrpc/rpc_common.c: Likewise.
12306 * sunrpc/rpc_dtable.c: Likewise.
12307 * sunrpc/rpc_prot.c: Likewise.
12308 * sunrpc/rpc_thread.c: Likewise.
12309 * sunrpc/rtime.c: Likewise.
12310 * sunrpc/svc.c: Likewise.
12311 * sunrpc/svc_auth.c: Likewise.
12312 * sunrpc/svc_authux.c: Likewise.
12313 * sunrpc/svc_raw.c: Likewise.
12314 * sunrpc/svc_run.c: Likewise.
12315 * sunrpc/svc_simple.c: Likewise.
12316 * sunrpc/svc_tcp.c: Likewise.
12317 * sunrpc/svc_udp.c: Likewise.
12318 * sunrpc/svc_unix.c: Likewise.
12319 * sunrpc/svcauth_des.c: Likewise.
12320 * sunrpc/xcrypt.c: Likewise.
12321 * sunrpc/xdr.c: Likewise.
12322 * sunrpc/xdr_array.c: Likewise.
12323 * sunrpc/xdr_float.c: Likewise.
12324 * sunrpc/xdr_intXX_t.c: Likewise.
12325 * sunrpc/xdr_mem.c: Likewise.
12326 * sunrpc/xdr_rec.c: Likewise.
12327 * sunrpc/xdr_ref.c: Likewise.
12328 * sunrpc/xdr_sizeof.c: Likewise.
12329 * sunrpc/xdr_stdio.c: Likewise.
12331 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12334 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12335 * sysdeps/ia64/dl-tls.h: Likewise.
12336 * sysdeps/powerpc/dl-tls.h: Likewise.
12337 * sysdeps/s390/dl-tls.h: Likewise.
12338 * sysdeps/sh/dl-tls.h: Likewise.
12339 * sysdeps/sparc/dl-tls.h: Likewise.
12340 * sysdeps/x86_64/dl-tls.h: Likewise.
12341 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12343 2011-03-14 Andreas Schwab <schwab@redhat.com>
12345 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12346 rpath element also skip the following colon.
12347 (expand_dynamic_string_token): Add is_path parameter and pass
12348 down to DL_DST_REQUIRED and _dl_dst_substitute.
12349 (decompose_rpath): Call expand_dynamic_string_token with
12350 non-zero is_path. Ignore empty rpaths.
12351 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12354 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12359 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12362 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12363 Patch by Filipe David Manana <fdmanana@apache.org>.
12365 2011-04-07 Andreas Schwab <schwab@redhat.com>
12367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12368 Maintain aligned stack.
12369 (CHECK_RSP): Remove unused macro.
12371 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12373 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12376 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12378 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12380 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12382 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12385 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12386 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12387 * sysdeps/x86_64/memmove.c: New file.
12388 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12389 (memcpy): Renamed to ...
12390 (__new_memcpy): This.
12391 (memcpy): Provide GLIBC_2_14 memcpy.
12392 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12393 (memcpy): Provide GLIBC_2_2_5 memcpy.
12395 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12398 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12400 2011-03-30 Andreas Schwab <schwab@redhat.com>
12402 * misc/syncfs.c: New file.
12403 * misc/Makefile (routines): Add syncfs.
12404 * posix/unistd.h: Declare syncfs.
12405 * sysdeps/unix/syscalls.list: Add syncfs.
12407 2011-04-01 Andreas Schwab <schwab@redhat.com>
12409 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12416 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12419 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12429 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12430 sync_file_range.c with -fexceptions.
12431 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12432 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12433 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12434 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12435 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12436 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12438 sync_file_range as cancellation point
12439 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12440 now a wrapper around __call_sync_file_range with cancellation handling.
12441 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12443 function name to __call_sync_file_range.
12444 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12445 Add call_sync_file_range.
12447 2011-04-01 Andreas Schwab <schwab@redhat.com>
12449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12452 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12454 * iconv/iconv.h: Fix typo in comment.
12455 * io/fcntl.h: Likewise.
12456 * libio/stdio.h: Likewise.
12457 * posix/spawn.h: Likewise.
12458 * posix/unistd.h: Likewise.
12459 * stdlib/stdlib.h: Likewise.
12460 * time/time.h: Likewise.
12461 * wcsmbs/wchar.h: Likewise.
12463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12464 open_by_handle): Add.
12465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12466 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12467 Augment a few comments.
12468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12473 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12476 * io/fcntl.h (AT_EMPTY_PATH): Define.
12478 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12480 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12481 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12482 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12484 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12485 * Versions.def: Add GLIBC_2.14.
12486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12489 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12495 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12498 * string/test-strncmp.c (do_page_test): New function.
12499 (check2): Likewise.
12500 (test_main): Call check2.
12501 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12503 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12507 Handle cache information in CPU leaf 4.
12508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12510 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12513 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12514 character representation.
12515 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12517 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12520 END(__isnan) to END(__isnanf) to match function entry point/label
12521 EALIGN(__isnanf,...).
12523 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12525 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12527 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12530 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12531 copy from the symbol referenced in the relocation to initialize the
12533 Patch by Piotr Bury <pbury@goahead.com>.
12534 * elf/Makefile: Add rules to build and tst-unique3.
12535 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12536 * elf/tst-unique3.cc: New file.
12537 * elf/tst-unique3.h: New file.
12538 * elf/tst-unique3lib.cc: New file.
12539 * elf/tst-unique3lib2.cc: New file.
12541 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12543 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12545 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12546 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12549 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12551 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12552 to-be-loaded object along a path to loader is ld.so.
12554 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12555 Ulrich Drepper <drepper@gmail.com>
12557 * sysdeps/x86_64/memset.S: After aligning destination, code
12558 branches to different locations depending on the value of
12559 misalignment, when multiarch is enabled. Fix this.
12561 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12563 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12564 Set _x86_64_preferred_memory_instruction for AMD processsors.
12565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12566 Set bit_Prefer_SSE_for_memop for AMD processors.
12568 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12570 * libio/fmemopen.c (fmemopen): Optimize a bit.
12572 2011-03-03 Andreas Schwab <schwab@redhat.com>
12574 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12576 2011-03-03 Roland McGrath <roland@redhat.com>
12578 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12580 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12582 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12583 __bzero_ultra1 instead of __memset_ultra1.
12585 2011-02-23 Andreas Schwab <schwab@redhat.com>
12586 Ulrich Drepper <drepper@gmail.com>
12589 * include/link.h (struct link_map): Add l_orig_initfini.
12590 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12591 returning unsuccessfully.
12592 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12593 close of a file loaded at startup, restore the original l_initfini
12595 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12596 list, store the pointer.
12597 * elf/Makefile ($(objpfx)noload-mem): New rule.
12598 (noload-ENV): Define.
12599 (tests): Add $(objpfx)noload-mem.
12600 * elf/noload.c: Include <memcheck.h>.
12601 (main): Call mtrace. Close all opened handles.
12603 2011-02-17 Andreas Schwab <schwab@redhat.com>
12606 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12607 dependencies are missing.
12609 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12611 Fix __if_freereq crash: Unlike the generic version which uses free,
12613 * sysdeps/mach/hurd/ifreq.h: New file.
12615 2011-01-27 Petr Baudis <pasky@suse.cz>
12616 Ulrich Drepper <drepper@gmail.com>
12619 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12620 to extend_alloca().
12621 * stdio-common/bug23.c: New file.
12622 * stdio-common/Makefile (tests): Add bug23.
12624 2010-09-28 Andreas Schwab <schwab@redhat.com>
12625 Ulrich Drepper <drepper@gmail.com>
12628 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12629 before performing relro protection. At old place add assertion
12630 to make sure nothing changed.
12632 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12633 Glauber de Oliveira Costa <glommer@gmail.com>
12635 * elf/elf.h: Add new ARM TLS relocs.
12637 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12640 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12642 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12644 * sysdeps/wordsize-64/tst-writev.c: New file.
12646 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12648 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12649 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12650 insns in _dl_start to prevent a TOC reference before relocs are
12653 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12656 * Makeconfig: Remove RANLIB definition.
12657 * Makerules: Don't use RANLIB.
12658 * aclocal.m4: Remove ranlib test.
12659 * configure.in: No need to check for ranlib.
12660 * elf/rtld-Rules: Don't use RANLIB.
12662 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12664 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12666 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12667 inclusion protection macro.
12669 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12670 SIGRTMIN and SIGRTMAX and print information in that case only when
12671 SIGRTMIN is defined.
12673 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12675 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12676 arginfo fn returning -1.
12678 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12679 and thousands string is zero terminated.
12681 2011-02-03 Andreas Schwab <schwab@redhat.com>
12683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12684 sysdeps/unix/sysv/linux/bits/socket.h.
12686 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12688 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12689 (__CPU_COUNT): Remove old macros.
12690 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12691 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12692 (__CPU_ALLOC, __CPU_FREE): Add macros.
12693 (__sched_cpualloc, __sched_cpufree): Add declarations.
12695 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12697 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12698 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12699 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12700 (readdhstai): Return value of addhstaiX call.
12701 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12702 (addgrbyX): Return value returned by cache_addgr.
12703 (readdgrbyname): Return value returned by addgrbyX.
12704 (readdgrbygid): Likewise.
12705 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12706 (addpwbyX): Return value returned by cache_addpw.
12707 (readdpwbyname): Return value returned by addhstbyX.
12708 (readdpwbyuid): Likewise.
12709 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12710 (addservbyX): Return value returned by cache_addserv.
12711 (readdservbyname): Return value returned by addservbyX:
12712 (readdservbyport): Likewise.
12713 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12714 (addhstbyX): Return value returned by cache_addhst.
12715 (readdhstbyname): Return value returned by addhstbyX.
12716 (readdhstbyaddr): Likewise.
12717 (readdhstbynamev6): Likewise.
12718 (readdhstbyaddrv6): Likewise.
12719 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12720 (readdinitgroups): Return value returned by addinitgroupsX.
12721 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12722 (prune_cache): Keep track of timeout value of re-added entries.
12723 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12724 * nscd/nscd.h: Adjust prototypes of readd* functions.
12726 2011-02-04 Roland McGrath <roland@redhat.com>
12728 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12729 (nis_stats): Likewise.
12730 * nis/nis_modify.c (nis_modify): Likewise.
12731 * nis/nis_remove.c (nis_remove): Likewise.
12732 * nis/nis_add.c (nis_add): Likewise.
12734 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12736 * posix/fnmatch_loop.c: Add some consts.
12738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12740 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12743 * config.make.in (config-cflags-novzeroupper): Define.
12744 * configure.in: Substitute libc_cv_cc_novzeroupper.
12745 * elf/Makefile (AVX-CFLAGS): Define.
12746 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12747 (CFLAGS-tst-auditmod4a.c): Likewise.
12748 (CFLAGS-tst-auditmod4b.c): Likewise.
12749 (CFLAGS-tst-auditmod6b.c): Likewise.
12750 (CFLAGS-tst-auditmod6c.c): Likewise.
12751 (CFLAGS-tst-auditmod7b.c): Likewise.
12752 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12754 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12756 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12757 function to the callback.
12758 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12760 2011-02-02 Andreas Schwab <schwab@redhat.com>
12762 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12765 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12768 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12770 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12772 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12775 * elf/Makefile: Add rules to build and run new test.
12776 * elf/tst-initorder.c: New file.
12777 * elf/tst-initorder.exp: New file.
12778 * elf/tst-initordera1.c: New file.
12779 * elf/tst-initordera2.c: New file.
12780 * elf/tst-initordera3.c: New file.
12781 * elf/tst-initordera4.c: New file.
12782 * elf/tst-initorderb1.c: New file.
12783 * elf/tst-initorderb2.c: New file.
12784 * elf/tst-order-a1.c: New file.
12785 * elf/tst-order-a2.c: New file.
12786 * elf/tst-order-a3.c: New file.
12787 * elf/tst-order-a4.c: New file.
12788 * elf/tst-order-b1.c: New file.
12789 * elf/tst-order-b2.c: New file.
12790 * elf/tst-order-main.c: New file.
12791 New test case by George Gensure <werkt0@gmail.com>.
12793 2010-10-01 Andreas Schwab <schwab@redhat.com>
12795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12796 decoding ACE if AI_CANONIDN.
12798 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12800 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12802 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12804 * version.h (RELEASE): Bump for 2.13 release.
12805 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12807 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12811 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12818 * posix/getconf.c: Update copyright year.
12819 * catgets/gencat.c: Likewise.
12820 * csu/version.c: Likewise.
12821 * debug/catchsegv.sh: Likewise.
12822 * debug/xtrace.sh: Likewise.
12823 * elf/ldconfig.c: Likewise.
12824 * elf/ldd.bash.in: Likewise.
12825 * elf/sprof.c (print_version): Likewise.
12826 * iconv/iconv_prog.c: Likewise.
12827 * iconv/iconvconfig.c: Likewise.
12828 * locale/programs/locale.c: Likewise.
12829 * locale/programs/localedef.c: Likewise.
12830 * malloc/memusage.sh: Likewise.
12831 * malloc/mtrace.pl: Likewise.
12832 * nscd/nscd.c (print_version): Likewise.
12833 * nss/getent.c: Likewise.
12835 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12836 PF_CAIF, and PF_ALG.
12837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12839 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12841 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12842 (modules-names): Use them.
12843 (ifunc-test-modules, ifunc-pie-tests): Define.
12844 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12845 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12846 (test-extras): Likewise.
12847 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12848 $(compile-command.c).
12849 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12850 (all-built-dso): Define.
12851 (check-textrel.out, check-execstack.out): Depend on it.
12853 * configure.in: Don't override --enable-multi-arch.
12855 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12858 * nscd/hstcache.c (tryagain): Define.
12859 (cache_addhst): Return tryagain not notfound for temporary errors.
12860 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12863 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12867 to make the syscall.
12868 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12871 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12872 and fall back to matching as normal character if the string ends before
12873 the matching ']' is found. This is what POSIX requires.
12874 * posix/testfnm.c: Adjust test result.
12875 * posix/globtest.sh: Adjust test result. Add new test.
12876 * posix/tst-fnmatch.input: Likewise.
12877 * posix/tst-fnmatch2.c: Add new test.
12879 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12881 * elf/Makefile (check-execstack): Revert last change. Depend on
12883 (check-execstack.h): New target.
12884 (generated): Add check-execstack.h.
12885 * elf/check-execstack.c: Include "check-execstack.h".
12886 (main): Revert last change.
12887 (handle_file): Return zero if GNU_STACK is absent and
12888 DEFAULT_STACK_PERMS doesn't include PF_X.
12890 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12892 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12893 in child fails because the descriptor is already closed.
12894 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12895 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12899 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12903 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12904 temporary buffer used to handle multi lookups locally.
12905 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12907 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12909 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12912 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12914 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12915 alignment for SSE2.
12917 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12920 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12921 characters. When rounding increased number of integer digits recompute
12923 * stdio-common/tst-grouping.c: New file.
12924 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12926 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12928 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12929 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12931 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12933 * bits/select.h: Likewise.
12935 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12937 * po/ja.po: Update from translation team.
12939 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12943 implementation just like for lxstat, fxstatat, et al.
12945 2010-12-27 Jim Meyering <meyering@redhat.com>
12948 * posix/regexec.c (build_trtable): Return failure indication upon
12949 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12951 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12954 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12955 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12956 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12960 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12963 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12964 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12966 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12968 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12969 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12970 script has SORT_BY_INIT_PRIORITY.
12971 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12972 NO_CTORS_DTORS_SECTIONS is defined.
12973 * elf/soinit.c: Likewise.
12974 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12975 NO_CTORS_DTORS_SECTIONS is defined.
12976 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12977 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12978 * sysdeps/sh/init-first.c: Likewise.
12979 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12981 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12983 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12984 always use the slow path.
12986 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12988 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12989 similar rule which adds the sysdep directories to the header search in
12990 order to pick up the correct platform stackinfo.h.
12991 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12992 perform test if it is, otherwise return successfully without testing.
12993 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12994 DEFAULT_STACK_PERMS define in stackinfo.h.
12995 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12996 defined in stackinfo.h.
12997 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12998 DEFAULT_STACK_PERMS defined in stackinfo.h.
12999 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13000 * sysdeps/ia64/stackinfo.h: Likewise.
13001 * sysdeps/s390/stackinfo.h: Likewise.
13002 * sysdeps/sh/stackinfo.h: Likewise.
13003 * sysdeps/sparc/stackinfo.h: Likewise.
13004 * sysdeps/x86_64/stackinfo.h: Likewise.
13005 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13006 PF_X for powerpc64. Retain PF_X for powerpc32.
13008 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13010 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13013 GETDENTS_64BIT_ALIGNED.
13015 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13017 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13019 2010-12-10 Andreas Schwab <schwab@redhat.com>
13021 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13024 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13025 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13027 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13028 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13030 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13033 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13036 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13038 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13040 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13042 * po/it.po: Update from translation team.
13044 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13049 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13051 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13053 2010-11-24 Andreas Schwab <schwab@redhat.com>
13055 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13057 (gaih_getanswer_slice): Likewise.
13059 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13063 2010-05-31 Petr Baudis <pasky@suse.cz>
13066 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13067 silently even in the chroot mode.
13069 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13071 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13072 last patch a bit. Pretty printing
13074 2010-05-31 Petr Baudis <pasky@suse.cz>
13077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13078 initialization of skip_initgroups_dyn.
13080 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13085 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13087 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13089 2010-11-11 Andreas Schwab <schwab@redhat.com>
13091 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13092 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13093 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13094 ($(objpfx)tst-fnmatch-mem): New rule.
13095 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13096 * posix/tst-fnmatch.c (main): Call mtrace.
13098 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13101 Support Intel processor model 6 and model 0x2c.
13103 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13108 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13111 * string/test-strncasecmp.c (check_result): New function.
13112 (do_one_test): Use it.
13113 (check1): New function.
13114 (test_main): Use it.
13115 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13116 Support strcasecmp and strncasecmp.
13118 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13121 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13124 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13126 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13130 * sysdeps/x86_64/multiarch/bzero.S: New file.
13131 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13132 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13133 * sysdeps/x86_64/multiarch/memset.S: New file.
13134 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13136 Set bit_Prefer_SSE_for_memop for Intel processors.
13137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13139 (index_Prefer_SSE_for_memop): Define.
13140 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13142 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13145 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13147 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13150 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13151 (__x86_64_raw_data_cache_size_half): Likewise.
13152 (__x86_64_raw_shared_cache_size): Likewise.
13153 (__x86_64_raw_shared_cache_size_half): Likewise.
13155 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13156 (__x86_64_raw_data_cache_size_half): Likewise.
13157 (__x86_64_raw_shared_cache_size): Likewise.
13158 (__x86_64_raw_shared_cache_size_half): Likewise.
13159 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13160 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13161 and __x86_64_raw_shared_cache_size_half. Round
13162 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13163 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13164 to multiple of 256 bytes.
13166 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13170 of inacessible symlinks. Verify result of symlink before returning it.
13171 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13172 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13174 2010-10-28 Erich Ritz <erichritz@gmail.com>
13176 * math/math.h (isinf): Fix typo in comment.
13178 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13180 * po/da.po: Update from translation team.
13182 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13184 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13185 is added to the list.
13187 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13188 Ulrich Drepper <drepper@gmail.com>
13190 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13191 the global list here. Move code to...
13192 (_dl_add_to_namespace_list): ...here. New function.
13193 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13194 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13195 * elf/dl-load.c (lose): Don't remove the element from the list.
13196 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13197 (_dl_map_object): Likewise.
13199 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13202 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13203 into all bytes of SSE register.
13204 Patch by Richard Li <richardpku@gmail.com>.
13206 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13209 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13212 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13214 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13215 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13222 2010-10-22 Andreas Schwab <schwab@redhat.com>
13224 * include/dlfcn.h (__RTLD_SECURE): Define.
13225 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13226 mode & __RTLD_SECURE instead.
13227 (open_path): Rename preloaded parameter to secure.
13228 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13229 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13230 * elf/dl-deps.c (openaux): Likewise.
13231 * elf/rtld.c (struct map_args): Remove is_preloaded.
13232 (map_doit): Don't use it.
13233 (dl_main): Likewise.
13234 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13235 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13237 2010-09-09 Andreas Schwab <schwab@redhat.com>
13239 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13240 (sysd-rules-targets): Remove duplicates.
13241 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13242 rtld-%.$o dependency.
13244 2010-10-18 Andreas Schwab <schwab@redhat.com>
13246 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13247 _dl_map_object do it.
13249 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13251 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13252 fast fma builtins, define the macros in the C99 standard.
13253 (FP_FAST_FMAF): Likewise.
13254 (FP_FAST_FMAL): Likewise.
13255 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13257 * bits/mathdef.h: Update copyright year.
13258 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13260 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13262 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13263 builtins, define the macros in the C99 standard.
13264 (FP_FAST_FMAF): Likewise.
13265 (FP_FAST_FMAL): Likewise.
13266 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13268 (FP_FAST_FMAF): Likewise.
13270 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13273 * math/libm-test.inc (fma_test): Some new testcases.
13274 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13276 y and infinite z. Do multiplication by C already in long double.
13277 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13279 y and infinite z. Do bitwise or of inexact bit into u.d.
13280 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13281 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13282 * sysdeps/i386/fpu/s_fma.S: Removed.
13283 * sysdeps/i386/fpu/s_fmal.S: Removed.
13285 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13288 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13290 computation is not scheduled after fetestexcept. Fix value
13291 of minimum denormal long double.
13293 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13296 * math/libm-test.inc (fma_test): Add some more tests.
13297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13300 2010-10-15 Andreas Schwab <schwab@redhat.com>
13302 * scripts/data/localplt-s390-linux-gnu.data: New file.
13303 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13305 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13308 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13309 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13311 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13313 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13315 if one of x and y is very large and the other is subnormal.
13316 * sysdeps/s390/fpu/s_fmaf.c: New file.
13317 * sysdeps/s390/fpu/s_fma.c: New file.
13318 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13319 * sysdeps/powerpc/fpu/s_fma.S: New file.
13320 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13321 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13322 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13324 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13327 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13330 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13331 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13332 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13333 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13334 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13337 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13340 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13341 * posix/bug-regex31.input: Add test case.
13343 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13345 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13346 * posix/bug-regex31.input: New file.
13349 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13350 (parse_sub_exp): Fix last change, use postorder.
13352 * posix/bug-regex31.c: New file.
13353 * posix/Makefile: Add rules to build and run bug-regex31.
13355 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13358 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13361 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13362 to have entries in sys_siglist.
13365 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13368 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13371 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13372 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13373 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13374 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13375 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13376 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13377 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13378 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13379 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13380 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13381 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13382 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13383 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13384 * math/ftestexcept.c (fetestexcept): Likewise.
13385 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13386 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13387 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13388 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13389 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13390 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13391 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13393 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13396 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13399 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13401 * string/bug-strstr1.c: New file.
13402 * string/Makefile: Add rules to build and run bug-strstr1.
13404 2010-10-05 Eric Blake <eblake@redhat.com>
13407 * string/str-two-way.h (two_way_long_needle): Always clear memory
13408 when skipping input due to the shift table.
13410 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13413 * malloc/mcheck.c: Handle large requests.
13416 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13417 for strncmp and strncasecmp.
13418 * string/stratcliff.c: Add tests for strcmp and strncmp.
13419 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13421 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13423 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13426 2010-09-30 Andreas Jaeger <aj@suse.de>
13428 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13429 (CGROUP_SUPER_MAGIC): Define.
13430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13431 Handle btrfs and cgroup file systems.
13432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13435 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13437 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13438 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13440 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13443 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13444 trying to locate the ELF header.
13446 2010-09-27 Andreas Schwab <schwab@redhat.com>
13449 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13450 Mask out sign-bit copies when constructing f_fsid.
13452 2010-09-24 Petr Baudis <pasky@suse.cz>
13454 * debug/stack_chk_fail_local.c: Add missing licence exception.
13455 * debug/warning-nop.c: Likewise.
13457 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13460 implementing getdents64 using getdents syscall, set d_type if
13461 __ASSUME_GETDENTS32_D_TYPE.
13463 2010-09-16 Andreas Schwab <schwab@redhat.com>
13465 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13466 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13468 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13471 * posix/unistd.h: Undo change of feature selection for ftruncate from
13474 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13476 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13479 2010-09-20 Andreas Schwab <schwab@redhat.com>
13481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13485 2010-09-14 Andreas Schwab <schwab@redhat.com>
13487 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13488 variables after CHECK_SP call.
13489 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13491 2010-09-13 Andreas Schwab <schwab@redhat.com>
13492 Ulrich Drepper <drepper@redhat.com>
13494 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13495 re-relocationg ld.so.
13496 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13497 _dl_init_paths call.
13498 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13501 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13503 * resolv/res_init.c (__res_vinit): Count the default server we added.
13505 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13506 Ulrich Drepper <drepper@redhat.com>
13509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13510 (____longjmp_chk): Use %ebx for saving value across system call.
13513 2010-09-06 Andreas Schwab <schwab@redhat.com>
13515 * manual/Makefile: Don't mix pattern rules with normal rules.
13517 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13519 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13521 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13522 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13523 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13524 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13528 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13531 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13532 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13534 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13536 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13537 * sysdeps/x86_64/addmul_1.S: Likewise.
13538 * sysdeps/x86_64/lshift.S: Likewise.
13539 * sysdeps/x86_64/mul_1.S: Likewise.
13540 * sysdeps/x86_64/rshift.S: Likewise.
13541 * sysdeps/x86_64/sub_n.S: Likewise.
13542 * sysdeps/x86_64/submul_1.S: Likewise.
13544 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13546 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13547 Define __sched_param instead of SCHED_* and sched_param when
13548 <bits/sched.h> is included with __need_schedparam defined.
13549 * bits/sched.h [__need_schedparam]
13550 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13551 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13552 (__defined_schedparam): Define to 1.
13553 (__sched_param): New structure, identical to sched_param.
13554 (__need_schedparam): Undefine.
13556 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13559 (epoll_create1): Declare.
13561 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13563 2010-08-31 Andreas Schwab <schwab@redhat.com>
13566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13567 shifting retval into place.
13569 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13571 * nis/rpcsvc/nis.h: Update copyright notice.
13572 * nis/rpcsvc/nis.x: Likewise.
13573 * nis/rpcsvc/nis_callback.h: Likewise.
13574 * nis/rpcsvc/nis_callback.x: Likewise.
13575 * nis/rpcsvc/nis_object.x: Likewise.
13576 * nis/rpcsvc/nis_tags.h: Likewise.
13577 * nis/rpcsvc/yp.h: Likewise.
13578 * nis/rpcsvc/yp.x: Likewise.
13579 * nis/rpcsvc/ypupd.h: Likewise.
13580 * nis/yp_xdr.c: Likewise.
13581 * nis/ypupdate_xdr.c: Likewise.
13583 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13584 mainly the body of pmap_getport. Add parameters to specify timeouts.
13585 (pmap_getport): Use __libc_rpc_getport.
13586 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13587 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13588 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13590 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13595 2010-08-27 Roland McGrath <roland@redhat.com>
13597 * sysdeps/i386/i686/multiarch/Makefile
13598 (CFLAGS-varshift.c): New variable.
13600 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13602 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13603 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13607 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13609 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13611 * sysdeps/x86_64/strlen.S: Unroll the loop.
13612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13613 strlen-sse2 strlen-sse2-bsf.
13614 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13615 __strlen_no_bsf if bit_Slow_BSF is set.
13616 (__strlen_sse42): Removed.
13617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13618 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13620 2010-08-25 Roland McGrath <roland@redhat.com>
13622 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13623 * sysdeps/x86_64/multiarch/varshift.c: New file.
13624 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13625 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13626 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13627 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13629 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13632 strlen-sse2 strlen-sse2-bsf.
13633 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13634 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13635 (__strlen_sse2): Removed.
13636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13639 bit_Slow_BSF for Atom.
13640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13641 (index_Slow_BSF): Define.
13642 (HAS_SLOW_BSF): Define.
13644 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13647 * resolv/res_init.c (__res_vinit): When no server address at all
13648 is given default to loopback.
13650 2010-08-24 Roland McGrath <roland@redhat.com>
13652 * configure.in: Remove config-name.h generation.
13653 * configure: Regenerated.
13654 * config-name.in: File removed.
13655 * scripts/config-uname.sh: New file.
13656 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13657 ($(objdir)config-name.h): New target.
13659 * sunrpc/rpc_parse.h: Avoid nested comment.
13661 2010-08-24 Richard Henderson <rth@redhat.com>
13662 Ulrich Drepper <drepper@redhat.com>
13663 H.J. Lu <hongjiu.lu@intel.com>
13665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13667 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13668 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13669 _mm_alignr_epi8 with _mm_loadu_si128.
13670 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13671 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13672 (__m128i_shift_right): Removed.
13673 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13674 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13675 * sysdeps/x86_64/multiarch/varshift.h: New file.
13676 * sysdeps/x86_64/multiarch/varshift.S: New file.
13678 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13680 * configure.in: Move assembler checks to before sysdep dir checking.
13682 2010-08-20 Petr Baudis <pasky@suse.cz>
13684 * LICENSES: Sync the sunrpc license.
13686 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13688 * sunrpc/auth_des.c: Update copyright notice once again.
13689 * sunrpc/auth_none.c: Likewise.
13690 * sunrpc/auth_unix.c: Likewise.
13691 * sunrpc/authdes_prot.c: Likewise.
13692 * sunrpc/authuxprot.c: Likewise.
13693 * sunrpc/bindrsvprt.c: Likewise.
13694 * sunrpc/clnt_gen.c: Likewise.
13695 * sunrpc/clnt_perr.c: Likewise.
13696 * sunrpc/clnt_raw.c: Likewise.
13697 * sunrpc/clnt_simp.c: Likewise.
13698 * sunrpc/clnt_tcp.c: Likewise.
13699 * sunrpc/clnt_udp.c: Likewise.
13700 * sunrpc/clnt_unix.c: Likewise.
13701 * sunrpc/des_crypt.c: Likewise.
13702 * sunrpc/des_soft.c: Likewise.
13703 * sunrpc/get_myaddr.c: Likewise.
13704 * sunrpc/getrpcport.c: Likewise.
13705 * sunrpc/key_call.c: Likewise.
13706 * sunrpc/key_prot.c: Likewise.
13707 * sunrpc/openchild.c: Likewise.
13708 * sunrpc/pm_getmaps.c: Likewise.
13709 * sunrpc/pm_getport.c: Likewise.
13710 * sunrpc/pmap_clnt.c: Likewise.
13711 * sunrpc/pmap_prot.c: Likewise.
13712 * sunrpc/pmap_prot2.c: Likewise.
13713 * sunrpc/pmap_rmt.c: Likewise.
13714 * sunrpc/rpc/auth.h: Likewise.
13715 * sunrpc/rpc/auth_unix.h: Likewise.
13716 * sunrpc/rpc/clnt.h: Likewise.
13717 * sunrpc/rpc/des_crypt.h: Likewise.
13718 * sunrpc/rpc/key_prot.h: Likewise.
13719 * sunrpc/rpc/netdb.h: Likewise.
13720 * sunrpc/rpc/pmap_clnt.h: Likewise.
13721 * sunrpc/rpc/pmap_prot.h: Likewise.
13722 * sunrpc/rpc/pmap_rmt.h: Likewise.
13723 * sunrpc/rpc/rpc.h: Likewise.
13724 * sunrpc/rpc/rpc_des.h: Likewise.
13725 * sunrpc/rpc/rpc_msg.h: Likewise.
13726 * sunrpc/rpc/svc.h: Likewise.
13727 * sunrpc/rpc/svc_auth.h: Likewise.
13728 * sunrpc/rpc/types.h: Likewise.
13729 * sunrpc/rpc/xdr.h: Likewise.
13730 * sunrpc/rpc_clntout.c: Likewise.
13731 * sunrpc/rpc_cmsg.c: Likewise.
13732 * sunrpc/rpc_common.c: Likewise.
13733 * sunrpc/rpc_cout.c: Likewise.
13734 * sunrpc/rpc_dtable.c: Likewise.
13735 * sunrpc/rpc_hout.c: Likewise.
13736 * sunrpc/rpc_main.c: Likewise.
13737 * sunrpc/rpc_parse.c: Likewise.
13738 * sunrpc/rpc_parse.h: Likewise.
13739 * sunrpc/rpc_prot.c: Likewise.
13740 * sunrpc/rpc_sample.c: Likewise.
13741 * sunrpc/rpc_scan.c: Likewise.
13742 * sunrpc/rpc_scan.h: Likewise.
13743 * sunrpc/rpc_svcout.c: Likewise.
13744 * sunrpc/rpc_tblout.c: Likewise.
13745 * sunrpc/rpc_util.c: Likewise.
13746 * sunrpc/rpc_util.h: Likewise.
13747 * sunrpc/rpcinfo.c: Likewise.
13748 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13749 * sunrpc/rpcsvc/key_prot.x: Likewise.
13750 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13751 * sunrpc/rpcsvc/mount.x: Likewise.
13752 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13753 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13754 * sunrpc/rpcsvc/rex.x: Likewise.
13755 * sunrpc/rpcsvc/rstat.x: Likewise.
13756 * sunrpc/rpcsvc/rusers.x: Likewise.
13757 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13758 * sunrpc/rpcsvc/spray.x: Likewise.
13759 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13760 * sunrpc/rtime.c: Likewise.
13761 * sunrpc/svc.c: Likewise.
13762 * sunrpc/svc_auth.c: Likewise.
13763 * sunrpc/svc_authux.c: Likewise.
13764 * sunrpc/svc_raw.c: Likewise.
13765 * sunrpc/svc_run.c: Likewise.
13766 * sunrpc/svc_simple.c: Likewise.
13767 * sunrpc/svc_tcp.c: Likewise.
13768 * sunrpc/svc_udp.c: Likewise.
13769 * sunrpc/svc_unix.c: Likewise.
13770 * sunrpc/svcauth_des.c: Likewise.
13771 * sunrpc/xcrypt.c: Likewise.
13772 * sunrpc/xdr.c: Likewise.
13773 * sunrpc/xdr_array.c: Likewise.
13774 * sunrpc/xdr_float.c: Likewise.
13775 * sunrpc/xdr_mem.c: Likewise.
13776 * sunrpc/xdr_rec.c: Likewise.
13777 * sunrpc/xdr_ref.c: Likewise.
13778 * sunrpc/xdr_sizeof.c: Likewise.
13779 * sunrpc/xdr_stdio.c: Likewise.
13781 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13784 2010-08-19 Andreas Schwab <schwab@redhat.com>
13786 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13788 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13790 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13793 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13795 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13796 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13797 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13799 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13800 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13801 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13802 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13803 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13805 2010-07-26 Anton Blanchard <anton@samba.org>
13807 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13808 * malloc/arena.c (heap_trim): Likewise.
13810 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13812 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13815 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13817 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13819 * sysdeps/i386/elf/Makefile: New file.
13821 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13823 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13824 from fanotify_init.
13825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13828 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13830 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13832 * sysdeps/multiarch/strcmp.S: Likewise.
13834 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13836 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13837 strncase_l-nonascii.
13838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13839 Add strncase_l-ssse3.
13840 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13841 * sysdeps/x86_64/strcmp.S: Likewise.
13842 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13843 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13844 * sysdeps/x86_64/strncase.S: New file.
13845 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13846 * sysdeps/x86_64/strncase_l.S: New file.
13847 * string/Makefile (strop-tests): Add strncasecmp.
13848 * string/test-strncasecmp.c: New file.
13850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13853 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13856 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13858 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13860 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13862 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13866 2010-05-01 Alan Modra <amodra@gmail.com>
13868 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13869 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13870 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13871 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13872 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13873 tidying. Don't tail-call __sigjmp_save for static lib.
13874 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13876 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13877 (CALL_MCOUNT): Add eh info, and nop after bl.
13878 (TAIL_CALL_SYSCALL_ERROR): New macro.
13879 (PSEUDO_RET): Use it.
13880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13881 Correct save location of integer regs and cr.
13882 (_dl_profile_resolve): Correct cr save location. Delete nops
13883 after bl when SHARED. Reduce cfi size a little by better
13884 placement of cfi directives.
13885 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13886 make a stack frame. Instead use parm save area as a temp.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13888 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13890 Don't make a stack frame for parent, use parm save area.
13891 Increase child stack frame to 112 bytes. Don't save unused reg,
13892 and adjust reg usage. Set up cfi on error recovery and
13893 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13895 (__makecontext): Add dummy nop after jump to exit.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13897 Use correct parm save area and cr save, reduce stack frame.
13898 Correct cfi for possible PSEUDO_RET frame setup.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13900 Branch to local label emitted by PSEUDO_RET rather than
13903 2010-08-12 Andreas Schwab <schwab@redhat.com>
13906 * locale/programs/locale.c (print_assignment): New function.
13907 (show_locale_vars): Use it.
13909 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13911 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13913 (struct statfs64): Likewise.
13914 (_STATFS_F_FLAGS): Define.
13915 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13916 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13917 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13918 (ST_VALID): Define locally.
13919 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13920 __statvfs_getflags, use the provided value.
13921 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13922 __ASSUME_STATFS_F_FLAGS.
13924 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13926 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13927 Add sys/fanotify.h.
13928 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13929 fanotify_mask for GLIBC_2.13.
13930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13931 fanotify_init and fanotify_mark.
13932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13933 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13937 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13938 prlimit64 for GLIBC_2.13.
13939 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13949 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13952 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13953 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13955 * nss/Makefile: Add rules to build and run tst-nss-test1.
13956 * shlib-versions: Add entry for libnss_test1.
13957 * nss/nss_test1.c: New file.
13958 * nss/tst-nss-test1.c: New file.
13960 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13961 (__nss_configure_lookup): Set appropriate entry in
13962 __nss_configure_lookup to true.
13963 * nss/nsswitch.h: Define enum with indeces of databases in
13964 databases and __nss_database_custom arrays. Declare
13965 __nss_database_custom.
13966 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13967 to avoid using nscd when custom rules are installed.
13968 * nss/getXXbyYY_r.c: Likewise.
13969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13971 * nss/nss_files/files-parse.c: Whitespace fixes.
13973 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13976 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13977 * posix/fnmatch_loop.c: Likewise.
13979 2010-07-17 Andi Kleen <ak@linux.intel.com>
13981 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13982 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13983 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13984 * Versions.def [GLIBC_2.13]: Add.
13986 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13989 Also fail if tpwd after pwuid call is NULL.
13991 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13994 when converting to ms.
13996 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13998 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13999 EOPNOTSUPP errors with ENOTTY.
14000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14001 EOPNOTSUPP errors with ENOTTY.
14003 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14005 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14006 Add strcasecmp_l-ssse3.
14007 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14009 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14010 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14013 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14015 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14017 * string/Makefile (strop-tests): Add strcasecmp.
14018 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14019 strcasecmp_l-nonascii.
14020 (gen-as-const-headers): Add locale-defines.sym.
14021 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14022 * sysdeps/x86_64/strcasecmp.S: New file.
14023 * sysdeps/x86_64/strcasecmp_l.S: New file.
14024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14025 * sysdeps/x86_64/locale-defines.sym: New file.
14026 * string/test-strcasecmp.c: New file.
14028 * string/test-strcasestr.c: Test both ends of the range of characters.
14029 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14031 2010-07-29 Roland McGrath <roland@redhat.com>
14034 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14036 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14038 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14041 2010-07-27 Andreas Schwab <schwab@redhat.com>
14043 * manual/memory.texi (Malloc Tunable Parameters): Document
14046 2010-07-26 Roland McGrath <roland@redhat.com>
14049 * configure.in (-fgnu89-inline check): Set and substitute
14050 gnu89_inline, not libc_cv_gnu89_inline.
14051 * configure: Regenerated.
14052 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14054 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14056 * string/test-strnlen.c: New file.
14057 * string/Makefile (strop-tests): Add strnlen.
14058 * string/tester.c (test_strnlen): Add a few more test cases.
14059 * string/tst-strlen.c: Better error reporting.
14061 * sysdeps/x86_64/strnlen.S: New file.
14063 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14065 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14066 lower-latency instructions.
14068 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14070 * string/test-strcasestr.c: New file.
14071 * string/test-strstr.c: New file.
14072 * string/Makefile (strop-tests): Add strstr and strcasestr.
14073 * string/str-two-way.h: Don't undefine MAX.
14074 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14076 2010-07-21 Andreas Schwab <schwab@redhat.com>
14078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14079 strcasestr-nonascii.
14080 (CFLAGS-strcasestr-nonascii.c): Define.
14081 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14083 Remove unused attribute.
14085 2010-07-20 Roland McGrath <roland@redhat.com>
14087 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14088 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14089 ld.so.cache was broken. With it, there is no way to disable dsocaps
14090 like LD_HWCAP_MASK can disable hwcaps.
14092 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14094 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14096 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14098 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14099 call in strcasestr.
14100 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14101 __strcasestr_sse42_nonascii.
14102 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14103 strcasestr-nonascii.c.
14104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14106 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14113 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14118 2010-07-06 Andreas Schwab <schwab@redhat.com>
14121 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14124 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14127 _PC_PIPE_BUF using F_GETPIPE_SZ.
14129 2010-07-05 Roland McGrath <roland@redhat.com>
14131 * manual/arith.texi (Rounding Functions): Fix rint description
14132 implicit in round description.
14134 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14136 * elf/Makefile: Fix linking for a few tests to make recent linker
14139 2010-06-30 Andreas Schwab <schwab@redhat.com>
14141 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14142 $(common-objpfx)libc_nonshared.a.
14144 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14146 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14147 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14148 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14149 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14150 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14152 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14153 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14168 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14169 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14170 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14171 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14172 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14173 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14174 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14175 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14176 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14177 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14178 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14179 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14195 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14197 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14198 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14199 * string/memmove.c (memmove): Renamed to ...
14200 (MEMMOVE): ...this. Default to memmove.
14201 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14202 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14205 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14206 mempcpy-ssse3-back memmove-ssse3-back.
14207 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14210 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14211 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14212 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14213 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14214 * sysdeps/x86_64/multiarch/memmove.c: New file.
14215 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14216 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14217 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14218 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14222 (index_Fast_Copy_Backward): Define.
14223 (HAS_ARCH_FEATURE): Define.
14224 (HAS_FAST_REP_STRING): Define.
14225 (HAS_FAST_COPY_BACKWARD): Define.
14227 2010-06-21 Andreas Schwab <schwab@redhat.com>
14229 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14230 Restore proper fallback handling.
14232 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14235 * posix/group_member.c (__group_member): Correct checking loop.
14237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14238 OOM in getpwuid_r correctly. Return error number when the caller
14239 should return, otherwise -1.
14240 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14241 call returning > 0 value.
14242 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14244 2010-06-07 Andreas Schwab <schwab@redhat.com>
14246 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14247 libc_nonshared.a from targets in modules-names.
14249 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14251 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14254 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14261 2010-06-02 Andreas Schwab <schwab@redhat.com>
14263 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14265 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14274 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14276 2010-06-14 Roland McGrath <roland@redhat.com>
14278 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14280 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14282 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14283 __REDIRECT followed by __THROW.
14284 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14285 * posix/getopt.h (getopt): Likewise.
14287 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14289 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14290 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14291 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14293 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14294 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14296 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14300 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14304 Properly check family and model.
14306 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14308 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14310 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14312 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14314 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14316 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14319 2010-05-19 Andreas Schwab <schwab@redhat.com>
14321 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14324 2010-05-21 Andreas Schwab <schwab@redhat.com>
14326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14327 and internal_recvmmsg.
14328 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14329 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14330 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14331 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14333 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14334 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14335 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14337 2010-05-20 Andreas Schwab <schwab@redhat.com>
14339 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14341 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14343 POWER7 optimizations.
14344 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14345 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14347 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14349 * version.h: Update for 2.13 development version.
14351 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14354 exceptions. Return 0.
14356 2010-05-07 Roland McGrath <roland@redhat.com>
14358 * elf/ldconfig.c (main): Add a const.
14360 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14362 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14363 (args_options): Add no-idn option.
14364 (ahosts_keys_int): Add idn_flags to ai_flags.
14365 (parse_option): Handle 'i' option to clear idn_flags.
14367 * malloc/malloc.c (_int_free): Possible race in the most recently
14368 added check. Only act on the data if no current modification
14371 See ChangeLog.17 for earlier changes.