1 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6 defined. Use __syscall_ulong_t.
7 (shminfo): Use __syscall_ulong_t.
10 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19 (msgqnum_t): Use __syscall_ulong_t.
21 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46 include <bits/wordsize.h>. Check __x86_64__ instead of
49 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52 "unsigned long long int" if __x86_64__ is defined.
53 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
59 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65 (GET_PC): Cast to uintptr_t first.
66 (GET_FRAME): Likewise.
67 (GET_STACK): Likewise.
69 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
72 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
83 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
84 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
85 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
86 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
87 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
88 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
89 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
90 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
92 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
93 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
94 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
95 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
97 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
98 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
99 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
101 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
103 * Makerules (+depfiles): Also collect depfiles from .oS in
105 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
106 .oS, $(libnldbl-routines)).
108 * Makerules (native-compile-mkdep-flags): Define.
109 * sunrpc/Makefile (extra-objs): Add $(addprefix
110 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
111 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
112 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
113 calling $(make-target-directory).
115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
117 * bits/types.h (__snseconds_t): Removed.
118 * time/time.h (struct timespec): Replace __snseconds_t with
120 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
121 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
124 (__SNSECONDS_T_TYPE): Likewise.
125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
126 (__SNSECONDS_T_TYPE): Likewise.
127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
128 (__SNSECONDS_T_TYPE): Likewise.
130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
132 * sysdeps/mach/hurd/bits/typesizes.h
133 (__SYSCALL_SLONG_TYPE): New macro.
134 (__SYSCALL_ULONG_TYPE): Likewise.
136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
138 * bits/types.h (__syscall_slong_t): New type.
139 (__syscall_ulong_t): Likewise.
141 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
142 (__SYSCALL_ULONG_TYPE): Likewise.
143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
144 (__SYSCALL_SLONG_TYPE): Likewise.
145 (__SYSCALL_ULONG_TYPE): Likewise.
146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
147 (__SYSCALL_SLONG_TYPE): Likewise.
148 (__SYSCALL_ULONG_TYPE): Likewise.
149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
150 (__SYSCALL_SLONG_TYPE): Likewise.
151 (__SYSCALL_ULONG_TYPE): Likewise.
153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
155 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
156 Add sigaltstack-offsets.sym.
157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
158 <sigaltstack-offsets.h>.
159 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
161 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
162 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
164 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
166 2012-05-15 Joseph Myers <joseph@codesourcery.com>
168 * elf/stackguard-macros.h: Remove file.
169 * sysdeps/generic/stackguard-macros.h: New file.
170 * sysdeps/i386/stackguard-macros.h: Likewise.
171 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
172 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
173 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
174 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
175 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
176 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
177 * sysdeps/x86_64/stackguard-macros.h: Likewise.
178 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
179 <elf/stackguard-macros.h>.
182 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
183 __aligned__ in attribute.
184 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
185 (gregset_t): Likewise.
187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
190 * sysdeps/x86_64/64/Implies-after: Here. New file.
191 * sysdeps/x86_64/x32/Implies-after: New file.
193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
195 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
196 and access return value for _dl_profile_fixup. Use R10_LP to
199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
201 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
205 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
206 * sysdeps/x86_64/x32/sysdep.h: New file.
208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
210 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
211 * sysdeps/x86_64/setjmp.S: Likewise.
213 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
217 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
219 remove unused global constant.
221 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
223 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
224 include of <not-cancel.h>.
226 2012-05-15 Roland McGrath <roland@hack.frob.com>
228 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
230 2012-05-15 Jeff Law <law@redhat.com>
231 Andreas Jaeger <aj@suse.de>
234 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
236 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
237 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
238 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
239 code changing __hst_map_handle.map.
241 2012-05-15 Roland McGrath <roland@hack.frob.com>
243 * configure.in (sysnames): Look for Implies-before and Implies-after
245 * configure: Regenerated.
247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
250 8-byte data alignment with LP_SIZE alignment.
252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
259 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
264 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
267 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
271 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
272 (stackinfo_sub_sp): Likewise.
274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
291 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
295 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
296 into R11_LP and load __x86_64_shared_cache_size_half into
299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
301 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
304 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
313 powerpc32/power7/fpu/s_logb.c via #include.
314 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
315 powerpc32/power7/fpu/s_logbf.c via #include.
316 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
317 powerpc32/power7/fpu/s_logbl.c via #include.
319 2012-05-15 Joseph Myers <joseph@codesourcery.com>
321 * README.libm: Remove file.
323 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
325 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
326 count for x32. Use R*_LP and omit operand-size suffix.
328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
330 * shlib-versions: Move x86_64-.*-linux.* entries to ...
331 * sysdeps/x86_64/64/shlib-versions: Here. New file.
332 * sysdeps/x86_64/x32/shlib-versions: New file.
334 2012-05-14 Roland McGrath <roland@hack.frob.com>
336 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
337 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
338 Use _dl_fatal_printf instead.
340 2012-05-14 Joseph Myers <joseph@codesourcery.com>
342 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
343 set if not set by the user. Do not allow for being unset.
344 * sysdeps/unix/sysv/linux/configure: Regenerated.
346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
348 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
349 the `q' suffix from lea and replace .quad with ASM_ADDR.
351 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
354 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
356 (PTR_DEMANGLE): Likewise.
358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
360 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
362 (ASM_ADDR): Likewise.
380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
382 * sysdeps/x86_64/x32/dl-machine.h: New file.
384 2012-05-14 Andreas Jaeger <aj@suse.de>
386 * manual/Makefile (subdir): Remove export of subdir.
387 (all): Remove target.
388 (.PHONY): Remove all from list.
389 (mkinstalldirs): Remove.
390 (.PHONY): Remove installdirs from list.
391 ($(inst_infodir)/libc.info): Use make-target-directory.
392 (installdirs): Remove.
394 (glibc-targets): Remove.
397 ($(objpfx)stubs ../po/manual.pot): Remove.
398 ($(objpfx)stamp%): Remove.
399 (make-target-directory): Remove.
400 (subdir_install): Remove.
408 * manual/.gitignore: Remove, it's not needed anymore.
409 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
411 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
413 (texis): Renamed to $(objpfx)texis.
414 (texis-path): New, contains path to generated files.
415 (chapters.%): Use texis-path for complete path, add extra argument
417 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
418 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
419 (summary,texi, stamp-summary): Use complete path of
420 files. Generate files in build dir.
421 (dir-add.texi): Build in build dir.
422 (libm-err.texi,stamp-libm-err): Likewise.
423 (version.texi, stamp-version): Likewise.
424 (.%c.texi): Likewise.
425 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
426 (mostlyclean): Remove target.
427 (realclean): Remove target.
428 (generated): Add new variable with contents from mostlyclean and
429 realclean, remove entries duplicated in common-mostlyclean, add
430 stamp-libm-err and stamp-version.
431 (generated-dirs): Add libc directory.
432 ($(inst_infodir)/libc.info): Install files from build dir.
434 * manual/install.texi (Configuring and compiling): Adjust since
435 the info files are not part of the tar ball anymore.
437 2012-05-14 Andreas Jaeger <aj@suse.de>
439 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
442 2012-05-14 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
446 to 2.2.0 where earlier.
447 * sysdeps/unix/sysv/linux/configure: Regenerated.
448 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
449 Remove conditional code.
450 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
451 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
452 Remove conditional code.
453 [!__NR_lchown]: Likewise.
454 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
455 [__NR_lchown]: Likewise.
456 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
457 comment referencing __ASSUME_LCHOWN_SYSCALL.
458 * sysdeps/unix/sysv/linux/i386/sigaction.c
459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
461 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
462 Remove conditional code.
463 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
464 (__protocol_available): Remove #if 0 code.
465 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
467 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
468 * sysdeps/unix/sysv/linux/kernel-features.h
469 (__ASSUME_GETCWD_SYSCALL): Don't define.
470 (__ASSUME_REALTIME_SIGNALS): Likewise.
471 (__ASSUME_PREAD_SYSCALL): Likewise.
472 (__ASSUME_PWRITE_SYSCALL): Likewise.
473 (__ASSUME_POLL_SYSCALL): Likewise.
474 (__ASSUME_LCHOWN_SYSCALL): Likewise.
475 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
477 (__ASSUME_SIOCGIFNAME): Don't define.
478 (__ASSUME_MSG_NOSIGNAL): Likewise.
479 (__ASSUME_SENDFILE): Define unconditionally.
480 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
481 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
483 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
484 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
485 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
486 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
487 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
488 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
489 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
515 Remove conditional code.
516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
517 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
518 Remove conditional code.
519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
520 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
521 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
523 Remove conditional code.
524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
525 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
526 Remove conditional code.
527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
528 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
529 Remove conditional code.
530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
531 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
532 Remove conditional code.
533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
534 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
535 Remove conditional code.
536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
537 * sysdeps/unix/sysv/linux/sh/pwrite64.c
538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
540 * sysdeps/unix/sysv/linux/sigaction.c
541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
543 * sysdeps/unix/sysv/linux/sigpending.c
544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
546 * sysdeps/unix/sysv/linux/sigprocmask.c
547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
549 * sysdeps/unix/sysv/linux/sigsuspend.c
550 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
551 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
553 (__libc_missing_rt_sigs): Remove.
554 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
555 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
556 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
557 Remove conditional code.
558 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
559 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
561 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
562 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
564 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
566 2012-05-14 Andreas Jaeger <aj@suse.de>
568 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
569 it's not used in glibc.
570 (__coshm1): Likewise.
571 (__acosh1p): Likewise.
574 * manual/string.texi (Copying and Concatenation): Add missing
575 variable in concat example.
576 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
582 __builtin_clzl with __builtin_clzll.
584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
590 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
592 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
593 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
594 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
595 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
597 2012-05-14 Mike Frysinger <vapier@gentoo.org>
599 * NEWS: Update ia64 info.
601 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
603 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
606 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
608 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
609 * sysdeps/unix/syscalls.list (dup3): Likewise.
610 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
611 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
613 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
615 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
616 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
618 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
620 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
622 (TLS_IE): Use mov/add instead of movq/addq to load thread
624 (TLS_GD_PREFIX): New.
627 2012-05-11 David S. Miller <davem@davemloft.net>
629 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
630 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
631 (_FPU_SETCW): Likewise.
633 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
635 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
638 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
641 * iconvdata/gb18030.c: Update tables.
642 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
643 characters specially.
644 (BODY for TO_LOOP): Add encoding of missing ranges.
646 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
649 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
650 * sysdeps/mach/hurd/dup3.c: Likewise.
651 * sysdeps/mach/hurd/readlinkat.c: Likewise.
652 * sysdeps/powerpc/memmove.c:: Likewise.
654 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
657 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
659 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
661 * elf/elf.h (R_X86_64_RELATIVE64): New.
662 (R_X86_64_NUM): Updated.
663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
664 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
665 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
666 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
667 tst-quad1pie tst-quad2pie
668 (modules-names): Add tst-quadmod1 tst-quadmod2.
669 ($(objpfx)tst-quad1): New dependency.
670 ($(objpfx)tst-quad2): Likewise.
671 ($(objpfx)tst-quad1pie): Likewise.
672 ($(objpfx)tst-quad2pie): Likewise.
673 * sysdeps/x86_64/tst-quad1.c: New file.
674 * sysdeps/x86_64/tst-quad1pie.c: New file.
675 * sysdeps/x86_64/tst-quad2.c: Likewise.
676 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
677 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
678 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
679 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
680 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
684 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
685 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
686 * streams/stropts.h (t_scalar_t): Define type.
688 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
689 (_PATH_PRESERVE): Set to "/var/lib".
690 (_PATH_RWHODIR): Set to "/var/spool/rwho".
692 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
695 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
696 if __dir_mkfile succeeded.
698 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
699 checking for _hurd_dtablesize. Unlock it right after having
700 finished _hurd_dtable allocation.
702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
704 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
705 * sysdeps/mach/hurd/configure: Regenerated.
706 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
708 * sysdeps/gnu/configure.in: ... this new file.
709 * sysdeps/unix/sysv/linux/configure: Regenerated.
710 * sysdeps/gnu/configure: New generated file.
712 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
713 for Linux: use nsec instead of usec, as well as:
714 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
715 members of type struct timespec.
716 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
718 (struct stat64): Likewise.
719 (_STATBUF_ST_NSEC): New macro.
720 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
723 __strtoul_internal rather than strtoul.
725 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
727 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
732 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
733 which preserves existing values.
734 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
736 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
738 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
739 TIMEOUT values. Return EINVAL for NFDS values either negative or
740 greater than FD_SETSIZE.
742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
744 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
745 allocated, call __vm_protect to finish enabling the existing space, and
746 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
747 allocate the remainder.
749 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
751 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
752 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
756 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
757 sysdeps/mach/hurd/readlink.c.
759 * posix/tst-sysconf.c (posix_options): Only use
760 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
761 _POSIX_SYNCHRONIZED_IO when they are defined
762 * sysdeps/mach/hurd/bits/posix_opt.h:
763 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
764 (_XOPEN_REALTIME): Undefine macro.
765 (_XOPEN_REALTIME_THREADS): Undefine macro.
766 (_XOPEN_SHM): Undefine macro.
767 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
769 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
771 (_POSIX_ASYNC_IO): Undefine macro.
772 (_POSIX_PRIORITIZED_IO): Undefine macro.
773 (_POSIX_SPIN_LOCKS): Define macro to -1.
775 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
776 SA_NODEFER, SA_RESETHAND.
777 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
778 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
783 * elf/Makefile (pldd-modules): Define unconditionally.
785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
787 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
791 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
792 Return ENOENT when name is empty.
793 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
797 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
799 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
803 Fix mlock in all cases except non-readable pages.
804 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
805 instead of VM_PROT_ALL as parameter to __vm_wire function.
807 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
808 (__mkdir): When path is `/', just fail with EEXIST.
809 * sysdeps/mach/hurd/mkdirat.c: Likewise.
811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
813 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
814 <sys/uio.h> (for writev).
815 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
816 and <sys/param.h> (for MIN).
818 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
820 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
821 REQUESTED_TIME. Properly set the remaining time and return EINTR
824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
826 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
827 Depend on against $(link-rpcuserlibs).
829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
831 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
832 (__libc_stack_end): Do not use attribute_relro.
833 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
834 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
835 to libthread-provided value.
836 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
842 * bits/libc-lock.h (__libc_once_get): New macro.
843 * sysdeps/mach/bits/libc-lock.h: Likewise.
844 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
846 instead of using implementation details.
848 * libio/fileops.c: Unconditionally include <kernel-features.h>.
849 * libio/freopen.c: Likewise.
850 * libio/freopen64.c: Likewise.
851 * misc/syslog.c: Likewise.
852 * nscd/connections.c: Likewise.
853 * nscd/netgroupcache.c: Likewise.
854 * sysdeps/posix/getcwd.c: Likewise.
856 2012-05-10 Roland McGrath <roland@hack.frob.com>
858 * math/w_ilogbf.c: Add #include <limits.h>.
860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
862 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
863 path instead of returning without unlocking.
865 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
866 immediate-write ioctls.
867 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
871 * sysdeps/mach/hurd/i386/init-first.c (init): Use
872 __builtin_frame_address instead of making assumptions about the
873 location of the return address relative to DATA. Force early load of
875 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
876 __builtin_frame_address.
879 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
880 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
881 implement dup3 and do some further code clean-ups.
882 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
883 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
887 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
889 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
890 HURD_CRITICAL_END around holding _hurd_dtable_lock.
891 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
892 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
893 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
896 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
897 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
898 when handler == SIG_ERR, not when handler != SIG_ERR.
900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
902 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
903 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
906 accept4 for GNU Hurd.
907 * include/sys/socket.h (__libc_accept4): New prototype.
908 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
909 to implement __libc_accept4.
910 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
912 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
914 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
915 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
916 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
921 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
925 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
926 assertion on O_CLOEXEC flag.
927 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
928 * hurd/intern-fd.c: Likewise.
929 * hurd/port2fd.c: Likewise.
931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
934 * bits/in.h (IPV6_PKTINFO): Define new macro.
935 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
937 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
944 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
945 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
947 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
948 * math/libm-test.inc (logb_test) : Additional logb tests.
950 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
951 Andreas Jaeger <aj@suse.de>
953 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
954 * configure: Regenerated.
955 * config.h.in (LINK_OBSOLETE_RPC): New macro.
956 * config.make.in (link-obsolete-rpc): New substituted variable.
957 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
958 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
959 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
960 (shared-only-routines): Don't set it under [link-obsolete-rpc],
961 so that libc.a contains the symbols.
962 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
963 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
964 * sunrpc/auth_none.c: Likewise.
965 * sunrpc/auth_unix.c: Likewise.
966 * sunrpc/authdes_prot.c: Likewise.
967 * sunrpc/authuxprot.c: Likewise.
968 * sunrpc/clnt_gen.c: Likewise.
969 * sunrpc/clnt_perr.c: Likewise.
970 * sunrpc/clnt_raw.c: Likewise.
971 * sunrpc/clnt_simp.c: Likewise.
972 * sunrpc/clnt_tcp.c: Likewise.
973 * sunrpc/clnt_udp.c: Likewise.
974 * sunrpc/clnt_unix.c: Likewise.
975 * sunrpc/des_crypt.c: Likewise.
976 * sunrpc/des_soft.c: Likewise.
977 * sunrpc/get_myaddr.c: Likewise.
978 * sunrpc/key_call.c: Likewise.
979 * sunrpc/key_prot.c: Likewise.
980 * sunrpc/netname.c: Likewise.
981 * sunrpc/pm_getmaps.c: Likewise.
982 * sunrpc/pm_getport.c: Likewise.
983 * sunrpc/pmap_clnt.c: Likewise.
984 * sunrpc/pmap_prot.c: Likewise.
985 * sunrpc/pmap_prot2.c: Likewise.
986 * sunrpc/pmap_rmt.c: Likewise.
987 * sunrpc/publickey.c: Likewise.
988 * sunrpc/rpc_cmsg.c: Likewise.
989 * sunrpc/rpc_common.c: Likewise.
990 * sunrpc/rpc_dtable.c: Likewise.
991 * sunrpc/rpc_prot.c: Likewise.
992 * sunrpc/rpc_thread.c: Likewise.
993 * sunrpc/rtime.c: Likewise.
994 * sunrpc/svc.c: Likewise.
995 * sunrpc/svc_auth.c: Likewise.
996 * sunrpc/svc_raw.c: Likewise.
997 * sunrpc/svc_run.c: Likewise.
998 * sunrpc/svc_tcp.c: Likewise.
999 * sunrpc/svc_udp.c: Likewise.
1000 * sunrpc/svc_unix.c: Likewise.
1001 * sunrpc/svcauth_des.c: Likewise.
1002 * sunrpc/xcrypt.c: Likewise.
1003 * sunrpc/xdr.c: Likewise.
1004 * sunrpc/xdr_array.c: Likewise.
1005 * sunrpc/xdr_float.c: Likewise.
1006 * sunrpc/xdr_intXX_t.c: Likewise.
1007 * sunrpc/xdr_mem.c: Likewise.
1008 * sunrpc/xdr_rec.c: Likewise.
1009 * sunrpc/xdr_ref.c: Likewise.
1010 * sunrpc/xdr_sizeof.c: Likewise.
1011 * sunrpc/xdr_stdio.c: Likewise.
1013 2012-05-10 Roland McGrath <roland@hack.frob.com>
1015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1016 change. Update copyright years.
1018 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1020 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1022 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1023 Joseph Myers <joseph@codesourcery.com>
1024 Paul Pluzhnikov <ppluzhnikov@google.com>
1027 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1029 [cross-compiling] (extra-libs): Likewise.
1030 [cross-compiling] (extra-libs-others): Likewise.
1031 [cross-compiling] (librpcsvc-routines): Likewise.
1032 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1033 [cross-compiling] (omit-deps): Likewise.
1034 (sunrpc-CPPFLAGS): New variable.
1035 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1036 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1037 (cross-rpcgen-objs): New variable.
1038 (extra-objs): Append $(cross-rpcgen-objs).
1039 ($(cross-rpcgen-objs)): New rule.
1040 ($(objpfx)cross-rpcgen): Likewise.
1041 (rpcgen-cmd): Define to use $(built-program-file). Expand
1043 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1044 ($(objpfx)x%.stmp): Likewise.
1045 * sunrpc/proto.h [IS_IN_build] (_): Define.
1046 [IS_IN_build] (_libc_intl_domainname): Likewise.
1048 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1051 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1052 and R_X86_64_TPOFF64.
1054 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1057 sysdeps/unix/sysv/syscalls.list.
1060 * sysdeps/unix/sysv/syscalls.list: Remove file.
1062 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1065 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1066 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1067 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1068 (__LC_IDENTIFICATION): Make these macros useful in #if
1069 expressions, as required by C99.
1071 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1073 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1074 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1077 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1079 * stdlib/longlong.h: Updated from GCC.
1081 2012-05-09 Andreas Jaeger <aj@suse.de>
1083 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1084 default is first entry.
1085 (run_mode): Set type.
1086 (main): Remove informal message about syslog.
1087 (options): Fix typo.
1090 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1093 (llrintf): Likewise.
1097 (nearbyint): Likewise.
1098 (nearbyintf): Likewise.
1100 2012-05-09 Andreas Jaeger <aj@suse.de>
1101 Pedro Alves <palves@redhat.com>
1103 * nscd/nscd.c (run_mode): Use enum.
1104 (main): Cleanup coding style issue.
1106 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1107 Andreas Jaeger <aj@suse.de>
1109 * nscd/nscd.c (go_background): Replaced with...
1110 (run_mode): ... this.
1111 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1112 (options): Add -F --foreground.
1113 (main): Implement it.
1114 (parse_opt): Parse it.
1116 2012-05-09 Andreas Jaeger <aj@suse.de>
1119 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1120 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1121 -Wconversion warning.
1122 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1125 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1127 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1129 (LC_ALL): Use macro-int-constant.
1130 (LC_COLLATE): Likewise.
1131 (LC_CTYPE): Likewise.
1132 (LC_MESSAGES): Likewise.
1133 (LC_MONETARY): Likewise.
1134 (LC_NUMERIC): Likewise.
1135 (LC_TIME): Likewise.
1136 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1137 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1139 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1141 [C99-based standards] (float_t): Expect type.
1142 [C99-based standards] (double_t): Expect type.
1143 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1145 [C99-based standards] (HUGE_VALL): Likewise.
1146 [C99-based standards] (INFINITY): Likewise.
1147 [C99-based standards] (NAN): Likewise.
1148 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1149 [C99-based standards] (FP_NAN): Likewise.
1150 [C99-based standards] (FP_NORMAL): Likewise.
1151 [C99-based standards] (FP_SUBNORMAL): Likewise.
1152 [C99-based standards] (FP_ZERO): Likewise.
1153 [C99-based standards] (FP_FAST_FMA): Use
1154 optional-macro-int-constant. Specify type. Require == 1.
1155 [C99-based standards] (FP_FAST_FMAF): Likewise.
1156 [C99-based standards] (FP_FAST_FMAL): Likewise.
1157 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1158 [C99-based standards] (FP_ILOGBNAN): Likewise.
1159 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1161 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1162 [C99-based standards] (math_errhandling): Specify type.
1163 [ISO99 || ISO11] (signgam): Do not allow.
1164 [non-C99-based standards] (copysignf): Do not allow.
1165 [non-C99-based standards] (exp2f): Likewise.
1166 [non-C99-based standards] (log2f): Likewise.
1167 [non-C99-based standards] (modff): Allow.
1168 [non-C99-based standards] (erff): Do not allow.
1169 [non-C99-based standards] (erfcf): Likewise.
1170 [non-C99-based standards] (gammaf): Likewise.
1171 [non-C99-based standards] (hypotf): Likewise.
1172 [non-C99-based standards] (j0f): Likewise.
1173 [non-C99-based standards] (j1f): Likewise.
1174 [non-C99-based standards] (jnf): Likewise.
1175 [non-C99-based standards] (lgammaf): Likewise.
1176 [non-C99-based standards] (tgammaf): Likewise.
1177 [non-C99-based standards] (y0f): Likewise.
1178 [non-C99-based standards] (y1f): Likewise.
1179 [non-C99-based standards] (ynf): Likewise.
1180 [non-C99-based standards] (isnanf): Likewise.
1181 [non-C99-based standards] (acoshf): Likewise.
1182 [non-C99-based standards] (asinhf): Likewise.
1183 [non-C99-based standards] (atanhf): Likewise.
1184 [non-C99-based standards] (cbrtf): Likewise.
1185 [non-C99-based standards] (expm1f): Likewise.
1186 [non-C99-based standards] (ilogbf): Likewise.
1187 [non-C99-based standards] (log1pf): Likewise.
1188 [non-C99-based standards] (logbf): Likewise.
1189 [non-C99-based standards] (nextafterf): Likewise.
1190 [non-C99-based standards] (remainderf): Likewise.
1191 [non-C99-based standards] (rintf): Likewise.
1192 [non-C99-based standards] (scalbf): Likewise.
1193 [non-C99-based standards] (copysignl): Likewise.
1194 [non-C99-based standards] (exp2l): Likewise.
1195 [non-C99-based standards] (log2l): Likewise.
1196 [non-C99-based standards] (modfl): Allow.
1197 [non-C99-based standards] (erfl): Do not allow.
1198 [non-C99-based standards] (erfcl): Likewise.
1199 [non-C99-based standards] (gammal): Likewise.
1200 [non-C99-based standards] (hypotl): Likewise.
1201 [non-C99-based standards] (j0l): Likewise.
1202 [non-C99-based standards] (j1l): Likewise.
1203 [non-C99-based standards] (jnl): Likewise.
1204 [non-C99-based standards] (lgammal): Likewise.
1205 [non-C99-based standards] (tgammal): Likewise.
1206 [non-C99-based standards] (y0l): Likewise.
1207 [non-C99-based standards] (y1l): Likewise.
1208 [non-C99-based standards] (ynl): Likewise.
1209 [non-C99-based standards] (isnanl): Likewise.
1210 [non-C99-based standards] (acoshl): Likewise.
1211 [non-C99-based standards] (asinhl): Likewise.
1212 [non-C99-based standards] (atanhl): Likewise.
1213 [non-C99-based standards] (cbrtl): Likewise.
1214 [non-C99-based standards] (expm1l): Likewise.
1215 [non-C99-based standards] (ilogbl): Likewise.
1216 [non-C99-based standards] (log1pl): Likewise.
1217 [non-C99-based standards] (logbl): Likewise.
1218 [non-C99-based standards] (nextafterl): Likewise.
1219 [non-C99-based standards] (remainderl): Likewise.
1220 [non-C99-based standards] (rintl): Likewise.
1221 [non-C99-based standards] (scalbl): Likewise.
1222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1223 [non-C99-based standards] (FP_*): Do not allow.
1224 [C99-based standards] (FP_*): Change to
1225 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1226 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1228 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1229 (SIG_ERR): Likewise.
1230 [X/Open-based standards] (SIG_HOLD): Likewise.
1231 (SIG_IGN): Likewise.
1232 (SIGABRT): Use macro-int-constant. Specify type. Require
1237 (SIGSEGV): Likewise.
1239 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1240 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1241 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1242 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1243 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1244 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1245 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1246 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1247 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1248 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1249 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1250 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1251 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1252 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1253 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1254 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1255 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1256 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1257 [X/Open-based standards] (SIGTRAP): Likewise.
1258 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1259 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1260 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1261 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1262 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1265 2012-05-08 Ian Wienand <ianw@vmware.com>
1268 * time/tzset.c (__tzset_parse_tz): Update default rules for
1269 daylight time changes in the Energy Policy Act of 2005.
1271 2012-05-09 Andreas Jaeger <aj@suse.de>
1274 * elf/ldconfig.c (parse_conf): Change string to make clear that
1275 ldconfig only issued a warning if ld.so.conf does not exist.
1277 2012-05-08 David S. Miller <davem@davemloft.net>
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1280 movxtod instead of popping the value on the stack.
1282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1284 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1286 * config.h.in: Add HAVE_ARM_PCS_VFP.
1288 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1291 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1292 checking but the checks are disabled for any reason.
1294 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1296 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1297 and ELF64_R_TYPE with ELFW(R_TYPE).
1299 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1304 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1305 (settimeofday): Likewise.
1307 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1309 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1310 a struct th_u2 inside the union, and move tu_block/tu_code into
1311 a new th_u3 union of tu_block/tu_code inside of that. Move
1312 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1313 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1314 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1315 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1316 (th_stuff): Change to th_u1.tu_stuff.
1318 (th_msg): Change to th_u1.th_u2.tu_data.
1320 2012-05-07 David S. Miller <davem@davemloft.net>
1322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1325 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1326 (SETUP_PIC_REG): Use it.
1327 (SETUP_PIC_REG_LEAF): Use it.
1329 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1335 (EXPL_FINITE): Likewise.
1337 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1338 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1340 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1342 (EXPL_FINITE): Likewise.
1344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1345 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1347 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1348 test of -max_value argument for long double.
1349 * sysdeps/i386/fpu/libm-test-ulps: Update.
1350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1352 2012-05-06 David S. Miller <davem@davemloft.net>
1354 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1355 quad soft-float symbols whose references which are compiler
1357 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1359 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1365 (EXPL_FINITE): Likewise.
1369 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1370 Adjust comments for base varying.
1371 (__expl_finite): Change alias to EXPL_FINITE.
1372 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1374 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1375 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1377 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1378 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1380 (EXPL_FINITE): Likewise.
1384 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1385 Adjust comments for base varying.
1386 (__expl_finite): Change alias to EXPL_FINITE.
1387 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1392 * math/libm-test.inc (check_float_internal): Correct ulp
1393 calculation for subnormal expected results.
1395 2012-05-06 Andreas Jaeger <aj@suse.de>
1397 * Makeconfig (+math-flags): New, set to -frounding-math.
1398 (+cflags): Add +math-flags so that all of glibc gets compiled with
1401 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1403 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1405 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1411 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1412 (__ieee754_expl): Allow for and saturate large arguments.
1413 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1414 (u_threshold): Likewise.
1415 (__exp): Call __ieee754_exp before checking for overflow and
1417 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1418 (u_threshold): Likewise.
1419 (__expf): Call __ieee754_expf before checking for overflow and
1421 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1422 (u_threshold): Likewise.
1423 (__expl): Call __ieee754_expl before checking for overflow and
1425 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1426 (__ieee754_expl): Allow for and saturate large arguments.
1427 * math/libm-test.inc (exp_test): Add another test. Do not allow
1428 missing overflow exception on overflow.
1429 (expm1_test): Do not allow missing overflow exception on overflow.
1431 * sysdeps/i386/fpu/e_expl.c: Move to ...
1432 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1433 rather than using inline asm.
1434 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1435 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1436 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1438 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1445 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1448 sysdeps/unix/common/syscalls.list.
1451 (ftruncate): Likewise.
1452 (getrusage): Likewise.
1453 (gettimeofday): Likewise.
1454 (setpgid): Likewise.
1455 (setregid): Likewise.
1456 (setreuid): Likewise.
1457 (sigaction): Likewise.
1458 (truncate): Likewise.
1459 (vhangup): Likewise.
1460 * sysdeps/unix/common/syscalls.list: Remove file.
1461 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1462 * sysdeps/unix/sysv/linux/Implies: Likewise.
1464 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1466 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1468 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1472 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1475 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1481 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1484 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1487 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1490 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1494 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1498 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1501 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1505 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1509 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/unix/common/bits/dirent.h: Remove file.
1512 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1514 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1515 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1516 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1517 * sysdeps/unix/bsd/isatty.c: Likewise.
1518 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1519 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1520 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1522 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1526 long double comparison inaccuracies.
1527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1530 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1532 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1535 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1539 nonzero digits before rounding a hex value.
1540 * stdlib/tst-strtod.c (tests): Add another test.
1542 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1544 * sysdeps/s390/fpu/libm-test-ulps: Update.
1546 2012-05-03 Andreas Jaeger <aj@suse.de>
1548 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1549 does not get optimized out.
1550 (malloc_opt_barrier): New.
1552 2012-05-03 Andreas Jaeger <aj@suse.de>
1553 Roland McGrath <roland@hack.frob.com>
1555 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1556 intermediate file deletion.
1557 (generated): Add .symlist files.
1559 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1562 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1563 Redirect under this condition.
1564 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1565 [__USE_GNU] (__dprintf_chk): Not under this condition.
1566 [__USE_GNU] (__vdprintf_chk): Likewise.
1567 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1568 under this condition.
1569 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1570 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1571 [__USE_XOPEN2K8] (vdprintf): Likewise.
1572 [__USE_GNU] (__dprintf_chk): Not under this condition.
1573 [__USE_GNU] (__vdprintf_chk): Likewise.
1574 [__USE_GNU] (dprintf): Likewise.
1575 [__USE_GNU] (vdprintf): Likewise.
1577 2012-05-03 Roland McGrath <roland@hack.frob.com>
1579 * elf/Makefile (common-generated): Set this instead of generated for
1580 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1581 $(all-built-dso)-derived lists.
1583 2012-05-03 Andreas Jaeger <aj@suse.de>
1585 * sysdeps/i386/fpu/libm-test-ulps: Update.
1589 * scripts/gen-FAQ.pl: Likewise.
1590 * manual/install.texi (Installation): Point to online location of
1592 * Makefile (files-for-dist): Remove FAQ.
1595 2012-05-02 Allan McRae <allan@archlinux.org>
1597 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1598 (LDFLAGS-reldepmod5.so): Likewise.
1599 (LDFLAGS-reldep6mod1.so): Likewise.
1600 (LDFLAGS-reldep6mod4.so): Likewise.
1601 (LDFLAGS-reldep8mod3.so): Likewise.
1602 (LDFLAGS-unload4mod1.so): Likewise.
1603 (LDFLAGS-unload4mod2.so): Likewise.
1604 (LDFLAGS-tst-initorder): Likewise.
1605 (LDFLAGS-tst-initordera2.so): Likewise.
1606 (LDFLAGS-tst-initordera3.so): Likewise.
1607 (LDFLAGS-tst-initordera4.so): Likewise.
1608 (LDFLAGS-tst-initorderb2.so): Likewise.
1609 (LDFLAGS-noload): Likewise.
1610 (LDFLAGS-next): Likewise.
1611 (LDFLAGS-order2mod1.so): Likewise.
1612 (LDFLAGS-order2mod2.so): Likewise.
1613 (LDFLAGS-tst-initorder2): Likewise.
1614 (LDFLAGS-tst-initorder2a.so): Likewise.
1615 (LDFLAGS-tst-initorder2b.so): Likewise.
1616 (LDFLAGS-tst-initorder2c.so): Likewise.
1617 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1619 2012-05-02 David S. Miller <davem@davemloft.net>
1621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1623 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1626 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1628 2012-05-02 Andreas Jaeger <aj@suse.de>
1630 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1631 since we manipulate rounding mode.
1632 (CPPFLAGS-test-idouble.c): Likewise.
1633 (CPPFLAGS-test-ifloat.c): Likewise.
1634 (CFLAGS-test-ldouble.c): Likewise.
1635 (CFLAGS-test-double.c): Likewise.
1636 (CFLAGS-test-float.c): Likewise.
1637 (CFLAGS-test-misc.c): Likewise.
1638 (CFLAGS-test-test-fenv.c): Likewise.
1640 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1645 comparisons to determine direction to adjust input.
1647 2012-05-01 Roland McGrath <roland@hack.frob.com>
1649 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1650 output to the target.
1652 * scripts/localplt.awk: New file.
1653 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1654 (check-localplt-CFLAGS): Variable removed.
1655 ($(all-built-dso:=.jmprel)): New static pattern rule.
1656 (generated): Add those targets.
1657 (localplt-built-dso): New variable.
1658 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1660 * elf/check-localplt.c: File removed.
1662 * scripts/check-execstack.awk: New file.
1663 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1664 (check-execstack-CFLAGS): Variable removed.
1665 ($(objpfx)check-execstack.h): Target removed.
1666 ($(objpfx)execstack-default): New target.
1667 (generated): Add that instead of check-execstack.h.
1668 ($(all-built-dso:=.phdr)): New static pattern rule.
1669 (generated): Add those targets.
1670 * elf/check-execstack.c: File removed.
1672 * scripts/check-textrel.awk: New file.
1673 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1674 (check-textrel-CFLAGS): Variable removed.
1675 (all-built-dso): Use := to define.o
1676 ($(all-built-dso:=.dyn)): New static pattern rule.
1677 (generated): Add those targets.
1678 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1679 * config.make.in (READELF): New substituted variable.
1680 * elf/check-textrel.c: File removed.
1682 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1684 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1686 * conform/data/ctype.h-data [C99-based standards] (isblank):
1688 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1689 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1691 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1692 Specify type. Require positive value.
1695 [ISO || POSIX] (EILSEQ): Do not expect.
1696 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1697 Specify type. Require positive value.
1698 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1699 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1700 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1701 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1702 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1703 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1704 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1705 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1706 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1707 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1708 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1709 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1710 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1711 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1712 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1713 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1714 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1715 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1716 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1717 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1718 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1719 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1720 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1721 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1722 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1723 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1724 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1725 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1726 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1727 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1728 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1729 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1730 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1731 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1732 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1733 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1734 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1735 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1736 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1737 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1738 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1742 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1743 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1772 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1773 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1774 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1776 (FLT_ROUNDS): Expect as macro, not constant.
1777 (FLT_MANT_DIG): Use macro-int-constant.
1778 (DBL_MANT_DIG): Likewise.
1779 (LDBL_MANT_DIG): Likewise.
1780 (FLT_DIG): Likewise.
1781 (DBL_DIG): Likewise.
1782 (LDBL_DIG): Likewise.
1783 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1784 (DBL_MIN_EXP): Likewise.
1785 (LDBL_MIN_EXP): Likewise.
1786 (FLT_MAX_EXP): Use macro-int-constant.
1787 (DBL_MAX_EXP): Likewise.
1788 (LDBL_MAX_EXP): Likewise.
1789 (FLT_MAX_10_EXP): Likewise.
1790 (DBL_MAX_10_EXP): Likewise.
1791 (LDBL_MAX_10_EXP): Likewise.
1792 (FLT_MAX): Use macro-constant.
1793 (DBL_MAX): Likewise.
1794 (LDBL_MAX): Likewise.
1795 (FLT_EPSILON): Use macro-constant. Give upper bound.
1796 (DBL_EPSILON): Likewise.
1797 (LDBL_EPSILON): Likewise.
1798 (FLT_MIN): Likewise.
1799 (DBL_MIN): Likewise.
1800 (LDBL_MIN): Likewise.
1801 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1802 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1803 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1804 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1805 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1806 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1807 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1808 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1809 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1810 [ISO11] (FLT_TRUE_MIN): Likewise.
1811 [ISO11] (LDBL_TRUE_MIN): Likewise.
1812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1813 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1814 (SCHAR_MIN): Use macro-int-constant. Specify type.
1815 (SCHAR_MAX): Likewise.
1816 (UCHAR_MAX): Likewise.
1817 (CHAR_MIN): Likewise.
1818 (CHAR_MAX): Likewise.
1819 (MB_LEN_MAX): Use macro-int-constant.
1820 (SHRT_MIN): Use macro-int-constant. Specify type.
1821 (SHRT_MAX): Likewise.
1822 (USHRT_MAX): Likewise.
1823 (INT_MAX): Likewise.
1824 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1826 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1828 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1830 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1831 bound negative. Suffix upper bound with "L".
1832 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1834 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1836 [C99-based standards] (LLONG_MAX): Likewise.
1837 [C99-based standards] (ULLONG_MAX): Likewise.
1838 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1840 [ISO11] (max_align_t): Require type.
1841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1843 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1844 from $CFLAGS, without defining away __attribute__ calls.
1845 (checknamespace): Use $CFLAGS_namespace.
1847 * conform/conformtest.pl (@keywords): Only include C99 keywords
1848 for standards based on C99 or C11.
1850 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1852 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1855 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1856 usability of symbols in #if.
1858 * conform/conformtest.pl: If macro or constant types start
1859 "promoted:", expect the symbol to be of the following type
1860 promoted by the integer promotions.
1862 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1863 in one place. Also handle "macro-constant".
1865 * conform/conformtest.pl: Only accept expected macro values with
1866 "==". Parse all "macro" lines in one place.
1867 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1869 * conform/conformtest.pl: Handle braced types on "constant" lines
1870 instead of handling "typed-constant".
1871 * conform/data/signal.h-data: Use "constant" instead of
1874 * conform/conformtest.pl: Handle "optional-" at start of lines in
1875 one place rather than duplicating several cases. Handle each
1876 format of "macro" line with initial "optional-".
1878 * conform/conformtest.pl: Only accept expected constant or
1879 optional-constant values with "==". Parse all "constant" lines in
1880 one place. Parse all "optional-constant" lines in one place.
1881 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1882 * conform/data/fmtmsg.h-data: Likewise.
1883 * conform/data/netinet/in.h-data: Likewise.
1884 * conform/data/tar.h-data: Likewise.
1885 * conform/data/limits.h-data: Use "==" form on "constant" and
1886 "optional-constant" lines.
1888 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1889 Use -std=c99 for XOPEN2K.
1890 (@knownproblems): Remove.
1891 (newtoken): Don't check %isknown.
1893 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1894 Do not expect macro.
1895 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1899 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1900 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1901 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1903 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1904 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1905 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1906 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1907 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1908 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1909 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1910 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1911 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1912 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1913 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1914 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1915 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1917 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1918 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1919 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1920 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1921 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1922 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1923 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1924 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1925 [XPG3] (acosh): Likewise.
1926 [XPG3] (asinh): Likewise.
1927 [XPG3] (atanh): Likewise.
1928 [XPG3] (cbrt): Likewise.
1929 [XPG3] (expm1): Likewise.
1930 [XPG3] (ilogb): Likewise.
1931 [XPG3] (log1p): Likewise.
1932 [XPG3] (logb): Likewise.
1933 [XPG3] (nextafter): Likewise.
1934 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1935 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1936 [XPG3] (remainder): Likewise.
1937 [XPG3] (rint): Likewise.
1938 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1939 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1940 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1941 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1942 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1943 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1944 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1945 [UNIX98 || XOPEN2K] (scalb): Expect.
1946 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1947 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1948 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1949 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1950 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1951 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1952 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1953 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1954 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1955 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1956 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1957 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1958 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1959 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1967 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1968 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1970 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1971 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1972 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1973 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1974 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1975 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1976 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1977 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1978 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1979 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1980 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1981 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1982 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1983 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1984 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1985 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1986 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1987 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1988 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1989 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1990 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1991 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1992 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1993 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1994 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1995 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1996 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1997 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1998 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1999 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2000 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2001 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2002 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2003 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2004 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2005 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2006 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2007 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2008 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2009 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2010 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2084 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2085 _XOPEN_SOURCE_EXTENDED for XPG4.
2087 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2089 * Makeconfig (localtime): Remove variable.
2090 (inst_localtime-file): Likewise.
2092 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2113 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2117 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2118 comparisons to determine direction to adjust input.
2119 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2120 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2130 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2132 * math/libm-test.inc (nexttoward_test): Add more tests.
2134 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2138 in version GLIBC_2.1, not GLIBC_2.0.
2139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2142 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2145 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2147 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2148 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2149 * math/libm-test.inc (acos_test): Add more tests.
2150 (asin_test): Likewise.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2157 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2158 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2159 * math/libm-test.inc (acos_test_tonearest): New function.
2160 (acos_test_towardzero): Likewise.
2161 (acos_test_downward): Likewise.
2162 (acos_test_upward): Likewise.
2163 (asin_test_tonearest): Likewise.
2164 (asin_test_towardzero): Likewise.
2165 (asin_test_downward): Likewise.
2166 (asin_test_upward): Likewise.
2167 (main): Call the new functions.
2168 * sysdeps/i386/fpu/libm-test-ulps: Update.
2169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2173 * math/e_exp10.c: Include <float.h>.
2174 (__ieee754_exp10): Handle underflow here rather than multiplying
2175 large negative argument by M_LN10.
2176 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2178 * math/e_exp10l.c: Include <float.h>.
2179 (__ieee754_exp10l): Handle underflow here rather than multiplying
2180 large negative argument by M_LN10l.
2181 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2182 spurious overflow exception on underflow.
2184 2012-04-29 Marek Polacek <polacek@redhat.com>
2186 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2187 (__fortify_function): New macro.
2188 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2189 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2190 __extern_always_inline.
2191 * libio/bits/stdio2.h: Likewise.
2192 * libio/bits/stdio.h: Likewise.
2193 * string/string.h: Likewise.
2194 * string/bits/string3.h: Likewise.
2195 * include/stdio.h: Likewise.
2196 * stdlib/bits/stdlib.h: Likewise.
2197 * stdlib/stdlib.h: Likewise.
2198 * rt/bits/mqueue2.h: Likewise.
2199 * rt/mqueue.h: Likewise.
2200 * posix/bits/unistd.h: Likewise.
2201 * posix/unistd.h: Likewise.
2202 * io/bits/poll2.h: Likewise.
2203 * io/bits/fcntl2.h: Likewise.
2204 * io/fcntl.h: Likewise.
2205 * io/sys/poll.h: Likewise.
2206 * misc/bits/syslog.h: Likewise.
2207 * misc/bits/syslog-ldbl.h: Likewise.
2208 * misc/sys/syslog.h: Likewise.
2209 * socket/bits/socket2.h: Likewise.
2210 * socket/sys/socket.h: Likewise.
2211 * debug/tst-chk1.c: Likewise.
2212 * wcsmbs/bits/wchar2.h: Likewise.
2213 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2214 * wcsmbs/wchar.h: Likewise.
2216 2012-04-29 Andreas Jaeger <aj@suse.de>
2218 * Makerules (tests): Remove enable-check-abi protection.
2219 (check-abi-warn): Remove.
2220 (check-abi-%): Remove check-abi-warn usage.
2222 * configure.in: Remove check-abi configure option.
2223 * configure: Regenerated.
2224 * config.make.in (enable-check-abi): Remove.
2226 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2229 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2230 double functions to double *_finite functions.
2233 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2234 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2236 * stdio-common/Makefile (tests): Add tst-sprintf3.
2237 * stdio-common/tst-sprintf3.c: New file.
2239 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2240 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2242 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2244 * conform/conformtest.pl: Remove duplicate typed-constant
2247 2012-04-28 David S. Miller <davem@davemloft.net>
2249 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2250 (check-abi-%): Remove AWK script prerequisite and explicit
2252 (check-abi): Rewrite to just diff the symlist with the abilist.
2253 (config-tls, config-abi-config): Delete, no longer used.
2254 (update-abi-%): Remove AWK script and explicit abilist directory.
2255 (update-abi): Rewrite to simply compare and conditionally copy the
2256 symlist and the sysdep abilist file. Remove update-abi-config
2258 * abilist/ld.abilist: Remove.
2259 * abilist/libBrokenLocale.abilist: Remove.
2260 * abilist/libanl.abilist: Remove.
2261 * abilist/libcrypt.abilist: Remove.
2262 * abilist/libdl.abilist: Remove.
2263 * abilist/librt.abilist: Remove.
2264 * abilist/libthread_db.abilist: Remove.
2265 * abilist/libutil.abilist: Remove.
2266 * scripts/extract-abilist.awk: Remove.
2267 * scripts/merge-abilist.awk: Remove.
2268 * sysdeps/generic/libcidn.abilist: New file.
2269 * sysdeps/generic/libnss_compat.abilist: New file.
2270 * sysdeps/generic/libnss_db.abilist: New file.
2271 * sysdeps/generic/libnss_dns.abilist: New file.
2272 * sysdeps/generic/libnss_files.abilist: New file.
2273 * sysdeps/generic/libnss_hesiod.abilist: New file.
2274 * sysdeps/generic/libnss_nis.abilist: New file.
2275 * sysdeps/generic/libnss_nisplus.abilist: New file.
2276 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2277 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2278 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2281 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2282 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2283 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2284 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2285 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2286 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2287 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2288 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2290 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2291 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2292 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2293 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2295 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2296 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2297 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2298 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2299 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2300 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2302 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2303 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2304 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2306 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2409 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2410 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2411 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2414 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2415 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2416 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2417 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2418 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2419 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2421 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2422 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2474 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2476 * conform/conformtest.pl: Fix typo in handling typed-constant from
2479 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2481 * README: Cut down references to pre-2.6 Linux kernels and
2482 Linuxthreads. Update lists of configurations in libc and ports
2483 and sort alphabetically. Say "or newer" with Linux kernel version
2486 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2488 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2491 * math/libm-test.inc (logb_test_downward): New test to expose
2492 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2495 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2498 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2500 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2501 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2503 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/unix/i386/brk.S: Remove file.
2506 * sysdeps/unix/i386/dl-brk.S: Likewise.
2507 * sysdeps/unix/i386/pipe.S: Likewise.
2508 * sysdeps/unix/i386/sigreturn.S: Likewise.
2509 * sysdeps/unix/i386/syscall.S: Likewise.
2510 * sysdeps/unix/i386/vfork.S: Likewise.
2511 * sysdeps/unix/i386/wait.S: Likewise.
2513 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2514 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2516 * configure.in (arm*-none*): Do not allow without
2517 --enable-hacker-mode.
2518 (netbsd*): Remove case setting base_os.
2519 (386bsd*): Likewise.
2520 (freebsd*): Likewise.
2524 (ultrix*): Likewise.
2525 (newsos*): Likewise.
2535 (solaris[2-9]*): Likewise.
2537 * configure: Regenerated.
2539 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2543 overflow or cancellation in calculating denominator.
2544 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2546 down expression to avoid unexpected rounding in newer GCCs.
2547 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2549 2012-04-26 David S. Miller <davem@davemloft.net>
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2552 long-double compat symbols.
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2567 2012-04-25 David S. Miller <davem@davemloft.net>
2569 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2570 HWCAP_* values only after the memory barriers have been defined.
2571 (atomic_full_barrier): Define.
2572 (atomic_read_barrier): Define.
2573 (atomic_write_barrier): Define.
2575 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2577 * shlib-versions: Add libgcc_s version information.
2578 * sysdeps/generic/libgcc_s.h: Remove.
2579 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2581 * sysdeps/gnu/unwind-resume.c: Likewise.
2582 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2584 2012-04-25 David S. Miller <davem@davemloft.net>
2586 * sysdeps/unix/sparc/brk.S: Delete.
2587 * sysdeps/unix/sparc/dl-brk.S: Delete.
2588 * sysdeps/unix/sparc/pipe.S: Delete.
2589 * sysdeps/unix/sparc/sysdep.S: Delete.
2590 * sysdeps/unix/sparc/sysdep.h: Delete.
2591 * sysdeps/unix/sparc/vfork.S: Delete.
2592 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2593 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2594 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2595 ret_ERRVAL, r0, r1, MOVE): Define.
2596 (JUMPTARGET): Remove.
2597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2598 sysdeps/unix/sparc/sysdep.h
2599 (ENTRY, END): Remove.
2600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2602 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2604 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2605 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2608 * timezone/README: Update upstream location and email address for
2610 * timezone/zdump.c: Update from tzcode 2012b.
2611 * timezone/zic.c: Likewise.
2613 * configure.in (libc_cv_as_needed): Remove test.
2614 * configure: Regenerated.
2615 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2616 conditional definition.
2617 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2618 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2619 * config.make.in (have-as-needed): Remove variable.
2621 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2622 Paul Pluzhnikov <ppluzhnikov@google.com>
2624 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2627 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2629 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2630 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2631 * sysdeps/sh/strlen.S: Likewise.
2633 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2635 * sysdeps/unix/fork.S: Remove file.
2636 * sysdeps/unix/i386/fork.S: Likewise.
2637 * sysdeps/unix/sparc/fork.S: Likewise.
2639 * sysdeps/unix/system.c: Remove file.
2640 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2642 * sysdeps/unix/getegid.S: Remove file.
2643 * sysdeps/unix/geteuid.S: Likewise.
2645 2012-04-24 Roland McGrath <roland@hack.frob.com>
2647 * scripts/check-localplt.awk: New file.
2648 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2650 * scripts/data/localplt-generic.data: Add a comment.
2652 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2653 NODE when __dir_mkfile failed.
2654 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2655 Reported by Ludovic Courtès <ludo@gnu.org>.
2657 2012-04-24 Andreas Jaeger <aj@suse.de>
2659 * Makerules (common-clean): Also remove gen-as-const-headers
2662 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2664 * Makerules (native-compile): Do not change working directory for
2665 build. Use $(OUTPUT_OPTION) in command.
2666 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2668 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2672 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2673 * math/libm-test.inc (floor_test): Add more tests.
2674 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2676 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2678 * sysdeps/unix/getdents.c: Remove file.
2679 * sysdeps/unix/sysv/getdents.c: Likewise.
2680 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2682 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2683 sysdeps/unix/mman/syscalls.list.
2685 (mprotect): Likewise.
2688 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2689 * sysdeps/unix/mman/syscalls.list: Remove.
2690 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2692 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2693 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2694 * configure: Regenerated.
2695 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2697 * config.make.in (libgcc_s_suffix): Remove variable.
2699 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2701 * sysdeps/unix/sysv/gethostname.c: Move to ...
2702 * sysdeps/posix/gethostname.c: ... here.
2704 * sysdeps/unix/execve.S: Remove file.
2706 * sysdeps/unix/_exit.S: Remove file.
2708 2012-04-23 Andreas Jaeger <aj@suse.de>
2711 * manual/Makefile: Remove make dist support, there's no
2712 need for a stand-alone documentation tar ball.
2713 (TEXI2DVI): Define always, it's not in Makeconfig.
2717 (glibc-doc-$(edition).tar): Removed
2721 (ETAGS): Remove, it's in Makeconfig.
2722 (move-if-change): Remove, it's in Makeconfig.
2724 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2727 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2728 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2729 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2730 (strtod_l, strtof_l, strtold_l): Remove __wur.
2731 It is not necessarily an error to ignore strtol's return value.
2732 One can reliably look at the stored endptr to decide whether
2733 the number had valid syntax.
2735 2012-04-21 Andreas Jaeger <aj@suse.de>
2738 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2740 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2742 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2743 * sysdeps/unix/sysv/Versions: Remove file.
2745 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2750 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2754 version from __vm86.
2756 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2758 * sysdeps/unix/common/lxstat.c: Remove file.
2759 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2761 * sysdeps/unix/sysv/Makefile: Remove file.
2763 * sysdeps/unix/sysv/direct.h: Remove file.
2765 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2766 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2767 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2768 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2769 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2770 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2771 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2773 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2775 * sysdeps/unix/xmknod.c: Remove file.
2776 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2778 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2780 * sysdeps/unix/sysv/i386/time.S: Remove file.
2782 * sysdeps/unix/fxstat.c: Remove file.
2783 * sysdeps/unix/xstat.c: Likewise.
2784 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2786 * sysdeps/unix/sysv/sigaction.c: Remove file.
2788 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2789 (sysdep_headers): Remove variable.
2790 [termio.h not in sysdep_headers] (generated): Likewise.
2791 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2792 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2793 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2794 * sysdeps/unix/sysv/tcflow.c: Likewise.
2795 * sysdeps/unix/sysv/tcflush.c: Likewise.
2796 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2797 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2798 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2799 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2800 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2802 * sysdeps/unix/siglist.c: Remove file.
2804 * sysdeps/unix/getppid.S: Remove file.
2806 * sysdeps/unix/mkdir.c: Remove file.
2807 * sysdeps/unix/rmdir.c: Likewise.
2809 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2811 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2813 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2814 errlist-compat value.
2816 2012-04-18 David S. Miller <davem@davemloft.net>
2818 * sysdeps/generic/memcopy.h (reg_char): Delete.
2819 * debug/strcat_chk.c: Use char, not reg_char.
2820 * debug/strcpy_chk.c: Likewise.
2821 * debug/strncat_chk.c: Likewise.
2822 * debug/strncpy_chk.c: Likewise.
2823 * string/memchr.c: Likewise.
2824 * string/memrchr.c: Likewise.
2825 * string/rawmemchr.c: Likewise.
2826 * string/strcat.c: Likewise.
2827 * string/strchr.c: Likewise.
2828 * string/strchrnul.c: Likewise.
2829 * string/strcmp.c: Likewise.
2830 * string/strcpy.c: Likewise.
2831 * string/strncat.c: Likewise.
2832 * string/strncmp.c: Likewise.
2833 * string/strncpy.c: Likewise.
2835 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2837 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2838 __builtin_memcopy is called when src and dest ranges are known to not
2841 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2844 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2845 fwd_align_merge macro call.
2846 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2847 bwd_align_merge macro call.
2848 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2850 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2852 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2853 bwd_align_merge macros.
2854 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2855 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2858 2012-04-18 David S. Miller <davem@davemloft.net>
2860 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2862 2012-04-18 Andreas Jaeger <aj@suse.de>
2865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2866 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2870 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2871 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2873 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2874 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2875 Adjust for changed ldbl-128 files.
2877 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2878 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2881 2012-04-17 David S. Miller <davem@davemloft.net>
2883 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2885 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2887 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2888 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2889 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2890 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2891 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2892 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2894 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2898 * math/libm-test.inc: Add ilogb errno and exception tests.
2899 * math/w_ilogb.c: New file: ilogb wrapper.
2900 * math/w_ilogbf.c: New file: ilogbf wrapper.
2901 * math/w_ilogbl.c: New file: ilogbl wrapper.
2902 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2903 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2904 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2905 exception being thrown with 0.0 as argument.
2906 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2907 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2908 exception being thrown with 0.0 as argument.
2909 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2910 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2911 exception being thrown with 0.0 as argument.
2912 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2913 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2914 exception being thrown with 0.0 as argument.
2915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2916 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2917 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2918 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2920 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2921 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2922 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2923 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2925 2012-04-17 Petr Baudis <pasky@ucw.cz>
2927 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2930 2012-04-16 Marek Polacek <polacek@redhat.com>
2932 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2934 2012-04-16 Marek Polacek <polacek@redhat.com>
2936 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2937 operands of fdivp instruction.
2939 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2941 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2942 * elf/tst-auditmod3b.c: Likewise.
2943 * elf/tst-auditmod4b.c: Likewise.
2944 * elf/tst-auditmod5b.c: Likewise.
2945 * elf/tst-auditmod6b.c: Likewise.
2946 * elf/tst-auditmod6c.c: Likewise.
2947 * elf/tst-auditmod7b.c: Likewise.
2948 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2949 * sysdeps/x86_64/preconfigure.in: Likewise.
2950 * sysdeps/x86_64/preconfigure: Regenerated.
2952 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2954 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2957 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2960 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2962 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2965 * locale/iso-639.def: Fix gl language name. Spotted by
2968 2012-04-12 Roland McGrath <roland@hack.frob.com>
2971 * libio/libio.h (__io_write_fn): Update comment.
2973 2012-04-12 Petr Baudis <pasky@ucw.cz>
2976 * stdio.texi (Hook Functions): The user provided writer function
2977 is not allowed to return -1.
2979 2012-04-11 David S. Miller <davem@davemloft.net>
2981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2983 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2985 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2986 Add a leading slash to rtkaio.
2988 2012-04-11 Jim Meyering <meyering@redhat.com>
2991 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2992 It is not necessarily an error to ignore fwrite's return
2993 value. One can reliably use ferror to test for errors after
2996 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2998 * bits/types.h (__snseconds_t): New type.
2999 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3001 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3003 (__SNSECONDS_T_TYPE): Likewise.
3004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3005 (__SNSECONDS_T_TYPE): Likewise.
3006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3007 (__SNSECONDS_T_TYPE): Likewise.
3009 2012-04-10 Andreas Jaeger <aj@suse.de>
3012 * manual/time.texi (Processor Time): Return type of times is
3013 elapsed real time since an arbitrary point in the past.
3014 (CPU Time): Move CLK_TCK from here...
3015 (Processor Time): ...to here. Correct description.
3016 * manual/conf.texi (Constants for Sysconf): Correct description of
3019 2012-04-10 David S. Miller <davem@davemloft.net>
3022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3023 where the is a gap between DT_REL(A) and DT_JMPREL.
3025 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3027 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3028 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3029 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3031 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3033 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3034 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3035 (dl_main): Handle --inhibit-cache.
3036 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3038 * elf/dl-load.c (_dl_map_object): Use it.
3039 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3041 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3044 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3045 (__ieee754_powl): Saturate large exponents rather than testing for
3046 overflow of y*log2(x).
3047 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3048 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3052 * math/s_ctan.c: Include <float.h>.
3053 (__ctan): Avoid internal overflow or cancellation in calculating
3055 * math/s_ctanf.c: Likewise.
3056 * math/s_ctanl.c: Likewise.
3057 * math/s_ctanh.c: Likewise.
3058 * math/s_ctanhf.c: Likewise.
3059 * math/s_ctanhl.c: Likewise.
3060 * math/libm-test.inc (ctan_test): Add more tests.
3061 (ctanh_test): Likewise.
3062 * sysdeps/i386/fpu/libm-test-ulps: Update.
3063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3065 2012-04-09 Andreas Jaeger <aj@suse.de>
3068 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3069 is an optional BSD extension.
3072 * manual/stdio.texi (Opening Streams): Document additional fopen
3075 2012-04-09 Roland McGrath <roland@hack.frob.com>
3077 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3078 %eax without telling the compiler.
3080 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3083 * manual/install.texi: Use sourceware.org.
3085 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3088 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3089 (__ieee754_pow): Generate overflow and underflow using huge*huge
3090 and tiny*tiny rather than just returning constant infinity or zero
3091 for large exponents.
3092 * math/libm-test.inc (pow_test): Require overflow exceptions for
3093 applicable cases of large exponents.
3096 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3097 (__ieee754_pow): Use iterative multiplication algorithm only for
3098 integer exponents with absolute value below 1024. Check for odd
3099 integer exponents when using algorithm for real exponents.
3100 * math/libm-test.inc (pow_test): Add more tests.
3101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3103 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3106 * math/libm-test.inc (exp_test): Do not allow overflow exception
3109 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3112 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3113 instead of __kernel_standard_f.
3115 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3117 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3118 * sysdeps/x86_64/memset_chk.S: Likewise.
3120 2012-04-08 Andreas Jaeger <aj@suse.de>
3123 * manual/startup.texi (Environment Access): Describe return value
3124 for putenv and setenv.
3127 * manual/filesys.texi (Directory Entries): Add description for
3131 * manual/filesys.texi (Directory Entries): Clarify that it's file
3132 system not operating system in the description of DT_UNKNOWN.
3135 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3137 2012-04-08 Stephen Compall <s11@member.fsf.org>
3140 * manual/llio.texi (Opening and Closing Files): Add cross
3141 reference to explain mode argument.
3143 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3145 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3146 * sysdeps/x86_64/memset_chk.S: Likewise.
3148 2012-04-07 David S. Miller <davem@davemloft.net>
3150 * elf/elf.h (R_SPARC_WDISP10): Define.
3151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3154 R_SPARC_SIZE64 and R_SPARC_H34.
3156 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3159 conditions and remove no longer applicable assertion.
3161 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3163 * bits/byteswap.h: Include <features.h>.
3164 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3165 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3167 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3169 * bits/byteswap.h (__bswap_16): Removed.
3170 Include <bits/byteswap-16.h> to get __bswap_16.
3171 * sysdeps/i386/bits/byteswap.h: Likewise.
3172 * sysdeps/s390/bits/byteswap.h: Likewise.
3173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3174 * bits/byteswap-16.h: New file.
3175 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3176 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3177 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3178 * string/Makefile (headers): Add bits/byteswap-16.h.
3180 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3183 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3185 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3186 * nss/tst-nss-static.c: New.
3188 2012-04-06 Robert Millan <rmh@gnu.org>
3191 * manual/llio.texi (File Position Primitive): lseek
3192 refers to WHENCE when it really means OFFSET.
3194 2012-04-06 Andreas Jaeger <aj@suse.de>
3196 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3197 strncmp declarations.
3199 * abilist/libc.abilist: Add __poll and __ppoll.
3201 2012-04-05 David S. Miller <davem@davemloft.net>
3203 * scripts/check-local-headers.sh: Accept a host triplet in the
3204 path matched by the exclude regexp.
3206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3208 * sysdeps/powerpc/powerpc32/dl-machine.h
3209 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3210 * sysdeps/s390/s390-32/dl-machine.h
3211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3212 * sysdeps/sparc/sparc32/dl-machine.h
3213 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3214 * sysdeps/sparc/sparc64/dl-machine.h
3215 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3217 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3219 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3220 undefined symbol errors.
3222 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3225 2012-04-05 Michael Matz <matz@suse.de>
3228 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3230 2012-04-05 Andreas Jaeger <aj@suse.de>
3233 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3236 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3238 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3239 which ROUND is no valid rounding mode.
3241 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3245 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3247 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3249 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3250 an exception using FPU order intentionally.
3252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3254 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3255 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3256 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3257 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3259 2012-04-05 Simon Josefsson <simon@josefsson.org>
3262 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3263 EINVAL when BUFLEN is too smal.
3265 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3268 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3269 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3271 2012-04-03 Andreas Jaeger <aj@suse.de>
3274 * manual/setjmp.texi (System V contexts): Fix sentence.
3277 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3278 New macro for this case.
3279 [!__GNUC__] (__bswap_64): New inline function for this case.
3280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3281 * bits/byteswap.h: Likewise.
3282 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3283 ull, guard with __GLIBC_HAVE_LONG_LONG.
3285 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3286 __GLIBC_HAVE_LONG_LONG.
3288 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3289 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3291 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3294 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3295 inptr and inend, rather than using last_ch.
3297 2012-04-02 David S. Miller <davem@davemloft.net>
3299 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3300 * stdio-common/printf-parse.h (read_int): Change return type to
3301 'int', return -1 on INT_MAX overflow.
3302 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3303 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3304 overflows INT_MAX. Check for overflow of in-format-string precision
3305 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3306 SIZE_MAX not INT_MAX for integer overflow test.
3307 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3308 skip the construct in the format string but do not record anything.
3309 * stdio-common/bug22.c: Adjust to test both width/prevision
3310 INT_MAX overflow as well as total length INT_MAX overflow. Check
3311 explicitly for proper errno values.
3313 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3315 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3317 * string/test-strcmp.c [! WIDE]: Likewise.
3318 * time/tst-mktime2.c: Likewise for INT_MAX.
3319 * string/test-string.h: #include <sys/param.h> for MIN.
3321 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3322 * sysdeps/i386/init-first.c (init): Likewise.
3323 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3324 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3325 * sysdeps/sh/init-first.c (init): Likewise.
3327 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3329 * po/ru.po: Update from translation team.
3330 * po/vi.po: Likewise.
3332 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3334 * resolv/nss_dns/dns-host.c: Merge copyright years.
3336 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3339 Optimize memcpy with prefetch if
3340 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3341 src, dst pointers have unequal 16 byte alignments.
3343 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3346 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3347 from a CNAME entry and return the minimum ttl for the query.
3348 (gaih_getanswer_slice): Likewise.
3350 2012-03-30 Jeff Law <law@redhat.com>
3352 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3354 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3355 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3357 * resolv/nss_dns/dns-host.c: Update copyright year.
3359 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3361 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3362 requests to save a system call. Fix check that all bytes are sent.
3364 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3365 comments for sendmmsg.
3367 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3370 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3371 with only 1 character between 0x0041 and 0x01b0.
3372 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3373 * wcsmbs/tst-mbsnrtowcs.c: New file.
3375 2012-03-29 David S. Miller <davem@davemloft.net>
3377 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3378 small copies by hand.
3380 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3383 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3384 _nss_compat_initgroups_dyn): Fall back to malloc/free
3385 for large group memberships.
3387 2012-03-28 David S. Miller <davem@davemloft.net>
3389 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3390 that branches into memcpy.
3391 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3394 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3397 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3399 * sysdeps/sparc/mempcpy.S: New file.
3401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3402 the IFUNC routine in the libc case.
3403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3406 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3407 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3408 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3409 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3410 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3411 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3412 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3414 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3415 loop to 256 bytes instead of 64 bytes and fix test signedness.
3417 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3418 * sysdeps/sparc/sparc32/Makefile: rather than here...
3419 * sysdeps/sparc/sparc64/Makefile: and here.
3421 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3423 * malloc/mallocbug.c: Avoid warnings about unused variables.
3425 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3429 in the right place. Discard and retry query if response is
3430 larger than input buffer size.
3432 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3437 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3438 x for large integer exponent.
3439 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3440 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3441 sign of result as needed afterwards.
3442 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3443 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3444 result for underflowing pow the same as for overflow.
3445 (__kernel_standard_l): Handle powl overflow and underflow here
3446 rather than calling __kernel_standard.
3447 * math/libm-test.inc (pow_test): Add more tests.
3462 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3463 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3464 (__kernel_standard_l): New function.
3465 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3467 * math/w_acosl.c (__acosl): Likewise.
3468 * math/w_asinl.c (__asinl): Likewise.
3469 * math/w_atan2l.c (__atan2l): Likewise.
3470 * math/w_atanhl.c (__atanhl): Likewise.
3471 * math/w_coshl.c (__coshl): Likewise.
3472 * math/w_exp10l.c (__exp10l): Likewise.
3473 * math/w_exp2l.c (__exp2l): Likewise.
3474 * math/w_fmodl.c (__fmodl): Likewise.
3475 * math/w_hypotl.c (__hypotl): Likewise.
3476 * math/w_j0l.c (__j0l, __y0l): Likewise.
3477 * math/w_j1l.c (__j1l, __y1l): Likewise.
3478 * math/w_jnl.c (__jnl, __ynl): Likewise.
3479 * math/w_lgammal.c (__lgammal): Likewise.
3480 * math/w_log10l.c (__log10l): Likewise.
3481 * math/w_log2l.c (__log2l): Likewise.
3482 * math/w_logl.c (__logl): Likewise.
3483 * math/w_powl.c (__powl): Likewise.
3484 * math/w_remainderl.c (__remainderl): Likewise.
3485 * math/w_scalbl.c (sysv_scalbl): Likewise.
3486 * math/w_sinhl.c (__sinhl): Likewise.
3487 * math/w_sqrtl.c (__sqrtl): Likewise.
3488 * math/w_tgammal.c (__tgammal): Likewise.
3489 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3490 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3491 * math/libm-test.inc (acos_test): Add more tests.
3492 (acosh_test): Likewise.
3493 (asin_test): Likewise.
3494 (atanh_test): Likewise.
3495 (exp_test): Likewise.
3496 (exp10_test): Likewise.
3497 (exp2_test): Likewise.
3498 (expm1_test): Likewise.
3499 (lgamma_test): Likewise.
3500 (log_test): Likewise.
3501 (log10_test): Likewise.
3502 (log1p_test): Likewise.
3503 (log2_test): Likewise.
3504 (pow_test): Do not allow some spurious overflow exceptions.
3505 (sqrt_test): Add more tests.
3506 (tgamma_test): Likewise.
3507 (y0_test): Likewise.
3508 (y1_test): Likewise.
3509 (yn_test): Likewise.
3511 2012-03-27 Anton Blanchard <anton@samba.org>
3513 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3519 2012-03-27 David S. Miller <davem@davemloft.net>
3521 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3523 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3526 2012-03-27 Andreas Jaeger <aj@suse.de>
3528 * sysdeps/x86_64/elf/configure.in: Moved to ...
3529 * sysdeps/x86_64/configure.in: ... here.
3530 * sysdeps/x86_64/elf/start.S: Moved to ...
3531 * sysdeps/x86_64/start.S: ... here.
3532 * sysdeps/x86_64/elf/configure: Delete.
3534 * sysdeps/x86_64/configure.in: Merge contents from
3535 sysdeps/i386/configure.in (without i686 check).
3537 * sysdeps/i386/elf/Versions: Merge into ...
3538 * sysdeps/i386/Versions: ... this.
3539 * sysdeps/i386/elf/Versions: Delete file.
3540 * sysdeps/i386/elf/start.S: Moved to ...
3541 * sysdeps/i386/start.S: ...here.
3542 * sysdeps/i386/elf/configure.in: Merge into...
3543 * sysdeps/i386/configure.in: ...here.
3544 * sysdeps/i386/elf/configure.in: Delete file.
3545 * sysdeps/i386/elf/configure: Delete file.
3547 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3548 * debug/backtracesyms.c: ... here.
3549 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3550 * debug/backtracesymsfd.c: ... here.
3551 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3552 * sysdeps/generic/ifunc-sel.h: ... here.
3554 * sysdeps/unix/i386/start.c: Delete file.
3555 * sysdeps/unix/sparc/start.c: Delete file.
3556 * sysdeps/unix/start.c: Delete file.
3558 * sysdeps/sh/elf/configure.in: Moved to ...
3559 * sysdeps/sh/configure.in: ... here.
3560 * sysdeps/sh/elf/start.S: Moved to ...
3561 * sysdeps/sh/start.S: ... here.
3562 * sysdeps/sh/elf/configure: Delete file.
3564 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3565 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3566 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3567 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3568 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3569 * sysdeps/powerpc/powerpc64/start.S: here.
3570 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3571 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3572 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3573 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3574 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3576 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3577 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3578 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3579 * sysdeps/powerpc/powerpc32/start.S: ... here.
3580 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3581 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3582 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3584 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3585 * sysdeps/powerpc/ifunc-sel.h: ... here.
3586 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3587 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3589 * sysdeps/sparc/elf/configure.in: Moved to ...
3590 * sysdeps/sparc/configure.in: ... here.
3591 * sysdeps/sparc/elf/configure: Delete file.
3592 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3593 * sysdeps/sparc/sparc32/start.S: ... here.
3594 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3595 * sysdeps/sparc/sparc64/start.S: ... here.
3596 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3597 * sysdeps/sparc/sparc32/Makefile: ... this.
3598 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3599 * sysdeps/sparc/sparc64/Makefile: ... this.
3601 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3602 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3603 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3604 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3605 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3606 * sysdeps/s390/s390-32/setjmp.S: ... here.
3607 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3608 * sysdeps/s390/s390-32/configure.in: ... here.
3609 * sysdeps/s390/s390-32/elf/configure: Delete file.
3610 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3611 * sysdeps/s390/s390-32/start.S: ... here.
3613 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3614 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3615 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3616 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3617 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3618 * sysdeps/s390/s390-64/setjmp.S: ... here.
3619 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3620 * sysdeps/s390/s390-64/configure.in: ... here
3621 * sysdeps/s390/s390-64/elf/configure: Delete file.
3622 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3623 * sysdeps/s390/s390-64/start.S: ... here.
3624 * sysdeps/s390/s390-64/elf/configure: Delete.
3626 * configure.in: Remove support for elf directories in sysdeps.
3628 * configure: Regenerated.
3629 * sysdeps/i386/configure: Regenerated.
3630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3632 * sysdeps/s390/s390-32/configure: Regenerated.
3633 * sysdeps/s390/s390-64/configure: Regenerated.
3634 * sysdeps/sh/configure: Regenerated.
3635 * sysdeps/sparc/configure: Regenerated.
3636 * sysdeps/x86_64/configure: Regenerated.
3638 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3643 denormal result into account.
3645 2012-03-25 Roland McGrath <roland@hack.frob.com>
3647 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3648 Reported by Allan McRae <allan@archlinux.org>.
3650 2012-03-23 Jeff Law <law@redhat.com>
3652 * nss/getnssent.c (__nss_getent): Fix typo.
3654 2012-03-23 David S. Miller <davem@davemloft.net>
3656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3658 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3660 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3661 to pad to uint64_t for each field.
3662 (dl_tls_index): Replace unsigned long with uint64_t.
3664 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3665 Paul Pluzhnikov <ppluzhnikov@google.com>
3668 * grp/Makefile (otherlibs): Don't set it.
3669 * inet/Makefile (otherlibs): Likewise.
3670 * login/Makefile (otherlibs): Likewise.
3671 * nscd/Makefile (otherlibs): Likewise.
3672 * posix/Makefile (otherlibs): Likewise.
3673 * pwd/Makefile (otherlibs): Likewise.
3674 * rt/Makefile (otherlibs): Likewise.
3675 * sunrpc/Makefile (otherlibs): Likewise.
3676 * nss/Makefile (otherlibs): Likewise.
3677 Add libnss_files to routines and static-only-routines.
3678 ($(objpfx)getent): Remove rule.
3679 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3680 static-only-routines.
3682 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3685 * math/s_cexp.c: Include <float.h>.
3686 (__cexp): Handle exp result overflowing not necessarily
3687 overflowing both real and imaginary parts of result.
3688 * math/s_cexpf.c: Likewise.
3689 * math/s_cexpl.c: Likewise.
3690 * math/libm-test.inc (cexp_test): Add more tests.
3691 * sysdeps/i386/fpu/libm-test-ulps: Update.
3692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3694 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3696 * include/link.h (ELFW): New macro.
3697 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3698 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3700 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3702 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3705 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3707 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3709 (struct La_x32_retval): Likewise.
3711 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3713 * sysdeps/x86_64/preconfigure.in: New file.
3714 * sysdeps/x86_64/preconfigure: New generated file.
3716 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3719 * math/e_exp2l.c: Include <float.h>.
3720 (__ieee754_exp2l): Handle overflow and underflow cases
3721 separately. Only pass fractional part of argument to
3723 * math/libm-test.inc (exp2_test): Add more tests.
3725 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3726 negating x to take absolute value.
3727 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3729 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3732 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3733 computing low part if x was negated.
3734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3736 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3738 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3740 (pltexit): Cast int_retval to ptrdiff_t.
3741 * elf/tst-auditmod3b.c: Likewise.
3742 * elf/tst-auditmod4b.c: Likewise.
3743 * elf/tst-auditmod5b.c: Likewise.
3744 * elf/tst-auditmod6b.c: Likewise.
3745 * elf/tst-auditmod6c.c: Likewise.
3746 * elf/tst-auditmod7b.c: Likewise.
3748 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3749 and x32_gnu_pltexit.
3751 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3753 (La_x32_regs): New macro.
3754 (La_x32_retval): Likewise.
3755 (la_x32_gnu_pltenter): New function prototype.
3756 (la_x32_gnu_pltexit): Likewise.
3758 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3765 * configure.in (libc_cv_cc_nofma): Check for option to disable
3766 generation of FMA instructions.
3767 * configure: Regenerate.
3768 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3769 * sysdeps/ieee754/dbl-64/Makefile: New file.
3770 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3771 Remove brandred-fma4.
3772 (CFLAGS-brandred-fma4.c): Remove.
3773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3774 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3776 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3781 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3782 LLONG_MAX != LONG_MAX.
3783 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3784 (_fitoa_word): Likewise.
3785 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3786 LLONG_MAX != LONG_MAX.
3787 * stdio-common/_itowa.h: Include <_itoa.h>.
3788 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3789 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3790 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3791 only if not defined.
3792 (_ITOA_WORD_TYPE): Likewise.
3793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3794 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3796 2012-03-21 David S. Miller <davem@davemloft.net>
3798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3800 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3802 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3803 of x86_64 when setting libc_cv_slibdir, libdir and
3805 * sysdeps/unix/sysv/linux/configure: Regenerated.
3807 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3809 * manual/lang.texi (Old Varargs): Remove section.
3810 (How Variadic): Update menu.
3811 (va_start): Do not mention varargs.h.
3813 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3814 Joseph Myers <joseph@codesourcery.com>
3816 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3818 * configure: Regenerated.
3820 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3822 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3823 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3826 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3829 * Makefile (files-for-dist): Remove NOTES.
3830 (NOTES): Remove rule.
3831 * README: Don't refer to NOTES.
3832 * manual/creature.texi: Don't include macros.texi.
3833 * manual/intro.texi (creature.texi): Remove comment referring to
3836 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3837 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3838 * configure: Regenerated.
3839 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3841 (libc_cv_as_i686): Likewise.
3842 (libc_cv_cc_avx): Likewise.
3843 (libc_cv_cc_sse2avx): Likewise.
3844 (libc_cv_cc_fma4): Likewise.
3845 (libc_cv_cc_novzeroupper): Likewise.
3846 * sysdeps/i386/configure: Regenerated.
3849 * sysdeps/i386/fpu/s_cexp.S: Remove.
3850 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3851 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3852 * math/libm-test.inc (cexp_test): Add more tests.
3853 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3856 2012-03-21 Allan McRae <allan@archlinux.org>
3858 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3860 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3863 * math/w_exp2.c: Do not include <float.h>.
3864 (o_threshold, u_threshold): Remove.
3865 (__exp2): Calculate result before checking finiteness and calling
3867 * math/w_exp2f.c: Likewise.
3868 * math/w_exp2l.c: Likewise.
3869 * math/libm-test.inc (exp2_test): Require overflow exception for
3873 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3874 range of signed 64-bit integers before using fistpll. Remove
3875 checks for whether integers fit in mantissa bits.
3876 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3877 the range of signed 32-bit integers before using fistpl. Remove
3878 checks for whether integers fit in mantissa bits.
3879 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3880 (__ieee754_powl): Test for y outside the range of signed 64-bit
3881 integers before using fistpll. Reduce 64-bit values to 63-bit
3883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3884 divide-by-zero is raised for zero to large negative powers.
3885 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3886 (__ieee754_powl): Test for y outside the range of signed 64-bit
3887 integers before using fistpll. Reduce 64-bit values to 63-bit
3889 * math/libm-test.inc (pow_test): Add more tests.
3891 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3893 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3894 <stdio-common/_itoa.h>.
3895 * debug/segfault.c: Likewise.
3896 * elf/dl-cache.c: Likewise.
3897 * elf/dl-minimal.c: Likewise.
3898 * elf/dl-misc.c: Likewise.
3899 * elf/dl-sysdep.c: Likewise.
3900 * elf/dl-version.c: Likewise.
3901 * elf/rtld.c: Likewise.
3902 * hurd/hurdsock.c: Likewise.
3903 * hurd/lookup-retry.c: Likewise.
3904 * malloc/malloc.c: Likewise.
3905 * malloc/mtrace.c: Likewise.
3906 * nscd/nscd_getgr_r.c: Likewise.
3907 * nscd/nscd_getpw_r.c: Likewise.
3908 * nscd/nscd_getserv_r.c: Likewise.
3909 * posix/getopt_init.c: Likewise.
3910 * posix/wordexp.c: Likewise.
3911 * stdio-common/_itoa.c: Likewise.
3912 * stdio-common/printf_fphex.c: Likewise.
3913 * stdio-common/vfprintf.c: Likewise.
3914 * string/_strerror.c: Likewise.
3915 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3916 * sysdeps/i386/i686/hp-timing.h: Likewise.
3917 * sysdeps/mach/_strerror.c: Likewise.
3918 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3919 * sysdeps/mach/hurd/sethostid.c: Likewise.
3920 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3921 * sysdeps/mach/xpg-strerror.c: Likewise.
3922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3923 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3924 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3925 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3926 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3927 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3928 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3929 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3930 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3931 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3932 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3933 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3935 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3937 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3940 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3941 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3942 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3944 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3946 * stdio-common/_itoa.h: Moved to ...
3947 * sysdeps/generic/_itoa.h: Here.
3949 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3951 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3952 instead of "_itoa.h" and "_itowa.h".
3953 * stdio-common/vfprintf.: Likewise.
3955 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3957 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3959 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3960 (__signbit): Likwise.
3964 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3966 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3969 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3971 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3972 OVERFLOW_EXCEPTION_OK.
3973 * math/libm-test.inc ("Philosophy"): Update comment about
3975 (OVERFLOW_EXCEPTION): Define.
3976 (OVERFLOW_EXCEPTION_OK): Likewise.
3977 (INVALID_EXCEPTION_OK): Renumber.
3978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3979 (IGNORE_ZERO_INF_SIGN): Likewise.
3980 (test_exceptions): Handle FE_OVERFLOW.
3981 (exp10_test): Expect overflow exceptions.
3982 (exp2_test): Likewise.
3983 (expm1_test): Likewise.
3984 (nextafter_test): Likewise.
3985 (pow_test): Likewise.
3986 (scalbn_test): Likewise.
3987 (scalbln_test): Likewise.
3989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3991 * sysdeps/x86_64/bits/atomic.h
3992 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3994 (atomic_exchange_acq): Likewise.
3995 (__arch_exchange_and_add_body): Likewise.
3996 (__arch_add_body): Likewise.
3997 (atomic_add_negative): Likewise.
3998 (atomic_add_zero): Likewise.
4000 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4003 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4007 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4008 Check __x86_64__ instead of __WORDSIZE.
4010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4012 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4014 2012-03-19 David S. Miller <davem@davemloft.net>
4016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4018 * sysdeps/sparc/fpu/fenv_private.h: New file.
4019 * sysdeps/sparc/fpu/math_private.h: Use it.
4020 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4022 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4023 (libc_feholdexcept_setroundl): Remove.
4024 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4026 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4027 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4031 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4032 int64_t instead of long int.
4033 (INSERT_WORDS64): Likwise.
4035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4037 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4038 _Unwind_GetCFA return to _Unwind_Ptr first.
4040 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4043 * math/s_clog.c: Include <float.h>.
4044 (__clog): Scale large or subnormal inputs.
4045 * math/s_clogf.c: Likewise.
4046 * math/s_clogl.c: Likewise.
4047 * math/s_clog10.c: Include <float.h>.
4048 (M_LOG10_2): Define.
4049 (__clog10): Scale large or subnormal inputs.
4050 * math/s_clog10f.c: Likewise.
4051 * math/s_clog10l.c: Likewise.
4052 * math/libm-test.inc (clog_test): Add more tests.
4053 (clog10_test): Likewise.
4054 * sysdeps/i386/fpu/libm-test-ulps: Update.
4055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4060 * math/libm-test.inc (atan2_test): Add another test.
4062 * Makerules (common-objdir-compile): Remove.
4063 * sysdeps/unix/Makefile (config-generated): Do not add
4064 $(unix-generated) to variable.
4065 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4066 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4068 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4070 [generic bits/local_lim.h] (before-compile): Do not append to
4072 [generic bits/local_lim.h] (common-generated): Likewise.
4073 [generic sys/param.h] (before-compile): Do not append to variable.
4074 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4075 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4076 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4077 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4079 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4080 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4081 [generic sys/param.h] ($(addprefix
4082 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4083 [generic sys/param.h] (common-generated): Do not append to
4085 [generic sys/param.h] (sysdep_headers): Likewise.
4086 [generic bits/errno.h] (before-compile): Do not append to
4088 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4090 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4091 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4092 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4093 [generic bits/errno.h] (common-generated): Do not append to
4095 [generic bits/ioctls.h] (before-compile): Do not append to
4097 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4099 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4100 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4101 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4103 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4104 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4105 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4106 [generic bits/ioctls.h] (common-generated): Do not append to
4108 [generic sys/syscall.h] (syscall.h): Remove variable.
4109 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4111 [generic sys/syscall.h] (before-compile): Do not append to
4113 [generic sys/syscall.h] (common-generated): Likewise.
4114 * sysdeps/unix/errnos-tmpl.c: Remove file.
4115 * sysdeps/unix/errnos.awk: Likewise.
4116 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4117 * sysdeps/unix/ioctls.awk: Likewise.
4118 * sysdeps/unix/mk-local_lim.c: Likewise.
4119 * sysdeps/unix/snarf-ioctls: Likewise.
4121 2012-03-19 Richard Henderson <rth@twiddle.net>
4123 * sysdeps/i386/fpu/fenv_private.h: New file.
4124 * sysdeps/i386/fpu/math_private.h: Use it.
4125 (math_opt_barrier, math_force_eval): Remove.
4126 (libc_feholdexcept_setround_53bit): Remove.
4127 (libc_feupdateenv_53bit): Remove.
4128 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4129 (math_opt_barrier, math_force_eval): Remove.
4130 (libc_feholdexcept): Remove.
4131 (libc_feholdexcept_setround): Remove.
4132 (libc_fetestexcept, libc_fesetenv): Remove.
4133 (libc_feupdateenv_test): Remove.
4134 (libc_feupdateenv, libc_feholdsetround): Remove.
4135 (libc_feresetround): Remove.
4137 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4138 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4140 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4141 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4142 (libc_feupdateenv_testl): New.
4143 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4144 (libc_feupdateenv_testf): New.
4145 (libc_feupdateenv): Use libc_feupdateenv_test.
4146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4149 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4150 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4151 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4152 (libc_feresetround_noex): New.
4153 (libc_feresetround_noexf): New.
4154 (libc_feresetround_noexl): New.
4155 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4156 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4157 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4158 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4163 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4165 SET_RESTORE_ROUND_NOEX.
4166 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4167 SET_RESTORE_ROUND_NOEXF.
4168 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4169 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4170 (libc_feholdsetroundf): New.
4171 (libc_feresetround, libc_feresetroundf): New.
4173 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4174 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4175 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4177 * sysdeps/generic/math_private.h: Include <fenv.h>.
4178 (default_libc_feholdexcept): New.
4179 (default_libc_feholdexcept_setround): New.
4180 (default_libc_fesetenv, default_libc_feupdateenv): New.
4181 (libc_feholdexcept): Only define if undefined.
4182 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4183 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4184 (libc_feholdexcept_setroundl): Likewise.
4185 (libc_feholdexcept_setround_53bit): Likewise.
4186 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4187 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4188 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4189 (libc_feupdateenv_53bit): Likewise.
4190 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4191 (libc_feholdexcept): Convert from macro to inline function.
4192 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4193 (libc_fesetenv, libc_feupdateenv): Likewise.
4195 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4196 not previously defined.
4197 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4198 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4199 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4200 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4201 * sysdeps/ieee754/flt-32/math_private.h: New file.
4202 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4203 math_private.h below SET_FLOAT_WORD.
4204 (__isnan, __isinf_ns, __finite): Remove.
4205 (__isnanf, __isinf_nsf, __finitef): Remove.
4207 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4211 2012-03-17 David S. Miller <davem@davemloft.net>
4214 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4217 2012-03-16 David S. Miller <davem@davemloft.net>
4219 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4223 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4225 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4226 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4227 sysdep_routines when subdir is sysvipc.
4228 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4231 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4235 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4240 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4241 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4242 (__lround): Renamed to ...
4243 (__llround): This. Replace long int with long long int.
4244 Define lround functions as aliases of llround functions.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4247 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4249 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4250 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4251 adresses to uintptr_t. Replace "long int" and "unsigned long
4252 int" with "greg_t" on va_arg.
4254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4256 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4257 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4259 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4260 Move e_machine check before EI_CLASS check. Handle x32
4261 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4262 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4263 SKIP_EM_IA_64 and include
4264 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4266 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4267 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4268 (add_system_dir): New macro.
4270 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4271 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4273 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4284 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4286 * math/w_j0f.c (j0f): Likewise.
4288 * math/w_j0l.c (__j0l): Likewise.
4290 * math/w_j1.c (j1): Likewise.
4292 * math/w_j1f.c (j1f): Likewise.
4294 * math/w_j1l.c (__j1l): Likewise.
4296 * math/w_jn.c (jn): Likewise.
4298 * math/w_jnf.c (jnf): Likewise.
4300 * math/w_jnl.c (__jnl): Likewise.
4302 * math/libm-test.inc (j0_test): Add more tests.
4303 (j1_test): Likewise.
4304 (jn_test): Likewise. Add trailing semicolon to existing test.
4305 (y0_test): Likewise.
4306 (y1_test): Likewise.
4307 * sysdeps/i386/fpu/libm-test-ulps: Update.
4308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4313 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4314 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4316 (__tanl): Set errno for infinite argument.
4317 * sysdeps/i386/fpu/mptan.c: Remove.
4318 * sysdeps/i386/fpu/s_tan.S: Likewise.
4319 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4320 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4321 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4322 * math/libm-test.inc (tan_test): Add more tests and enable more
4323 tests for double and long double.
4324 * sysdeps/i386/fpu/libm-test-ulps: Update.
4325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4327 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4329 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4330 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4332 2012-03-16 Roland McGrath <roland@hack.frob.com>
4334 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4335 * configure.in: Use it for both main tree and add-ons.
4336 * configure: Regenerated.
4338 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4340 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4342 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4344 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4348 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4349 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4354 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4357 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4358 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4359 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4360 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4361 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4362 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4363 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4364 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4365 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4366 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4367 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4368 * math/libm-test.inc (cos_test): Add more tests and enable more
4369 tests for long double.
4370 (sin_test): Likewise.
4371 (sincos_test): Likewise.
4372 * sysdeps/i386/fpu/libm-test-ulps: Update.
4373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375 2012-03-16 David S. Miller <davem@davemloft.net>
4377 * sysdeps/sparc/fpu/math_private.h: New file.
4379 2012-03-15 David S. Miller <davem@davemloft.net>
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4395 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4396 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4398 * sysdeps/sparc/sparc-ifunc.h: New file.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4444 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4446 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4450 2012-03-15 Andreas Jaeger <aj@suse.de>
4453 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4454 ieee754/flt-32 implementation for sin, cos and sincos.
4455 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4456 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4457 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4458 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4459 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4460 ieee754/flt-32 implementation for tan.
4462 * math/libm-test.inc (cos_test): Enable some large input tests for
4464 (sin_test): Likewise.
4465 (sincos_test): Likewise.
4466 (tan_test): Add tests for large input.
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 2012-03-15 Andreas Jaeger <aj@suse.de>
4473 * math/libm-test.inc (cos_test): Add more test cases.
4474 (sin_test): Likewise.
4475 (sincos_test): Likewise.
4477 2012-03-15 Andreas Jaeger <aj@suse.de>
4480 * math/libm-test.inc (cos_test): Add a test case for large input
4482 (sin_test): Likewise.
4483 (sincos_test): Likewise.
4485 2012-03-15 Andreas Jaeger <aj@suse.de>,
4486 Joseph Myers <joseph@codesourcery.com>
4489 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4490 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4491 * sysdeps/i386/fpu/branred.c: Likewise.
4492 * sysdeps/i386/fpu/dosincos.c: Likewise.
4493 * sysdeps/i386/fpu/mpa.c: Likewise.
4494 * sysdeps/i386/fpu/s_cos.S: Likewise.
4495 * sysdeps/i386/fpu/s_sin.S: Likewise.
4496 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4497 * sysdeps/i386/fpu/sincos32.c: Likewise.
4499 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4501 (libc_feupdateenv_53bit): Define.
4502 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4504 (libc_feupdateenv_53bit): Define.
4506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4507 53 bit (without extend i386 double precision).
4509 * math/libm-test.inc (sincos_test): Add tests for large input.
4513 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4515 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4519 2012-03-15 David S. Miller <davem@davemloft.net>
4521 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4522 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4523 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4524 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4549 fmin/fmax sysdep routines.
4550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4552 2012-03-14 David S. Miller <davem@davemloft.net>
4554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4631 * sysdeps/sparc/configure.in: New file.
4632 * sysdeps/sparc/configure: Generate.
4633 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4634 * configure: Regenerate.
4635 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4636 * config.make.in (have-as-vis3): New.
4637 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4638 available use -Av9d instead of -Av9a.
4639 * sysdeps/sparc/sparc64/Makefile: Likewise.
4640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4655 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4656 fzeros/fnegs to load 0x80000000 into a float register instead of
4658 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4660 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4664 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4665 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4666 ($(inst_includedir)/bits/syscall.h): Remove rule.
4667 ($(objpfx)bits/syscall.d): Include instead of
4668 $(objpfx)syscall-list.d.
4669 (generated): Change syscall-list.h and syscall-list.d to
4670 bits/syscall.h and bits/syscall.d.
4672 2012-03-14 Roland McGrath <roland@hack.frob.com>
4675 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4677 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4680 * math/s_csqrt.c: Include <float.h>.
4681 (__csqrt): Scale large or subnormal inputs.
4682 * math/s_csqrtf.c: Likewise.
4683 * math/s_csqrtl.c: Likewise.
4684 * math/libm-test.inc (csqrt_test): Add more tests.
4685 * sysdeps/i386/fpu/libm-test-ulps: Update.
4686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4689 * math/libm-test.inc (hypot_test): Add more tests.
4691 2012-03-13 David S. Miller <davem@davemloft.net>
4694 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4695 double-precision for the calculation instead of scaling.
4697 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4699 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4700 manipulate bits before adding and subtracting TWO52[sx].
4701 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4706 2012-03-13 David S. Miller <davem@davemloft.net>
4708 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4709 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4711 rtld-global-offsets.h
4712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4714 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4717 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4719 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4720 'err' in the ifdef scope in which it is actually used.
4722 * nss/nss_db/db-init.c: Include string.h
4724 2012-03-12 David S. Miller <davem@davemloft.net>
4726 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4727 masking out of the most significant byte of random value used.
4728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4729 Fix coding style in previous change.
4731 * sysdeps/unix/sysv/linux/kernel-features.h
4732 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4733 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4735 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4738 2012-03-11 David S. Miller <davem@davemloft.net>
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4741 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4743 for 'resultvar' otherwise things get truncated on 64-bit.
4745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4746 Fix masking out of the most significant byte of random value used.
4748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4750 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4754 2012-03-09 David S. Miller <davem@davemloft.net>
4756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4757 variables with appropriate CPP guards.
4758 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4759 frame pointer, not the stack pointer. Correct layout comments. Fix test
4760 on resulting framesize and the management of the outregs buffer for pltexit.
4761 Preserve floating point return values across _dl_call_pltexit call.
4762 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4763 framesize and the management of the outregs buffer for pltexit.
4764 Preserve floating point return values across _dl_call_pltexit
4766 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4767 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4768 (print_exit): Fix format string for return register value.
4770 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4772 * sunrpc/Makefile (others): Add rpcgen.
4773 ($(objpfx)rpcgen): Remove special build rule and dependency on
4775 * sunrpc/rpcgen.c: New file.
4777 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4780 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4781 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4782 * sysdeps/i386/crti.S: Likewise.
4783 * sysdeps/i386/crtn.S: Likewise.
4784 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4786 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4788 * sysdeps/sh/crti.S: Likewise.
4789 * sysdeps/sh/crtn.S: Likewise.
4790 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4793 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4795 * locale/programs/locfile-kw.gperf: Likewise.
4796 * locale/programs/charmap-kw.h: Regenerated.
4797 * locale/programs/locfile-kw.h: Likewise.
4800 * intl/plural.y: Replace FSF snail mail address with URL.
4801 * intl/plural.c: Regenerated.
4803 2012-03-09 Richard Henderson <rth@twiddle.net>
4805 * include/math_private.h: Remove file.
4806 * math/math_private.h: Move file ...
4807 * sysdeps/generic/math_private.h: ... here.
4809 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4810 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4811 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4813 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4814 and <math_private.h>.
4815 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4816 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4817 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4818 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4819 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4820 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4821 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4847 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4849 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4850 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4858 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4862 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4864 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4865 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4908 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4929 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4931 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4932 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4933 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4935 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4936 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4942 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4944 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4945 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4947 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4949 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4953 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4958 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4959 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4963 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4964 * sysdeps/ieee754/k_standard.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4973 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4978 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4979 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4998 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5011 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5026 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5027 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5097 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5113 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5114 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5125 * sysdeps/ieee754/s_lib_version.c: Likewise.
5126 * sysdeps/ieee754/s_matherr.c: Likewise.
5127 * sysdeps/ieee754/s_signgam.c: Likewise.
5128 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5131 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5133 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5134 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5135 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5136 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5137 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5138 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5139 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5142 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5145 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5150 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5152 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5153 * sunrpc/rpc_main.c: Likewise.
5154 * sunrpc/rpc_svcout.c: Likewise.
5156 2012-03-09 David S. Miller <davem@davemloft.net>
5158 * include/math_private.h: New file.
5160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5162 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5163 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5164 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5165 from <bits/socket_type.h>.
5166 (enum __socket_type): Don't define here.
5167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5172 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5175 * Makerules ($(inst_includedir)/%.h): New rule.
5176 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5177 (install-others): Remove variable setting.
5178 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5180 2012-03-08 Richard Henderson <rth@twiddle.net>
5182 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5183 from macro to inline function; merge with the
5184 !__LIBC_INTERNAL_MATH_INLINES version.
5185 (__ieee754_sqrtf): Likewise.
5187 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5189 (__rintf, __floor, __floorf): Likewise.
5191 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5192 macro to inline function.
5193 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5195 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5196 not <math/math_private.h>.
5198 2012-03-08 David S. Miller <davem@davemloft.net>
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5202 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5204 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5206 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5208 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5209 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5211 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5213 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5214 be defined individually, they must be defined as a block. Define
5215 S for printing a string instead of hidint the different by using a
5216 macro for adding the 'l'.
5217 * stdio-common/tst-fphex-wide.c: Adjust.
5219 2012-03-07 Marek Polacek <polacek@redhat.com>
5221 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5223 2012-03-08 Marek Polacek <polacek@redhat.com>
5226 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5227 * stdio-common/tst-fphex.c: Define a few macros to make the
5228 test reusable. Use them.
5229 * stdio-common/tst-fphex-wide.c: New file.
5231 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5234 * manual/macros.texi (gnusystems): New macro.
5235 (nongnusystems): Likewise.
5236 (gnulinuxhurdsystems): Likewise.
5237 (gnuhurdsystems): Likewise..
5238 (gnulinuxsystems): Likewise.
5239 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5240 variants of the GNU system, not "GNU system".
5241 * manual/conf.texi: Likewise.
5242 * manual/errno.texi: Likewise. Update example of errno macro
5244 * manual/filesys.texi: Likewise.
5245 (getumask): Document as specific to GNU/Hurd.
5246 * manual/install.texi: Likewise. Reword some references to
5248 * manual/intro.texi: Likewise.
5249 * manual/io.texi: Likewise.
5250 (File Name Portability): Detail which constraints are inapplicable
5251 to all GNU systems and which are only inapplicable to GNU/Hurd.
5252 * manual/job.texi: Likewise.
5253 * manual/llio.texi: Likewise.
5254 (O_NOCTTY): Document as present on GNU/Linux.
5255 * manual/maint.texi: Likewise.
5256 * manual/memory.texi: Likewise.
5257 * manual/pattern.texi: Likewise.
5258 * manual/pipe.texi: Likewise.
5259 * manual/process.texi: Likewise.
5260 * manual/resource.texi: Likewise.
5261 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5263 * manual/setjmp.texi: Likewise.
5264 * manual/signal.texi: Likewise.
5265 * manual/startup.texi: Likewise.
5266 * manual/stdio.texi: Likewise.
5267 * manual/terminal.texi: Likewise.
5268 (ONLCR): Document as POSIX.
5269 (OXTABS): Document availability on GNU/Linux as XTABS.
5270 (ONOEOT): Document availability separately from other bits.
5271 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5272 * manual/time.texi: Likewise.
5273 * manual/users.texi: Likewise.
5274 * INSTALL: Regenerated.
5275 * sysdeps/gnu/errlist.c: Regenerated.
5277 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5278 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5279 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5281 * configure: Regenerated.
5283 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5285 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5286 default includes instead of AC_HEADER_CHECK.
5287 * sysdeps/i386/configure: Regenerated.
5290 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5291 * math/s_cacoshf.c (__cacoshf): Likewise.
5292 * math/s_cacoshl.c (__cacoshl): Likewise.
5293 * math/s_casinh.c (__casinh): Set signs of result from argument.
5294 * math/s_casinhf.c (__casinhf): Likewise.
5295 * math/s_casinhl.c (__casinhl): Likewise.
5296 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5297 (casinh_test): Add more tests.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5301 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5303 * po/zh_TW.po: Update from translation team.
5305 * login/Makefile (distribute): Remove variable.
5306 * catgets/Makefile: Likewise.
5307 * mach/Makefile: Likewise.
5308 * malloc/Makefile: Likewise.
5309 * misc/Makefile: Likewise.
5310 * iconv/Makefile: Likewise.
5311 * nscd/Makefile: Likewise.
5312 * hurd/Makefile: Likewise.
5313 * manual/Makefile: Likewise.
5314 * locale/Makefile: Likewise.
5315 * intl/Makefile: Likewise.
5316 * conform/Makefile: Likewise.
5317 * nss/Makefile: Likewise.
5318 * time/Makefile: Likewise.
5319 * soft-fp/Makefile: Likewise.
5320 * dirent/Makefile: Likewise.
5321 * gmon/Makefile: Likewise.
5322 * po/Makefile: Likewise.
5323 * rt/Makefile: Likewise.
5324 * socket/Makefile: Likewise.
5325 * math/Makefile: Likewise.
5326 * signal/Makefile: Likewise.
5327 * debug/Makefile: Likewise.
5328 * elf/Makefile: Likewise.
5329 * timezone/Makefile: Likewise.
5330 * stdlib/Makefile: Likewise.
5331 * iconvdata/Makefile: Likewise.
5332 * sunrpc/Makefile: Likewise.
5333 * io/Makefile: Likewise.
5334 * argp/Makefile: Likewise.
5335 * inet/Makefile: Likewise.
5336 * hesiod/Makefile: Likewise.
5337 * grp/Makefile: Likewise.
5338 * csu/Makefile: Likewise.
5339 * wctype/Makefile: Likewise.
5340 * crypt/Makefile: Likewise.
5341 * libio/Makefile: Likewise.
5342 * string/Makefile: Likewise.
5343 * nis/Makefile: Likewise.
5344 * resolv/Makefile: Likewise.
5345 * stdio-common/Makefile: Likewise.
5346 * wcsmbs/Makefile: Likewise.
5347 * dlfcn/Makefile: Likewise.
5348 * posix/Makefile: Likewise.
5351 * timezone/Makefile: Don't install timezone files, just the programs
5354 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5356 * nss/databases.def: Add missing gshadow entry.
5358 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5360 2012-03-06 Marek Polacek <polacek@redhat.com>
5363 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5364 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5365 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5366 * stdio-common/tst-long-dbl-fphex.c: New file.
5368 2012-03-06 David S. Miller <davem@davemloft.net>
5370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5371 (set_obp_int): New function.
5372 (get_obp_int): New function.
5373 (__get_clockfreq_via_dev_openprom): Likewise.
5374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5375 Avoid unused variable warnings on 'val' and use builtin_expect.
5376 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5378 (INLINE_CLONE_SYSCALL): Likewise.
5380 2012-03-05 David S. Miller <davem@davemloft.net>
5382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5384 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5392 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5395 Replace gettimeofday with __vdso_gettimeofday.
5397 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5398 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5399 __vdso_clock_gettime and __vdso_getcpu.
5401 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5402 time with __vdso_time.
5404 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5406 * manual/lang.texi (size_t): Note types to which size_t may be
5407 equivalent with the GNU C Library, but do not describe when
5408 differences between them are significant.
5410 2012-03-05 Andreas Jaeger <aj@suse.de>
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5418 (__ieee754_pow): Save and restore rounding mode and use
5419 round-to-nearest for main computations.
5420 * math/libm-test.inc (pow_test_tonearest): New function.
5421 (pow_test_towardzero): Likewise.
5422 (pow_test_downward): Likewise.
5423 (pow_test_upward): Likewise.
5424 (main): Call the new functions.
5425 * sysdeps/i386/fpu/libm-test-ulps: Update.
5426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5429 * math/libm-test.inc (cosh_test_tonearest): New function.
5430 (cosh_test_towardzero): Likewise.
5431 (cosh_test_downward): Likewise.
5432 (cosh_test_upward): Likewise.
5433 (sinh_test_tonearest): Likewise.
5434 (sinh_test_towardzero): Likewise.
5435 (sinh_test_downward): Likewise.
5436 (sinh_test_upward): Likewise.
5437 (main): Call the new functions.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441 2012-03-05 Tom de Vries <tom@codesourcery.com>
5443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5444 default stack guard is set in last bytes.
5445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5447 2012-03-05 Kees Cook <keescook@chromium.org>
5449 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5452 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5453 possibly allocate from heap instead of stack.
5454 * stdio-common/bug-vfprintf-nargs.c: New file.
5455 * stdio-common/Makefile (tests): Add nargs overflow test.
5457 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5461 2012-03-03 Marek Polacek <polacek@redhat.com>
5463 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5464 * math/math_private.h: Likewise.
5465 * stdlib/tst-strtod.c: Likewise.
5466 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5467 * sysdeps/x86_64/bits/atomic.h: Likewise.
5469 2012-03-02 David S. Miller <davem@davemloft.net>
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5475 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5476 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5477 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5478 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5480 2012-03-02 Roland McGrath <roland@hack.frob.com>
5483 * manual/examples/README: New file, says the example source files
5484 can be used under GPL>=2.
5485 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5486 line containing just "*/".
5487 * manual/examples/add.c: Add copyright header (GPL>=2).
5488 * manual/examples/argp-ex1.c: Likewise.
5489 * manual/examples/argp-ex2.c: Likewise.
5490 * manual/examples/argp-ex3.c: Likewise.
5491 * manual/examples/argp-ex4.c: Likewise.
5492 * manual/examples/atexit.c: Likewise.
5493 * manual/examples/db.c: Likewise.
5494 * manual/examples/dir.c: Likewise.
5495 * manual/examples/dir2.c: Likewise.
5496 * manual/examples/execinfo.c: Likewise.
5497 * manual/examples/filecli.c: Likewise.
5498 * manual/examples/filesrv.c: Likewise.
5499 * manual/examples/fmtmsgexpl.c: Likewise.
5500 * manual/examples/genpass.c: Likewise.
5501 * manual/examples/inetcli.c: Likewise.
5502 * manual/examples/inetsrv.c: Likewise.
5503 * manual/examples/isockad.c: Likewise.
5504 * manual/examples/longopt.c: Likewise.
5505 * manual/examples/memopen.c: Likewise.
5506 * manual/examples/memstrm.c: Likewise.
5507 * manual/examples/mkfsock.c: Likewise.
5508 * manual/examples/mkisock.c: Likewise.
5509 * manual/examples/mygetpass.c: Likewise.
5510 * manual/examples/pipe.c: Likewise.
5511 * manual/examples/popen.c: Likewise.
5512 * manual/examples/rprintf.c: Likewise.
5513 * manual/examples/search.c: Likewise.
5514 * manual/examples/select.c: Likewise.
5515 * manual/examples/setjmp.c: Likewise.
5516 * manual/examples/sigh1.c: Likewise.
5517 * manual/examples/sigusr.c: Likewise.
5518 * manual/examples/stpcpy.c: Likewise.
5519 * manual/examples/strdupa.c: Likewise.
5520 * manual/examples/strftim.c: Likewise.
5521 * manual/examples/strncat.c: Likewise.
5522 * manual/examples/subopt.c: Likewise.
5523 * manual/examples/swapcontext.c: Likewise.
5524 * manual/examples/termios.c: Likewise.
5525 * manual/examples/testopt.c: Likewise.
5526 * manual/examples/testpass.c: Likewise.
5527 * manual/examples/timeval_subtract.c: Likewise.
5530 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5532 * manual/timeval_subtract.c.texi: ... here, new file.
5534 2012-03-02 David S. Miller <davem@davemloft.net>
5536 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5538 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5541 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5542 (__sin): Save and restore rounding mode and use round-to-nearest
5543 for all computations.
5544 (__cos): Save and restore rounding mode and use round-to-nearest
5545 for all computations.
5546 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5548 (tan): Save and restore rounding mode and use round-to-nearest for
5550 * math/libm-test.inc (cos_test_tonearest): New function.
5551 (cos_test_towardzero): Likewise.
5552 (cos_test_downward): Likewise.
5553 (cos_test_upward): Likewise.
5554 (sin_test_tonearest): Likewise.
5555 (sin_test_towardzero): Likewise.
5556 (sin_test_downward): Likewise.
5557 (sin_test_upward): Likewise.
5558 (tan_test_tonearest): Likewise.
5559 (tan_test_towardzero): Likewise.
5560 (tan_test_downward): Likewise.
5561 (tan_test_upward): Likewise.
5562 (main): Call the new functions.
5563 * sysdeps/i386/fpu/libm-test-ulps: Update.
5564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5568 small n, then large n, before computing and testing k+n.
5569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5574 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5575 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5582 * math/libm-test.inc (scalbn_test): Add more tests.
5583 (scalbln_test): Likewise.
5585 * manual/filesys.texi (mode_t): Describe constraints on size and
5586 signedness, not exact equivalence to a particular type.
5588 (ino64_t): Likewise.
5590 (nlink_t): Likewise.
5591 (blkcnt_t): Likewise.
5592 (blkcnt64_t): Likewise.
5593 * manual/llio.texi (off_t): Likewise.
5596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5597 (__ieee754_exp): Save and restore rounding mode and use
5598 round-to-nearest for all computations.
5599 * math/libm-test.inc (exp_test_tonearest): New function.
5600 (exp_test_towardzero): Likewise.
5601 (exp_test_downward): Likewise.
5602 (exp_test_upward): Likewise.
5603 (main): Call the new functions.
5604 * sysdeps/i386/fpu/libm-test-ulps: Update.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5607 2012-03-01 Chris Demetriou <cgd@google.com>
5609 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5610 have predictable order.
5612 2012-03-01 David S. Miller <davem@davemloft.net>
5614 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5616 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5617 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5618 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5619 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5621 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5622 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5623 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5628 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5629 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5634 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5637 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5646 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5647 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5653 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5654 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5655 * sysdeps/sparc/elf/configure: Regenerated.
5657 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5659 * configure.in (AS, LD): Require binutils 2.20 or later.
5660 * configure: Regenerated.
5661 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5662 as required minimum version.
5663 * INSTALL: Regenerated.
5667 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5668 before squaring exponent.
5669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5670 bottom long double and 27 bits of top long double before squaring
5672 * math/libm-test.inc (erfc_test): Add more tests.
5673 * sysdeps/i386/fpu/libm-test-ulps: Update.
5674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5677 2012-03-01 Kai Tietz <ktietz@redhat.com>
5679 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5680 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5681 containing bit-fields.
5682 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5683 * soft-fp/single.h (_FP_UNION_S): Likewise.
5684 * soft-fp/double.h (_FP_UNION_D): Likewise.
5686 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5689 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5690 not include ../strcmp.S.
5691 [USE_AS_STRNCASECMP_L]: Likewise.
5692 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5693 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5694 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5695 (__strncasecmp_l_ia32): Define as alias to
5696 __strncasecmp_l_nonascii.
5699 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5700 * sysdeps/i386/fpu/libm-test-ulps: Update.
5701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5703 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706 2012-02-29 Jeff Law <law@redhat.com>
5708 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5711 2012-02-29 Marek Polacek <polacek@redhat.com>
5714 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5715 * elf/Makefile: Add rules to run tst-unused-dep.out.
5717 2012-02-28 David S. Miller <davem@davemloft.net>
5719 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5720 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5721 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5726 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5728 * math/libm-test.inc (llround_test): Move one test from
5729 lround_test. Use TEST_f_L in moved test.
5730 (lround_test): Move misplaced test to llround_test. Add testcase
5733 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5735 * sysdeps/x86_64/fpu/e_expf.S: New file.
5736 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5738 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5741 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5742 of remain_len that may cause incomplete multi-byte character and
5744 * posix/bug-regex33.c: New file.
5745 * posix/Makefile (tests): Add bug-regex33.
5747 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5749 * manual/macros.texi: New file.
5750 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5751 * manual/libc.texinfo: Include macros.texi.
5752 * manual/creatute.texi: Likewise.
5753 * manual/install.texi: Likewise.
5754 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5755 @glibcadj{} in references to the GNU C Library.
5756 * manual/charset.texi: Likewise.
5757 * manual/conf.texi: Likewise.
5758 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5759 when not using those macros.
5760 * manual/creature.texi: Likewise.
5761 * manual/crypt.texi: Likewise.
5762 * manual/errno.texi: Likewise.
5763 * manual/filesys.texi: Likewise.
5764 * manual/header.texi: Likewise.
5765 * manual/install.texi: Likewise.
5766 * manual/intro.texi: Likewise.
5767 * manual/io.texi: Likewise.
5768 * manual/job.texi: Likewise.
5769 * manual/lang.texi: Likewise.
5770 * manual/libc.texiinfo: Likewise.
5771 * manual/llio.texi: Likewise.
5772 * manual/locale.texi: Likewise.
5773 * manual/maint.texi: Likewise.
5774 * manual/math.texi: Likewise.
5775 * manual/memory.texi: Likewise.
5776 * manual/message.texi: Likewise.
5777 * manual/nss.texi: Likewise.
5778 * manual/pattern.texi: Likewise.
5779 * manual/process.texi: Likewise.
5780 * manual/resource.texi: Likewise.
5781 * manual/search.texi: Likewise.
5782 * manual/setjmp.texi: Likewise.
5783 * manual/signal.texi: Likewise.
5784 * manual/socket.texi: Likewise.
5785 * manual/startup.texi: Likewise.
5786 * manual/stdio.texi: Likewise.
5787 * manual/string.texi: Likewise.
5788 * manual/sysinfo.texi: Likewise.
5789 * manual/syslog.texi: Likewise.
5790 * manual/terminal.texi: Likewise.
5791 * manual/time.texi: Likewise.
5792 * manual/users.texi: Likewise.
5793 * INSTALL: Regenerated.
5794 * NOTES: Regenerated.
5795 * sysdeps/gnu/errlist.c: Regenerated.
5797 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5799 * include/dirent.h: Include <dirstream.h> before
5802 2012-02-28 David S. Miller <davem@davemloft.net>
5804 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5805 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5806 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5809 2012-02-27 David S. Miller <davem@davemloft.net>
5811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5813 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5814 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5817 frame pointer instead of stack pointer relative arg slot.
5818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5822 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5825 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5827 2012-02-27 David S. Miller <davem@davemloft.net>
5829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5835 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5838 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5840 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5841 later. Allow versions 5-9.
5842 * configure: Regenerated.
5843 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5844 required minimum version and 4.6 as recommended version. Do not
5845 mention bugs in GCC 2.7 and 2.8.
5846 * INSTALL: Regenerated.
5848 2012-02-27 David S. Miller <davem@davemloft.net>
5850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5860 manipulate bits before adding and subtracting TWO112[sx].
5861 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5863 2012-02-27 Roland McGrath <roland@hack.frob.com>
5866 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5867 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5868 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5869 being in POSIX, because they are in 1003.1-2008.
5871 * rt/tst-aio.c: Include <fcntl.h>.
5872 * rt/tst-aio7.c: Likewise.
5873 * rt/tst-aio64.c: Likewise.
5875 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5877 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5879 * manual/install.texi (--with-headers): Describe headers as
5880 interface headers, not private headers.
5881 (Specific advice for GNU/Linux systems): Describe use of headers
5882 from "make headers_install", not private headers from older
5884 * INSTALL: Regenerated.
5885 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5887 * sysdeps/unix/sysv/linux/configure: Regenerated.
5889 * manual/llio.texi (fclean): Remove documentation.
5891 * manual/Makefile (libc-texi-generated): New variable. Include
5893 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5894 $(libc-texi-generated), not duplicated list of files.
5895 (version.texi, stamp-version): New rules.
5896 (realclean): Remove $(libc-texi-generated), not individual files
5897 from that list. Do not remove dir-add.texinfo.
5898 * manual/libc.texinfo: Comment out uses of edition numbers and
5899 references to printed manual. Remove last-updated dates.
5900 (EDITION): Comment out.
5902 (VERSION, UPDATED): Remove.
5903 (version.texi): Include.
5905 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5907 * sysdeps/posix/spawni.c: Include <signal.h>.
5908 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5909 * sysdeps/pthread/aio_fsync.c: Likewise.
5911 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5913 * conform/Makefile (tests): Run only when not cross-compiling and
5914 when fast-check is not defined.
5916 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5917 * conform/data/limits.h-data: Fixes for POSIX2008.
5918 * conform/run-conformtest.sh: Run all tests.
5919 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5921 * include/bits/dlfcn.h: Likewise.
5922 * include/langinfo.h: Likewise.
5923 * include/monetary.h: Likewise.
5924 * include/sys/poll.h: Likewise.
5926 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5928 * posix/spawn.h: Define __need_sigset_t.
5929 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5930 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5931 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5932 to get sigevent_t only.
5933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5937 process_vm_writev only for __USE_GNU.
5938 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5940 * conform/Makefile: For now ignore errors from run-conformtest.
5941 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5942 POSIX to avoid namespace pollution. Don't prepend headers.
5943 * conform/data/aio.h-data: Fixes for POSIX testing.
5944 * conform/data/fcntl.h-data: Likewise.
5945 * conform/data/glob.h-data: Likewise.
5946 * conform/data/grp.h-data: Likewise.
5947 * conform/data/pthread.h-data: Likewise.
5948 * conform/data/pwd.h-data: Likewise.
5949 * conform/data/signal.h-data: Likewise.
5950 * conform/data/spawn.h-data: Likewise.
5951 * conform/data/stdio.h-data: Likewise.
5952 * conform/data/stdlib.h-data: Likewise.
5953 * conform/data/stropts.h-data: Likewise.
5954 * conform/data/sys/mman.h-data: Likewise.
5955 * conform/data/sys/stat.h-data: Likewise.
5956 * conform/data/sys/types.h-data: Likewise.
5957 * conform/data/sys/wait.h-data: Likewise.
5958 * conform/data/time.h-data: Likewise.
5959 * conform/data/unistd.h-data: Likewise.
5960 * conform/data/utime.h-data: Likewise.
5962 * io/sys/stat.h: fchmod was always in POSIX.
5963 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5964 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5965 * rt/aio.h: Define __need_timespec before including <time.h>.
5966 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5967 struct. Add forward declaration of pthread_attr_t and use it in
5969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5971 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5972 always remove CLK_TCK definition.
5974 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5976 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5978 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5980 * conform/run-conformtest.sh: New file.
5981 * conform/Makefile: Run run-conformtest for tests.
5982 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5985 * conform/data/uchar.h-data: New file.
5986 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5987 * conform/data/arpa/inet.h-data: Likewise.
5988 * conform/data/assert.h-data: Likewise.
5989 * conform/data/complex.h-data: Likewise.
5990 * conform/data/cpio.h-data: Likewise.
5991 * conform/data/ctype.h-data: Likewise.
5992 * conform/data/dirent.h-data: Likewise.
5993 * conform/data/dlfcn.h-data: Likewise.
5994 * conform/data/errno.h-data: Likewise.
5995 * conform/data/fcntl.h-data: Likewise.
5996 * conform/data/float.h-data: Likewise.
5997 * conform/data/fmtmsg.h-data: Likewise.
5998 * conform/data/fnmatch.h-data: Likewise.
5999 * conform/data/ftw.h-data: Likewise.
6000 * conform/data/glob.h-data: Likewise.
6001 * conform/data/grp.h-data: Likewise.
6002 * conform/data/iconv.h-data: Likewise.
6003 * conform/data/inttypes.h-data: Likewise.
6004 * conform/data/langinfo.h-data: Likewise.
6005 * conform/data/libgen.h-data: Likewise.
6006 * conform/data/limits.h-data: Likewise.
6007 * conform/data/locale.h-data: Likewise.
6008 * conform/data/math.h-data: Likewise.
6009 * conform/data/monetary.h-data: Likewise.
6010 * conform/data/mqueue.h-data: Likewise.
6011 * conform/data/ndbm.h-data: Likewise.
6012 * conform/data/net/if.h-data: Likewise.
6013 * conform/data/netdb.h-data: Likewise.
6014 * conform/data/netinet/in.h-data: Likewise.
6015 * conform/data/nl_types.h-data: Likewise.
6016 * conform/data/poll.h-data: Likewise.
6017 * conform/data/pthread.h-data: Likewise.
6018 * conform/data/pwd.h-data: Likewise.
6019 * conform/data/regex.h-data: Likewise.
6020 * conform/data/sched.h-data: Likewise.
6021 * conform/data/search.h-data: Likewise.
6022 * conform/data/semaphore.h-data: Likewise.
6023 * conform/data/setjmp.h-data: Likewise.
6024 * conform/data/signal.h-data: Likewise.
6025 * conform/data/spawn.h-data: Likewise.
6026 * conform/data/stdarg.h-data: Likewise.
6027 * conform/data/stdio.h-data: Likewise.
6028 * conform/data/stdlib.h-data: Likewise.
6029 * conform/data/string.h-data: Likewise.
6030 * conform/data/strings.h-data: Likewise.
6031 * conform/data/stropts.h-data: Likewise.
6032 * conform/data/sys/ipc.h-data: Likewise.
6033 * conform/data/sys/mman.h-data: Likewise.
6034 * conform/data/sys/msg.h-data: Likewise.
6035 * conform/data/sys/resource.h-data: Likewise.
6036 * conform/data/sys/select.h-data: Likewise.
6037 * conform/data/sys/sem.h-data: Likewise.
6038 * conform/data/sys/shm.h-data: Likewise.
6039 * conform/data/sys/socket.h-data: Likewise.
6040 * conform/data/sys/stat.h-data: Likewise.
6041 * conform/data/sys/statvfs.h-data: Likewise.
6042 * conform/data/sys/time.h-data: Likewise.
6043 * conform/data/sys/timeb.h-data: Likewise.
6044 * conform/data/sys/times.h-data: Likewise.
6045 * conform/data/sys/types.h-data: Likewise.
6046 * conform/data/sys/uio.h-data: Likewise.
6047 * conform/data/sys/un.h-data: Likewise.
6048 * conform/data/sys/utsname.h-data: Likewise.
6049 * conform/data/sys/wait.h-data: Likewise.
6050 * conform/data/syslog.h-data: Likewise.
6051 * conform/data/tar.h-data: Likewise.
6052 * conform/data/termios.h-data: Likewise.
6053 * conform/data/utime.h-data: Likewise.
6054 * conform/data/utmpx.h-data: Likewise.
6055 * conform/data/varargs.h-data: Likewise.
6056 * conform/data/wchar.h-data: Likewise.
6057 * conform/data/wctype.h-data: Likewise.
6058 * conform/data/wordexp.h-data: Likewise.
6060 * include/stropts.h: New file.
6061 * include/uchar.h: New file.
6062 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6063 * include/assert.h: Likewise.
6064 * include/ctype.h: Likewise.
6065 * include/dirent.h: Likewise.
6066 * include/dlfcn.h: Likewise.
6067 * include/fcntl.h: Likewise.
6068 * include/fnmatch.h: Likewise.
6069 * include/glob.h: Likewise.
6070 * include/grp.h: Likewise.
6071 * include/libio.h: Likewise.
6072 * include/locale.h: Likewise.
6073 * include/math.h: Likewise.
6074 * include/net/if.h: Likewise.
6075 * include/netdb.h: Likewise.
6076 * include/netinet/in.h: Likewise.
6077 * include/pthread.h: Likewise.
6078 * include/pwd.h: Likewise.
6079 * include/regex.h: Likewise.
6080 * include/sched.h: Likewise.
6081 * include/search.h: Likewise.
6082 * include/setjmp.h: Likewise.
6083 * include/signal.h: Likewise.
6084 * include/stdio.h: Likewise.
6085 * include/stdlib.h: Likewise.
6086 * include/string.h: Likewise.
6087 * include/sys/cdefs.h: Likewise.
6088 * include/sys/mman.h: Likewise.
6089 * include/sys/msg.h: Likewise.
6090 * include/sys/resource.h: Likewise.
6091 * include/sys/select.h: Likewise.
6092 * include/sys/socket.h: Likewise.
6093 * include/sys/stat.h: Likewise.
6094 * include/sys/statvfs.h: Likewise.
6095 * include/sys/time.h: Likewise.
6096 * include/sys/times.h: Likewise.
6097 * include/sys/uio.h: Likewise.
6098 * include/sys/utsname.h: Likewise.
6099 * include/sys/wait.h: Likewise.
6100 * include/termios.h: Likewise.
6101 * include/time.h: Likewise.
6102 * include/ulimit.h: Likewise.
6103 * include/unistd.h: Likewise.
6104 * include/utime.h: Likewise.
6105 * include/wchar.h: Likewise.
6106 * include/wctype.h: Likewise.
6107 * include/wordexp.h: Likewise.
6109 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6111 * time/time.h: TIME_UTC must be a macro.
6112 Make timespec_get available for ISO C11 only as well.
6114 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6116 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6117 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6121 * configure.in: Use -o not -a in test for unsupported multi-arch.
6123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6125 * manual/texinfo.tex: Update to version 2012-01-19.16.
6127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6129 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6131 2012-02-24 Roland McGrath <roland@hack.frob.com>
6134 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6135 * manual/fdl-1.3.texi: New file.
6136 * manual/fdl-1.1.texi: File removed.
6139 * manual/libc.texinfo (FDL_VERSION): New @set.
6140 Use it for mention of FDL in cover text.
6141 (Documentation License): Use it in @include file name.
6143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6144 Roland McGrath <roland@hack.frob.com>
6147 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6148 not LONG_LONG_MAX and LONG_LONG_MIN.
6149 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6150 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6152 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6158 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6159 manipulate bits before adding and subtracting TWO23[sx].
6160 * math/libm-test.inc (nearbyint_test): Add more tests.
6162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6166 bits before adding and subtracting TWO23[sx].
6167 * math/libm-test.inc (rint_test): Add more tests.
6168 (rint_test_tonearest): Likewise.
6169 (rint_test_towardzero): Likewise.
6170 (rint_test_downward): Likewise.
6171 (rint_test_upward: Likewise.
6173 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6176 * include/stdc-predef.h: New file. Extracted from features.h.
6177 * include/features.h: Include stdc-predef.h.
6178 * Makefile (headers): Add stdc-predef.h.
6179 * CONFORMANCE (Compiler limitations): Update.
6181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6183 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6185 2012-02-21 David S. Miller <davem@davemloft.net>
6187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6190 2012-02-20 David S. Miller <davem@davemloft.net>
6192 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6193 using a normal save/restore sequence, rather than allocating a
6194 dummy stack frame just to store a frame pointer and restore.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6199 * manual/install.texi: Fix stray word in line-wrapped comment.
6201 2012-02-20 David S. Miller <davem@davemloft.net>
6203 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6204 both binutils and gcc support GOTDATA.
6206 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6207 "rd %pc" in the PIC register setup sequences.
6209 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6210 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6211 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6212 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6213 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6218 (SYSCALL_ERROR_HANDLER): Likewise.
6219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6222 (SYSCALL_ERROR_HANDLER): Likewise.
6224 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6225 (HAVE_GCC_GOTDATA): New.
6226 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6227 relocation support in both binutils and gcc.
6228 * sysdeps/sparc/elf/configure: Regenerate.
6230 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6231 * sysdeps/sparc/sparc32/elf/configure: Delete.
6232 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6233 * sysdeps/sparc/sparc64/elf/configure: Delete.
6234 * sysdeps/sparc/elf/configure.in: New file.
6235 * sysdeps/sparc/elf/configure: Generate.
6237 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6238 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6240 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6241 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6243 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6245 * manual/install.texi: Do not mention specific glibc version
6247 * manual/libc.texinfo (VERSION, UPDATED): Update.
6248 (@copying): Use @copyright{} and range of years.
6250 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6253 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6254 [crti.S not in sysdirs] (generated): Do not append.
6255 [crti.S not in sysdirs] (omit-deps): Likewise.
6256 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6257 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6258 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6259 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6260 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6262 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6263 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6264 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6265 * csu/defs.awk: Remove file.
6266 * sysdeps/generic/initfini.c: Likewise.
6267 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6269 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6274 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6276 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6279 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6281 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6282 (__EPOLL_PACKED): Define to empty if not defined by
6284 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6290 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6291 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6293 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6295 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6299 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6301 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6304 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6308 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6311 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6313 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6315 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6316 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6318 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6320 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6323 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6325 * math/w_acos.c: Use non-signaling floating-point comparisons.
6326 * math/w_acosf.c: Likewise.
6327 * math/w_acosh.c: Likewise.
6328 * math/w_acoshf.c: Likewise.
6329 * math/w_acoshl.c: Likewise.
6330 * math/w_acosl.c: Likewise.
6331 * math/w_asin.c: Likewise.
6332 * math/w_asinf.c: Likewise.
6333 * math/w_asinl.c: Likewise.
6334 * math/w_atanh.c: Likewise.
6335 * math/w_atanhf.c: Likewise.
6336 * math/w_atanhl.c: Likewise.
6337 * math/w_exp2.c: Likewise.
6338 * math/w_exp2f.c: Likewise.
6339 * math/w_exp2l.c: Likewise.
6340 * math/w_j0.c: Likewise.
6341 * math/w_j0f.c: Likewise.
6342 * math/w_j0l.c: Likewise.
6343 * math/w_j1.c: Likewise.
6344 * math/w_j1f.c: Likewise.
6345 * math/w_j1l.c: Likewise.
6346 * math/w_jn.c: Likewise.
6347 * math/w_jnf.c: Likewise.
6348 * math/w_log.c: Likewise.
6349 * math/w_log10.c: Likewise.
6350 * math/w_log10f.c: Likewise.
6351 * math/w_log10l.c: Likewise.
6352 * math/w_log2.c: Likewise.
6353 * math/w_log2f.c: Likewise.
6354 * math/w_log2l.c: Likewise.
6355 * math/w_logf.c: Likewise.
6356 * math/w_logl.c: Likewise.
6357 * math/w_sqrt.c: Likewise.
6358 * math/w_sqrtf.c: Likewise.
6359 * math/w_sqrtl.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6363 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6369 * manual/string.texi (strnlen): Use correct parameter name in
6370 equivalent expression.
6372 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6375 * manual/users.texi (seteuid): Consistently use neweuid for
6378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6381 * manual/nss.texi (Services in the NSS configuration): Correct
6382 list of services in example configuration file.
6384 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6387 * manual/arith.texi: Remove statements about negative zero
6388 behaving identically to zero.
6390 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6393 * manual/install.texi: Do not document upgrading from libc5.
6395 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6398 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6400 2012-02-18 David S. Miller <davem@davemloft.net>
6402 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6403 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6404 %o7 across the call.
6405 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6410 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6411 * sysdeps/sparc/crtn.S: Likewise.
6413 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6415 * aout/Makefile: Remove.
6417 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6420 * manual/examples/argp-ex1.c (main): Format definition in GNU
6422 * manual/examples/argp-ex2.c (main): Likewise.
6423 * manual/examples/argp-ex3.c (main): Likewise.
6424 * manual/examples/argp-ex4.c (main): Likewise.
6425 * manual/examples/longopt.c (main): Use new-style prototype
6427 * manual/examples/strncat.c (main): Specify return type and use
6428 (void) for arguments.
6429 * manual/examples/subopt.c (main): Use char **argv argument.
6431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6434 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6437 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6440 * manual/string.texi (strchr): Change when strchrnul is
6443 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6446 * manual/locale.texi (setlocale): Document LOCPATH.
6448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6451 * manual/process.texi (execle): Move @dots{} before last argument.
6453 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6456 * manual/charset.texi (Generic Charset Conversion): Fix typo
6457 (LC_TYPE -> LC_CTYPE).
6459 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6462 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6463 (scalbnf): Likewise.
6464 (scalbnl): Likewise.
6465 (scalbln): Likewise.
6466 (scalblnf): Likewise.
6467 (scalblnl): Likewise.
6468 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6472 * manual/filesys.texi (telldir): Use braces around return type.
6473 * manual/llio.texi (mmap): Add space after comma.
6475 * manual/math.texi (jn): Use @var{} on parameter names.
6481 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6483 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6485 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6486 (sched_get_priority_max): Likewise.
6487 * manual/signal.texi (sigvec): Add space after comma.
6488 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6490 (if_indextoname): Likewise.
6491 (if_freenameindex): Likewise.
6492 (sendto): Use ',' instead of '.' in prototype.
6493 * manual/startup.texi (syscall): Use @dots{} instead of literal
6495 * manual/stdio.texi (__fpending): Separate initial words of
6496 paragraph from @deftypefun line.
6497 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6499 (vsyslog): Use @var{} on parameter names.
6500 * manual/terminal.texi (stty): Use @var{} on parameter names.
6501 * manual/users.texi (getutmp): Use @var{} on parameter names.
6502 (getutmpx): Likewise.
6504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6507 * manual/stdio.texi (fopen): Fix typos in description of
6510 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6513 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6514 get clock_id definition.
6516 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6519 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6520 (madvise): Cast every argument to void on its own.
6522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6525 * manual/startup.texi (Exit Status): Fix typo.
6527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6530 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6531 * manual/examples/argp-ex2.c: Likewise.
6532 * manual/examples/argp-ex3.c: Likewise.
6534 2012-02-16 Richard Henderson <rth@redhat.com>
6536 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6537 * sysdeps/s390/s390-32/initfini.c: Remove.
6538 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6539 * sysdeps/s390/s390-64/initfini.c: Remove.
6541 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6543 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6544 compiler output for sysdeps/generic/initfini.c.
6545 * sysdeps/sh/elf/initfini.c: Remove file.
6547 2012-02-16 David S. Miller <davem@davemloft.net>
6550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6552 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6553 * sysdeps/sparc/crti.S: New file.
6554 * sysdeps/sparc/crtn.S: New file.
6555 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6556 * sysdeps/sparc/sparc64/Makefile: Likewise.
6558 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6561 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6563 2012-02-15 Roland McGrath <roland@hack.frob.com>
6566 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6568 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6569 (write, read, close): Likewise.
6570 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6572 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6575 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6577 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6579 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6583 2012-02-14 Marek Polacek <polacek@redhat.com>
6585 * sysdeps/x86_64/crti.S: New file.
6586 * sysdeps/x86_64/crtn.S: New file.
6587 * sysdeps/x86_64/elf/initfini.c: Remove file.
6589 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6591 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6592 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6593 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6594 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6596 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6600 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6602 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6603 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6604 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6605 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6607 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6611 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6613 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6614 __feraiseexcept instead of feraiseexcept.
6616 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6617 nanosleep invocations.
6618 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6619 strings, and add error checking for a nanosleep invocations.
6621 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6623 Replace FSF snail mail address with URLs, as per GNU coding standards.
6624 Most of the snail mail addresses were wrong anyway, and omitting
6625 them makes the source code easier to maintain. Almost all of the
6626 changes are to license notices and to locale LC_IDENTIFICATION
6627 addresses, except for this one:
6628 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6629 not its snail mail address.
6631 2012-02-09 Richard Henderson <rth@twiddle.net>
6633 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6634 of kernel-features.h.
6636 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6638 2012-02-08 Marek Polacek <polacek@redhat.com>
6640 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6641 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6642 * sysdeps/gnu/_G_config.h: Likewise.
6643 * sysdeps/generic/_G_config.h: Likewise.
6645 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6647 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6651 * sysdeps/powerpc/powerpc32/crti.S: New file.
6652 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6653 * sysdeps/powerpc/powerpc64/crti.S: New file.
6654 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6656 * Makeconfig (have-initfini): Don't set.
6657 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6658 * configure.in (nopic_initfini): Don't substitute.
6659 * config.h.in (HAVE_INITFINI): Don't #undef.
6660 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6661 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6663 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6665 Support crti.S and crtn.S provided directly by architectures.
6666 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6667 [crti.S in sysdirs] (omit-deps): Likewise.
6668 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6669 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6670 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6671 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6672 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6673 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6674 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6675 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6676 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6677 compiler output for sysdeps/generic/initfini.c.
6678 * sysdeps/i386/elf/Makefile: Remove file.
6679 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6681 2012-02-07 Marek Polacek <polacek@redhat.com>
6683 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6684 * sysdeps/gnu/_G_config.h: Likewise.
6685 * sysdeps/mach/hurd/_G_config.h: Likewise.
6687 2012-02-07 Marek Polacek <polacek@redhat.com>
6689 * math/Makefile (tests): Add tst-CMPLX2.
6690 * math/tst-CMPLX2.c: New file.
6692 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6696 * math/libm-test.inc (jn_test): Add missing L suffix.
6698 2012-02-06 Marek Polacek <polacek@redhat.com>
6700 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6701 * sysdeps/i386/fpu/e_powf.S: Likewise.
6702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6703 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6705 * sysdeps/i386/fpu/e_pow.S: Likewise.
6706 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6708 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6709 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6710 * sysdeps/i386/fpu/e_log2.S: Likewise.
6711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6713 * sysdeps/i386/fpu/e_powl.S: Likewise.
6714 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6715 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6716 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6717 * sysdeps/i386/fpu/e_logl.S: Likewise.
6718 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6719 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6720 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6721 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6722 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6724 * sysdeps/i386/fpu/e_log.S: Likewise.
6725 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6727 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6728 * sysdeps/i386/fpu/e_logf.S: Likewise.
6729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6731 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6732 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6733 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6734 * sysdeps/i386/fpu/e_log10.S: Likewise.
6735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6740 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6741 * sysdeps/i386/asm-syntax.h: Likewise.
6742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6745 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6746 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6751 * sysdeps/powerpc/sysdep.h: Likewise.
6752 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6755 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6758 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6760 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6762 * sysdeps/i386/sysdep.h: Include <features.h>.
6763 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6766 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6768 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6770 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6773 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6775 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6776 (SETUP_PIC_REG): Use GET_PC_THUNK.
6777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6782 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6783 for non-PIC compilation.
6784 (SETUP_PIC_REG): Add .p2align directive.
6785 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6786 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6787 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6788 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6789 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6790 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6793 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6794 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6795 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6796 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6797 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6798 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6799 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6800 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6801 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6805 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6807 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6808 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6817 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6818 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6819 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6820 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6821 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6822 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6823 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6824 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6825 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6827 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6829 * math/tst-CMPLX.c: Include <stdio.h>.
6831 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6835 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6836 * sysdeps/sparc/bits/mathdef.h: Likewise.
6838 2012-01-31 Marek Polacek <polacek@redhat.com>
6840 * libio/libio.h: Don't define _PARAMS.
6841 * locale/programs/config.h: Don't define PARAMS.
6842 * stdlib/strtol_l.c: Likewise.
6843 (__strtol_l): Remove PARAMS from the prototype.
6845 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6847 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6848 names. Just use the correct names. Remove unnecessary wrapper
6850 * malloc/arena.c: Likewise.
6851 * malloc/hooks.c: Likewise.
6853 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6854 ARENA_TEST says not to. Simplify test for creation of a new arena.
6855 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6857 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6859 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6861 (update_get_addr): New function.
6862 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6863 GET_ADDR_MODULE parameter.
6865 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6867 * crypt/cert.c: Remove __STDC__ conditionals.
6868 * crypt/crypt-entry.c: Likewise.
6869 * crypt/crypt_util.c: Likewise.
6870 * libio/filedoalloc.c: Likewise.
6871 * libio/fileops.c: Likewise.
6872 * libio/genops.c: Likewise.
6873 * libio/iofclose.c: Likewise.
6874 * libio/iofdopen.c: Likewise.
6875 * libio/iofopen.c: Likewise.
6876 * libio/iofopen64.c: Likewise.
6877 * libio/iogetdelim.c: Likewise.
6878 * libio/iopopen.c: Likewise.
6879 * libio/obprintf.c: Likewise.
6880 * libio/oldfileops.c: Likewise.
6881 * libio/oldiofclose.c: Likewise.
6882 * libio/oldiofdopen.c: Likewise.
6883 * libio/oldiofopen.c: Likewise.
6884 * libio/oldiopopen.c: Likewise.
6885 * libio/wfiledoalloc.c: Likewise.
6886 * libio/wgenops.c: Likewise.
6887 * locale/programs/xmalloc.c: Likewise.
6888 * misc/syslog.c: Likewise.
6889 * stdio-common/xbug.c: Likewise.
6890 * string/memchr.c: Likewise.
6891 * string/memcmp.c: Likewise.
6892 * string/memrchr.c: Likewise.
6893 * string/rawmemchr.c: Likewise.
6894 * sysdeps/posix/getcwd.c: Likewise.
6895 * time/strftime_l.c: Likewise.
6897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6899 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6900 * config.make.in (config-cflags-sse2avx): Define.
6901 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6904 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6906 * scripts/config.guess: Update from upstream config git repository.
6907 * scripts/config.sub: Likewise.
6909 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6911 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6913 (R_TILEPRO_*, R_TILEGX_*): New macros.
6915 * scripts/firstversions.awk: Fix bug in version range handling.
6917 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6919 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6921 * include/sys/epoll.h: New file.
6922 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6925 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6927 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6928 Avoid unnecessary __WORDSIZE == 64 test.
6929 (fmaxf): Use VEX format if possible.
6934 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6935 * math/math_private.h: Remove libc_fegetround* and
6937 * sysdeps/i386/configure.in: Check for -msse2avx.
6938 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6939 also if SSE2AVX is defined.
6940 Remove libc_fegetround* and libc_fesetround*.
6941 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6942 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6951 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6953 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6959 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6962 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6964 * Makeconfig (libm): Define.
6965 * elf/Makefile: Add rules to build and run tst-relsort1.
6966 * elf/tst-relsort1.c: New file.
6967 * elf/tst-relsort1mod1.c: New file.
6968 * elf/tst-relsort1mod2.c: New file.
6970 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6972 * math/s_ldexp.c: Remove __STDC__ conditionals.
6973 * math/s_ldexpf.c: Likewise.
6974 * math/s_ldexpl.c: Likewise.
6975 * math/s_nextafter.c: Likewise.
6976 * math/s_nexttowardf.c: Likewise.
6977 * math/s_significand.c: Likewise.
6978 * math/s_significandf.c: Likewise.
6979 * math/s_significandl.c: Likewise.
6980 * math/w_jnl.c: Likewise.
6981 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6982 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6983 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6984 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6985 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7003 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7005 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7006 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7013 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7014 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7016 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7017 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7021 * sysdeps/ieee754/k_standard.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7101 * sysdeps/ieee754/s_matherr.c: Likewise.
7102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7107 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7109 * crypt/md5.h: Remove __STDC__ conditionals.
7110 * libio/libioP.h: Likewise.
7111 * locale/programs/config.h: Likewise.
7112 * sysdeps/generic/sysdep.h: Likewise.
7113 * sysdeps/i386/asm-syntax.h: Likewise.
7114 * sysdeps/s390/asm-syntax.h: Likewise.
7115 * sysdeps/unix/sysdep.h: Likewise.
7116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7121 * libio/libio.h: Remove __STDC__ conditionals.
7122 * malloc/obstack.h: Likewise.
7123 * math/complex.h: Likewise.
7124 * math/math.h: Likewise.
7125 * sysdeps/generic/_G_config.h: Likewise.
7126 * sysdeps/gnu/_G_config.h: Likewise.
7127 * sysdeps/mach/hurd/_G_config.h: Likewise.
7128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7129 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7130 * sysdeps/sparc/bits/mathdef.h: Likewise.
7132 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7136 Clean up HAS_* macros.
7137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7138 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7148 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7150 * elf/tst-unique3.cc (gets): Remove declaration.
7151 * elf/tst-unique3lib.cc (gets): Likewise.
7152 * elf/tst-unique3lib2.cc (gets): Likewise.
7153 * elf/tst-unique4.cc (gets): Likewise.
7155 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7157 * include/stdio.h: Add C++ protection. Add gets declarations and
7159 * debug/tst-chk1.c: Don't declare gets here.
7160 * stdio-common/tst-gets.c: Likewise.
7162 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7164 * posix/glob: Remove directory.
7166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7168 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7170 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7172 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7173 of the non-standard EPFNOSUPPORT.
7175 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7177 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7178 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7179 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7181 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7183 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7185 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7187 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7189 * nscd/grpcache.c (cache_addgr): Likewise.
7190 * nscd/hstcache.c (cache_addhst): Likewise.
7191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7192 * nscd/pwdcache.c (cache_addpw): Likewise.
7193 * nscd/servicescache.c (cache_addserv): Likewise.
7195 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7197 * malloc/malloc.c: Various cleanups.
7198 * malloc/hooks.c: Likewise.
7200 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7201 * stdlib/bug-fmtmsg1.c: New file.
7203 * stdlib/fmtmsg.c (init): Add missing unlock.
7204 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7206 2012-01-12 Marek Polacek <polacek@redhat.com>
7208 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7211 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7213 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7215 macro to ensure uniqueness of label name.
7216 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7217 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7219 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7224 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7228 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7232 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7233 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7236 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7243 * math/bits/math-finite.h: Add ldexp support.
7245 2012-01-10 Marek Polacek <polacek@redhat.com>
7247 * locale/programs/localedef.h (show_archive_content): Add noreturn
7250 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7252 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7254 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7256 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7258 * io/Makefile (headers): Add bits/poll2.h.
7260 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7263 typo #include statement.
7265 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7267 * include/sys/cdefs.h: Define __attribute_alloc_size.
7268 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7269 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7270 * elf/pldd.c: Likewise.
7271 * iconv/iconv_charmap.c: Likewise.
7272 * iconv/iconvconfig.c: Likewise.
7273 * iconv/strtab.c: Likewise.
7274 * locale/programs/locale.c: Likewise.
7275 * locale/programs/localedef.h: Likewise.
7276 * locale/programs/simple-hash.c: Likewise.
7277 * nscd/nscd.h: Likewise.
7278 * nss/makedb.c: Likewise.
7279 * sysdeps/generic/ldconfig.h: Likewise.
7280 * locale/programs/localedef.c: Remove xmalloc prototype.
7281 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7283 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7288 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7290 * math/Makefile (tests): Add tst-CMPLX.
7291 * math/tst-CMPLX.c: New file.
7293 * math/complex.h (CMPLXL): Fix typo.
7295 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7296 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7298 * debug/tst-chk1.c: Add poll and ppoll tests.
7299 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7300 * include/sys/poll.h: Add hidden proto for ppoll.
7301 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7302 * sysdeps/mach/hurd/ppoll.c: Likewise.
7303 * io/ppoll.c: Likewise.
7304 * debug/poll_chk.c: New file.
7305 * debug/ppoll_chk.c: New file.
7306 * include/bits/poll2.h: New file.
7307 * io/bits/poll2.h: New file.
7310 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7312 * configure.in: static is always set to yes. Remove.
7313 * config.make.in: Don't set build-static.
7314 * Makeconfig: Remove use of build-static.
7315 * dlfcn/Makefile: Likewise.
7316 * elf/Makefile: Likewise.
7317 * math/Makefile: Likewise.
7318 * misc/Makefile: Likewise.
7319 * nptl/Makefile: Likewise.
7320 * sysdeps/mach/hurd/Makefile: Likewise.
7322 * configure.in: PWD_P is not used anymore.
7323 * config.make.in: Remove PWD_P entry.
7325 * configure.in: Remove last remnants of RANLIB.
7326 No need to check for signed size_t anymore.
7327 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7329 Remove __builtin_expect test because we require at least gcc 3.4.
7330 * aclocal.m4: Likewise.
7332 * wcsmbs/mbrtoc16.c: Implement using towc function.
7333 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7334 * wcsmbs/wcsmbsload.c: Likewise.
7335 * iconv/gconv_simple.c: Likewise.
7336 * iconv/gconv_int.h: Likewise.
7337 * iconv/gconv_builtin.h: Likewise.
7338 * iconv/iconv_prog.c: Remove CHAR16 handling.
7340 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7342 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7344 * configure.in: Remove --with-elf and --enable-bounded options.
7345 Dont set base_machine for ia64. More non-ELF conditions removed.
7346 Remove testing and setting of leading underscore information.
7347 * config.make.in (build-bounded): Set to no.
7348 * config.h.in: Remove NO_UNDERSCORES entry.
7349 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7351 * csu/start.c: Remove !NO_UNDERSCORE code.
7352 * locale/localeinfo.h: Likewise.
7353 * sysdeps/generic/machine-gmon.h: Likewise.
7354 * sysdeps/generic/sysdep.h: Likewise.
7355 * sysdeps/i386/sysdep.h: Likewise.
7356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7357 * sysdeps/mach/sysdep.h: Likewise.
7358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7360 * sysdeps/sh/sysdep.h: Likewise.
7361 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7362 * sysdeps/unix/i386/sysdep.S: Likewise.
7363 * sysdeps/unix/sparc/start.c: Likewise.
7364 * sysdeps/unix/sparc/sysdep.S: Likewise.
7365 * sysdeps/unix/sparc/sysdep.h: Likewise.
7366 * sysdeps/unix/start.c: Likewise.
7367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7368 * sysdeps/x86_64/sysdep.h: Likewise.
7370 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7373 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7375 * argp/argp-fmtstream.h: Use const instead __const.
7376 * argp/argp.h: Likewise.
7377 * assert/assert.h: Likewise.
7378 * bits/fenv.h: Likewise.
7379 * bits/sched.h: Likewise.
7380 * bits/sigset.h: Likewise.
7381 * bits/sigthread.h: Likewise.
7382 * catgets/nl_types.h: Likewise.
7383 * conform/data/pthread.h-data: Likewise.
7384 * crypt/crypt-private.h: Likewise.
7385 * crypt/crypt.h: Likewise.
7386 * crypt/crypt_util.c: Likewise.
7387 * ctype/ctype.h: Likewise.
7388 * debug/execinfo.h: Likewise.
7389 * debug/mbsnrtowcs_chk.c: Likewise.
7390 * debug/mbsrtowcs_chk.c: Likewise.
7391 * debug/wcsnrtombs_chk.c: Likewise.
7392 * debug/wcsrtombs_chk.c: Likewise.
7393 * debug/wcstombs_chk.c: Likewise.
7394 * dirent/dirent.h: Likewise.
7395 * dlfcn/dlfcn.h: Likewise.
7396 * elf/neededtest4.c: Likewise.
7397 * grp/grp.h: Likewise.
7398 * gshadow/gshadow.h: Likewise.
7399 * iconv/gconv.h: Likewise.
7400 * iconv/gconv_int.h: Likewise.
7401 * iconv/gconv_simple.c: Likewise.
7402 * iconv/iconv.h: Likewise.
7403 * iconv/loop.c: Likewise.
7404 * iconv/skeleton.c: Likewise.
7405 * include/aio.h: Likewise.
7406 * include/aliases.h: Likewise.
7407 * include/argz.h: Likewise.
7408 * include/arpa/inet.h: Likewise.
7409 * include/assert.h: Likewise.
7410 * include/dirent.h: Likewise.
7411 * include/dlfcn.h: Likewise.
7412 * include/execinfo.h: Likewise.
7413 * include/fcntl.h: Likewise.
7414 * include/fenv.h: Likewise.
7415 * include/glob.h: Likewise.
7416 * include/grp.h: Likewise.
7417 * include/libintl.h: Likewise.
7418 * include/mntent.h: Likewise.
7419 * include/netdb.h: Likewise.
7420 * include/pwd.h: Likewise.
7421 * include/rpc/netdb.h: Likewise.
7422 * include/sched.h: Likewise.
7423 * include/search.h: Likewise.
7424 * include/shadow.h: Likewise.
7425 * include/signal.h: Likewise.
7426 * include/stdio.h: Likewise.
7427 * include/stdlib.h: Likewise.
7428 * include/string.h: Likewise.
7429 * include/sys/socket.h: Likewise.
7430 * include/sys/stat.h: Likewise.
7431 * include/sys/statfs.h: Likewise.
7432 * include/sys/statvfs.h: Likewise.
7433 * include/sys/syslog.h: Likewise.
7434 * include/sys/time.h: Likewise.
7435 * include/sys/uio.h: Likewise.
7436 * include/time.h: Likewise.
7437 * include/unistd.h: Likewise.
7438 * include/utmp.h: Likewise.
7439 * include/wchar.h: Likewise.
7440 * include/wctype.h: Likewise.
7441 * inet/aliases.h: Likewise.
7442 * inet/arpa/inet.h: Likewise.
7443 * inet/netinet/ether.h: Likewise.
7444 * inet/netinet/in.h: Likewise.
7445 * intl/libintl.h: Likewise.
7446 * io/bits/fcntl2.h: Likewise.
7447 * io/fcntl.h: Likewise.
7448 * io/ftw.h: Likewise.
7449 * io/sys/poll.h: Likewise.
7450 * io/sys/stat.h: Likewise.
7451 * io/sys/statfs.h: Likewise.
7452 * io/sys/statvfs.h: Likewise.
7453 * io/utime.h: Likewise.
7454 * libio/bits/stdio.h: Likewise.
7455 * libio/bits/stdio2.h: Likewise.
7456 * libio/libio.h: Likewise.
7457 * libio/libioP.h: Likewise.
7458 * libio/stdio.h: Likewise.
7459 * locale/lc-ctype.c: Likewise.
7460 * locale/locale.h: Likewise.
7461 * login/utmp.h: Likewise.
7462 * malloc/arena.c: Likewise.
7463 * malloc/malloc.c: Likewise.
7464 * malloc/malloc.h: Likewise.
7465 * malloc/mcheck.c: Likewise.
7466 * malloc/mtrace.c: Likewise.
7467 * math/bits/mathcalls.h: Likewise.
7468 * math/fenv.h: Likewise.
7469 * math/math_private.h: Likewise.
7470 * misc/bits/error.h: Likewise.
7471 * misc/bits/syslog.h: Likewise.
7472 * misc/err.h: Likewise.
7473 * misc/error.h: Likewise.
7474 * misc/fstab.h: Likewise.
7475 * misc/mntent.h: Likewise.
7476 * misc/regexp.h: Likewise.
7477 * misc/search.h: Likewise.
7478 * misc/sgtty.h: Likewise.
7479 * misc/sys/mman.h: Likewise.
7480 * misc/sys/syslog.h: Likewise.
7481 * misc/sys/uio.h: Likewise.
7482 * misc/sys/xattr.h: Likewise.
7483 * misc/ttyent.h: Likewise.
7484 * nis/rpcsvc/ypclnt.h: Likewise.
7485 * nss/nss.h: Likewise.
7486 * posix/bits/unistd.h: Likewise.
7487 * posix/fnmatch.h: Likewise.
7488 * posix/glob.h: Likewise.
7489 * posix/sched.h: Likewise.
7490 * posix/spawn.h: Likewise.
7491 * posix/sys/wait.h: Likewise.
7492 * posix/unistd.h: Likewise.
7493 * posix/wordexp.h: Likewise.
7494 * pwd/pwd.h: Likewise.
7495 * resolv/netdb.h: Likewise.
7496 * resource/sys/resource.h: Likewise.
7497 * rt/aio.h: Likewise.
7498 * rt/bits/mqueue2.h: Likewise.
7499 * rt/mqueue.h: Likewise.
7500 * shadow/shadow.h: Likewise.
7501 * signal/signal.h: Likewise.
7502 * socket/send.c: Likewise.
7503 * socket/sendto.c: Likewise.
7504 * socket/sys/socket.h: Likewise.
7505 * stdio-common/printf.h: Likewise.
7506 * stdlib/bits/stdlib.h: Likewise.
7507 * stdlib/fmtmsg.h: Likewise.
7508 * stdlib/monetary.h: Likewise.
7509 * stdlib/stdlib.h: Likewise.
7510 * stdlib/ucontext.h: Likewise.
7511 * streams/stropts.h: Likewise.
7512 * string/argz.h: Likewise.
7513 * string/bits/string2.h: Likewise.
7514 * string/string.h: Likewise.
7515 * string/strings.h: Likewise.
7516 * sunrpc/rpc/auth.h: Likewise.
7517 * sunrpc/rpc/auth_des.h: Likewise.
7518 * sunrpc/rpc/clnt.h: Likewise.
7519 * sunrpc/rpc/netdb.h: Likewise.
7520 * sunrpc/rpc/pmap_clnt.h: Likewise.
7521 * sunrpc/rpc/xdr.h: Likewise.
7522 * sysdeps/generic/inttypes.h: Likewise.
7523 * sysdeps/generic/net/if.h: Likewise.
7524 * sysdeps/generic/sys/swap.h: Likewise.
7525 * sysdeps/gnu/net/if.h: Likewise.
7526 * sysdeps/gnu/utmpx.h: Likewise.
7527 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7528 * sysdeps/i386/i486/bits/string.h: Likewise.
7529 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7530 * sysdeps/s390/bits/string.h: Likewise.
7531 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7532 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7533 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7534 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7535 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7536 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7538 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7539 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7540 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7541 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7542 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7543 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7544 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7545 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7546 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7547 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7552 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7553 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7554 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7555 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7556 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7557 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7559 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7561 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7562 * sysvipc/sys/ipc.h: Likewise.
7563 * sysvipc/sys/msg.h: Likewise.
7564 * sysvipc/sys/sem.h: Likewise.
7565 * sysvipc/sys/shm.h: Likewise.
7566 * termios/termios.h: Likewise.
7567 * time/sys/time.h: Likewise.
7568 * time/time.h: Likewise.
7569 * wcsmbs/bits/wchar2.h: Likewise.
7570 * wcsmbs/uchar.h: Likewise.
7571 * wcsmbs/wchar.h: Likewise.
7572 * wctype/wctype.h: Likewise.
7575 * Makeconfig: Remove all but ELF support including AIX support.
7576 * Makerules: Likewise.
7577 * config.h.in: Likewise.
7578 * config.make.in: Likewise.
7579 * configure: Likewise.
7580 * configure.in: Likewise.
7581 * csu/Makefile: Likewise.
7582 * csu/version.c: Likewise.
7583 * debug/Makefile: Likewise.
7584 * dlfcn/Makefile: Likewise.
7585 * elf/Makefile: Likewise.
7586 * extra-lib.mk: Likewise.
7587 * iconv/Makefile: Likewise.
7588 * include/libc-symbols.h: Likewise.
7589 * include/shlib-compat.h: Likewise.
7590 * resolv/Makefile: Likewise.
7591 * resolv/res_libc.c: Likewise.
7592 * rt/Makefile: Likewise.
7593 * sysdeps/i386/asm-syntax.h: Likewise.
7594 * sysdeps/i386/sysdep.h: Likewise.
7595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7596 * sysdeps/mach/sysdep.h: Likewise.
7597 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7598 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7599 * sysdeps/s390/asm-syntax.h: Likewise.
7600 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7602 * sysdeps/sh/sysdep.h: Likewise.
7603 * sysdeps/unix/sparc/sysdep.h: Likewise.
7604 * sysdeps/wordsize-32/divdi3.c: Likewise.
7605 * sysdeps/x86_64/sysdep.h: Likewise.
7607 * argp/Versions: Remove _argp_unlock_xxx.
7610 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7611 * abilist/libBrokenLocale.abilist: Likewise.
7612 * abilist/libanl.abilist: Likewise.
7613 * abilist/libc.abilist: Likewise.
7614 * abilist/libcrypt.abilist: Likewise.
7615 * abilist/libdl.abilist: Likewise.
7616 * abilist/libm.abilist: Likewise.
7617 * abilist/libnsl.abilist: Likewise.
7618 * abilist/libpthread.abilist: Likewise.
7619 * abilist/libresolv.abilist: Likewise.
7620 * abilist/librt.abilist: Likewise.
7621 * abilist/libthread_db.abilist: Likewise.
7622 * abilist/libutil.abilist: Likewise.
7623 * abilist/libnss_db.abilist: New file.
7625 * scripts/abilist.awk: Add support for indirect functions.
7627 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7629 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7631 * shlib-versions: Remove entries for ports architectures.
7633 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7635 * elf/stackguard-macros.h: Remove support for IA-64.
7636 * elf/tst-auditmod1.c: Likewise.
7637 * sysdeps/generic/ldsodefs.h: Likewise.
7639 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7640 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7644 * configure.in: Remove --enable-omitfp support.
7646 * config.make.in: Likewise.
7647 * Makeconfig: Likewise.
7648 * manual/install.texi: Likewise.
7650 In case anyone cares, the IA-64 architecture could move to ports.
7651 * sysdeps/ia64/*: Removed.
7652 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7653 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7656 * configure.in: Remove entries for unsupported architectures.
7659 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7660 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7662 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7663 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7664 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7665 fall back to using wcrtomb.
7666 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7667 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7669 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7670 * wcsmbs/tst-c16c32-1.c: New file.
7672 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7675 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7677 * elf/tst-unique3.cc: Add explicit declaration of gets.
7678 * elf/tst-unique3lib.cc: Likewise.
7679 * elf/tst-unique3lib2.cc: Likewise.
7680 * elf/tst-unique4.cc: Likewise.
7682 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7684 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7687 * assert/assert.h (static_assert): Don't define for C++.
7688 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7689 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7691 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7693 * iconv/loop.c (single loop): Fix assertion in storing of
7696 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7698 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7700 * posix/getconf.c: Update copyright year.
7701 * nss/getent.c: Likewise.
7702 * nss/makedb.c: Likewise.
7703 * iconv/iconvconfig.c: Likewise.
7704 * iconv/iconv_prog.c: Likewise.
7705 * elf/ldconfig.c: Likewise.
7706 * elf/pldd.c: Likewise.
7707 * elf/sotruss.ksh: Likewise.
7708 * catgets/gencat.c: Likewise.
7709 * csu/version.c: Likewise.
7710 * elf/ldd.bash.in: Likewise.
7711 * elf/sprof.c (print_version): Likewise.
7712 * locale/programs/locale.c: Likewise.
7713 * locale/programs/localedef.c: Likewise.
7714 * login/programs/pt_chown.c: Likewise.
7715 * nscd/nscd.c (print_version): Likewise.
7716 * debug/xtrace.sh: Likewise.
7717 * malloc/memusage.sh: Likewise.
7718 * malloc/mtrace.pl: Likewise.
7719 * debug/catchsegv.sh: Likewise.
7721 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7723 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7726 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7729 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7730 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7732 * iconv/gconv_int.h: Likewise.
7733 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7734 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7735 from libc for GLIBC_2.16.
7736 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7737 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7738 * wcsmbs/uchar.h: Really define mbstate_t.
7739 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7740 * wcsmbs/c16rtomb.c: New file.
7741 * wcsmbs/mbrtoc16.c: New file.
7742 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7744 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7745 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7747 * wcsmbs/wchar.h: Add missing __restrict.
7749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7752 * time/Makefile (routines): Add timespec_get.
7753 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7754 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7755 timespec for ISO C11.
7756 * time/timespec_get.c: New file.
7757 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7758 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7761 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7762 * stdlib/stdlib.h: Declare aligned_alloc.
7763 * Versions.def: Add GLIBC_2.16 for libc.
7764 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7767 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7770 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7774 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7777 * assert/assert.h (static_assert): Define.
7779 * version.h: Update for 2.16 development version.
7782 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7785 * version.h (RELEASE): Bump for 2.15 release.
7786 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7788 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7789 Patch by Marek Polacek <mpolacek@redhat.com>.
7791 * bits/byteswap.h: Protect long long constants with __extension__.
7792 * sysdeps/i386/bits/byteswap.h: Likewise.
7793 * sysdeps/ia64/bits/byteswap.h: Likewise.
7794 * sysdeps/s390/bits/byteswap.h: Likewise.
7795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7797 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7804 2011-12-23 Marek Polacek <polacek@redhat.com>
7806 * elf/dl-addr.c (determine_info): Add inline keyword.
7807 * elf/tst-auditmod4b.c (check_avx): Likewise.
7808 * elf/tst-auditmod6b.c (check_avx): Likewise.
7809 * elf/tst-auditmod6c.c (check_avx): Likewise.
7810 * elf/tst-auditmod7b.c (check_avx): Likewise.
7812 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7814 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7817 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7821 processing for last bytes.
7823 2011-08-06 Bruno Haible <bruno@clisp.org>
7826 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7827 U+0385, not to U+1FEE.
7830 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7831 entry for U+00A5 U+0301.
7833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7836 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7837 buffer for the output is too small.
7839 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7843 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7844 SSE flags if possible.
7846 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7850 processing for last bytes.
7852 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7854 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7855 (syscall-list-default-options, syscall-list-default-condition)
7856 (syscall-list-includes): Define.
7857 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7858 list of ABIs and options and #if conditions for each ABI. Do not
7859 handle common syscalls between ABIs specially.
7860 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7862 (syscall-list-variants, syscall-list-32bit-options)
7863 (syscall-list-32bit-condition, syscall-list-64bit-options)
7864 (syscall-list-64bit-condition): Define.
7865 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7866 (syscall-list-variants, syscall-list-32bit-options)
7867 (syscall-list-32bit-condition, syscall-list-64bit-options)
7868 (syscall-list-64bit-condition): Define.
7869 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7871 (syscall-list-variants, syscall-list-32bit-options)
7872 (syscall-list-32bit-condition, syscall-list-64bit-options)
7873 (syscall-list-64bit-condition): Define.
7874 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7876 (syscall-list-variants, syscall-list-32bit-options)
7877 (syscall-list-32bit-condition, syscall-list-64bit-options)
7878 (syscall-list-64bit-condition): Define.
7880 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7882 * locale/iso-639.def: Add brx entry.
7885 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7886 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7888 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7889 __feraiseexcept_renamed.
7891 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7894 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7895 EPOLLET with unsigned values.
7896 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7899 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7900 to large cancellation.
7901 * math/s_cacoshf.c: Likewise.
7902 * math/s_cacoshl.c: Likewise.
7904 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7908 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7909 * math/s_cacoshf.c: Likewise.
7910 * math/s_cacoshl.c: Likewise.
7912 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7915 * iconv/gconv.h: Define __GCONV_SWAP.
7916 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7917 * iconvdata/utf-16.c: Likewise.
7918 * iconvdata/utf-32.c: Likewise.
7920 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7924 numerator after shifting it by one limb.
7926 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7929 under [__USE_EXTERN_INLINES].
7931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7934 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7936 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7938 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7939 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7941 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7943 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7944 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7945 for strncasecmp/strncasecmp_l compilation.
7946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7947 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7949 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7952 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7958 * time/tzfile.c (__tzfile_read): Check values from file header.
7960 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7962 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7963 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7964 * powerpc/powerpc32/dl-start.S: Likewise.
7965 * powerpc/powerpc32/elf/start.S: Likewise.
7966 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7967 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7968 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7969 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7970 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7971 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7972 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7973 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7974 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7975 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7976 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7977 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7978 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7979 * powerpc/powerpc32/memset.S: Likewise.
7980 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7981 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7982 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7983 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7984 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7985 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7986 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7987 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7988 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7989 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7991 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7992 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7994 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7996 * math/libm-test.inc: Added more nearbyint tests.
7997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8002 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8004 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8007 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8009 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8010 Add wcscpy-ssse3 wcscpy-c.
8011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8012 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8013 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8014 * sysdeps/x86_64/wcschr.S: New file.
8015 * sysdeps/x86_64/wcsrchr.S: New file.
8016 * string/test-strcmp.c: Remove checking of wcscmp function for
8018 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8019 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8020 wcsrchr-sse2 wcsrchr-c.
8021 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8022 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8023 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8024 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8025 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8026 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8027 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8028 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8029 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8030 * wcsmbc/wcschr.c (WCSCHR): New macro.
8032 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8034 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8035 * wcsmbs/test-wcsrchr.c: New file.
8036 * string/test-strrchr.c: Add wcsrchr support.
8038 * wcsmbs/test-wcscpy.c: New file.
8039 * string/test-strcpy.c: Add wcscpy support.
8042 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8044 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8047 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8050 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8052 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8055 Minor optimizations.
8057 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8058 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8059 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8061 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8063 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8064 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8065 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8066 for gcc to avoid warnings.
8067 * inet/Makefile (tests): Add tst-checks.
8068 * inet/tst-checks.c: New file.
8070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8073 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8076 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8077 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8079 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8081 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8083 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8086 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8088 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8091 conditional on GCC version.
8092 (__arch_compare_and_exchange_val_8_acq)
8093 (__arch_compare_and_exchange_val_16_acq)
8094 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8095 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8096 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8098 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8100 * sysdeps/sh/backtrace.c: New file.
8102 2011-12-02 Andreas Schwab <schwab@redhat.com>
8104 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8107 2011-12-01 Andreas Schwab <schwab@redhat.com>
8109 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8110 falling back to utime.
8112 2011-11-30 Andreas Schwab <schwab@redhat.com>
8114 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8115 expectations for float.
8117 2011-11-29 Andreas Schwab <schwab@redhat.com>
8119 * locale/weight.h (findidx): Add parameter len.
8120 * locale/weightwc.h (findidx): Likewise.
8121 * posix/fnmatch_loop.c (FCT): Adjust caller.
8122 * posix/regcomp.c (build_equiv_class): Likewise.
8123 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8124 * posix/regexec.c (check_node_accept_bytes): Likewise.
8125 * string/strcoll_l.c (STRCOLL): Likewise.
8126 * string/strxfrm_l.c (STRXFRM): Likewise.
8128 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8130 * Makefile.in: Remove CVSOPT handling.
8131 * configure.in: Remove use of AC_REVISION.
8132 * iconvdata/Makefile (distribute): No need to filter out CVS.
8133 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8136 2011-11-16 Andreas Schwab <schwab@redhat.com>
8138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8139 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8140 [USE_AS_STRNCASECMP_L]: Likewise.
8141 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8142 NO_TLS_DIRECT_SEG_REFS.
8143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8144 Fix argument offsets for non-PIC.
8145 [USE_AS_STRNCASECMP_L]: Likewise.
8146 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8147 NO_TLS_DIRECT_SEG_REFS.
8149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8151 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8153 * locale/loadlocale.c (_nl_load_locale): Likewise.
8155 2011-11-15 Andreas Schwab <schwab@redhat.com>
8157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8158 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8160 (SYSCALL_GETTIME): Set errno on error.
8162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8163 count references to noai6ai_cached.
8165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8167 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8169 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8170 FD_CLOEXEC for /proc/self/maps.
8172 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8173 FD_CLOEXEC for /proc/meminfo.
8175 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8178 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8179 FD_CLOEXEC for given file.
8181 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8183 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8184 FD_CLOEXEC for /etc/hosts.
8185 (_gethtent): Likewise.
8187 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8190 cancellation and set FD_CLOEXEC for /etc/netgroup.
8192 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8193 reading /etc/publickey.
8195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8196 allow cancellation when reading /etc/group.
8198 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8200 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8202 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8203 when using data file.
8205 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8207 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8208 (write_nis_obj): Use "c" and "e" in fopen.
8210 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8212 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8214 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8216 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8218 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8221 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8223 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8225 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8227 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8228 file parsing and set FD_CLOEXEC.
8230 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8232 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8234 2011-11-14 Andreas Schwab <schwab@redhat.com>
8236 * malloc/arena.c (arena_get2): Don't call reused_arena when
8237 _int_new_arena failed.
8239 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8241 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8242 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8247 to compile strcasecmp and strncasecmp.
8248 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8249 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8253 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8255 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8256 locale-defines.sym to gen-as-const-headers.
8257 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8258 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8260 to compile strcasecmp and strncasecmp.
8261 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8262 strcasecmp_l and strncasecmp_l.
8263 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8264 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8265 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8267 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8268 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8269 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8270 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8271 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8272 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8273 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8275 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8277 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8278 result of SYSDEP_GETTIME_CPU to retval.
8279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8280 parameter list to macro. Remove trailing semicolon. Adjust users.
8282 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8285 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8287 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8290 from unused variable.
8292 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8294 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8297 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8300 * sunrpc/rpc_prot.c (rejected): Fix case value.
8302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8303 unsigned long long int to avoid warnings in shift.
8305 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8307 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8311 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8312 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8314 * nis/nis_table.c (nis_list): Use variable of correct type for
8315 result of __follow_path call.
8317 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8319 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8320 of math functions ceil, trunc, floor, round, and sqrt, when
8321 avaliable on the platform.
8322 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8324 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8325 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8326 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8328 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8330 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8333 2011-11-11 Roland McGrath <roland@hack.frob.com>
8335 * include/unistd.h: Fix __readlink return type.
8336 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8338 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8340 * stdlib/ucontext.h: Undo last change for makecontext.
8342 2011-11-11 Andreas Schwab <schwab@redhat.com>
8344 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8346 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8347 * setjmp/setjmp.h: Mark functions as non-leaf.
8348 * setjmp/bits/setjmp2.h: Likewise.
8349 * stdlib/ucontext.h: Likewise.
8351 2011-11-10 Andreas Schwab <schwab@redhat.com>
8353 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8354 (reused_arena): Don't check arena limit.
8355 (arena_get2): Atomically check arena limit.
8357 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8359 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8360 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8365 2011-11-07 Andreas Schwab <schwab@redhat.com>
8367 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8368 handler when locking.
8370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8371 Fix size of allocated buffer.
8373 2011-11-04 Andreas Schwab <schwab@redhat.com>
8376 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8377 declarations for long double functions.
8378 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8380 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8382 2011-11-03 Andreas Schwab <schwab@redhat.com>
8384 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8387 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8390 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8392 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8394 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8396 * include/alloca.h (stackinfo_alloca_round): Define.
8397 (extend_alloca): Use it.
8398 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8399 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8402 * scripts/check-local-headers.sh: Ignore libaudit.h.
8404 * nscd/Makefile (extra-objs): Make recursively expanded.
8406 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8408 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8411 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8412 * posix/tst-rfc3484-2.c: Likewise.
8413 * posix/tst-rfc3484-3.c: Likewise.
8415 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8417 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8419 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8420 process_vm_writev from libc using GLIBC_2.15 version.
8422 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8424 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8426 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8429 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8432 * nss/getent.c (initgroups_keys): Show error message in case no group
8435 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8436 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8437 __bump_nl_timestamp.
8438 * nscd/connections (nscd_init): When host database is served open
8439 netlink socket and request notification about configuration changes.
8440 (main_loop_poll): Track netlink file descriptor and bump timestamp
8441 in case data becomes available.
8442 (main_loop_epoll): Likewise.
8443 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8444 (database_pers_head): Add extra_data fileds.
8445 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8446 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8447 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8450 in6ai data, call __free_in6ai.
8451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8453 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8454 interface information. Reuse previous data if netlink timestamp
8456 (__bump_nl_timestamp): New function.
8457 (__free_in6ai): New function.
8459 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8462 close_not_cancel_no_status here.
8463 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8465 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8468 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8471 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8472 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8473 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8475 2011-07-03 Andreas Jaeger <aj@suse.de>
8478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8479 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8480 * math/libm-test.inc (sin_test): Add test case.
8482 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8485 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8486 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8488 * elf/chroot_canon.c (chroot_canon): Cleanups.
8490 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8493 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8496 * string/test-strchr.c: Make usable for strchrnul testing.
8497 * string/test-strchrnul.c: New file.
8498 * string/Makefile (strop-tests): Add strchrnul.
8500 * po/it.po: Update from translation team.
8501 * po/es.po: Likewise.
8503 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8506 the three constants needed as parameters. Drop the others.
8507 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8508 __m128i_strloadu_tolower.
8509 Create and initialize variable zero and use it in all the places
8510 where _mm_setzero_si128 was used.
8512 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8513 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8514 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8515 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8517 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8518 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8519 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8520 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8522 __mpranred, __mptan.
8523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8527 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8528 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8531 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8533 2011-10-28 Andreas Schwab <schwab@redhat.com>
8535 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8537 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8540 wide char related routines to wcsmbs subdir.
8542 2011-10-27 Andreas Schwab <schwab@redhat.com>
8545 * misc/sys/cdefs.h (__THROWNL): Define.
8546 * posix/unistd.h: Use __THREADNL instead of __THREAD
8547 for memory synchronization functions.
8549 2011-10-26 Roland McGrath <roland@hack.frob.com>
8552 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8554 * manual/stdio.texi (Obstack Streams): Node removed.
8556 2011-10-26 Andreas Schwab <schwab@redhat.com>
8558 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8562 * math/math_private.h (math_force_eval): Allow non-addressable
8564 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8574 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8576 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8577 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8578 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8584 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8585 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8586 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8590 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8591 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8598 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8600 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8601 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8604 place. Use VEX encoding when compiling for AVX.
8606 2011-10-25 Andreas Schwab <schwab@redhat.com>
8608 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8609 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8611 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8615 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8616 useless if() expression.
8617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8635 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8637 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8639 2011-10-25 Andreas Schwab <schwab@redhat.com>
8641 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8647 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8648 .text section. Avoid duplicate constants.
8649 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8661 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8673 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8674 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8675 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8680 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8682 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8683 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8684 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8685 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8686 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8687 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8688 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8689 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8691 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8692 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8693 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8695 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8697 * sysdeps/x86_64/dla.h: Move to ...
8698 * sysdeps/x86_64/fpu/dla.h: ...here.
8699 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8700 situations. Use __builtin_fma only for gcc 4.6 and up.
8702 * config.make.in: Add have-mfma4 entry.
8703 * configure.in: Substitute libc_cv_cc_fma4.
8704 * math/Makefile (dbl-only-routines): Add sincostab.
8705 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8706 Use __sincostab not sincos.
8707 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8714 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8715 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8716 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8717 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8720 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8722 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8723 define aliases when function name is a macro.
8724 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8725 sysdeps/ieee754/dbl-64/sincos.tbl.
8726 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8727 fma4-enabled routines.
8728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8738 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8740 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8754 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8759 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8770 2011-10-24 Andreas Schwab <schwab@redhat.com>
8772 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8778 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8782 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8783 Remove unused variable magic_bits.
8784 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8786 * string/strnlen.c: Define and use STRNLEN macro.
8787 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8788 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8790 * wcsmbs/wcslen.c: Define and use WCSLEN.
8791 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8792 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8793 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8794 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8795 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8796 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8799 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8802 strnlen-sse2-no-bsf.
8803 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8805 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8806 Add strnlen support.
8807 (USE_AS_STRNLEN): New macro.
8808 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8809 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8810 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8811 * sysdeps/x86_64/wcslen.S: New file.
8813 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8816 XMM-moves are used for copying on small sizes.
8818 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8820 * wcsmbs/Makefile (strop-tests): Add wcschr.
8821 * wcsmbs/test-wcschr.c: New file.
8822 * string/test-strchr.c: Update.
8826 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8828 * wcsmbs/Makefile (strop-tests): Add wcslen.
8829 * wcsmbs/test-wcslen.c: New file.
8830 * string/test-strlen.c: Update.
8834 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8836 * po/it.po: Update from translation team.
8838 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8840 * sysdeps/x86_64/wcscmp.S: Update.
8841 Fix wrong comparison semantics.
8842 wcscmp shall use signed comparison not unsigned.
8843 Don't use substraction to avoid overflow bug.
8844 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8845 * wcsmbc/wcscmp.c: Likewise.
8846 * string/test-strcmp.c: Likewise.
8847 Add new tests to check cases with negative values.
8849 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8851 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8852 * sysdeps/x86_64/dla.h: ...here. New file.
8853 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8863 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8866 __ynl_finite aliases.
8868 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8872 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8874 [DLA_FMA] (EMULV): Use DLA_FMA.
8875 [DLA_FMA] (MUL12): Use EMULV.
8876 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8877 that are not needed.
8878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8886 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8888 * math/s_nan.c: Undef __nan.
8889 * math/s_nanf.c: Undef __nanf.
8890 * math/s_nanl.c: Undef __nanl.
8891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8894 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8896 * math/s_catan.c: Add branch predictions.
8897 * math/s_catanf.c: Likewise.
8898 * math/s_catanh.c: Likewise.
8899 * math/s_catanhf.c: Likewise.
8900 * math/s_catanhl.c: Likewise.
8901 * math/s_catanl.c: Likewise.
8902 * math/s_cexp.c: Likewise.
8903 * math/s_cexpf.c: Likewise.
8904 * math/s_cexpl.c: Likewise.
8905 * math/s_clog.c: Likewise.
8906 * math/s_clog10.c: Likewise.
8907 * math/s_clog10f.c: Likewise.
8908 * math/s_clog10l.c: Likewise.
8909 * math/s_clogf.c: Likewise.
8910 * math/s_clogl.c: Likewise.
8911 * math/s_csqrt.c: Likewise.
8912 * math/s_csqrtf.c: Likewise.
8913 * math/s_csqrtl.c: Likewise.
8914 * math/s_ctanf.c: Likewise.
8915 * math/s_ctanh.c: Likewise.
8916 * math/s_ctanhf.c: Likewise.
8917 * math/s_ctanhl.c: Likewise.
8918 * math/s_ctanl.c: Likewise.
8920 * math/math_private.h: Define __nan, __nanf, __nanl.
8921 * math/s_cacosh.c: Include <math_private.h>.
8922 * math/s_cacoshl.c: Likewise.
8923 * math/s_casinh.c: Likewise.
8924 * math/s_casinhf.c: Likewise.
8925 * math/s_casinhl.c: Likewise.
8926 * math/s_ccos.c: Rely entire on ccosh.
8927 * math/s_ccosf.c: Rely entire on ccoshf.
8928 * math/s_ccosl.c: Rely entirely on ccoshl.
8929 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8930 Remove tests for FE_INVALID.
8931 * math/s_ccoshf.c: Likewise.
8932 * math/s_ccoshl.c: Likewise.
8933 * math/s_csin.c: Likewise.
8934 * math/s_csinf.c: Likewise.
8935 * math/s_csinh.c Likewise.
8936 * math/s_csinhf.c: Likewise.
8937 * math/s_csinhl.c: Likewise.
8938 * math/s_csinl.c: Likewise.
8939 * math/s_ctan.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8941 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8944 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8947 compilation problems.
8949 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8952 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8954 * sysdeps/i386/configure.in: Test for -mfma4 option.
8955 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8956 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8957 COMMON_CPUID_INDEX_80000001.
8958 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8959 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8960 use it if FMA3 is not supported.
8961 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8963 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8966 2011-10-20 Andreas Schwab <schwab@redhat.com>
8969 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8970 it would create a cycle with a link time dependency.
8972 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8974 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8976 * string/Makefile (strop-tests): Add rawmemchr.
8977 * string/test-rawmemchr.c: New file.
8979 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8980 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8981 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8982 when compiling str{,n}casecmp and when AVX is available. Hook up
8983 new optimized code in initializers.
8985 2011-10-19 Andreas Schwab <schwab@redhat.com>
8987 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8988 __feraiseexcept instead of feraiseexcept.
8990 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8992 * math/math_private.h: Define defaults for libc_fetestexcept and
8994 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9000 libc_fetestexcept and libc_feupdateenv.
9002 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9003 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9004 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9005 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9006 libc_feholdexcept_setround.
9008 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9009 Add s_nearbyint-c and s_nearbyintf-c.
9010 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9014 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9017 * math/math_private.h: Define defaults for libc_fegetround,
9018 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9019 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9020 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9022 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9025 Remove comments and hacks for old compiler versions.
9026 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9027 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9030 2011-10-18 Andreas Schwab <schwab@redhat.com>
9032 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9033 (__feraiseexcept_renamed): Add __NTH.
9034 (feraiseexcept): Add __NTH. Rename local variables to fix
9035 namespace violations.
9037 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9043 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9044 recently added interfaces.
9045 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9047 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9048 about macro parameter expansion.
9050 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9051 __NO_MATH_INLINES is defined. Cleanups.
9053 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9054 and __floorf is target has SSE4.1.
9055 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9056 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9060 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9064 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9066 2011-10-17 Andreas Schwab <schwab@redhat.com>
9068 * misc/sys/cdefs.h: Fix last change.
9070 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9073 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9075 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9077 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9086 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9087 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9089 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9091 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9092 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9094 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9096 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9100 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9101 ceil, ceilf, floor, floorf.
9103 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9104 Perform IRELATIVE relocations last.
9106 * elf/do-rel.h: Add another parameter nrelative, replacing the
9107 local variable with the same name. Change name of the function
9108 to end in Rel or Rela (uppercase).
9109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9110 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9111 elf_dynamic_do_##reloc function.
9113 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9115 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9116 is sufficient, at least on modern CPUs.
9118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9120 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9123 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9125 * math/bits/math-finite.h: Add entries for exp.
9126 * math/e_expl.c: Add __*_finite alias.
9127 * sysdeps/i386/fpu/e_exp.S: Likewise.
9128 * sysdeps/i386/fpu/e_expf.S: Likewise.
9129 * sysdeps/i386/fpu/e_expl.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9138 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9139 is sufficient, at least on modern CPUs.
9141 * ctype/ctype-info.c (__ctype_init): Define.
9142 * include/ctype.h (__ctype_init): Declare.
9143 (__ctype_b_loc): The variable is always initialized.
9144 (__ctype_toupper_loc): Likewise.
9145 (__ctype_tolower_loc): Likewise.
9146 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9147 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9149 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9151 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9153 * configure.in: Also look in $cxxmachine/include for C++ system
9156 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9158 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9159 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9160 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9161 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9163 (USE_AS_WMEMCMP): New macro.
9165 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9166 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9167 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9168 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9170 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9171 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9173 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9174 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9176 (USE_AS_WMEMCMP): New macro.
9177 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9178 * sysdeps/string/test-memcmp.c: Update.
9181 * wcsmbs/wmemcmp.c: Update.
9182 (WMEMCMP): New macro.
9185 2011-10-12 Andreas Jaeger <aj@suse.de>
9188 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9190 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9192 * libio/iofwide.c (do_length): Avoid warning.
9194 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9196 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9198 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9200 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9201 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9202 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9203 * sysdeps/i386/i686/fpu/e_log.S: New file.
9204 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9205 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9207 * ctype/ctype.h: Add support for inlined isXXX functions when
9210 2011-10-14 Andreas Schwab <schwab@redhat.com>
9212 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9216 2011-10-13 Roland McGrath <roland@hack.frob.com>
9219 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9221 2011-10-13 Andreas Schwab <schwab@redhat.com>
9223 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9224 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9227 * sysdeps/x86_64/memrchr.S: Check for zero size.
9229 * string/stratcliff.c: Add memrchr tests.
9231 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9234 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9235 rawmemchr-sse2 rawmemchr-sse2-bsf.
9236 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9237 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9238 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9239 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9240 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9241 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9242 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9243 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9244 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9245 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9246 * string/memrchr.c (MEMRCHR): New macro.
9248 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9250 Add integration with gcc's -ffinite-math-only and optimize wrapper
9252 * Versions.def: Define GLIBC_2.15 version for libm.
9253 * math/Makefile (headers): Add bits/math-finite.h.
9254 * math/bits/math-finite.h: New file.
9255 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9256 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9257 * math/e_acoshl.c: Add __*_finite alias.
9258 * math/e_acosl.c: Likewise.
9259 * math/e_asinl.c: Likewise.
9260 * math/e_atan2l.c: Likewise.
9261 * math/e_atanhl.c: Likewise.
9262 * math/e_coshl.c: Likewise.
9263 * math/e_exp10.c: Likewise.
9264 * math/e_exp10f.c: Likewise.
9265 * math/e_exp10l.c: Likewise.
9266 * math/e_exp2l.c: Likewise.
9267 * math/e_fmodl.c: Likewise.
9268 * math/e_gammal_r.c: Likewise.
9269 * math/e_hypotl.c: Likewise.
9270 * math/e_j0l.c: Likewise.
9271 * math/e_j1l.c: Likewise.
9272 * math/e_jnl.c: Likewise.
9273 * math/e_lgammal_r.c: Likewise.
9274 * math/e_log10l.c: Likewise.
9275 * math/e_log2l.c: Likewise.
9276 * math/e_logl.c: Likewise.
9277 * math/e_powl.c: Likewise.
9278 * math/e_sinhl.c: Likewise.
9279 * math/e_sqrtl.c: Likewise.
9280 * math/e_scalb.c: Completely rewritten and optimized.
9281 * math/e_scalbf.c: Likewise.
9282 * math/e_scalbl.c: Likewise.
9283 * math/w_acos.c: Likewise.
9284 * math/w_acosf.c: Likewise.
9285 * math/w_acosl.c: Likewise.
9286 * math/w_acosh.c: Likewise.
9287 * math/w_acoshf.c: Likewise.
9288 * math/w_acoshl.c: Likewise.
9289 * math/w_asin.c: Likewise.
9290 * math/w_asinf.c: Likewise.
9291 * math/w_asinl.c: Likewise.
9292 * math/w_atan2.c: Likewise.
9293 * math/w_atan2f.c: Likewise.
9294 * math/w_atan2l.c: Likewise.
9295 * math/w_atanh.c: Likewise.
9296 * math/w_atanhf.c: Likewise.
9297 * math/w_atanhl.c: Likewise.
9298 * math/w_exp10.c: Likewise.
9299 * math/w_exp10f.c: Likewise.
9300 * math/w_exp10l.c: Likewise.
9301 * math/w_fmod.c: Likewise.
9302 * math/w_fmodf.c: Likewise.
9303 * math/w_fmodl.c: Likewise.
9304 * math/w_j0.c: Likewise.
9305 * math/w_j0f.c: Likewise.
9306 * math/w_j0l.c: Likewise.
9307 * math/w_j1.c: Likewise.
9308 * math/w_j1f.c: Likewise.
9309 * math/w_j1l.c: Likewise.
9310 * math/w_jn.c: Likewise.
9311 * math/w_jnf.c: Likewise.
9312 * math/w_log.c: Likewise.
9313 * math/w_logf.c: Likewise.
9314 * math/w_logl.c: Likewise.
9315 * math/w_log10.c: Likewise.
9316 * math/w_log10f.c: Likewise.
9317 * math/w_log10l.c: Likewise.
9318 * math/w_log2.c: Likewise.
9319 * math/w_log2f.c: Likewise.
9320 * math/w_log2l.c: Likewise.
9321 * math/w_pow.c: Likewise.
9322 * math/w_powf.c: Likewise.
9323 * math/w_powl.c: Likewise.
9324 * math/w_remainder.c: Likewise.
9325 * math/w_remainderf.c: Likewise.
9326 * math/w_remainderl.c: Likewise.
9327 * math/w_scalb.c: Likewise.
9328 * math/w_scalbf.c: Likewise.
9329 * math/w_scalbl.c: Likewise.
9330 * math/w_sqrt.c: Likewise.
9331 * math/w_sqrtf.c: Likewise.
9332 * math/w_sqrtl.c: Likewise.
9333 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9334 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9336 * math/math_private.h: Declare __kernel_standard_f.
9337 * math/w_cosh.c: Remove cruft and optimize a bit.
9338 * math/w_coshf.c: Likewise.
9339 * math/w_coshl.c: Likewise.
9340 * math/w_exp2.c: Likewise.
9341 * math/w_exp2f.c: Likewise.
9342 * math/w_exp2l.c: Likewise.
9343 * math/w_hypot.c: Likewise.
9344 * math/w_hypotf.c: Likewise.
9345 * math/w_hypotl.c: Likewise.
9346 * math/w_lgamma.c: Likewise.
9347 * math/w_lgamma_r.c: Likewise.
9348 * math/w_lgammaf.c: Likewise.
9349 * math/w_lgammaf_r.c: Likewise.
9350 * math/w_lgammal.c: Likewise.
9351 * math/w_lgammal_r.c: Likewise.
9352 * math/w_sinh.c: Likewise.
9353 * math/w_sinhf.c: Likewise.
9354 * math/w_sinhl.c: Likewise.
9355 * math/w_tgamma.c: Likewise.
9356 * math/w_tgammaf.c: Likewise.
9357 * math/w_tgammal.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9360 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9361 Minor optimizations. Pretty printing. Remove cruft.
9362 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9366 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9367 * sysdeps/i386/fpu/e_asin.S: Likewise.
9368 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9369 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9370 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9371 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9375 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9376 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9377 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9378 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9379 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9380 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9381 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9382 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9383 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9384 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9385 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9386 * sysdeps/i386/fpu/e_log.S: Likewise.
9387 * sysdeps/i386/fpu/e_log10.S: Likewise.
9388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9390 * sysdeps/i386/fpu/e_log2.S: Likewise.
9391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9393 * sysdeps/i386/fpu/e_logf.S: Likewise.
9394 * sysdeps/i386/fpu/e_logl.S: Likewise.
9395 * sysdeps/i386/fpu/e_pow.S: Likewise.
9396 * sysdeps/i386/fpu/e_powf.S: Likewise.
9397 * sysdeps/i386/fpu/e_powl.S: Likewise.
9398 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9399 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9400 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9402 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9404 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9405 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9406 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9428 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9431 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9432 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9434 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9445 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9446 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9447 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9504 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9505 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9506 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9507 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9508 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9509 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9510 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9515 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9517 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9518 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9519 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9520 (__isnanf): Likewise.
9521 (__isinf_ns): Likewise.
9522 (__isinf_nsf): Likewise.
9523 (__finite): Likewise.
9524 (__finitef): Likewise.
9525 (__ieee754_sqrt): Define as macro.
9526 (__ieee754_sqrtf): Define as macro.
9527 (__ieee754_sqrtl): Define as macro.
9528 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9530 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9531 __FINITE_MATH_ONLY__ consistent.
9532 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9534 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9536 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9539 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9541 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9543 * po/ja.po: Update from translation team.
9545 2011-10-08 Roland McGrath <roland@hack.frob.com>
9547 * locale/programs/locarchive.c (prepare_address_space): New function.
9548 (create_archive, enlarge_archive, open_archive): Use it.
9550 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9551 inside [SHARED], where it is used.
9553 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9555 * nss/getent.c (netgroup_keys): Remove unused variable.
9556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9558 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9560 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9564 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9565 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9566 * math/Makefile (libm-calls): Add s_isinf_ns.
9567 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9568 * math/multc3.c: Likewise.
9569 * math/s_casin.c: Likewise.
9570 * math/s_casinf.c: Likewise.
9571 * math/s_casinl.c: Likewise.
9572 * math/s_ccos.c: Likewise.
9573 * math/s_ccosf.c: Likewise.
9574 * math/s_ccosl.c: Likewise.
9575 * math/s_ctan.c: Likewise.
9576 * math/s_ctanf.c: Likewise.
9577 * math/s_ctanh.c: Likewise.
9578 * math/s_ctanhf.c: Likewise.
9579 * math/s_ctanhl.c: Likewise.
9580 * math/s_ctanl.c: Likewise.
9581 * math/w_fmod.c: Likewise.
9582 * math/w_fmodf.c: Likewise.
9583 * math/w_fmodl.c: Likewise.
9584 * math/w_remainder.c: Likewise.
9585 * math/w_remainderf.c: Likewise.
9586 * math/w_remainderl.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9588 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9591 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9592 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9593 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9594 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9596 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9598 * stdio-common/printf_fphex.c: Likewise.
9599 * stdio-common/printf_size.c: Likewise.
9601 * math/e_exp10.c: Include math_private.h using <...> not "...".
9602 * math/e_exp10f.c: Likewise.
9603 * math/e_exp10l.c: Likewise.
9604 * math/e_exp2l.c: Likewise.
9605 * math/e_j0l.c: Likewise.
9606 * math/e_j1l.c: Likewise.
9607 * math/e_jnl.c: Likewise.
9608 * math/e_lgammal_r.c: Likewise.
9609 * math/e_rem_pio2l.c: Likewise.
9610 * math/e_scalb.c: Likewise.
9611 * math/e_scalbf.c: Likewise.
9612 * math/e_scalbl.c: Likewise.
9613 * math/k_cosl.c: Likewise.
9614 * math/k_sinl.c: Likewise.
9615 * math/k_tanl.c: Likewise.
9616 * math/s_cacoshf.c: Likewise.
9617 * math/s_catan.c: Likewise.
9618 * math/s_catanf.c: Likewise.
9619 * math/s_catanh.c: Likewise.
9620 * math/s_catanhf.c: Likewise.
9621 * math/s_catanhl.c: Likewise.
9622 * math/s_catanl.c: Likewise.
9623 * math/s_ccosh.c: Likewise.
9624 * math/s_ccoshf.c: Likewise.
9625 * math/s_ccoshl.c: Likewise.
9626 * math/s_cexp.c: Likewise.
9627 * math/s_cexpf.c: Likewise.
9628 * math/s_cexpl.c: Likewise.
9629 * math/s_clog.c: Likewise.
9630 * math/s_clog10.c: Likewise.
9631 * math/s_clog10f.c: Likewise.
9632 * math/s_clog10l.c: Likewise.
9633 * math/s_clogf.c: Likewise.
9634 * math/s_clogl.c: Likewise.
9635 * math/s_csin.c: Likewise.
9636 * math/s_csinf.c: Likewise.
9637 * math/s_csinh.c: Likewise.
9638 * math/s_csinhf.c: Likewise.
9639 * math/s_csinhl.c: Likewise.
9640 * math/s_csinl.c: Likewise.
9641 * math/s_csqrt.c: Likewise.
9642 * math/s_csqrtf.c: Likewise.
9643 * math/s_csqrtl.c: Likewise.
9644 * math/s_ctan.c: Likewise.
9645 * math/s_ctanf.c: Likewise.
9646 * math/s_ctanh.c: Likewise.
9647 * math/s_ctanhf.c: Likewise.
9648 * math/s_ctanhl.c: Likewise.
9649 * math/s_ctanl.c: Likewise.
9650 * math/s_ldexp.c: Likewise.
9651 * math/s_ldexpf.c: Likewise.
9652 * math/s_ldexpl.c: Likewise.
9653 * math/s_significand.c: Likewise.
9654 * math/s_significandf.c: Likewise.
9655 * math/s_significandl.c: Likewise.
9656 * math/w_acos.c: Likewise.
9657 * math/w_acosf.c: Likewise.
9658 * math/w_acosh.c: Likewise.
9659 * math/w_acoshf.c: Likewise.
9660 * math/w_acoshl.c: Likewise.
9661 * math/w_acosl.c: Likewise.
9662 * math/w_asin.c: Likewise.
9663 * math/w_asinf.c: Likewise.
9664 * math/w_asinl.c: Likewise.
9665 * math/w_atan2.c: Likewise.
9666 * math/w_atan2f.c: Likewise.
9667 * math/w_atan2l.c: Likewise.
9668 * math/w_atanh.c: Likewise.
9669 * math/w_atanhf.c: Likewise.
9670 * math/w_atanhl.c: Likewise.
9671 * math/w_cosh.c: Likewise.
9672 * math/w_coshf.c: Likewise.
9673 * math/w_coshl.c: Likewise.
9674 * math/w_dremf.c: Likewise.
9675 * math/w_exp10.c: Likewise.
9676 * math/w_exp10f.c: Likewise.
9677 * math/w_exp10l.c: Likewise.
9678 * math/w_exp2.c: Likewise.
9679 * math/w_exp2f.c: Likewise.
9680 * math/w_fmod.c: Likewise.
9681 * math/w_fmodf.c: Likewise.
9682 * math/w_fmodl.c: Likewise.
9683 * math/w_hypot.c: Likewise.
9684 * math/w_hypotf.c: Likewise.
9685 * math/w_hypotl.c: Likewise.
9686 * math/w_j0.c: Likewise.
9687 * math/w_j0f.c: Likewise.
9688 * math/w_j0l.c: Likewise.
9689 * math/w_j1.c: Likewise.
9690 * math/w_j1f.c: Likewise.
9691 * math/w_j1l.c: Likewise.
9692 * math/w_jn.c: Likewise.
9693 * math/w_jnf.c: Likewise.
9694 * math/w_jnl.c: Likewise.
9695 * math/w_lgamma.c: Likewise.
9696 * math/w_lgamma_r.c: Likewise.
9697 * math/w_lgammaf.c: Likewise.
9698 * math/w_lgammaf_r.c: Likewise.
9699 * math/w_lgammal.c: Likewise.
9700 * math/w_lgammal_r.c: Likewise.
9701 * math/w_log.c: Likewise.
9702 * math/w_log10.c: Likewise.
9703 * math/w_log10f.c: Likewise.
9704 * math/w_log10l.c: Likewise.
9705 * math/w_log2.c: Likewise.
9706 * math/w_log2f.c: Likewise.
9707 * math/w_log2l.c: Likewise.
9708 * math/w_logf.c: Likewise.
9709 * math/w_logl.c: Likewise.
9710 * math/w_pow.c: Likewise.
9711 * math/w_powf.c: Likewise.
9712 * math/w_powl.c: Likewise.
9713 * math/w_remainder.c: Likewise.
9714 * math/w_remainderf.c: Likewise.
9715 * math/w_remainderl.c: Likewise.
9716 * math/w_scalb.c: Likewise.
9717 * math/w_scalbf.c: Likewise.
9718 * math/w_scalbl.c: Likewise.
9719 * math/w_sinh.c: Likewise.
9720 * math/w_sinhf.c: Likewise.
9721 * math/w_sinhl.c: Likewise.
9722 * math/w_sqrt.c: Likewise.
9723 * math/w_sqrtf.c: Likewise.
9724 * math/w_sqrtl.c: Likewise.
9725 * math/w_tgamma.c: Likewise.
9726 * math/w_tgammaf.c: Likewise.
9727 * math/w_tgammal.c: Likewise.
9729 * po/ja.po: Update from translation team.
9731 2011-09-29 Andreas Jaeger <aj@suse.de>
9734 * sunrpc/netname.c (netname2host): Fix logic.
9738 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9740 * math/w_remainder.c (__remainder): Likewise.
9741 * math/w_remainderf.c (__remainderf): Likewise.
9742 * math/libm-test.inc (remainder_test): Add test cases.
9744 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9746 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9749 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9751 * string/test-memcmp.c: Avoid unncessary #defines.
9752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9754 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9756 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9757 Use new sse2 version for core i3 - i7 as it's faster
9759 (bit_Prefer_PMINUB_for_stringop): New.
9760 * sysdeps/x86_64/rawmemchr.S: Update.
9761 Replace with faster SSE2 version.
9762 * sysdeps/x86_64/memrchr.S: New file.
9763 * sysdeps/x86_64/memchr.S: Update.
9764 Replace with faster SSE2 version.
9766 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9768 * elf/dl-load.c (lose): Add cast to avoid warning.
9770 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9772 * po/ca.po: Update from translation team.
9774 * inet/getnetgrent_r.c: Hook up nscd.
9775 * nscd/Makefile (routines): Add nscd_netgroup.
9776 (nscd-modules): Add netgroupcache.
9777 (CFLAGS-netgroupcache.c): Define.
9778 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9779 (cache_search): Add const to second parameter.
9780 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9782 (dbs): Add netgrdb entry.
9783 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9784 (verify_persistent_db): Handle netgrdb.
9785 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9786 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9788 (netgroup_response_header): Define.
9789 (innetgroup_response_header): Define.
9790 (datahead): Add netgroup_response_header and innetgroup_response_header
9792 * nscd/nscd.conf: Add entries for netgroup cache.
9793 * nscd/nscd.h (dbtype): Add netgrdb.
9794 (_PATH_NSCD_NETGROUP_DB): Define.
9795 (netgroup_iov_disabled): Declare.
9796 (xmalloc, xcalloc, xrealloc): Move declarations here.
9797 (cache_search): Adjust prototype.
9798 Add netgroup-related prototypes.
9799 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9800 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9801 (__nscd_innetgr): Declare.
9802 * nscd/selinux.c (perms): Use access_vector_t as element type and
9803 add netgroup-related initializers.
9804 * nscd/netgroupcache.c: New file.
9805 * nscd/nscd_netgroup.c: New file.
9806 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9807 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9808 For four parameters use innetgr.
9809 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9810 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9811 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9812 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9814 * nscd/connections.c (register_traced_file): Don't register file
9815 for disabled databases.
9817 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9819 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9821 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9822 from tree and freeing node.
9824 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9826 * nss/nsswitch.c (__nss_database_lookup): Handle
9827 nss_parse_service_list out of memory case.
9829 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9831 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9834 2011-10-04 Andreas Schwab <schwab@redhat.com>
9836 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9837 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9839 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9840 elf_machine_rela, elf_machine_lazy_rel.
9841 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9842 (ELF_DYNAMIC_DO_REL): Likewise.
9843 (ELF_DYNAMIC_DO_RELA): Likewise.
9844 (ELF_DYNAMIC_RELOCATE): Likewise.
9845 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9846 to ELF_DYNAMIC_DO_REL.
9847 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9848 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9849 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9852 skip_ifunc, don't call ifunc function if non-zero.
9853 (elf_machine_rela): Likewise.
9854 (elf_machine_lazy_rel): Likewise.
9855 (elf_machine_lazy_rela): Likewise.
9856 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9857 (elf_machine_lazy_rel): Likewise.
9858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9860 (elf_machine_lazy_rel): Likewise.
9861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9863 (elf_machine_lazy_rel): Likewise.
9864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9865 (elf_machine_lazy_rel): Likewise.
9866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9867 (elf_machine_lazy_rel): Likewise.
9868 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9869 (elf_machine_lazy_rel): Likewise.
9870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9871 (elf_machine_lazy_rel): Likewise.
9872 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9873 (elf_machine_lazy_rel): Likewise.
9874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9875 (elf_machine_lazy_rel): Likewise.
9877 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9879 * nss/nss_files/files-init.c (_nss_files_init): Use static
9880 initialization for all the *_traced_file variables.
9882 2011-09-28 Andreas Schwab <schwab@redhat.com>
9884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9886 2011-09-27 Roland McGrath <roland@hack.frob.com>
9889 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9891 2011-09-27 Andreas Schwab <schwab@redhat.com>
9893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9894 Reread the line before reparsing it.
9896 2011-09-26 Andreas Schwab <schwab@redhat.com>
9898 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9900 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9901 Maxim Kuvyrkov <maxim@codesourcery.com>
9902 Joseph Myers <joseph@codesourcery.com>
9904 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9905 if needed for __stack_chk_guard.
9907 2011-09-19 Roland McGrath <roland@hack.frob.com>
9909 * sysdeps/posix/spawni.c (script_execute): Always define it.
9910 It will be optimized away if unused.
9911 (maybe_script_execute): New function.
9912 (__spawni): Call it.
9914 * Makerules: Don't include tls.make.
9915 (config-tls): Always set to thread.
9916 * tls.make.c: File removed.
9918 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9920 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9921 * config.make.in (CPPFLAGS-config): New substituted variable.
9923 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9928 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9929 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9931 2011-09-15 Roland McGrath <roland@hack.frob.com>
9933 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9934 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9936 (CALL_FAIL): Likewise.
9937 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9938 (CALL_FAIL): Macro removed.
9939 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9941 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9943 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9944 for __FINITE_MATH_ONLY__ == 1.
9946 2011-09-15 Andreas Schwab <schwab@redhat.com>
9948 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9949 __ieee754_sqrt instead of sqrt.
9950 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9951 __ieee754_sqrtf instead of sqrtf.
9952 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9953 __floorf instead of floorf.
9954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9955 __floorf, __truncf instead of floorf, truncf.
9957 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9959 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9961 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9962 __extern_always_inline.
9963 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9966 2011-09-14 Andreas Schwab <schwab@redhat.com>
9968 * elf/rtld.c (dl_main): Also relocate in dependency order when
9969 doing symbol dependency testing.
9971 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9974 Always define `refsym'.
9976 2011-09-13 Andreas Schwab <schwab@redhat.com>
9978 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9979 (__FD_ELT): Renamed from __FDELT.
9980 * misc/bits/select2.h (__FD_ELT): Likewise.
9981 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9982 __FD_MASK instead of __FDELT, __FDMASK.
9983 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9985 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9988 * elf/Makefile (gen-ldd): Fix pattern.
9990 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9991 (init_tls): Likewise.
9993 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9997 2011-09-12 Andreas Schwab <schwab@redhat.com>
9999 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10000 `struct cmsghdr *' instead of `void *'.
10001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10004 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10006 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10008 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10009 ldd_rewrite_script.
10011 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10013 * configure.in: Remove --with-tls option.
10014 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10015 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10016 out in case it is missing.
10017 * sysdeps/ia64/elf/configure.in: Likewise.
10018 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10019 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10020 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10021 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10022 * sysdeps/sh/elf/configure.in: Likewise.
10023 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10024 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10025 * sysdeps/x86_64/elf/configure.in: Likewise.
10026 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10027 * sysdeps/mach/hurd/tls.h: Likewise.
10030 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10033 * configure.in: Fix use of AC_INIT.
10035 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10037 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10039 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10041 * malloc/hooks.c: Likewise.
10044 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10045 variables statically.
10046 (narenas): Initialize.
10047 (list_lock): Initialize.
10048 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10049 initializtion of main_arena and list_lock. Small cleanups.
10050 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10051 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10052 Add initializers to main_arena and mp_.
10053 (malloc_state): Remove pagesize member. Change all users to use
10056 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10057 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10058 is always initialized.
10060 * malloc/malloc.c: Removed unused configurations and dead code.
10061 * malloc/arena.c: Likewise.
10062 * malloc/hooks.c: Likewise.
10063 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10065 * include/tls.h: Removed. USE___THREAD must always be defined.
10066 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10067 * elf/dl-libc.c: Likewise.
10068 * elf/dl-tsd.c: Likewise.
10069 * include/errno.h: Likewise.
10070 * include/netdb.h: Likewise.
10071 * include/resolv.h: Likewise.
10072 * inet/herrno-loc.c: Likewise.
10073 * inet/herrno.c: Likewise.
10074 * malloc/arena.c: Likewise.
10075 * malloc/hooks.c: Likewise.
10076 * malloc/malloc.c: Likewise.
10077 * resolv/res-state.c: Likewise.
10078 * resolv/res_libc.c: Likewise.
10079 * sysdeps/i386/dl-machine.h: Likewise.
10080 * sysdeps/ia64/dl-machine.h: Likewise.
10081 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10082 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10083 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10084 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10085 * sysdeps/sh/dl-machine.h: Likewise.
10086 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10087 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10088 * sysdeps/unix/i386/sysdep.S: Likewise.
10089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10090 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10095 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10100 * sysdeps/x86_64/dl-machine.h: Likewise.
10101 * tls.make.c: Likewise.
10103 * configure.in: Remove --with-__thread option. Make tests for
10104 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10105 tls_model attribute fail if no support is available. Remove
10107 * Makeconfig: Adjust for dropped configure option. All features are
10109 * Makerules: Likewise.
10110 * Versions.def: Likewise.
10111 * argp/argp-fmtstream.c: Likewise.
10112 * argp/argp-fmtstream.h: Likewise.
10113 * argp/argp-help.c: Likewise.
10114 * assert/assert.c: Likewise.
10115 * config.h.in: Likewise.
10116 * config.make.in: Likewise.
10117 * configure: Likewise.
10118 * configure.in: Likewise.
10119 * csu/Versions: Likewise.
10120 * csu/init.c: Likewise.
10121 * elf/tst-audit2.c: Likewise.
10122 * elf/tst-tls10.c: Likewise.
10123 * elf/tst-tls10.h: Likewise.
10124 * elf/tst-tls11.c: Likewise.
10125 * elf/tst-tls12.c: Likewise.
10126 * elf/tst-tls14.c: Likewise.
10127 * elf/tst-tlsmod11.c: Likewise.
10128 * elf/tst-tlsmod12.c: Likewise.
10129 * elf/tst-tlsmod13.c: Likewise.
10130 * elf/tst-tlsmod13a.c: Likewise.
10131 * elf/tst-tlsmod14a.c: Likewise.
10132 * elf/tst-tlsmod15b.c: Likewise.
10133 * elf/tst-tlsmod16a.c: Likewise.
10134 * elf/tst-tlsmod16b.c: Likewise.
10135 * elf/tst-tlsmod7.c: Likewise.
10136 * elf/tst-tlsmod8.c: Likewise.
10137 * elf/tst-tlsmod9.c: Likewise.
10138 * gmon/gmon.c: Likewise.
10139 * grp/fgetgrent_r.c: Likewise.
10140 * grp/putgrent.c: Likewise.
10141 * hurd/fopenport.c: Likewise.
10142 * include/libc-symbols.h: Likewise.
10143 * include/tls.h: Likewise.
10144 * intl/gettextP.h: Likewise.
10145 * intl/loadinfo.h: Likewise.
10146 * locale/global-locale.c: Likewise.
10147 * locale/localeinfo.h: Likewise.
10148 * mach/devstream.c: Likewise.
10149 * malloc/arena.c: Likewise.
10150 * malloc/set-freeres.c: Likewise.
10151 * misc/err.c: Likewise.
10152 * misc/getttyent.c: Likewise.
10153 * misc/mntent_r.c: Likewise.
10154 * posix/getopt.c: Likewise.
10155 * posix/wordexp.c: Likewise.
10156 * pwd/fgetpwent_r.c: Likewise.
10157 * resolv/Versions: Likewise.
10158 * resolv/res_hconf.c: Likewise.
10159 * shadow/fgetspent_r.c: Likewise.
10160 * shadow/putspent.c: Likewise.
10161 * stdio-common/printf_fphex.c: Likewise.
10162 * stdio-common/tmpfile.c: Likewise.
10163 * stdlib/abort.c: Likewise.
10164 * stdlib/fmtmsg.c: Likewise.
10165 * sunrpc/auth_unix.c: Likewise.
10166 * sunrpc/clnt_perr.c: Likewise.
10167 * sunrpc/clnt_tcp.c: Likewise.
10168 * sunrpc/clnt_udp.c: Likewise.
10169 * sunrpc/clnt_unix.c: Likewise.
10170 * sunrpc/openchild.c: Likewise.
10171 * sunrpc/svc_simple.c: Likewise.
10172 * sunrpc/svc_tcp.c: Likewise.
10173 * sunrpc/svc_udp.c: Likewise.
10174 * sunrpc/svc_unix.c: Likewise.
10175 * sunrpc/xdr.c: Likewise.
10176 * sunrpc/xdr_array.c: Likewise.
10177 * sunrpc/xdr_rec.c: Likewise.
10178 * sunrpc/xdr_ref.c: Likewise.
10179 * sunrpc/xdr_stdio.c: Likewise.
10181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10183 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10185 2011-07-03 Andreas Jaeger <aj@suse.de>
10187 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10189 regenerate with gen-libm-tests.pl.
10191 2010-05-12 Petr Baudis <pasky@suse.cz>
10194 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10195 around j0() zero points by switching to j1().
10196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10201 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10208 Patch in part by Pavel Roskin <proski@gnu.org>.
10211 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10213 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10214 Free memory block if necessary.
10217 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10218 be NULL. Don't lock in this case.
10220 2011-09-09 Roland McGrath <roland@hack.frob.com>
10222 * elf/elf.h (ELFOSABI_GNU): New macro.
10223 (ELFOSABI_LINUX): Define to that.
10225 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10227 * string/strncat.c (strncat): Undef the symbol in case it has been
10228 defined in bits/string.h.
10230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10232 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10234 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10237 2011-08-17 Andreas Jaeger <aj@suse.de>
10239 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10241 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10242 Ian Lance Taylor <iant@google.com>
10244 * math/libm-test.inc (lround_test): New testcase.
10245 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10247 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10249 * Makefile: Remove support for automatic cvs check-ins.
10250 * Makerules: Likewise.
10251 * config.make.in: Likewise.
10252 * configure.in: Likewise.
10253 * intl/Makefile: Likewise.
10254 * locale/Makefile: Likewise.
10255 * po/Makefile: Likewise.
10256 * posix/Makefile: Likewise.
10257 * sysdeps/gnu/Makefile: Likewise.
10258 * sysdeps/mach/hurd/Makefile: Likewise.
10259 * sysdeps/sparc/sparc32/Makefile: Likewise.
10262 * posix/Makefile (bug-regex32-ENV): Define.
10263 Patch by John Stanley <jpsinthemix@verizon.net>.
10265 * misc/Makefile (headers): Add bits/select2.h.
10266 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10267 * misc/bits/select2.h: New file.
10268 * include/bits/select2.h: New file.
10269 * debug/Makefile (routines): Add fdelt_chk.
10270 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10271 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10273 * debug/fdelt_chk.c: New file.
10275 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10276 * wcsmbs/test-wmemcmp.c: Likewise.
10277 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10278 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10280 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10282 * string/Makefile (strop-tests): Add memcmp.
10283 * string/test-wmemcmp.c: New file.
10284 * string/test-memcmp.c: Add wmemcmp support.
10286 2011-09-08 Roland McGrath <roland@hack.frob.com>
10289 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10292 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10293 garbage value in a __mach_port_mod_refs call in the cases of the
10294 task-self and thread-self ports.
10296 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10298 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10300 2011-09-08 Andreas Schwab <schwab@redhat.com>
10302 * elf/dl-load.c (lose): Check for non-null L.
10304 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10306 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10308 * elf/dl-libc.c (dlerror_run): Pass back error code from
10312 * elf/dl-load.c (lose): Free l_origin if it is valid.
10314 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10316 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10321 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10323 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10325 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10326 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10329 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10330 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10331 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10332 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10333 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10334 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10336 2011-08-15 Alan Modra <amodra@gmail.com>
10339 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10340 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10341 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10342 ppc_mcount to static-only-routines.
10343 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10345 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10346 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10348 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10351 for finite and infinity parameters.
10353 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10356 and add nop instructions for throughput optimization.
10357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10359 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10362 aligned copy for power7 with vector-scalar instructions.
10363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10365 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10370 2011-09-07 Andreas Schwab <schwab@redhat.com>
10373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10376 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10379 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10380 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10384 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10386 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10387 Forgot to demangle the pointer.
10389 * sysdeps/i386/sysdep.h: Define atom_text_section.
10390 * sysdeps/x86_64/sysdep.h: Likewise.
10391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10392 section with atom_text_section.
10393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10395 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10401 already be defined. Change to take two parameters and don't assign
10402 result to variable. Adjust all users.
10403 Define INTERNAL_GETTIME if not already defined.
10404 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10407 HAVE_CLOCK_GETTIME_VSYSCALL.
10408 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10411 gettimeofday vsyscall, just use time.
10413 2011-09-06 Andreas Schwab <schwab@redhat.com>
10415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10418 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10420 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10424 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10426 syscall if possible.
10428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10430 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10431 e_ident. Don't pass to find_mapsXX.
10432 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10434 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10437 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10438 * sysdeps/x86_64/multiarch/strchr.S: Update.
10439 Check bit_slow_BSF bit.
10440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10447 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10449 (tryshell): Define.
10450 (__spawni): Change last parameter to be flag. Test
10451 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10452 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10453 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10454 * posix/spawni.c: Likewise.
10455 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10456 * posix/spawnp.c: Likewise. Change normal version to use
10457 SPAWN_XFLAGS_USE_PATH.
10458 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10459 SPAWN_XFLAGS_TRY_SHELL.
10462 * posix/glob.h: Remove gcc 1.x support.
10465 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10467 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10470 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10472 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10473 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10474 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10477 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10479 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10481 * sysdeps/x86_64/wcscmp.S: New file.
10483 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10484 wcscmp-c wcscmp-sse2
10485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10486 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10488 * wcsmbs/wcscmp.c: Allow renaming.
10490 2011-09-05 David S. Miller <davem@davemloft.net>
10492 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10493 stack slot, rather than the struct return pointer slot.
10494 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10495 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10497 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10499 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10501 * po/ja.po: Update from translation team.
10504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10505 kernel in 64-bit binaries.
10507 2011-09-01 David S. Miller <davem@davemloft.net>
10509 * elf/elf.h (HWCAP_SPARC_*): Move to..
10510 * sysdeps/sparc/sysdep.h: this new file and add new values.
10511 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10512 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10513 _DL_HWCAP_COUNT to 24.
10514 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10516 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10517 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10518 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10520 instead of magic constants.
10521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10523 2011-08-31 David S. Miller <davem@davemloft.net>
10525 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10527 Reimplement to do errno handling inline.
10528 (SYSCALL_ERROR_HANDLER): New macro.
10529 (__SYSCALL_STRING): Do not do errno handling in asm.
10530 (__CLONE_SYSCALL_STRING): Delete.
10531 (__INTERNAL_SYSCALL_STRING): Delete.
10532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10533 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10534 (PSEUDO): Reimplement to do errno handling inline.
10535 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10536 (SYSCALL_ERROR_HANDLER): New macro.
10537 (__SYSCALL_STRING): Do not do errno handling in asm.
10538 (__CLONE_SYSCALL_STRING): Delete.
10539 (__INTERNAL_SYSCALL_STRING): Delete.
10540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10541 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10543 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10544 (inline_syscall*): Add 'err' argument.
10545 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10546 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10547 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10548 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10550 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10553 2011-08-30 Andreas Schwab <schwab@redhat.com>
10555 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10557 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10559 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10562 2011-08-24 David S. Miller <davem@davemloft.net>
10564 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10566 2011-08-24 Andreas Schwab <schwab@redhat.com>
10568 * elf/Makefile: Add rules to build and run unload8 test.
10569 * elf/unload8.c: New file.
10570 * elf/unload8mod1.c: New file.
10571 * elf/unload8mod1x.c: New file.
10572 * elf/unload8mod2.c: New file.
10573 * elf/unload8mod3.c: New file.
10575 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10578 2011-08-23 David S. Miller <davem@davemloft.net>
10580 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10581 subtract stack bias.
10582 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10583 %sp not %fp in calculations.
10584 (_JMPBUF_UNWINDS_ADJ): Likewise.
10586 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10587 (aio_suspend): Call it to force an exception region around the
10588 AIO_MISC_WAIT() invocation.
10590 2011-08-23 Andreas Schwab <schwab@redhat.com>
10592 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10595 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10597 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10599 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10600 and <dl-machine.h>.
10601 (Elf64_FuncDesc): Remove.
10603 2011-08-22 David S. Miller <davem@davemloft.net>
10605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10606 sigaltstack check, add missing cfi directives.
10607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10608 missing cfi directives, and sigaltstack handling.
10610 2011-08-16 Andreas Schwab <schwab@redhat.com>
10613 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10614 object is seen twice.
10615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10617 * elf/Makefile (distribute): Add tst-initorder2.c.
10618 (tests): Add tst-initorder2.
10619 (modules-names): Add tst-initorder2a tst-initorder2b
10620 tst-initorder2c tst-initorder2d. Add rules to build them.
10621 ($(objpfx)tst-initorder2.out): New rule.
10622 * elf/tst-initorder2.c: New file.
10623 * elf/tst-initorder2.exp: New file.
10625 2011-08-22 Andreas Schwab <schwab@redhat.com>
10627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10629 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10630 dependencies back to end of function.
10632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10633 $(elfobjdir)/ld.so.
10635 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10638 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10640 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10641 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10642 of __vdso_gettimeofday.
10643 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10644 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10646 (_libc_vdso_platform_setup): Remove initialization of
10647 __vdso_gettimeofday and __vdso_time.
10649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10651 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10652 and fgetc_unlocked.
10653 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10656 * elf/dl-open.c (add_to_global): Report additions to the global scope
10657 for LD_DEBUG=scopes.
10658 (dl_open_worker): Also print scope of newly loaded dependencies.
10659 (_dl_show_scope): Indicate if there is no scope.
10662 * stdio-common/Makefile (tests): Add bug24.
10663 * stdio-common/bug24.c: New file.
10665 2011-08-19 Andreas Jaeger <aj@suse.de>
10668 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10669 non-existant file when using close-on-exec mode.
10671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10674 the very first instruction.
10676 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10677 the CFI state in the end.
10678 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10679 inclusion of dl-trampoline.h.
10680 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10682 2011-08-19 Andreas Schwab <schwab@redhat.com>
10684 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10685 expectations for long double.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10688 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10690 2011-08-14 David S. Miller <davem@davemloft.net>
10692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10693 artificual limit depends upon the system page size.
10695 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10697 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10698 * resolv/Makefile: Define CFLAGS-libresolv.
10700 2011-08-17 Andreas Schwab <schwab@redhat.com>
10702 * nss/makedb.c (compute_tables): Make variables used in nested
10705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10707 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10708 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10709 if buffer was too small.
10711 * elf/pldd.c (main): Attach to all threads in the process.
10712 Rewrite /proc handling to use *at functions.
10714 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10716 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10717 specifies first scope to show.
10718 (dl_open_worker): Update callers. Move printing scope of new
10719 object to before the relocation.
10720 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10721 * sysdeps/generic/ldsodefs.h: Update declaration.
10723 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10724 string for the scope number.
10726 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10728 * nscd/servicescache.c (cache_addserv): Make sure written is always
10731 2011-08-14 Roland McGrath <roland@hack.frob.com>
10733 * sysdeps/i386/i486/bits/atomic.h
10734 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10735 statement expression, so as to suppress "set but not used" warning.
10736 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10738 * string/strncat.c (STRNCAT): Use prototype definition.
10740 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10741 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10743 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10744 (localedef-modules): Add localedef.
10745 (locale-modules): Add locale.
10747 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10748 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10749 to avoid a warning.
10751 2011-08-14 David S. Miller <davem@davemloft.net>
10753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10754 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10756 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10758 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10759 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10760 * elf/rtld.c (dl_main): Set l_name of vDSO.
10761 Call _dl_show_scope when DL_DEBUG_SCOPES.
10762 (process_dl_debug): Recognize scopes flag and also set it for all.
10763 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10764 Declare _dl_show_scope.
10766 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10767 (do_dlopen): Pass caller_dlopen to dl_open.
10768 (__libc_dlopen_mode): Initialize caller_dlopen.
10770 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10771 of libc. Make tolower call locale-independent. Optimize a bit by
10772 using isdigit instead of isalnum.
10773 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10775 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10777 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10778 was a dependency or dynamically loaded.
10780 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10782 * intl/l10nflist.c: Allow architecture-specific pop function.
10783 * sysdeps/x86_64/l10nflist.c: New file.
10785 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10788 2011-08-10 Andreas Schwab <schwab@redhat.com>
10790 * include/dirent.h: Add libc_hidden_proto for scandirat and
10791 scandirat64. Don't declare __scandirat64.
10792 * dirent/scandirat.c: Add libc_hidden_def.
10793 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10794 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10796 2011-08-10 David S. Miller <davem@davemloft.net>
10798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10802 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10804 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10806 * Versions.def [libc]: Add GLIBC_2.15.
10807 * dirent/Makefile (routines): Add scandirat and scandirat64.
10808 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10810 * dirent/dirent.h: Declare scandirat and scandirat64.
10811 * dirent/scandirat.c: New file.
10812 * dirent/scandirat64.c: New file.
10813 * sysdeps/wordsize-64/scandirat.c: New file.
10814 * sysdeps/wordsize-64/scandirat64.c: New file.
10815 * dirent/opendir.c: Define opendirat.
10816 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10818 * dirent/scandir64.c: Adjust for scandir.c change.
10819 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10820 __scandirat64, and __scandir_cancel_handler.
10821 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10822 additional parameter and use openat instead of open (outside of ld.so).
10823 Add new __opendir as wrapper around __opendirat.
10824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10825 here without requiring old scandirat implementation.
10827 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10829 * dirent/scandir.c (cancel_handler): Renamed to
10830 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10831 defined. Adjust users.
10832 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10835 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10837 * string/test-string.h (IMPL): Use __STRING to expand name and then
10840 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10845 * string/Makefile: Update.
10846 (strop-tests): Append strncat.
10847 * string/test-wcscmp.c: New file.
10848 New comprehensive test for wcscmp.
10849 * string/test-strcmp.c: Update.
10850 (WIDE): New define.
10852 2011-07-22 Andreas Schwab <schwab@redhat.com>
10854 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10857 2011-07-26 Andreas Schwab <schwab@redhat.com>
10859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10860 encoding to ACE if AI_IDN.
10862 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10865 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10870 Fix overflow bug in strncat.
10871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10873 * string/test-strncat.c: Update.
10874 Add new tests for checking overflow bugs.
10876 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10879 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10880 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10881 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10883 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10884 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10885 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10886 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10889 (USE_AS_STRCAT): Define.
10890 Add strcat and strncat support.
10891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10893 2011-07-25 Andreas Schwab <schwab@redhat.com>
10895 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10896 __n bigger than INT_MAX+1.
10897 (__strncmp_g): Likewise.
10899 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10901 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10902 * libio/stido.h: Likewise.
10904 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10909 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10912 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10916 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10921 (_dl_x86_64_save_sse): Likewise.
10923 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10927 (_dl_x86_64_save_sse): Likewise.
10929 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10931 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10933 2011-07-21 Andreas Schwab <schwab@redhat.com>
10935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10937 (_dl_x86_64_save_sse): Use correct AVX check.
10939 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10942 bug in strncpy/strncat.
10943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10945 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10947 * string/tester.c (test_strcat): Add tests for different alignments
10948 of source and destination.
10949 (test_strncat): Likewise.
10951 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10954 * posix/glob.c (glob): Check passed in values before using them in
10955 expressions to avoid some overflows.
10956 (glob_in_dir): Likewise.
10959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10960 check for AVX enablement so that we don't crash with old kernels and
10962 * elf/tst-audit4.c: Add same checks here.
10963 * elf/tst-audit6.c: Likewise.
10965 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10967 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10969 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10971 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10973 * po/cs.po: Update from translation team.
10974 * po/bg.po: Likewise.
10976 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10978 * misc/sys/cdefs.h: Add support for const attribute.
10979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10980 to gnu_dev_{major,minor,makedev} functions.
10982 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10984 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10986 2011-07-20 Andreas Schwab <schwab@redhat.com>
10988 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10991 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10994 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10995 register in order to avoid conflicts with the soft frame pointer
10996 being held in r11 when necessary.
10997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10998 (INTERNAL_VSYSCALL_NCS): Likewise.
11000 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11002 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11003 * elf/dl-fini.c (_dl_fini): Adjust caller.
11004 * elf/dl-close.c (_dl_close_worker): Likewise.
11005 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11007 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11009 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11010 "aux_cache->nlibs < 0".
11012 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11013 in the reload-count case.
11015 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11018 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11019 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11020 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11021 * sysdeps/x86_64/multiarch/strcat.S: New file.
11022 * sysdeps/x86_64/multiarch/strncat.S: New file.
11023 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11025 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11026 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11028 (USE_AS_STRCAT): Define.
11029 Add strcat and strncat support.
11030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11033 * string/strncat.c: Update.
11034 (USE_AS_STRNCAT): Define.
11035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11036 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11038 * sysdeps/x86_64/multiarch/init-arch.h
11039 (bit_Prefer_PMINUB_for_stringop): New.
11040 (index_Prefer_PMINUB_for_stringop): Likewise.
11041 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11042 bit_Prefer_PMINUB_for_stringop.
11044 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11046 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11048 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11049 of casting of buffer.
11050 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11051 buffer32 and buffer64.
11052 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11053 writes instead of casting of buffer.
11054 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11056 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11059 2011-07-19 Andreas Schwab <schwab@redhat.com>
11061 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11063 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11065 * nscd/nscd.c (termination_handler): Don't do anything for a database
11066 if it has not yet been initialized.
11068 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11070 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11072 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11074 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11076 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11078 * po/nl.po: Update from translation team.
11079 * po/sv.po: Likewise.
11081 2011-07-16 Roland McGrath <roland@hack.frob.com>
11083 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11084 now disallowed by GCC.
11086 * configure.in (use-default-link): Default to yes if a test -shared
11087 link meets our qualifications.
11088 * configure: Regenerated.
11090 * config.make.in (output-format): New variable.
11091 * configure.in: Check for ld --print-output-format support.
11092 * configure: Regenerated.
11093 * Makerules ($(common-objpfx)format.lds)
11094 [$(output-format) != unknown]: Just use $(output-format),
11095 instead of the linker-script munging.
11097 2011-07-14 Roland McGrath <roland@hack.frob.com>
11099 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11100 of $(common-objpfx)shlib.lds.
11101 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11103 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11104 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11106 * configure.in (-z relro check): Adjust test code to add a large
11107 writable data section after it.
11108 * configure: Regenerated.
11110 2011-07-11 Roland McGrath <roland@hack.frob.com>
11112 * configure.in (-z relro check): Fix test code to make the variable
11114 * configure: Regenerated.
11116 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11118 * nscd/nscd.h (struct traced_file): Define.
11119 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11120 elements. Add traced_files.
11121 (inotify_fd): Declare.
11122 (register_traced_file): Declare.
11123 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11124 (inotify_fd): Export.
11125 (resolv_conf_descr): Remove.
11126 (nscd_init): Move inotify descriptor creation to main.
11127 Don't register files for notification here.
11128 (register_traced_file): New function.
11129 (invalidate_cache): Don't use reset_res to determine whether to call
11130 res_init, go through the list of registered files.
11131 (main_loop_poll): The inotify descriptors are now stored in the
11132 structures for the traced files.
11133 (main_loop_epoll): Likewise
11134 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11135 to __nss_disable_nscd.
11136 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11137 for a database anymore. Check the records for all the registered
11139 * nss/Makefile (libnss_files-routines): Add files-init.
11140 (libnss_db-routines): Add db-init.
11141 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11142 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11143 * nss/nss_db/db-init.c: New file.
11144 * nss/nss_files/files-init.c: New file.
11145 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11146 __nss_lookup_function.
11147 (__nss_lookup_function): Call nss_load_library.
11148 (nss_load_all_libraries): New function.
11149 (__nss_disable_nscd): Take parameter with callback function for files
11150 to register. Set is_nscd. Load all the DSOs for the NSS modules
11151 used for the cached services.
11152 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11154 options for features to all the files in nscd.
11156 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11158 2011-07-10 Roland McGrath <roland@hack.frob.com>
11160 * csu/elf-init.c (__libc_csu_init): Comment typo.
11162 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11164 * po/pl.po: Update from translation team.
11165 * po/ja.po: Likewise.
11166 * po/ru.po: Likewise.
11167 * po/ko.po: Likewise.
11168 * po/fr.po: Likewise.
11170 2011-07-09 Roland McGrath <roland@hack.frob.com>
11172 * configure.in (.ctors/.dtors header and trailer check):
11173 Use an empirical test on a built program.
11174 * configure: Regenerated.
11176 * configure.in (-z relro check): Use an empirical test on a built DSO.
11177 Detect, but do not require, on ia64.
11178 * configure: Regenerated.
11180 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11181 Update tests that use readelf to use $READELF instead.
11182 * configure: Regenerated.
11184 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11186 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11187 if the result is not used.
11189 2011-07-05 Andreas Jaeger <aj@suse.de>
11192 * stdlib/tst-strtod.c: Add testcase.
11194 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11196 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11197 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11198 The latter has a higher limit. Take additional parameter to pass to
11200 (__pathconf): Pass file to __statfs_link_max.
11201 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11203 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11207 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11211 (__statfs_filesize_max): Likewise.
11212 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11214 2011-07-05 Andreas Jaeger <aj@suse.de>
11216 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11218 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11220 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11222 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11225 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11227 * Makefile (strop-tests): Add strncat.
11228 * string/test-strncat.c: New file.
11230 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11232 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11234 2011-06-21 Andreas Jaeger <aj@suse.de>
11236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11237 Copy rule from iconvdata/Makefile.
11239 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11242 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11243 but no long options are defined, just return 'W'.
11245 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11248 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11250 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11252 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11254 (innetgr): Likewise.
11256 2011-07-05 Roland McGrath <roland@hack.frob.com>
11258 * config.make.in (install_root): Default to $(DESTDIR).
11260 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11264 2011-07-02 Roland McGrath <roland@hack.frob.com>
11266 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11268 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11269 containing directory rather than embedding absolute directory names.
11271 * scripts/check-local-headers.sh: Rewritten using awk.
11272 Match by word, not by line. Print error messages for matches.
11273 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11275 * Makerules [shlib-lds-flags empty]:
11276 ($(common-objpfx)libc_pic.opts): New target.
11277 ($(common-objpfx)libc_pic.os.clean): New target.
11278 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11280 * config.make.in (OBJCOPY): New variable.
11281 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11282 * configure: Regenerated.
11284 * config.make.in (use-default-link): New variable.
11285 * configure.in (use_default_link): Grok --with-default-link to set it.
11286 * configure: Regenerated.
11287 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11288 (shlib-lds, shlib-lds-flags): Define to empty.
11290 * Makerules (shlib-lds): New variable.
11291 (shlib-lds-flags): New variable.
11292 (build-shlib, build-moduile, build-module-asneeded): Use it.
11293 ($(common-objpfx)libc.so): Use $(shlib-lds).
11294 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11295 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11297 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11298 DT_FLAGS/DT_FLAGS_1 with zero flags.
11300 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11301 linker script munging.
11303 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11305 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11307 * crypt/sha512.c (sha512_process_block): Perform total addition using
11308 128-bit if possible.
11309 (__sha512_finish_ctx): Likewise.
11310 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11312 * crypt/sha256.c (SWAP64): Define.
11313 (sha256_process_block): Perform total addition using 64-bit if
11315 (__sha256_finish_ctx): Likewise.
11317 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11319 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11321 * nscd/hstcache.c (cache_addhst): Likewise.
11322 * nscd/grpcache.c (cache_addgr): Likewise.
11323 * nscd/aicache.c (addhstaiX): Likewise
11324 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11326 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11328 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11330 * nscd/hstcache.c (cache_addhst): Likewise.
11331 * nscd/grpcache.c (cache_addgr): Likewise.
11332 * nscd/aicache.c (addhstaiX): Likewise
11334 2011-07-01 Andreas Schwab <schwab@redhat.com>
11336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11337 domain only when needed.
11339 2011-06-30 Andreas Schwab <schwab@redhat.com>
11341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11342 is always restored.
11344 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11346 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11347 are re-adding the entry.
11348 * nscd/servicescache.c (cache_addserv): Likewise.
11350 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11352 * sysdeps/generic/dl-irel.h: fix protection against multiple
11354 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11356 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11359 * malloc/memusage.sh: Fix quoting in message.
11360 * debug/xtrace.sh: Likewise.
11362 * configure.in: Remove support for --experimental-malloc option, make
11364 * config.make.in: Likewise.
11365 * malloc/Makefile: Likewise.
11367 2011-06-27 Andreas Schwab <schwab@redhat.com>
11369 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11370 two-byte characters.
11372 2011-06-27 Roland McGrath <roland@hack.frob.com>
11374 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11375 AC_CACHE_CHECK invocation.
11376 * configure: Regenerated.
11378 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11380 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11383 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11384 bit from old_res_options.
11386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11388 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11389 value type for setfct.
11391 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11394 __gettimeofday instead of gettimeofday.
11396 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11398 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11400 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11410 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11411 strcpy-sse2-unaligned strncpy-sse2-unaligned
11412 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11413 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11414 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11415 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11416 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11419 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11420 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11421 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11422 (STRCPY): Support SSE2 and SSSE3 versions.
11424 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11428 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11429 kernels which artificially limit size of requests.
11431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11434 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11435 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11436 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11437 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11438 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11439 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11440 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11443 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11444 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11445 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11446 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11447 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11449 Enable unaligned load optimization for Intel Core i3, i5 and i7
11451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11453 (index_Fast_Unaligned_Load): Define.
11454 (HAS_FAST_UNALIGNED_LOAD): Define.
11456 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11458 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11460 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11463 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11464 until it is clear that the information is realy needed.
11465 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11467 2011-06-22 Andreas Schwab <schwab@redhat.com>
11469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11471 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11474 /sys/devices/system/cpu/online if it is usable.
11476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11477 reading the information from the /proc filesystem to once a second.
11479 2011-06-21 Andreas Jaeger <aj@suse.de>
11481 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11482 NULL after inclusion of kernel headers.
11484 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11486 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11487 calls to internal_setent.
11490 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11491 addresses using gethostbyname4_r ignore IPv4 addresses.
11493 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11494 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11496 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11498 2011-06-20 David S. Miller <davem@davemloft.net>
11500 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11502 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11504 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11505 (elf_irel): Use it.
11506 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11507 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11508 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11509 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11510 * sysdeps/x86_64/dl-irel.h: Likewise.
11512 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11513 * elf/dl-sym.c: Likewise.
11515 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11517 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11518 need to dereference resplen2.
11520 2011-06-14 Andreas Schwab <schwab@redhat.com>
11522 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11524 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11526 * Makeconfig: Define vardbdir and inst_vardbdir.
11527 * nss/Makefile: Add rules to install db-Makefile.
11529 * nss/nss_db/db-XXX.c: Cleanup.
11531 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11532 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11534 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11535 * nss/makedb.c: Implement -g option to specify that value strings
11536 are generated and should not be added to table iterated over for
11538 * nss/nss_db/db-initgroups.c: New file.
11540 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11543 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11544 (internal_getgrouplist): Adjust to name change.
11545 Update use_initgroups_entry if this is not the first call.
11546 * nss/databases.def: Add initgroups entry.
11548 * nss/makedb.c (compute_tables): Check result of multiple hash table
11549 sizes to minimize maximum chain length.
11551 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11553 * Versions.def: Add entry for libnss_db.
11554 * shlib-versions: Likewise.
11555 * nss/Makefile: Add rules to build libnss_db.
11556 * nss/Versions: Add libnss_db information. Organize libnss_files
11558 * nss/db-Makefile: Add gshadow support. Change rules for the new
11559 makedb progra. Some minor improvements to generate smaller files.
11560 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11562 * nss/makedb.c: ...here.
11563 Improve database format to be smaller and require less memory at
11565 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11567 * nss/nss_db/db-netgrp.c: Likewise.
11568 * nss/nss_db/db-open.c: Likewise.
11569 * nss/nss_files/flies-XXX.x: Adjust comments.
11570 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11571 * nss/nss_files/files-grp.c: Likewise.
11572 * nss/nss_files/files-hosts.c: Likewise.
11573 * nss/nss_files/files-network.c: Likewise.
11574 * nss/nss_files/files-proto.c: Likewise.
11575 * nss/nss_files/files-pwd.c: Likewise.
11576 * nss/nss_files/files-rpc.c: Likewise.
11577 * nss/nss_files/files-service.c: Likewise.
11578 * nss/nss_files/files-sgrp.c: Likewise.
11579 * nss/nss_files/files-spwd.c: Likewise.
11580 * nss/nss_db/db-alias.c: Removed.
11581 * nss/nss_db/dummy-db.h: Removed.
11583 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11585 * nss/makedb.c: Rewritten to not use database library.
11586 * nss/Makefile: Update to build new makedb program.
11588 2011-06-14 Andreas Jaeger <aj@suse.de>
11590 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11591 memset declaration.
11593 2011-06-10 Andreas Schwab <schwab@redhat.com>
11595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11598 2011-06-10 Roland McGrath <roland@hack.frob.com>
11600 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11601 * elf/Makefile ($(objpfx)ld.so): Likewise.
11603 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11604 Don't list ld.so twice in dependencies.
11606 * posix/bug-regex31.c: Include <stdlib.h>.
11608 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11610 * nis/nss_compat/compat-spwd.c
11611 (getspent_next_nss_netgr): Remove unused variable.
11612 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11614 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11615 nonmembers" output to use the right array.
11617 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11619 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11621 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11622 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11623 * catgets/gencat.c (read_input_file): Likewise.
11624 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11626 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11627 variable definition inside #if's controlling its use.
11629 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11631 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11633 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11635 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11638 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11640 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11641 * configure: Regenerated.
11643 * Makerules: Revert last change.
11644 * elf/Makefile: Likewise.
11646 2011-06-09 Roland McGrath <roland@hack.frob.com>
11648 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11649 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11650 (reloc-link): Likewise.
11652 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11654 * elf/Makefile: Add rules to build pldd.
11655 * elf/pldd.c: New file.
11656 * elf/pldd-xx.c: New file.
11658 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11660 * version.h: Update for 2.15 development version.
11662 2011-06-07 David S. Miller <davem@davemloft.net>
11664 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11667 elf_machine_lazy_rel): Likewise.
11668 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11670 elf_machine_lazy_rel): Likewise.
11671 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11672 dl_hwcap via passed in argument.
11673 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11676 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11678 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11680 2011-06-06 Roland McGrath <roland@hack.frob.com>
11683 * manual/fdl-1.1.texi: New file, verbatim from:
11684 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11685 * manual/lgpl-2.1.texi: New file, verbatim from:
11686 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11687 * manual/Makefile (licenses): New variable, list those new file names.
11689 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11691 * manual/fdl.texi: File removed.
11692 * manual/lesser.texi: File removed.
11693 * manual/libc.texinfo (Copying, Documentation License):
11694 Use new @include file names, put @appendix directive before @include.
11696 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11699 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11700 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11701 (mq_open): Add __NTH.
11703 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11706 Assume Intel Core i3/i5/i7 processor if AVX is available.
11708 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11713 2011-05-31 Andreas Schwab <schwab@redhat.com>
11715 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11716 memory. Use alloca_account. Fix memory leak when retrying.
11718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11720 * version.h (RELEASE): Bump for 2.14 release.
11721 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11723 * config.make.in (RANLIB): Remove entry.
11725 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11727 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11728 (libc.pot): Work around missing support for .ksh extension in xgettext.
11731 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11732 if both request failed.
11733 (send_dg): In case of server errors clear resplen or *resplen2.
11736 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11737 when there are multiple maps.
11738 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11739 (_dl_fini): Remove test here.
11741 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11743 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11746 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11747 bit from old_res_options.
11748 (gaih_inet): Likewise.
11751 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11754 * resolv/res_init.c (res_setoptions): Make the code more compact.
11757 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11761 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11763 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11766 * malloc/malloc.h: Declare malloc hook variables as volatile.
11768 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11772 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11773 raise in the comment.
11774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11776 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11778 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11781 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11782 grow the buffers more if it already has to be sufficient.
11783 (build_wcs_upper_buffer): Likewise.
11784 * posix/regexec.c (check_matching): Likewise.
11785 (clean_state_log_if_needed): Likewise.
11786 (extend_buffers): Don't enlarge buffers beyond size of the input
11788 Patches mostly by Emil Wojak <emil@wojak.eu>.
11789 * posix/bug-regex32.c: New file.
11790 * posix/Makefile (tests): Add bug-regex32.
11792 * locale/findlocale.c (_nl_find_locale): Return right away if
11793 _nl_explode_name failed.
11794 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11796 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11798 * debug/xtrace.sh: Unify messages.
11799 * malloc/memusage.sh: Likewise.
11802 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11803 time symbol from vDSO. Substitute with vsyscall if not available.
11804 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11807 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11808 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11809 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11810 Add sendmmsg and internal_sendmmsg.
11811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11815 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11816 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11819 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11823 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11829 * iconvdata/Makefile (tests): Add bug-iconv9.
11830 * iconvdata/bug-iconv9.c: New file.
11832 2011-05-27 Andreas Schwab <schwab@redhat.com>
11835 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11837 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11840 (struct user_regs_struct): Change intcs field back to cs.
11842 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11844 * po/ja.po: Update from translation team.
11846 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11849 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11852 2011-05-20 Andreas Schwab <schwab@redhat.com>
11854 * stdlib/longlong.h: Update from GCC.
11856 2011-05-23 Andreas Schwab <schwab@redhat.com>
11858 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11860 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11861 Add parameter name.
11862 (__sysconf): Pass it down.
11864 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11867 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11869 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11870 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11871 add in in __libc_use_alloca calls. Adjust callers.
11872 (glob): Use malloc in some situations.
11874 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11875 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11878 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11880 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11881 and CLOCK_BOOTTIME_ALARM.
11884 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11887 * string/_strerror.c (__strerror_r): Print negative errors as signed
11891 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11892 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11893 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11895 * configure.in: Fix typo in redirection and correct removal of test
11896 files in two cases.
11899 * locale/setlocale.c (new_composite_name): Fix test to check for
11900 identical name of all categories.
11903 * libio/filedoalloc.c (local_isatty): New function.
11904 (_IO_file_doallocate): Use local_isatty.
11905 * stdio-common/perror.c (perror): In case a new stream is used
11906 forward the stream error.
11907 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11910 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11915 * include/alloca.h (extend_alloca_account): Define.
11918 * posix/regex.h: Fix comments with documentation of user-accessible
11919 fields after compilation and describe correct free'ing of pattern
11920 after re_compile_pattern.
11921 Patch by Reuben Thomas <rrt@sc3d.org>.
11923 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11925 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11926 and -mno-altivec to prevent the compiler from using Altivec and/or
11927 VSX instructions when the corresponding registers are not available.
11929 2011-05-19 Andreas Schwab <schwab@redhat.com>
11931 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11933 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11935 * libio/freopen.c (freopen): Use __dup2, not dup2.
11936 * libio/freopen64.c (freopen64): Likewise.
11938 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11941 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11942 * math/Makefile (tests): Add test-powl.
11943 (CFLAGS-test-powl.c): Define.
11944 * math/test-powl.c: New file.
11946 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11948 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11950 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11953 * iconvdata/gb18030.c: Update to GB18020-2005.
11955 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11957 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11958 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11959 Patch by Aharon Robbins <arnold@skeeve.com>.
11962 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11966 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11967 through underflows.
11970 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11971 point to strings before performing equality test for error_one_per_line
11975 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11979 (struct user_fpregs_struct): Avoid __uint*_t types.
11982 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11983 symbol info. Use it instead of calling _dl_addr locally.
11984 (lock_and_info): New function.
11985 (tr_freehook): Call lock_and_info and pass symbol info as additional
11986 parameter to tr_where.
11987 (tr_mallochook): Likewise.
11988 (tr_reallochook): Likewise.
11989 (tr_memalignhook): Likewise.
11991 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11992 used and couldn't be at all thread-safe.
11994 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11996 * libio/freopen.c (freopen): Don't close old file descriptor
11997 before the new one is opened. Instead dup the new file descriptor
11998 to the old one after the new stream is created.
11999 * libio/freopen64.c (freopen64): Likewise.
12000 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12001 * libio/fileops.c (_IO_new_file_close_it): Handle new
12002 _IO_FLAGS2_NOCLOSE flag.
12003 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12004 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12005 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12006 _IO_FLAGS2_NOCLOSE flag.
12007 * include/unistd.h: Add hidden_proto for dup3.
12008 Define __have_dup3.
12009 * io/dup3.c: Define hidden symbol.
12010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12013 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12014 when an incomplete long option is used.
12015 * posix/tst-getopt_long1.c: New file.
12016 * posix/Makefile (tests): Add tst-getopt_long1.
12019 * scripts/config.guess: Update from autoconf-2.68.
12020 * scripts/config.sub: Likewise.
12023 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12025 (has_cpuclock): ...this. New function.
12026 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12027 macro here based on has_cpuclock code.
12030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12031 First byte (not low byte) is now always NUL.
12032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12035 Use non-cancelable interfaces.
12038 * locale/iso-639.def: Add entry for Sorani.
12041 * include/stdlib.h: Move include protection to the right place.
12042 Define abort_msg_s. Declare __abort_msg with it.
12043 * stdlib/abort.c (__abort_msg): Adjust type.
12044 * assert/assert.c (__assert_fail_base): New function. Majority
12045 of code from __assert_fail. Allocate memory for __abort_msg with
12047 (__assert_fail): Now call __assert_fail_base.
12048 * assert/assert-perr.c: Remove bulk of implementation. Use
12049 __assert_fail_base.
12050 * include/assert.hL Declare __assert_fail_base.
12051 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12053 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12055 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12059 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12060 until all modules are registered in the DTV.
12061 * elf/Makefile: Add rules to build and run tst-tls19.
12062 * elf/tst-tls19.c: New file.
12063 * elf/tst-tls19mod1.c: New file.
12064 * elf/tst-tls19mod2.c: New file.
12065 * elf/tst-tls19mod3.c: New file.
12066 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12069 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12073 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12074 two-byte sequence errors.
12075 * iconvdata/Makefile (tests): Add bug-iconv8.
12076 * iconvdata/bug-iconv8.c: New file.
12079 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12082 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12085 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12086 (dummy_getcfa): New function.
12087 (init): Get _Unwind_GetCFA address, use dummy if not found.
12088 (backtrace_helper): In recursion check, also check whether CFA changes.
12089 (__backtrace): Completely initialize arg.
12091 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12092 storing incomplete byte sequence in state object. Avoid testing for
12093 guaranteed too small input if we know there is enough data available.
12095 2011-05-11 Andreas Schwab <schwab@redhat.com>
12097 * Makeconfig (+link-pie): Indent.
12098 * Rules (binaries-pie): Define if $(have-fpie) and
12100 (binaries-shared): Also filter out $(binaries-pie).
12101 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12102 * nscd/Makefile (others-pie): Add nscd.
12103 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12104 ($(objpfx)nscd): Remove command override.
12105 * login/Makefile (others-pie): Add pt_chown.
12106 ($(objpfx)pt_chown): Remove command override.
12107 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12108 remove command overrides.
12110 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12112 * libio/tst_putwc.c: Fix error messages.
12115 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12116 currently writing and seek to current position when not.
12117 * libio/Makefile (tests): Add bug-fclose1.
12118 * libio/bug-fclose1.c: New file.
12120 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12123 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12124 don't set DF_1_NODELETE here.
12125 (do_lookup_x): When entering new entry test for copy relocation
12126 and if necessary set DF_1_NODELETE flag.
12127 * elf/tst-unique4.cc: New file.
12128 * elf/tst-unique4.h: New file.
12129 * elf/tst-unique4lib.cc: New file.
12130 * elf/Makefile: Add rules to build and run tst-unique4.
12131 Patch by Piotr Bury <pbury@goahead.com>.
12133 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12136 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12139 * misc/mntent_r.c (addmntent): Flush the stream after the output
12142 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12143 (is_trusted_path_normalize): Skip initial colon. Append slash
12144 to empty buffer. Duplicate is_trusted_path code but allow
12145 constructed patch to be prefix.
12146 (is_dst): Allow $ORIGIN followed by /.
12147 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12148 Correct testing of result of is_trusted_path_normalize
12149 (decompose_rpath): Fix warning.
12151 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12154 * grp/initgroups.c (internal_getgrouplist): When we found the service
12155 list through the initgroups entry in nsswitch.conf do not always
12156 continue on a successful lookup. Don't always use the
12157 __nss_group_database value if it is set.
12158 * nss/nsswitch.conf (initgroups): Change action for successful db
12159 lookup to continue for compatibility.
12161 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12164 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12166 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12168 * iconvdata/tst-tables.sh: Likewise.
12169 * iconvdata/cp770.c: New file.
12170 * iconvdata/cp771.c: New file.
12171 * iconvdata/cp772.c: New file.
12172 * iconvdata/cp773.c: New file.
12173 * iconvdata/cp774.c: New file.
12174 * iconvdata/testdata/CP770: New file.
12175 * iconvdata/testdata/CP770..UTF8: New file.
12176 * iconvdata/testdata/CP771: New file.
12177 * iconvdata/testdata/CP771..UTF8: New file.
12178 * iconvdata/testdata/CP772: New file.
12179 * iconvdata/testdata/CP772..UTF8: New file.
12180 * iconvdata/testdata/CP773: New file.
12181 * iconvdata/testdata/CP773..UTF8: New file.
12182 * iconvdata/testdata/CP774: New file.
12183 * iconvdata/testdata/CP774..UTF8: New file.
12185 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12187 * iconvdata/gen-8bit-gap.sh: Likewise.
12188 * iconvdata/gen-8bit.sh: Likewise.
12190 * locale/iso-639.def: Add ary entry.
12193 * locale/C-translit.h.in: Add U20A1 transliteration.
12196 * locale/iso-639.def: Add wae entry.
12197 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12200 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12204 * locale/C-translit.h.in: Add entry for U20B9.
12205 Patch by pravin.d.s@gmail.com.
12207 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12210 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12211 ENAMETOOLONG use generic getcwd.
12212 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12213 in rtld. Use *stat64.
12214 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12215 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12216 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12217 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12218 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12219 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12220 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12221 __fstatat64 macros.
12222 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12223 * dirent/rewinddir.c: Add libc_hidden_def.
12224 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12225 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12227 * include/dirent.h (__alloc_dir): Add flags parameter.
12228 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12229 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12231 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12232 from fdopendir if O_CLOEXEC is already set.
12234 2011-03-15 Alan Modra <amodra@gmail.com>
12236 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12237 l_tls_firstbyte_offset non-zero. Save padding offset in
12238 l_tls_firstbyte_offset for later use.
12239 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12240 freeing static tls block.
12242 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12244 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12245 where #ifdef was intended. The intent is to prevent ARG_MAX from
12246 being defined by the kernel headers.
12248 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12251 * resolv/resolv.h: Define RES_NOTLDQUERY.
12252 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12253 no-tld-query and set RES_NOTLDQUERY.
12254 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12255 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12256 modern BIND to search name as TLD unless forbidden.
12258 2011-05-07 Petr Baudis <pasky@suse.cz>
12259 Ulrich Drepper <drepper@gmail.com>
12262 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12263 (is_trusted_path): ...to here.
12264 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12265 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12266 using is_trusted_path_normalize() in setuid scripts.
12268 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12271 __BEGIN/__END_DECLS.
12273 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12276 NSS_STATUS_NOTFOUND if no record was found.
12278 2011-05-05 Andreas Schwab <schwab@redhat.com>
12280 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12281 (headers-not-in-tirpc): Remove rpc/netdb.h
12282 * resolv/netdb.h: Revert last change.
12284 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12286 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12287 circular dependency between libgcc.a and libc.a.
12289 2011-05-05 Andreas Schwab <schwab@redhat.com>
12291 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12292 * nis/Makefile: Don't install rpcsvc/*.
12293 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12294 instead of <rpc/types.h>.
12295 (MAXHOSTNAMELEN): Define.
12297 2011-05-03 Andreas Schwab <schwab@redhat.com>
12299 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12301 2011-04-28 Maciej Babinski <mbabinski@google.com>
12304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12305 gethostbyname4_r when IPv6 results are possible.
12307 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12311 _PC_PIPE_BUF handling.
12313 2011-04-30 Bruno Haible <bruno@clisp.org>
12316 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12317 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12319 * inet/getnameinfo.c (getnameinfo): Likewise.
12321 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12323 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12324 to groups setting in database lookup.
12325 * nss/nsswitch.conf: Add initgroups entry.
12327 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12330 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12332 Patch by Eric Blake <eblake@redhat.com>.
12334 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12336 * sunrpc/Makefile (need-export-routines): Add svc_run.
12337 (routines): Remove svc_run.
12338 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12339 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12340 * sunrpc/svc_run.c (svc_run): Likewise.
12341 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12343 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12346 problem in reallocation in last patch.
12348 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12350 * sunrpc/Makefile: Move inclusion of Rules.
12352 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12354 * nss/nss_files/files-initgroups.c: New file.
12355 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12356 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12357 _nss_files_initgroups_dyn.
12359 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12361 * elf/elf.h (R_ARM_IRELATIVE): Define.
12363 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12365 * po/ru.po: Update from translation team.
12367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12369 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12372 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12375 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12376 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12381 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12392 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12394 * stdlib/bug-getcontext.c: New file.
12395 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12397 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12399 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12400 instructions into .machine "z9-109".
12401 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12402 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12404 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12406 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12407 between environment variables and auxiliary vector.
12409 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12411 * Makefile: Add rules to build linkobj/libc.so.
12412 * include/libc-symbols.h: Define libc_hidden_nolink.
12413 * include/rpc/auth.h: Mark functions which are to be hidden.
12414 * include/rpc/auth_des.h: Likewise.
12415 * include/rpc/auth_unix.h: Likewise.
12416 * include/rpc/clnt.h: Likewise.
12417 * include/rpc/des_crypt.h: Likewise.
12418 * include/rpc/key_prot.h: Likewise.
12419 * include/rpc/pmap_clnt.h: Likewise.
12420 * include/rpc/pmap_prot.h: Likewise.
12421 * include/rpc/pmap_rmt.h: Likewise.
12422 * include/rpc/rpc_msg.h: Likewise.
12423 * include/rpc/svc.h: Likewise.
12424 * include/rpc/svc_auth.h: Likewise.
12425 * include/rpc/xdr.h: Likewise.
12426 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12427 * nss/Makefile: Likewise.
12428 * sunrpc/Makefile: Don't install headers. Build library with normal
12429 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12430 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12431 for the compat linking library. Remove use of INTDEF/INTUSE.
12432 * sunrpc/auth_none.c: Likewise.
12433 * sunrpc/auth_unix.c: Likewise.
12434 * sunrpc/authdes_prot.c: Likewise.
12435 * sunrpc/authuxprot.c: Likewise.
12436 * sunrpc/clnt_gen.c: Likewise.
12437 * sunrpc/clnt_perr.c: Likewise.
12438 * sunrpc/clnt_raw.c: Likewise.
12439 * sunrpc/clnt_simp.c: Likewise.
12440 * sunrpc/clnt_tcp.c: Likewise.
12441 * sunrpc/clnt_udp.c: Likewise.
12442 * sunrpc/clnt_unix.c: Likewise.
12443 * sunrpc/des_crypt.c: Likewise.
12444 * sunrpc/des_soft.c: Likewise.
12445 * sunrpc/get_myaddr.c: Likewise.
12446 * sunrpc/key_call.c: Likewise.
12447 * sunrpc/key_prot.c: Likewise.
12448 * sunrpc/netname.c: Likewise.
12449 * sunrpc/pm_getmaps.c: Likewise.
12450 * sunrpc/pm_getport.c: Likewise.
12451 * sunrpc/pmap_clnt.c: Likewise.
12452 * sunrpc/pmap_prot.c: Likewise.
12453 * sunrpc/pmap_prot2.c: Likewise.
12454 * sunrpc/pmap_rmt.c: Likewise.
12455 * sunrpc/publickey.c: Likewise.
12456 * sunrpc/rpc_cmsg.c: Likewise.
12457 * sunrpc/rpc_common.c: Likewise.
12458 * sunrpc/rpc_dtable.c: Likewise.
12459 * sunrpc/rpc_prot.c: Likewise.
12460 * sunrpc/rpc_thread.c: Likewise.
12461 * sunrpc/rtime.c: Likewise.
12462 * sunrpc/svc.c: Likewise.
12463 * sunrpc/svc_auth.c: Likewise.
12464 * sunrpc/svc_authux.c: Likewise.
12465 * sunrpc/svc_raw.c: Likewise.
12466 * sunrpc/svc_run.c: Likewise.
12467 * sunrpc/svc_simple.c: Likewise.
12468 * sunrpc/svc_tcp.c: Likewise.
12469 * sunrpc/svc_udp.c: Likewise.
12470 * sunrpc/svc_unix.c: Likewise.
12471 * sunrpc/svcauth_des.c: Likewise.
12472 * sunrpc/xcrypt.c: Likewise.
12473 * sunrpc/xdr.c: Likewise.
12474 * sunrpc/xdr_array.c: Likewise.
12475 * sunrpc/xdr_float.c: Likewise.
12476 * sunrpc/xdr_intXX_t.c: Likewise.
12477 * sunrpc/xdr_mem.c: Likewise.
12478 * sunrpc/xdr_rec.c: Likewise.
12479 * sunrpc/xdr_ref.c: Likewise.
12480 * sunrpc/xdr_sizeof.c: Likewise.
12481 * sunrpc/xdr_stdio.c: Likewise.
12483 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12486 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12487 * sysdeps/ia64/dl-tls.h: Likewise.
12488 * sysdeps/powerpc/dl-tls.h: Likewise.
12489 * sysdeps/s390/dl-tls.h: Likewise.
12490 * sysdeps/sh/dl-tls.h: Likewise.
12491 * sysdeps/sparc/dl-tls.h: Likewise.
12492 * sysdeps/x86_64/dl-tls.h: Likewise.
12493 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12495 2011-03-14 Andreas Schwab <schwab@redhat.com>
12497 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12498 rpath element also skip the following colon.
12499 (expand_dynamic_string_token): Add is_path parameter and pass
12500 down to DL_DST_REQUIRED and _dl_dst_substitute.
12501 (decompose_rpath): Call expand_dynamic_string_token with
12502 non-zero is_path. Ignore empty rpaths.
12503 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12506 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12511 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12514 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12515 Patch by Filipe David Manana <fdmanana@apache.org>.
12517 2011-04-07 Andreas Schwab <schwab@redhat.com>
12519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12520 Maintain aligned stack.
12521 (CHECK_RSP): Remove unused macro.
12523 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12525 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12526 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12528 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12530 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12532 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12534 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12537 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12538 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12539 * sysdeps/x86_64/memmove.c: New file.
12540 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12541 (memcpy): Renamed to ...
12542 (__new_memcpy): This.
12543 (memcpy): Provide GLIBC_2_14 memcpy.
12544 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12545 (memcpy): Provide GLIBC_2_2_5 memcpy.
12547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12550 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12552 2011-03-30 Andreas Schwab <schwab@redhat.com>
12554 * misc/syncfs.c: New file.
12555 * misc/Makefile (routines): Add syncfs.
12556 * posix/unistd.h: Declare syncfs.
12557 * sysdeps/unix/syscalls.list: Add syncfs.
12559 2011-04-01 Andreas Schwab <schwab@redhat.com>
12561 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12568 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12581 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12582 sync_file_range.c with -fexceptions.
12583 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12584 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12585 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12586 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12587 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12588 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12590 sync_file_range as cancellation point
12591 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12592 now a wrapper around __call_sync_file_range with cancellation handling.
12593 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12594 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12595 function name to __call_sync_file_range.
12596 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12597 Add call_sync_file_range.
12599 2011-04-01 Andreas Schwab <schwab@redhat.com>
12601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12606 * iconv/iconv.h: Fix typo in comment.
12607 * io/fcntl.h: Likewise.
12608 * libio/stdio.h: Likewise.
12609 * posix/spawn.h: Likewise.
12610 * posix/unistd.h: Likewise.
12611 * stdlib/stdlib.h: Likewise.
12612 * time/time.h: Likewise.
12613 * wcsmbs/wchar.h: Likewise.
12615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12616 open_by_handle): Add.
12617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12618 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12619 Augment a few comments.
12620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12625 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12628 * io/fcntl.h (AT_EMPTY_PATH): Define.
12630 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12632 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12633 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12634 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12636 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12637 * Versions.def: Add GLIBC_2.14.
12638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12641 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12643 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12645 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12647 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12650 * string/test-strncmp.c (do_page_test): New function.
12651 (check2): Likewise.
12652 (test_main): Call check2.
12653 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12655 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12659 Handle cache information in CPU leaf 4.
12660 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12662 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12665 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12666 character representation.
12667 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12669 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12672 END(__isnan) to END(__isnanf) to match function entry point/label
12673 EALIGN(__isnanf,...).
12675 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12677 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12679 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12682 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12683 copy from the symbol referenced in the relocation to initialize the
12685 Patch by Piotr Bury <pbury@goahead.com>.
12686 * elf/Makefile: Add rules to build and tst-unique3.
12687 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12688 * elf/tst-unique3.cc: New file.
12689 * elf/tst-unique3.h: New file.
12690 * elf/tst-unique3lib.cc: New file.
12691 * elf/tst-unique3lib2.cc: New file.
12693 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12695 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12697 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12698 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12701 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12703 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12704 to-be-loaded object along a path to loader is ld.so.
12706 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12707 Ulrich Drepper <drepper@gmail.com>
12709 * sysdeps/x86_64/memset.S: After aligning destination, code
12710 branches to different locations depending on the value of
12711 misalignment, when multiarch is enabled. Fix this.
12713 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12715 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12716 Set _x86_64_preferred_memory_instruction for AMD processsors.
12717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12718 Set bit_Prefer_SSE_for_memop for AMD processors.
12720 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12722 * libio/fmemopen.c (fmemopen): Optimize a bit.
12724 2011-03-03 Andreas Schwab <schwab@redhat.com>
12726 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12728 2011-03-03 Roland McGrath <roland@redhat.com>
12730 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12732 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12734 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12735 __bzero_ultra1 instead of __memset_ultra1.
12737 2011-02-23 Andreas Schwab <schwab@redhat.com>
12738 Ulrich Drepper <drepper@gmail.com>
12741 * include/link.h (struct link_map): Add l_orig_initfini.
12742 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12743 returning unsuccessfully.
12744 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12745 close of a file loaded at startup, restore the original l_initfini
12747 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12748 list, store the pointer.
12749 * elf/Makefile ($(objpfx)noload-mem): New rule.
12750 (noload-ENV): Define.
12751 (tests): Add $(objpfx)noload-mem.
12752 * elf/noload.c: Include <memcheck.h>.
12753 (main): Call mtrace. Close all opened handles.
12755 2011-02-17 Andreas Schwab <schwab@redhat.com>
12758 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12759 dependencies are missing.
12761 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12763 Fix __if_freereq crash: Unlike the generic version which uses free,
12765 * sysdeps/mach/hurd/ifreq.h: New file.
12767 2011-01-27 Petr Baudis <pasky@suse.cz>
12768 Ulrich Drepper <drepper@gmail.com>
12771 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12772 to extend_alloca().
12773 * stdio-common/bug23.c: New file.
12774 * stdio-common/Makefile (tests): Add bug23.
12776 2010-09-28 Andreas Schwab <schwab@redhat.com>
12777 Ulrich Drepper <drepper@gmail.com>
12780 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12781 before performing relro protection. At old place add assertion
12782 to make sure nothing changed.
12784 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12785 Glauber de Oliveira Costa <glommer@gmail.com>
12787 * elf/elf.h: Add new ARM TLS relocs.
12789 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12792 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12794 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12796 * sysdeps/wordsize-64/tst-writev.c: New file.
12798 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12800 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12801 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12802 insns in _dl_start to prevent a TOC reference before relocs are
12805 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12808 * Makeconfig: Remove RANLIB definition.
12809 * Makerules: Don't use RANLIB.
12810 * aclocal.m4: Remove ranlib test.
12811 * configure.in: No need to check for ranlib.
12812 * elf/rtld-Rules: Don't use RANLIB.
12814 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12816 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12818 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12819 inclusion protection macro.
12821 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12822 SIGRTMIN and SIGRTMAX and print information in that case only when
12823 SIGRTMIN is defined.
12825 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12827 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12828 arginfo fn returning -1.
12830 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12831 and thousands string is zero terminated.
12833 2011-02-03 Andreas Schwab <schwab@redhat.com>
12835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12836 sysdeps/unix/sysv/linux/bits/socket.h.
12838 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12840 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12841 (__CPU_COUNT): Remove old macros.
12842 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12843 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12844 (__CPU_ALLOC, __CPU_FREE): Add macros.
12845 (__sched_cpualloc, __sched_cpufree): Add declarations.
12847 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12849 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12850 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12851 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12852 (readdhstai): Return value of addhstaiX call.
12853 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12854 (addgrbyX): Return value returned by cache_addgr.
12855 (readdgrbyname): Return value returned by addgrbyX.
12856 (readdgrbygid): Likewise.
12857 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12858 (addpwbyX): Return value returned by cache_addpw.
12859 (readdpwbyname): Return value returned by addhstbyX.
12860 (readdpwbyuid): Likewise.
12861 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12862 (addservbyX): Return value returned by cache_addserv.
12863 (readdservbyname): Return value returned by addservbyX:
12864 (readdservbyport): Likewise.
12865 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12866 (addhstbyX): Return value returned by cache_addhst.
12867 (readdhstbyname): Return value returned by addhstbyX.
12868 (readdhstbyaddr): Likewise.
12869 (readdhstbynamev6): Likewise.
12870 (readdhstbyaddrv6): Likewise.
12871 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12872 (readdinitgroups): Return value returned by addinitgroupsX.
12873 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12874 (prune_cache): Keep track of timeout value of re-added entries.
12875 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12876 * nscd/nscd.h: Adjust prototypes of readd* functions.
12878 2011-02-04 Roland McGrath <roland@redhat.com>
12880 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12881 (nis_stats): Likewise.
12882 * nis/nis_modify.c (nis_modify): Likewise.
12883 * nis/nis_remove.c (nis_remove): Likewise.
12884 * nis/nis_add.c (nis_add): Likewise.
12886 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12888 * posix/fnmatch_loop.c: Add some consts.
12890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12892 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12895 * config.make.in (config-cflags-novzeroupper): Define.
12896 * configure.in: Substitute libc_cv_cc_novzeroupper.
12897 * elf/Makefile (AVX-CFLAGS): Define.
12898 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12899 (CFLAGS-tst-auditmod4a.c): Likewise.
12900 (CFLAGS-tst-auditmod4b.c): Likewise.
12901 (CFLAGS-tst-auditmod6b.c): Likewise.
12902 (CFLAGS-tst-auditmod6c.c): Likewise.
12903 (CFLAGS-tst-auditmod7b.c): Likewise.
12904 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12906 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12908 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12909 function to the callback.
12910 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12912 2011-02-02 Andreas Schwab <schwab@redhat.com>
12914 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12917 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12920 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12922 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12924 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12927 * elf/Makefile: Add rules to build and run new test.
12928 * elf/tst-initorder.c: New file.
12929 * elf/tst-initorder.exp: New file.
12930 * elf/tst-initordera1.c: New file.
12931 * elf/tst-initordera2.c: New file.
12932 * elf/tst-initordera3.c: New file.
12933 * elf/tst-initordera4.c: New file.
12934 * elf/tst-initorderb1.c: New file.
12935 * elf/tst-initorderb2.c: New file.
12936 * elf/tst-order-a1.c: New file.
12937 * elf/tst-order-a2.c: New file.
12938 * elf/tst-order-a3.c: New file.
12939 * elf/tst-order-a4.c: New file.
12940 * elf/tst-order-b1.c: New file.
12941 * elf/tst-order-b2.c: New file.
12942 * elf/tst-order-main.c: New file.
12943 New test case by George Gensure <werkt0@gmail.com>.
12945 2010-10-01 Andreas Schwab <schwab@redhat.com>
12947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12948 decoding ACE if AI_CANONIDN.
12950 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12952 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12954 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12956 * version.h (RELEASE): Bump for 2.13 release.
12957 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12959 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12963 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12970 * posix/getconf.c: Update copyright year.
12971 * catgets/gencat.c: Likewise.
12972 * csu/version.c: Likewise.
12973 * debug/catchsegv.sh: Likewise.
12974 * debug/xtrace.sh: Likewise.
12975 * elf/ldconfig.c: Likewise.
12976 * elf/ldd.bash.in: Likewise.
12977 * elf/sprof.c (print_version): Likewise.
12978 * iconv/iconv_prog.c: Likewise.
12979 * iconv/iconvconfig.c: Likewise.
12980 * locale/programs/locale.c: Likewise.
12981 * locale/programs/localedef.c: Likewise.
12982 * malloc/memusage.sh: Likewise.
12983 * malloc/mtrace.pl: Likewise.
12984 * nscd/nscd.c (print_version): Likewise.
12985 * nss/getent.c: Likewise.
12987 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12988 PF_CAIF, and PF_ALG.
12989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12991 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12993 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12994 (modules-names): Use them.
12995 (ifunc-test-modules, ifunc-pie-tests): Define.
12996 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12997 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12998 (test-extras): Likewise.
12999 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13000 $(compile-command.c).
13001 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13002 (all-built-dso): Define.
13003 (check-textrel.out, check-execstack.out): Depend on it.
13005 * configure.in: Don't override --enable-multi-arch.
13007 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13010 * nscd/hstcache.c (tryagain): Define.
13011 (cache_addhst): Return tryagain not notfound for temporary errors.
13012 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13015 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13018 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13019 to make the syscall.
13020 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13023 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13024 and fall back to matching as normal character if the string ends before
13025 the matching ']' is found. This is what POSIX requires.
13026 * posix/testfnm.c: Adjust test result.
13027 * posix/globtest.sh: Adjust test result. Add new test.
13028 * posix/tst-fnmatch.input: Likewise.
13029 * posix/tst-fnmatch2.c: Add new test.
13031 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13033 * elf/Makefile (check-execstack): Revert last change. Depend on
13035 (check-execstack.h): New target.
13036 (generated): Add check-execstack.h.
13037 * elf/check-execstack.c: Include "check-execstack.h".
13038 (main): Revert last change.
13039 (handle_file): Return zero if GNU_STACK is absent and
13040 DEFAULT_STACK_PERMS doesn't include PF_X.
13042 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13044 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13045 in child fails because the descriptor is already closed.
13046 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13047 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13051 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13055 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13056 temporary buffer used to handle multi lookups locally.
13057 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13059 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13061 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13064 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13066 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13067 alignment for SSE2.
13069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13072 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13073 characters. When rounding increased number of integer digits recompute
13075 * stdio-common/tst-grouping.c: New file.
13076 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13078 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13080 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13081 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13083 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13085 * bits/select.h: Likewise.
13087 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13089 * po/ja.po: Update from translation team.
13091 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13094 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13095 implementation just like for lxstat, fxstatat, et al.
13097 2010-12-27 Jim Meyering <meyering@redhat.com>
13100 * posix/regexec.c (build_trtable): Return failure indication upon
13101 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13103 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13106 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13107 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13112 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13115 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13116 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13118 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13120 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13121 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13122 script has SORT_BY_INIT_PRIORITY.
13123 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13124 NO_CTORS_DTORS_SECTIONS is defined.
13125 * elf/soinit.c: Likewise.
13126 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13127 NO_CTORS_DTORS_SECTIONS is defined.
13128 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13129 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13130 * sysdeps/sh/init-first.c: Likewise.
13131 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13133 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13135 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13136 always use the slow path.
13138 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13140 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13141 similar rule which adds the sysdep directories to the header search in
13142 order to pick up the correct platform stackinfo.h.
13143 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13144 perform test if it is, otherwise return successfully without testing.
13145 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13146 DEFAULT_STACK_PERMS define in stackinfo.h.
13147 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13148 defined in stackinfo.h.
13149 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13150 DEFAULT_STACK_PERMS defined in stackinfo.h.
13151 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13152 * sysdeps/ia64/stackinfo.h: Likewise.
13153 * sysdeps/s390/stackinfo.h: Likewise.
13154 * sysdeps/sh/stackinfo.h: Likewise.
13155 * sysdeps/sparc/stackinfo.h: Likewise.
13156 * sysdeps/x86_64/stackinfo.h: Likewise.
13157 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13158 PF_X for powerpc64. Retain PF_X for powerpc32.
13160 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13162 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13165 GETDENTS_64BIT_ALIGNED.
13167 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13169 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13171 2010-12-10 Andreas Schwab <schwab@redhat.com>
13173 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13176 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13177 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13179 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13180 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13182 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13185 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13188 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13190 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13192 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13194 * po/it.po: Update from translation team.
13196 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13201 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13203 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13205 2010-11-24 Andreas Schwab <schwab@redhat.com>
13207 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13209 (gaih_getanswer_slice): Likewise.
13211 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13215 2010-05-31 Petr Baudis <pasky@suse.cz>
13218 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13219 silently even in the chroot mode.
13221 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13224 last patch a bit. Pretty printing
13226 2010-05-31 Petr Baudis <pasky@suse.cz>
13229 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13230 initialization of skip_initgroups_dyn.
13232 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13237 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13239 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13241 2010-11-11 Andreas Schwab <schwab@redhat.com>
13243 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13244 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13245 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13246 ($(objpfx)tst-fnmatch-mem): New rule.
13247 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13248 * posix/tst-fnmatch.c (main): Call mtrace.
13250 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13253 Support Intel processor model 6 and model 0x2c.
13255 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13260 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13263 * string/test-strncasecmp.c (check_result): New function.
13264 (do_one_test): Use it.
13265 (check1): New function.
13266 (test_main): Use it.
13267 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13268 Support strcasecmp and strncasecmp.
13270 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13273 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13276 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13278 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13282 * sysdeps/x86_64/multiarch/bzero.S: New file.
13283 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13284 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13285 * sysdeps/x86_64/multiarch/memset.S: New file.
13286 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13288 Set bit_Prefer_SSE_for_memop for Intel processors.
13289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13291 (index_Prefer_SSE_for_memop): Define.
13292 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13294 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13296 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13299 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13302 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13303 (__x86_64_raw_data_cache_size_half): Likewise.
13304 (__x86_64_raw_shared_cache_size): Likewise.
13305 (__x86_64_raw_shared_cache_size_half): Likewise.
13307 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13308 (__x86_64_raw_data_cache_size_half): Likewise.
13309 (__x86_64_raw_shared_cache_size): Likewise.
13310 (__x86_64_raw_shared_cache_size_half): Likewise.
13311 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13312 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13313 and __x86_64_raw_shared_cache_size_half. Round
13314 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13315 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13316 to multiple of 256 bytes.
13318 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13322 of inacessible symlinks. Verify result of symlink before returning it.
13323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13324 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13326 2010-10-28 Erich Ritz <erichritz@gmail.com>
13328 * math/math.h (isinf): Fix typo in comment.
13330 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13332 * po/da.po: Update from translation team.
13334 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13336 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13337 is added to the list.
13339 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13340 Ulrich Drepper <drepper@gmail.com>
13342 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13343 the global list here. Move code to...
13344 (_dl_add_to_namespace_list): ...here. New function.
13345 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13346 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13347 * elf/dl-load.c (lose): Don't remove the element from the list.
13348 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13349 (_dl_map_object): Likewise.
13351 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13354 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13355 into all bytes of SSE register.
13356 Patch by Richard Li <richardpku@gmail.com>.
13358 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13361 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13364 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13366 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13367 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13368 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13369 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13374 2010-10-22 Andreas Schwab <schwab@redhat.com>
13376 * include/dlfcn.h (__RTLD_SECURE): Define.
13377 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13378 mode & __RTLD_SECURE instead.
13379 (open_path): Rename preloaded parameter to secure.
13380 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13381 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13382 * elf/dl-deps.c (openaux): Likewise.
13383 * elf/rtld.c (struct map_args): Remove is_preloaded.
13384 (map_doit): Don't use it.
13385 (dl_main): Likewise.
13386 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13387 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13389 2010-09-09 Andreas Schwab <schwab@redhat.com>
13391 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13392 (sysd-rules-targets): Remove duplicates.
13393 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13394 rtld-%.$o dependency.
13396 2010-10-18 Andreas Schwab <schwab@redhat.com>
13398 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13399 _dl_map_object do it.
13401 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13403 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13404 fast fma builtins, define the macros in the C99 standard.
13405 (FP_FAST_FMAF): Likewise.
13406 (FP_FAST_FMAL): Likewise.
13407 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13409 * bits/mathdef.h: Update copyright year.
13410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13412 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13414 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13415 builtins, define the macros in the C99 standard.
13416 (FP_FAST_FMAF): Likewise.
13417 (FP_FAST_FMAL): Likewise.
13418 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13420 (FP_FAST_FMAF): Likewise.
13422 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13425 * math/libm-test.inc (fma_test): Some new testcases.
13426 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13428 y and infinite z. Do multiplication by C already in long double.
13429 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13431 y and infinite z. Do bitwise or of inexact bit into u.d.
13432 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13433 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13434 * sysdeps/i386/fpu/s_fma.S: Removed.
13435 * sysdeps/i386/fpu/s_fmal.S: Removed.
13437 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13440 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13442 computation is not scheduled after fetestexcept. Fix value
13443 of minimum denormal long double.
13445 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13448 * math/libm-test.inc (fma_test): Add some more tests.
13449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13452 2010-10-15 Andreas Schwab <schwab@redhat.com>
13454 * scripts/data/localplt-s390-linux-gnu.data: New file.
13455 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13457 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13460 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13461 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13463 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13465 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13467 if one of x and y is very large and the other is subnormal.
13468 * sysdeps/s390/fpu/s_fmaf.c: New file.
13469 * sysdeps/s390/fpu/s_fma.c: New file.
13470 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13471 * sysdeps/powerpc/fpu/s_fma.S: New file.
13472 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13474 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13476 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13479 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13481 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13482 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13483 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13484 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13485 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13486 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13489 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13492 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13493 * posix/bug-regex31.input: Add test case.
13495 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13497 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13498 * posix/bug-regex31.input: New file.
13501 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13502 (parse_sub_exp): Fix last change, use postorder.
13504 * posix/bug-regex31.c: New file.
13505 * posix/Makefile: Add rules to build and run bug-regex31.
13507 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13510 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13513 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13514 to have entries in sys_siglist.
13517 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13520 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13523 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13524 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13525 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13526 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13528 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13529 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13530 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13531 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13532 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13533 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13534 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13535 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13536 * math/ftestexcept.c (fetestexcept): Likewise.
13537 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13538 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13539 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13540 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13541 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13542 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13543 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13545 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13548 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13551 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13553 * string/bug-strstr1.c: New file.
13554 * string/Makefile: Add rules to build and run bug-strstr1.
13556 2010-10-05 Eric Blake <eblake@redhat.com>
13559 * string/str-two-way.h (two_way_long_needle): Always clear memory
13560 when skipping input due to the shift table.
13562 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13565 * malloc/mcheck.c: Handle large requests.
13568 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13569 for strncmp and strncasecmp.
13570 * string/stratcliff.c: Add tests for strcmp and strncmp.
13571 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13573 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13575 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13578 2010-09-30 Andreas Jaeger <aj@suse.de>
13580 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13581 (CGROUP_SUPER_MAGIC): Define.
13582 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13583 Handle btrfs and cgroup file systems.
13584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13587 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13589 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13590 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13592 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13595 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13596 trying to locate the ELF header.
13598 2010-09-27 Andreas Schwab <schwab@redhat.com>
13601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13602 Mask out sign-bit copies when constructing f_fsid.
13604 2010-09-24 Petr Baudis <pasky@suse.cz>
13606 * debug/stack_chk_fail_local.c: Add missing licence exception.
13607 * debug/warning-nop.c: Likewise.
13609 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13612 implementing getdents64 using getdents syscall, set d_type if
13613 __ASSUME_GETDENTS32_D_TYPE.
13615 2010-09-16 Andreas Schwab <schwab@redhat.com>
13617 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13618 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13620 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13623 * posix/unistd.h: Undo change of feature selection for ftruncate from
13626 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13628 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13631 2010-09-20 Andreas Schwab <schwab@redhat.com>
13633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13637 2010-09-14 Andreas Schwab <schwab@redhat.com>
13639 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13640 variables after CHECK_SP call.
13641 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13643 2010-09-13 Andreas Schwab <schwab@redhat.com>
13644 Ulrich Drepper <drepper@redhat.com>
13646 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13647 re-relocationg ld.so.
13648 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13649 _dl_init_paths call.
13650 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13653 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13655 * resolv/res_init.c (__res_vinit): Count the default server we added.
13657 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13658 Ulrich Drepper <drepper@redhat.com>
13661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13662 (____longjmp_chk): Use %ebx for saving value across system call.
13665 2010-09-06 Andreas Schwab <schwab@redhat.com>
13667 * manual/Makefile: Don't mix pattern rules with normal rules.
13669 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13671 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13673 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13674 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13675 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13676 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13680 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13683 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13684 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13686 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13688 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13689 * sysdeps/x86_64/addmul_1.S: Likewise.
13690 * sysdeps/x86_64/lshift.S: Likewise.
13691 * sysdeps/x86_64/mul_1.S: Likewise.
13692 * sysdeps/x86_64/rshift.S: Likewise.
13693 * sysdeps/x86_64/sub_n.S: Likewise.
13694 * sysdeps/x86_64/submul_1.S: Likewise.
13696 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13698 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13699 Define __sched_param instead of SCHED_* and sched_param when
13700 <bits/sched.h> is included with __need_schedparam defined.
13701 * bits/sched.h [__need_schedparam]
13702 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13703 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13704 (__defined_schedparam): Define to 1.
13705 (__sched_param): New structure, identical to sched_param.
13706 (__need_schedparam): Undefine.
13708 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13711 (epoll_create1): Declare.
13713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13715 2010-08-31 Andreas Schwab <schwab@redhat.com>
13718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13719 shifting retval into place.
13721 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13723 * nis/rpcsvc/nis.h: Update copyright notice.
13724 * nis/rpcsvc/nis.x: Likewise.
13725 * nis/rpcsvc/nis_callback.h: Likewise.
13726 * nis/rpcsvc/nis_callback.x: Likewise.
13727 * nis/rpcsvc/nis_object.x: Likewise.
13728 * nis/rpcsvc/nis_tags.h: Likewise.
13729 * nis/rpcsvc/yp.h: Likewise.
13730 * nis/rpcsvc/yp.x: Likewise.
13731 * nis/rpcsvc/ypupd.h: Likewise.
13732 * nis/yp_xdr.c: Likewise.
13733 * nis/ypupdate_xdr.c: Likewise.
13735 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13736 mainly the body of pmap_getport. Add parameters to specify timeouts.
13737 (pmap_getport): Use __libc_rpc_getport.
13738 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13739 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13740 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13742 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13747 2010-08-27 Roland McGrath <roland@redhat.com>
13749 * sysdeps/i386/i686/multiarch/Makefile
13750 (CFLAGS-varshift.c): New variable.
13752 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13754 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13755 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13759 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13761 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13763 * sysdeps/x86_64/strlen.S: Unroll the loop.
13764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13765 strlen-sse2 strlen-sse2-bsf.
13766 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13767 __strlen_no_bsf if bit_Slow_BSF is set.
13768 (__strlen_sse42): Removed.
13769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13770 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13772 2010-08-25 Roland McGrath <roland@redhat.com>
13774 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13775 * sysdeps/x86_64/multiarch/varshift.c: New file.
13776 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13777 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13778 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13779 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13781 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13784 strlen-sse2 strlen-sse2-bsf.
13785 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13786 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13787 (__strlen_sse2): Removed.
13788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13791 bit_Slow_BSF for Atom.
13792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13793 (index_Slow_BSF): Define.
13794 (HAS_SLOW_BSF): Define.
13796 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13799 * resolv/res_init.c (__res_vinit): When no server address at all
13800 is given default to loopback.
13802 2010-08-24 Roland McGrath <roland@redhat.com>
13804 * configure.in: Remove config-name.h generation.
13805 * configure: Regenerated.
13806 * config-name.in: File removed.
13807 * scripts/config-uname.sh: New file.
13808 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13809 ($(objdir)config-name.h): New target.
13811 * sunrpc/rpc_parse.h: Avoid nested comment.
13813 2010-08-24 Richard Henderson <rth@redhat.com>
13814 Ulrich Drepper <drepper@redhat.com>
13815 H.J. Lu <hongjiu.lu@intel.com>
13817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13819 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13820 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13821 _mm_alignr_epi8 with _mm_loadu_si128.
13822 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13823 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13824 (__m128i_shift_right): Removed.
13825 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13826 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13827 * sysdeps/x86_64/multiarch/varshift.h: New file.
13828 * sysdeps/x86_64/multiarch/varshift.S: New file.
13830 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13832 * configure.in: Move assembler checks to before sysdep dir checking.
13834 2010-08-20 Petr Baudis <pasky@suse.cz>
13836 * LICENSES: Sync the sunrpc license.
13838 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13840 * sunrpc/auth_des.c: Update copyright notice once again.
13841 * sunrpc/auth_none.c: Likewise.
13842 * sunrpc/auth_unix.c: Likewise.
13843 * sunrpc/authdes_prot.c: Likewise.
13844 * sunrpc/authuxprot.c: Likewise.
13845 * sunrpc/bindrsvprt.c: Likewise.
13846 * sunrpc/clnt_gen.c: Likewise.
13847 * sunrpc/clnt_perr.c: Likewise.
13848 * sunrpc/clnt_raw.c: Likewise.
13849 * sunrpc/clnt_simp.c: Likewise.
13850 * sunrpc/clnt_tcp.c: Likewise.
13851 * sunrpc/clnt_udp.c: Likewise.
13852 * sunrpc/clnt_unix.c: Likewise.
13853 * sunrpc/des_crypt.c: Likewise.
13854 * sunrpc/des_soft.c: Likewise.
13855 * sunrpc/get_myaddr.c: Likewise.
13856 * sunrpc/getrpcport.c: Likewise.
13857 * sunrpc/key_call.c: Likewise.
13858 * sunrpc/key_prot.c: Likewise.
13859 * sunrpc/openchild.c: Likewise.
13860 * sunrpc/pm_getmaps.c: Likewise.
13861 * sunrpc/pm_getport.c: Likewise.
13862 * sunrpc/pmap_clnt.c: Likewise.
13863 * sunrpc/pmap_prot.c: Likewise.
13864 * sunrpc/pmap_prot2.c: Likewise.
13865 * sunrpc/pmap_rmt.c: Likewise.
13866 * sunrpc/rpc/auth.h: Likewise.
13867 * sunrpc/rpc/auth_unix.h: Likewise.
13868 * sunrpc/rpc/clnt.h: Likewise.
13869 * sunrpc/rpc/des_crypt.h: Likewise.
13870 * sunrpc/rpc/key_prot.h: Likewise.
13871 * sunrpc/rpc/netdb.h: Likewise.
13872 * sunrpc/rpc/pmap_clnt.h: Likewise.
13873 * sunrpc/rpc/pmap_prot.h: Likewise.
13874 * sunrpc/rpc/pmap_rmt.h: Likewise.
13875 * sunrpc/rpc/rpc.h: Likewise.
13876 * sunrpc/rpc/rpc_des.h: Likewise.
13877 * sunrpc/rpc/rpc_msg.h: Likewise.
13878 * sunrpc/rpc/svc.h: Likewise.
13879 * sunrpc/rpc/svc_auth.h: Likewise.
13880 * sunrpc/rpc/types.h: Likewise.
13881 * sunrpc/rpc/xdr.h: Likewise.
13882 * sunrpc/rpc_clntout.c: Likewise.
13883 * sunrpc/rpc_cmsg.c: Likewise.
13884 * sunrpc/rpc_common.c: Likewise.
13885 * sunrpc/rpc_cout.c: Likewise.
13886 * sunrpc/rpc_dtable.c: Likewise.
13887 * sunrpc/rpc_hout.c: Likewise.
13888 * sunrpc/rpc_main.c: Likewise.
13889 * sunrpc/rpc_parse.c: Likewise.
13890 * sunrpc/rpc_parse.h: Likewise.
13891 * sunrpc/rpc_prot.c: Likewise.
13892 * sunrpc/rpc_sample.c: Likewise.
13893 * sunrpc/rpc_scan.c: Likewise.
13894 * sunrpc/rpc_scan.h: Likewise.
13895 * sunrpc/rpc_svcout.c: Likewise.
13896 * sunrpc/rpc_tblout.c: Likewise.
13897 * sunrpc/rpc_util.c: Likewise.
13898 * sunrpc/rpc_util.h: Likewise.
13899 * sunrpc/rpcinfo.c: Likewise.
13900 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13901 * sunrpc/rpcsvc/key_prot.x: Likewise.
13902 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13903 * sunrpc/rpcsvc/mount.x: Likewise.
13904 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13905 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13906 * sunrpc/rpcsvc/rex.x: Likewise.
13907 * sunrpc/rpcsvc/rstat.x: Likewise.
13908 * sunrpc/rpcsvc/rusers.x: Likewise.
13909 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13910 * sunrpc/rpcsvc/spray.x: Likewise.
13911 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13912 * sunrpc/rtime.c: Likewise.
13913 * sunrpc/svc.c: Likewise.
13914 * sunrpc/svc_auth.c: Likewise.
13915 * sunrpc/svc_authux.c: Likewise.
13916 * sunrpc/svc_raw.c: Likewise.
13917 * sunrpc/svc_run.c: Likewise.
13918 * sunrpc/svc_simple.c: Likewise.
13919 * sunrpc/svc_tcp.c: Likewise.
13920 * sunrpc/svc_udp.c: Likewise.
13921 * sunrpc/svc_unix.c: Likewise.
13922 * sunrpc/svcauth_des.c: Likewise.
13923 * sunrpc/xcrypt.c: Likewise.
13924 * sunrpc/xdr.c: Likewise.
13925 * sunrpc/xdr_array.c: Likewise.
13926 * sunrpc/xdr_float.c: Likewise.
13927 * sunrpc/xdr_mem.c: Likewise.
13928 * sunrpc/xdr_rec.c: Likewise.
13929 * sunrpc/xdr_ref.c: Likewise.
13930 * sunrpc/xdr_sizeof.c: Likewise.
13931 * sunrpc/xdr_stdio.c: Likewise.
13933 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13936 2010-08-19 Andreas Schwab <schwab@redhat.com>
13938 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13940 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13942 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13945 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13947 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13948 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13949 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13951 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13952 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13954 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13955 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13957 2010-07-26 Anton Blanchard <anton@samba.org>
13959 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13960 * malloc/arena.c (heap_trim): Likewise.
13962 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13964 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13967 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13969 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13971 * sysdeps/i386/elf/Makefile: New file.
13973 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13975 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13976 from fanotify_init.
13977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13980 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13982 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13984 * sysdeps/multiarch/strcmp.S: Likewise.
13986 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13988 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13989 strncase_l-nonascii.
13990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13991 Add strncase_l-ssse3.
13992 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13993 * sysdeps/x86_64/strcmp.S: Likewise.
13994 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13995 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13996 * sysdeps/x86_64/strncase.S: New file.
13997 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13998 * sysdeps/x86_64/strncase_l.S: New file.
13999 * string/Makefile (strop-tests): Add strncasecmp.
14000 * string/test-strncasecmp.c: New file.
14002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14005 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14006 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14008 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14010 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14012 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14014 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14016 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14018 2010-05-01 Alan Modra <amodra@gmail.com>
14020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14021 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14022 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14023 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14024 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14025 tidying. Don't tail-call __sigjmp_save for static lib.
14026 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14028 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14029 (CALL_MCOUNT): Add eh info, and nop after bl.
14030 (TAIL_CALL_SYSCALL_ERROR): New macro.
14031 (PSEUDO_RET): Use it.
14032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14033 Correct save location of integer regs and cr.
14034 (_dl_profile_resolve): Correct cr save location. Delete nops
14035 after bl when SHARED. Reduce cfi size a little by better
14036 placement of cfi directives.
14037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14038 make a stack frame. Instead use parm save area as a temp.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14040 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14042 Don't make a stack frame for parent, use parm save area.
14043 Increase child stack frame to 112 bytes. Don't save unused reg,
14044 and adjust reg usage. Set up cfi on error recovery and
14045 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14047 (__makecontext): Add dummy nop after jump to exit.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14049 Use correct parm save area and cr save, reduce stack frame.
14050 Correct cfi for possible PSEUDO_RET frame setup.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14052 Branch to local label emitted by PSEUDO_RET rather than
14055 2010-08-12 Andreas Schwab <schwab@redhat.com>
14058 * locale/programs/locale.c (print_assignment): New function.
14059 (show_locale_vars): Use it.
14061 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14063 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14065 (struct statfs64): Likewise.
14066 (_STATFS_F_FLAGS): Define.
14067 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14069 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14070 (ST_VALID): Define locally.
14071 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14072 __statvfs_getflags, use the provided value.
14073 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14074 __ASSUME_STATFS_F_FLAGS.
14076 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14079 Add sys/fanotify.h.
14080 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14081 fanotify_mask for GLIBC_2.13.
14082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14083 fanotify_init and fanotify_mark.
14084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14085 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14087 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14089 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14090 prlimit64 for GLIBC_2.13.
14091 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14097 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14098 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14101 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14104 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14105 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14107 * nss/Makefile: Add rules to build and run tst-nss-test1.
14108 * shlib-versions: Add entry for libnss_test1.
14109 * nss/nss_test1.c: New file.
14110 * nss/tst-nss-test1.c: New file.
14112 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14113 (__nss_configure_lookup): Set appropriate entry in
14114 __nss_configure_lookup to true.
14115 * nss/nsswitch.h: Define enum with indeces of databases in
14116 databases and __nss_database_custom arrays. Declare
14117 __nss_database_custom.
14118 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14119 to avoid using nscd when custom rules are installed.
14120 * nss/getXXbyYY_r.c: Likewise.
14121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14123 * nss/nss_files/files-parse.c: Whitespace fixes.
14125 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14128 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14129 * posix/fnmatch_loop.c: Likewise.
14131 2010-07-17 Andi Kleen <ak@linux.intel.com>
14133 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14134 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14135 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14136 * Versions.def [GLIBC_2.13]: Add.
14138 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14140 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14141 Also fail if tpwd after pwuid call is NULL.
14143 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14145 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14146 when converting to ms.
14148 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14150 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14151 EOPNOTSUPP errors with ENOTTY.
14152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14153 EOPNOTSUPP errors with ENOTTY.
14155 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14157 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14158 Add strcasecmp_l-ssse3.
14159 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14161 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14162 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14163 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14165 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14167 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14169 * string/Makefile (strop-tests): Add strcasecmp.
14170 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14171 strcasecmp_l-nonascii.
14172 (gen-as-const-headers): Add locale-defines.sym.
14173 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14174 * sysdeps/x86_64/strcasecmp.S: New file.
14175 * sysdeps/x86_64/strcasecmp_l.S: New file.
14176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14177 * sysdeps/x86_64/locale-defines.sym: New file.
14178 * string/test-strcasecmp.c: New file.
14180 * string/test-strcasestr.c: Test both ends of the range of characters.
14181 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14183 2010-07-29 Roland McGrath <roland@redhat.com>
14186 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14188 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14190 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14193 2010-07-27 Andreas Schwab <schwab@redhat.com>
14195 * manual/memory.texi (Malloc Tunable Parameters): Document
14198 2010-07-26 Roland McGrath <roland@redhat.com>
14201 * configure.in (-fgnu89-inline check): Set and substitute
14202 gnu89_inline, not libc_cv_gnu89_inline.
14203 * configure: Regenerated.
14204 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14206 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14208 * string/test-strnlen.c: New file.
14209 * string/Makefile (strop-tests): Add strnlen.
14210 * string/tester.c (test_strnlen): Add a few more test cases.
14211 * string/tst-strlen.c: Better error reporting.
14213 * sysdeps/x86_64/strnlen.S: New file.
14215 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14218 lower-latency instructions.
14220 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14222 * string/test-strcasestr.c: New file.
14223 * string/test-strstr.c: New file.
14224 * string/Makefile (strop-tests): Add strstr and strcasestr.
14225 * string/str-two-way.h: Don't undefine MAX.
14226 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14228 2010-07-21 Andreas Schwab <schwab@redhat.com>
14230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14231 strcasestr-nonascii.
14232 (CFLAGS-strcasestr-nonascii.c): Define.
14233 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14235 Remove unused attribute.
14237 2010-07-20 Roland McGrath <roland@redhat.com>
14239 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14240 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14241 ld.so.cache was broken. With it, there is no way to disable dsocaps
14242 like LD_HWCAP_MASK can disable hwcaps.
14244 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14246 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14248 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14250 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14251 call in strcasestr.
14252 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14253 __strcasestr_sse42_nonascii.
14254 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14255 strcasestr-nonascii.c.
14256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14258 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14262 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14265 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14270 2010-07-06 Andreas Schwab <schwab@redhat.com>
14273 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14276 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14279 _PC_PIPE_BUF using F_GETPIPE_SZ.
14281 2010-07-05 Roland McGrath <roland@redhat.com>
14283 * manual/arith.texi (Rounding Functions): Fix rint description
14284 implicit in round description.
14286 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14288 * elf/Makefile: Fix linking for a few tests to make recent linker
14291 2010-06-30 Andreas Schwab <schwab@redhat.com>
14293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14294 $(common-objpfx)libc_nonshared.a.
14296 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14298 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14299 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14300 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14301 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14302 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14304 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14320 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14321 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14322 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14323 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14324 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14325 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14326 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14327 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14328 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14329 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14330 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14331 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14347 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14349 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14350 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14351 * string/memmove.c (memmove): Renamed to ...
14352 (MEMMOVE): ...this. Default to memmove.
14353 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14354 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14357 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14358 mempcpy-ssse3-back memmove-ssse3-back.
14359 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14362 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14363 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14364 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14365 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14366 * sysdeps/x86_64/multiarch/memmove.c: New file.
14367 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14368 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14369 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14370 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14374 (index_Fast_Copy_Backward): Define.
14375 (HAS_ARCH_FEATURE): Define.
14376 (HAS_FAST_REP_STRING): Define.
14377 (HAS_FAST_COPY_BACKWARD): Define.
14379 2010-06-21 Andreas Schwab <schwab@redhat.com>
14381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14382 Restore proper fallback handling.
14384 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14387 * posix/group_member.c (__group_member): Correct checking loop.
14389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14390 OOM in getpwuid_r correctly. Return error number when the caller
14391 should return, otherwise -1.
14392 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14393 call returning > 0 value.
14394 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14396 2010-06-07 Andreas Schwab <schwab@redhat.com>
14398 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14399 libc_nonshared.a from targets in modules-names.
14401 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14403 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14406 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14413 2010-06-02 Andreas Schwab <schwab@redhat.com>
14415 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14417 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14428 2010-06-14 Roland McGrath <roland@redhat.com>
14430 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14432 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14434 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14435 __REDIRECT followed by __THROW.
14436 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14437 * posix/getopt.h (getopt): Likewise.
14439 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14441 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14442 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14443 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14445 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14446 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14448 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14452 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14456 Properly check family and model.
14458 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14460 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14462 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14464 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14466 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14468 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14471 2010-05-19 Andreas Schwab <schwab@redhat.com>
14473 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14476 2010-05-21 Andreas Schwab <schwab@redhat.com>
14478 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14479 and internal_recvmmsg.
14480 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14481 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14483 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14485 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14486 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14487 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14489 2010-05-20 Andreas Schwab <schwab@redhat.com>
14491 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14493 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14495 POWER7 optimizations.
14496 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14497 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14499 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14501 * version.h: Update for 2.13 development version.
14503 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14505 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14506 exceptions. Return 0.
14508 2010-05-07 Roland McGrath <roland@redhat.com>
14510 * elf/ldconfig.c (main): Add a const.
14512 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14514 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14515 (args_options): Add no-idn option.
14516 (ahosts_keys_int): Add idn_flags to ai_flags.
14517 (parse_option): Handle 'i' option to clear idn_flags.
14519 * malloc/malloc.c (_int_free): Possible race in the most recently
14520 added check. Only act on the data if no current modification
14523 See ChangeLog.17 for earlier changes.