1 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10 powerpc32/power7/fpu/s_logb.c via #include.
11 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12 powerpc32/power7/fpu/s_logbf.c via #include.
13 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14 powerpc32/power7/fpu/s_logbl.c via #include.
16 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18 * README.libm: Remove file.
20 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23 count for x32. Use R*_LP and omit operand-size suffix.
25 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29 * sysdeps/x86_64/x32/shlib-versions: New file.
31 2012-05-14 Roland McGrath <roland@hack.frob.com>
33 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35 Use _dl_fatal_printf instead.
37 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40 set if not set by the user. Do not allow for being unset.
41 * sysdeps/unix/sysv/linux/configure: Regenerated.
43 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46 the `q' suffix from lea and replace .quad with ASM_ADDR.
48 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
53 (PTR_DEMANGLE): Likewise.
55 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
77 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79 * sysdeps/x86_64/x32/dl-machine.h: New file.
81 2012-05-14 Andreas Jaeger <aj@suse.de>
83 * manual/Makefile (subdir): Remove export of subdir.
85 (.PHONY): Remove all from list.
86 (mkinstalldirs): Remove.
87 (.PHONY): Remove installdirs from list.
88 ($(inst_infodir)/libc.info): Use make-target-directory.
89 (installdirs): Remove.
91 (glibc-targets): Remove.
94 ($(objpfx)stubs ../po/manual.pot): Remove.
95 ($(objpfx)stamp%): Remove.
96 (make-target-directory): Remove.
97 (subdir_install): Remove.
105 * manual/.gitignore: Remove, it's not needed anymore.
106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
110 (texis): Renamed to $(objpfx)texis.
111 (texis-path): New, contains path to generated files.
112 (chapters.%): Use texis-path for complete path, add extra argument
114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
116 (summary,texi, stamp-summary): Use complete path of
117 files. Generate files in build dir.
118 (dir-add.texi): Build in build dir.
119 (libm-err.texi,stamp-libm-err): Likewise.
120 (version.texi, stamp-version): Likewise.
121 (.%c.texi): Likewise.
122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
123 (mostlyclean): Remove target.
124 (realclean): Remove target.
125 (generated): Add new variable with contents from mostlyclean and
126 realclean, remove entries duplicated in common-mostlyclean, add
127 stamp-libm-err and stamp-version.
128 (generated-dirs): Add libc directory.
129 ($(inst_infodir)/libc.info): Install files from build dir.
131 * manual/install.texi (Configuring and compiling): Adjust since
132 the info files are not part of the tar ball anymore.
134 2012-05-14 Andreas Jaeger <aj@suse.de>
136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
143 to 2.2.0 where earlier.
144 * sysdeps/unix/sysv/linux/configure: Regenerated.
145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
146 Remove conditional code.
147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
149 Remove conditional code.
150 [!__NR_lchown]: Likewise.
151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
152 [__NR_lchown]: Likewise.
153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
154 comment referencing __ASSUME_LCHOWN_SYSCALL.
155 * sysdeps/unix/sysv/linux/i386/sigaction.c
156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
159 Remove conditional code.
160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
161 (__protocol_available): Remove #if 0 code.
162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
165 * sysdeps/unix/sysv/linux/kernel-features.h
166 (__ASSUME_GETCWD_SYSCALL): Don't define.
167 (__ASSUME_REALTIME_SIGNALS): Likewise.
168 (__ASSUME_PREAD_SYSCALL): Likewise.
169 (__ASSUME_PWRITE_SYSCALL): Likewise.
170 (__ASSUME_POLL_SYSCALL): Likewise.
171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
174 (__ASSUME_SIOCGIFNAME): Don't define.
175 (__ASSUME_MSG_NOSIGNAL): Likewise.
176 (__ASSUME_SENDFILE): Define unconditionally.
177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
212 Remove conditional code.
213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
215 Remove conditional code.
216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
220 Remove conditional code.
221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
223 Remove conditional code.
224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
226 Remove conditional code.
227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
229 Remove conditional code.
230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
232 Remove conditional code.
233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
237 * sysdeps/unix/sysv/linux/sigaction.c
238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
240 * sysdeps/unix/sysv/linux/sigpending.c
241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
243 * sysdeps/unix/sysv/linux/sigprocmask.c
244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
246 * sysdeps/unix/sysv/linux/sigsuspend.c
247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
250 (__libc_missing_rt_sigs): Remove.
251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
254 Remove conditional code.
255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
263 2012-05-14 Andreas Jaeger <aj@suse.de>
265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
266 it's not used in glibc.
267 (__coshm1): Likewise.
268 (__acosh1p): Likewise.
271 * manual/string.texi (Copying and Concatenation): Add missing
272 variable in concat example.
273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
279 __builtin_clzl with __builtin_clzll.
281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
287 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
294 2012-05-14 Mike Frysinger <vapier@gentoo.org>
296 * NEWS: Update ia64 info.
298 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
303 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
306 * sysdeps/unix/syscalls.list (dup3): Likewise.
307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
310 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
319 (TLS_IE): Use mov/add instead of movq/addq to load thread
321 (TLS_GD_PREFIX): New.
324 2012-05-11 David S. Miller <davem@davemloft.net>
326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
328 (_FPU_SETCW): Likewise.
330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
335 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
338 * iconvdata/gb18030.c: Update tables.
339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
340 characters specially.
341 (BODY for TO_LOOP): Add encoding of missing ranges.
343 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
347 * sysdeps/mach/hurd/dup3.c: Likewise.
348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
349 * sysdeps/powerpc/memmove.c:: Likewise.
351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
358 * elf/elf.h (R_X86_64_RELATIVE64): New.
359 (R_X86_64_NUM): Updated.
360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
364 tst-quad1pie tst-quad2pie
365 (modules-names): Add tst-quadmod1 tst-quadmod2.
366 ($(objpfx)tst-quad1): New dependency.
367 ($(objpfx)tst-quad2): Likewise.
368 ($(objpfx)tst-quad1pie): Likewise.
369 ($(objpfx)tst-quad2pie): Likewise.
370 * sysdeps/x86_64/tst-quad1.c: New file.
371 * sysdeps/x86_64/tst-quad1pie.c: New file.
372 * sysdeps/x86_64/tst-quad2.c: Likewise.
373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
383 * streams/stropts.h (t_scalar_t): Define type.
385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
386 (_PATH_PRESERVE): Set to "/var/lib".
387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
393 if __dir_mkfile succeeded.
395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
396 checking for _hurd_dtablesize. Unlock it right after having
397 finished _hurd_dtable allocation.
399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
402 * sysdeps/mach/hurd/configure: Regenerated.
403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
405 * sysdeps/gnu/configure.in: ... this new file.
406 * sysdeps/unix/sysv/linux/configure: Regenerated.
407 * sysdeps/gnu/configure: New generated file.
409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
410 for Linux: use nsec instead of usec, as well as:
411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
412 members of type struct timespec.
413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
415 (struct stat64): Likewise.
416 (_STATBUF_ST_NSEC): New macro.
417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
420 __strtoul_internal rather than strtoul.
422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
430 which preserves existing values.
431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
436 TIMEOUT values. Return EINVAL for NFDS values either negative or
437 greater than FD_SETSIZE.
439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
442 allocated, call __vm_protect to finish enabling the existing space, and
443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
444 allocate the remainder.
446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
454 sysdeps/mach/hurd/readlink.c.
456 * posix/tst-sysconf.c (posix_options): Only use
457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
458 _POSIX_SYNCHRONIZED_IO when they are defined
459 * sysdeps/mach/hurd/bits/posix_opt.h:
460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
461 (_XOPEN_REALTIME): Undefine macro.
462 (_XOPEN_REALTIME_THREADS): Undefine macro.
463 (_XOPEN_SHM): Undefine macro.
464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
468 (_POSIX_ASYNC_IO): Undefine macro.
469 (_POSIX_PRIORITIZED_IO): Undefine macro.
470 (_POSIX_SPIN_LOCKS): Define macro to -1.
472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
473 SA_NODEFER, SA_RESETHAND.
474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
480 * elf/Makefile (pldd-modules): Define unconditionally.
482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
489 Return ENOENT when name is empty.
490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
500 Fix mlock in all cases except non-readable pages.
501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
502 instead of VM_PROT_ALL as parameter to __vm_wire function.
504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
505 (__mkdir): When path is `/', just fail with EEXIST.
506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
511 <sys/uio.h> (for writev).
512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
513 and <sys/param.h> (for MIN).
515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
518 REQUESTED_TIME. Properly set the remaining time and return EINTR
521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
524 Depend on against $(link-rpcuserlibs).
526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
529 (__libc_stack_end): Do not use attribute_relro.
530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
532 to libthread-provided value.
533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
539 * bits/libc-lock.h (__libc_once_get): New macro.
540 * sysdeps/mach/bits/libc-lock.h: Likewise.
541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
543 instead of using implementation details.
545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
546 * libio/freopen.c: Likewise.
547 * libio/freopen64.c: Likewise.
548 * misc/syslog.c: Likewise.
549 * nscd/connections.c: Likewise.
550 * nscd/netgroupcache.c: Likewise.
551 * sysdeps/posix/getcwd.c: Likewise.
553 2012-05-10 Roland McGrath <roland@hack.frob.com>
555 * math/w_ilogbf.c: Add #include <limits.h>.
557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
560 path instead of returning without unlocking.
562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
563 immediate-write ioctls.
564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
569 __builtin_frame_address instead of making assumptions about the
570 location of the return address relative to DATA. Force early load of
572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
573 __builtin_frame_address.
576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
578 implement dup3 and do some further code clean-ups.
579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
595 when handler == SIG_ERR, not when handler != SIG_ERR.
597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
603 accept4 for GNU Hurd.
604 * include/sys/socket.h (__libc_accept4): New prototype.
605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
606 to implement __libc_accept4.
607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
623 assertion on O_CLOEXEC flag.
624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
625 * hurd/intern-fd.c: Likewise.
626 * hurd/port2fd.c: Likewise.
628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
631 * bits/in.h (IPV6_PKTINFO): Define new macro.
632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
634 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
645 * math/libm-test.inc (logb_test) : Additional logb tests.
647 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
648 Andreas Jaeger <aj@suse.de>
650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
651 * configure: Regenerated.
652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
653 * config.make.in (link-obsolete-rpc): New substituted variable.
654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
658 so that libc.a contains the symbols.
659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
661 * sunrpc/auth_none.c: Likewise.
662 * sunrpc/auth_unix.c: Likewise.
663 * sunrpc/authdes_prot.c: Likewise.
664 * sunrpc/authuxprot.c: Likewise.
665 * sunrpc/clnt_gen.c: Likewise.
666 * sunrpc/clnt_perr.c: Likewise.
667 * sunrpc/clnt_raw.c: Likewise.
668 * sunrpc/clnt_simp.c: Likewise.
669 * sunrpc/clnt_tcp.c: Likewise.
670 * sunrpc/clnt_udp.c: Likewise.
671 * sunrpc/clnt_unix.c: Likewise.
672 * sunrpc/des_crypt.c: Likewise.
673 * sunrpc/des_soft.c: Likewise.
674 * sunrpc/get_myaddr.c: Likewise.
675 * sunrpc/key_call.c: Likewise.
676 * sunrpc/key_prot.c: Likewise.
677 * sunrpc/netname.c: Likewise.
678 * sunrpc/pm_getmaps.c: Likewise.
679 * sunrpc/pm_getport.c: Likewise.
680 * sunrpc/pmap_clnt.c: Likewise.
681 * sunrpc/pmap_prot.c: Likewise.
682 * sunrpc/pmap_prot2.c: Likewise.
683 * sunrpc/pmap_rmt.c: Likewise.
684 * sunrpc/publickey.c: Likewise.
685 * sunrpc/rpc_cmsg.c: Likewise.
686 * sunrpc/rpc_common.c: Likewise.
687 * sunrpc/rpc_dtable.c: Likewise.
688 * sunrpc/rpc_prot.c: Likewise.
689 * sunrpc/rpc_thread.c: Likewise.
690 * sunrpc/rtime.c: Likewise.
691 * sunrpc/svc.c: Likewise.
692 * sunrpc/svc_auth.c: Likewise.
693 * sunrpc/svc_raw.c: Likewise.
694 * sunrpc/svc_run.c: Likewise.
695 * sunrpc/svc_tcp.c: Likewise.
696 * sunrpc/svc_udp.c: Likewise.
697 * sunrpc/svc_unix.c: Likewise.
698 * sunrpc/svcauth_des.c: Likewise.
699 * sunrpc/xcrypt.c: Likewise.
700 * sunrpc/xdr.c: Likewise.
701 * sunrpc/xdr_array.c: Likewise.
702 * sunrpc/xdr_float.c: Likewise.
703 * sunrpc/xdr_intXX_t.c: Likewise.
704 * sunrpc/xdr_mem.c: Likewise.
705 * sunrpc/xdr_rec.c: Likewise.
706 * sunrpc/xdr_ref.c: Likewise.
707 * sunrpc/xdr_sizeof.c: Likewise.
708 * sunrpc/xdr_stdio.c: Likewise.
710 2012-05-10 Roland McGrath <roland@hack.frob.com>
712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
713 change. Update copyright years.
715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
719 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
720 Joseph Myers <joseph@codesourcery.com>
721 Paul Pluzhnikov <ppluzhnikov@google.com>
724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
726 [cross-compiling] (extra-libs): Likewise.
727 [cross-compiling] (extra-libs-others): Likewise.
728 [cross-compiling] (librpcsvc-routines): Likewise.
729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
730 [cross-compiling] (omit-deps): Likewise.
731 (sunrpc-CPPFLAGS): New variable.
732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
734 (cross-rpcgen-objs): New variable.
735 (extra-objs): Append $(cross-rpcgen-objs).
736 ($(cross-rpcgen-objs)): New rule.
737 ($(objpfx)cross-rpcgen): Likewise.
738 (rpcgen-cmd): Define to use $(built-program-file). Expand
740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
741 ($(objpfx)x%.stmp): Likewise.
742 * sunrpc/proto.h [IS_IN_build] (_): Define.
743 [IS_IN_build] (_libc_intl_domainname): Likewise.
745 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
749 and R_X86_64_TPOFF64.
751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
754 sysdeps/unix/sysv/syscalls.list.
757 * sysdeps/unix/sysv/syscalls.list: Remove file.
759 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
765 (__LC_IDENTIFICATION): Make these macros useful in #if
766 expressions, as required by C99.
768 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
774 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
776 * stdlib/longlong.h: Updated from GCC.
778 2012-05-09 Andreas Jaeger <aj@suse.de>
780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
781 default is first entry.
782 (run_mode): Set type.
783 (main): Remove informal message about syslog.
787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
794 (nearbyint): Likewise.
795 (nearbyintf): Likewise.
797 2012-05-09 Andreas Jaeger <aj@suse.de>
798 Pedro Alves <palves@redhat.com>
800 * nscd/nscd.c (run_mode): Use enum.
801 (main): Cleanup coding style issue.
803 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
804 Andreas Jaeger <aj@suse.de>
806 * nscd/nscd.c (go_background): Replaced with...
807 (run_mode): ... this.
808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
809 (options): Add -F --foreground.
810 (main): Implement it.
811 (parse_opt): Parse it.
813 2012-05-09 Andreas Jaeger <aj@suse.de>
816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
818 -Wconversion warning.
819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
822 2012-05-09 Joseph Myers <joseph@codesourcery.com>
824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
826 (LC_ALL): Use macro-int-constant.
827 (LC_COLLATE): Likewise.
828 (LC_CTYPE): Likewise.
829 (LC_MESSAGES): Likewise.
830 (LC_MONETARY): Likewise.
831 (LC_NUMERIC): Likewise.
833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
838 [C99-based standards] (float_t): Expect type.
839 [C99-based standards] (double_t): Expect type.
840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
842 [C99-based standards] (HUGE_VALL): Likewise.
843 [C99-based standards] (INFINITY): Likewise.
844 [C99-based standards] (NAN): Likewise.
845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
846 [C99-based standards] (FP_NAN): Likewise.
847 [C99-based standards] (FP_NORMAL): Likewise.
848 [C99-based standards] (FP_SUBNORMAL): Likewise.
849 [C99-based standards] (FP_ZERO): Likewise.
850 [C99-based standards] (FP_FAST_FMA): Use
851 optional-macro-int-constant. Specify type. Require == 1.
852 [C99-based standards] (FP_FAST_FMAF): Likewise.
853 [C99-based standards] (FP_FAST_FMAL): Likewise.
854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
855 [C99-based standards] (FP_ILOGBNAN): Likewise.
856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
859 [C99-based standards] (math_errhandling): Specify type.
860 [ISO99 || ISO11] (signgam): Do not allow.
861 [non-C99-based standards] (copysignf): Do not allow.
862 [non-C99-based standards] (exp2f): Likewise.
863 [non-C99-based standards] (log2f): Likewise.
864 [non-C99-based standards] (modff): Allow.
865 [non-C99-based standards] (erff): Do not allow.
866 [non-C99-based standards] (erfcf): Likewise.
867 [non-C99-based standards] (gammaf): Likewise.
868 [non-C99-based standards] (hypotf): Likewise.
869 [non-C99-based standards] (j0f): Likewise.
870 [non-C99-based standards] (j1f): Likewise.
871 [non-C99-based standards] (jnf): Likewise.
872 [non-C99-based standards] (lgammaf): Likewise.
873 [non-C99-based standards] (tgammaf): Likewise.
874 [non-C99-based standards] (y0f): Likewise.
875 [non-C99-based standards] (y1f): Likewise.
876 [non-C99-based standards] (ynf): Likewise.
877 [non-C99-based standards] (isnanf): Likewise.
878 [non-C99-based standards] (acoshf): Likewise.
879 [non-C99-based standards] (asinhf): Likewise.
880 [non-C99-based standards] (atanhf): Likewise.
881 [non-C99-based standards] (cbrtf): Likewise.
882 [non-C99-based standards] (expm1f): Likewise.
883 [non-C99-based standards] (ilogbf): Likewise.
884 [non-C99-based standards] (log1pf): Likewise.
885 [non-C99-based standards] (logbf): Likewise.
886 [non-C99-based standards] (nextafterf): Likewise.
887 [non-C99-based standards] (remainderf): Likewise.
888 [non-C99-based standards] (rintf): Likewise.
889 [non-C99-based standards] (scalbf): Likewise.
890 [non-C99-based standards] (copysignl): Likewise.
891 [non-C99-based standards] (exp2l): Likewise.
892 [non-C99-based standards] (log2l): Likewise.
893 [non-C99-based standards] (modfl): Allow.
894 [non-C99-based standards] (erfl): Do not allow.
895 [non-C99-based standards] (erfcl): Likewise.
896 [non-C99-based standards] (gammal): Likewise.
897 [non-C99-based standards] (hypotl): Likewise.
898 [non-C99-based standards] (j0l): Likewise.
899 [non-C99-based standards] (j1l): Likewise.
900 [non-C99-based standards] (jnl): Likewise.
901 [non-C99-based standards] (lgammal): Likewise.
902 [non-C99-based standards] (tgammal): Likewise.
903 [non-C99-based standards] (y0l): Likewise.
904 [non-C99-based standards] (y1l): Likewise.
905 [non-C99-based standards] (ynl): Likewise.
906 [non-C99-based standards] (isnanl): Likewise.
907 [non-C99-based standards] (acoshl): Likewise.
908 [non-C99-based standards] (asinhl): Likewise.
909 [non-C99-based standards] (atanhl): Likewise.
910 [non-C99-based standards] (cbrtl): Likewise.
911 [non-C99-based standards] (expm1l): Likewise.
912 [non-C99-based standards] (ilogbl): Likewise.
913 [non-C99-based standards] (log1pl): Likewise.
914 [non-C99-based standards] (logbl): Likewise.
915 [non-C99-based standards] (nextafterl): Likewise.
916 [non-C99-based standards] (remainderl): Likewise.
917 [non-C99-based standards] (rintl): Likewise.
918 [non-C99-based standards] (scalbl): Likewise.
919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
920 [non-C99-based standards] (FP_*): Do not allow.
921 [C99-based standards] (FP_*): Change to
922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
927 [X/Open-based standards] (SIG_HOLD): Likewise.
929 (SIGABRT): Use macro-int-constant. Specify type. Require
936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
954 [X/Open-based standards] (SIGTRAP): Likewise.
955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
962 2012-05-08 Ian Wienand <ianw@vmware.com>
965 * time/tzset.c (__tzset_parse_tz): Update default rules for
966 daylight time changes in the Energy Policy Act of 2005.
968 2012-05-09 Andreas Jaeger <aj@suse.de>
971 * elf/ldconfig.c (parse_conf): Change string to make clear that
972 ldconfig only issued a warning if ld.so.conf does not exist.
974 2012-05-08 David S. Miller <davem@davemloft.net>
976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
977 movxtod instead of popping the value on the stack.
979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
981 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
983 * config.h.in: Add HAVE_ARM_PCS_VFP.
985 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
989 checking but the checks are disabled for any reason.
991 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
994 and ELF64_R_TYPE with ELFW(R_TYPE).
996 2012-05-08 Joseph Myers <joseph@codesourcery.com>
998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1002 (settimeofday): Likewise.
1004 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1007 a struct th_u2 inside the union, and move tu_block/tu_code into
1008 a new th_u3 union of tu_block/tu_code inside of that. Move
1009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1013 (th_stuff): Change to th_u1.tu_stuff.
1015 (th_msg): Change to th_u1.th_u2.tu_data.
1017 2012-05-07 David S. Miller <davem@davemloft.net>
1019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1023 (SETUP_PIC_REG): Use it.
1024 (SETUP_PIC_REG_LEAF): Use it.
1026 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1032 (EXPL_FINITE): Likewise.
1034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1039 (EXPL_FINITE): Likewise.
1041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1045 test of -max_value argument for long double.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049 2012-05-06 David S. Miller <davem@davemloft.net>
1051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1052 quad soft-float symbols whose references which are compiler
1054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1056 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1062 (EXPL_FINITE): Likewise.
1066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1067 Adjust comments for base varying.
1068 (__expl_finite): Change alias to EXPL_FINITE.
1069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1077 (EXPL_FINITE): Likewise.
1081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1082 Adjust comments for base varying.
1083 (__expl_finite): Change alias to EXPL_FINITE.
1084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1089 * math/libm-test.inc (check_float_internal): Correct ulp
1090 calculation for subnormal expected results.
1092 2012-05-06 Andreas Jaeger <aj@suse.de>
1094 * Makeconfig (+math-flags): New, set to -frounding-math.
1095 (+cflags): Add +math-flags so that all of glibc gets compiled with
1098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1100 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1109 (__ieee754_expl): Allow for and saturate large arguments.
1110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1111 (u_threshold): Likewise.
1112 (__exp): Call __ieee754_exp before checking for overflow and
1114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1115 (u_threshold): Likewise.
1116 (__expf): Call __ieee754_expf before checking for overflow and
1118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1119 (u_threshold): Likewise.
1120 (__expl): Call __ieee754_expl before checking for overflow and
1122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1123 (__ieee754_expl): Allow for and saturate large arguments.
1124 * math/libm-test.inc (exp_test): Add another test. Do not allow
1125 missing overflow exception on overflow.
1126 (expm1_test): Do not allow missing overflow exception on overflow.
1128 * sysdeps/i386/fpu/e_expl.c: Move to ...
1129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1130 rather than using inline asm.
1131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1145 sysdeps/unix/common/syscalls.list.
1148 (ftruncate): Likewise.
1149 (getrusage): Likewise.
1150 (gettimeofday): Likewise.
1151 (setpgid): Likewise.
1152 (setregid): Likewise.
1153 (setreuid): Likewise.
1154 (sigaction): Likewise.
1155 (truncate): Likewise.
1156 (vhangup): Likewise.
1157 * sysdeps/unix/common/syscalls.list: Remove file.
1158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1159 * sysdeps/unix/sysv/linux/Implies: Likewise.
1161 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/unix/common/bits/dirent.h: Remove file.
1209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1214 * sysdeps/unix/bsd/isatty.c: Likewise.
1215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1219 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1223 long double comparison inaccuracies.
1224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1227 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1236 nonzero digits before rounding a hex value.
1237 * stdlib/tst-strtod.c (tests): Add another test.
1239 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1241 * sysdeps/s390/fpu/libm-test-ulps: Update.
1243 2012-05-03 Andreas Jaeger <aj@suse.de>
1245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1246 does not get optimized out.
1247 (malloc_opt_barrier): New.
1249 2012-05-03 Andreas Jaeger <aj@suse.de>
1250 Roland McGrath <roland@hack.frob.com>
1252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1253 intermediate file deletion.
1254 (generated): Add .symlist files.
1256 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1260 Redirect under this condition.
1261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1262 [__USE_GNU] (__dprintf_chk): Not under this condition.
1263 [__USE_GNU] (__vdprintf_chk): Likewise.
1264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1265 under this condition.
1266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1268 [__USE_XOPEN2K8] (vdprintf): Likewise.
1269 [__USE_GNU] (__dprintf_chk): Not under this condition.
1270 [__USE_GNU] (__vdprintf_chk): Likewise.
1271 [__USE_GNU] (dprintf): Likewise.
1272 [__USE_GNU] (vdprintf): Likewise.
1274 2012-05-03 Roland McGrath <roland@hack.frob.com>
1276 * elf/Makefile (common-generated): Set this instead of generated for
1277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1278 $(all-built-dso)-derived lists.
1280 2012-05-03 Andreas Jaeger <aj@suse.de>
1282 * sysdeps/i386/fpu/libm-test-ulps: Update.
1286 * scripts/gen-FAQ.pl: Likewise.
1287 * manual/install.texi (Installation): Point to online location of
1289 * Makefile (files-for-dist): Remove FAQ.
1292 2012-05-02 Allan McRae <allan@archlinux.org>
1294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1295 (LDFLAGS-reldepmod5.so): Likewise.
1296 (LDFLAGS-reldep6mod1.so): Likewise.
1297 (LDFLAGS-reldep6mod4.so): Likewise.
1298 (LDFLAGS-reldep8mod3.so): Likewise.
1299 (LDFLAGS-unload4mod1.so): Likewise.
1300 (LDFLAGS-unload4mod2.so): Likewise.
1301 (LDFLAGS-tst-initorder): Likewise.
1302 (LDFLAGS-tst-initordera2.so): Likewise.
1303 (LDFLAGS-tst-initordera3.so): Likewise.
1304 (LDFLAGS-tst-initordera4.so): Likewise.
1305 (LDFLAGS-tst-initorderb2.so): Likewise.
1306 (LDFLAGS-noload): Likewise.
1307 (LDFLAGS-next): Likewise.
1308 (LDFLAGS-order2mod1.so): Likewise.
1309 (LDFLAGS-order2mod2.so): Likewise.
1310 (LDFLAGS-tst-initorder2): Likewise.
1311 (LDFLAGS-tst-initorder2a.so): Likewise.
1312 (LDFLAGS-tst-initorder2b.so): Likewise.
1313 (LDFLAGS-tst-initorder2c.so): Likewise.
1314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1316 2012-05-02 David S. Miller <davem@davemloft.net>
1318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1320 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1325 2012-05-02 Andreas Jaeger <aj@suse.de>
1327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1328 since we manipulate rounding mode.
1329 (CPPFLAGS-test-idouble.c): Likewise.
1330 (CPPFLAGS-test-ifloat.c): Likewise.
1331 (CFLAGS-test-ldouble.c): Likewise.
1332 (CFLAGS-test-double.c): Likewise.
1333 (CFLAGS-test-float.c): Likewise.
1334 (CFLAGS-test-misc.c): Likewise.
1335 (CFLAGS-test-test-fenv.c): Likewise.
1337 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1342 comparisons to determine direction to adjust input.
1344 2012-05-01 Roland McGrath <roland@hack.frob.com>
1346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1347 output to the target.
1349 * scripts/localplt.awk: New file.
1350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1351 (check-localplt-CFLAGS): Variable removed.
1352 ($(all-built-dso:=.jmprel)): New static pattern rule.
1353 (generated): Add those targets.
1354 (localplt-built-dso): New variable.
1355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1357 * elf/check-localplt.c: File removed.
1359 * scripts/check-execstack.awk: New file.
1360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1361 (check-execstack-CFLAGS): Variable removed.
1362 ($(objpfx)check-execstack.h): Target removed.
1363 ($(objpfx)execstack-default): New target.
1364 (generated): Add that instead of check-execstack.h.
1365 ($(all-built-dso:=.phdr)): New static pattern rule.
1366 (generated): Add those targets.
1367 * elf/check-execstack.c: File removed.
1369 * scripts/check-textrel.awk: New file.
1370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1371 (check-textrel-CFLAGS): Variable removed.
1372 (all-built-dso): Use := to define.o
1373 ($(all-built-dso:=.dyn)): New static pattern rule.
1374 (generated): Add those targets.
1375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1376 * config.make.in (READELF): New substituted variable.
1377 * elf/check-textrel.c: File removed.
1379 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1383 * conform/data/ctype.h-data [C99-based standards] (isblank):
1385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1389 Specify type. Require positive value.
1392 [ISO || POSIX] (EILSEQ): Do not expect.
1393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1394 Specify type. Require positive value.
1395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1473 (FLT_ROUNDS): Expect as macro, not constant.
1474 (FLT_MANT_DIG): Use macro-int-constant.
1475 (DBL_MANT_DIG): Likewise.
1476 (LDBL_MANT_DIG): Likewise.
1477 (FLT_DIG): Likewise.
1478 (DBL_DIG): Likewise.
1479 (LDBL_DIG): Likewise.
1480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1481 (DBL_MIN_EXP): Likewise.
1482 (LDBL_MIN_EXP): Likewise.
1483 (FLT_MAX_EXP): Use macro-int-constant.
1484 (DBL_MAX_EXP): Likewise.
1485 (LDBL_MAX_EXP): Likewise.
1486 (FLT_MAX_10_EXP): Likewise.
1487 (DBL_MAX_10_EXP): Likewise.
1488 (LDBL_MAX_10_EXP): Likewise.
1489 (FLT_MAX): Use macro-constant.
1490 (DBL_MAX): Likewise.
1491 (LDBL_MAX): Likewise.
1492 (FLT_EPSILON): Use macro-constant. Give upper bound.
1493 (DBL_EPSILON): Likewise.
1494 (LDBL_EPSILON): Likewise.
1495 (FLT_MIN): Likewise.
1496 (DBL_MIN): Likewise.
1497 (LDBL_MIN): Likewise.
1498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1507 [ISO11] (FLT_TRUE_MIN): Likewise.
1508 [ISO11] (LDBL_TRUE_MIN): Likewise.
1509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1511 (SCHAR_MIN): Use macro-int-constant. Specify type.
1512 (SCHAR_MAX): Likewise.
1513 (UCHAR_MAX): Likewise.
1514 (CHAR_MIN): Likewise.
1515 (CHAR_MAX): Likewise.
1516 (MB_LEN_MAX): Use macro-int-constant.
1517 (SHRT_MIN): Use macro-int-constant. Specify type.
1518 (SHRT_MAX): Likewise.
1519 (USHRT_MAX): Likewise.
1520 (INT_MAX): Likewise.
1521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1528 bound negative. Suffix upper bound with "L".
1529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1533 [C99-based standards] (LLONG_MAX): Likewise.
1534 [C99-based standards] (ULLONG_MAX): Likewise.
1535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1537 [ISO11] (max_align_t): Require type.
1538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1541 from $CFLAGS, without defining away __attribute__ calls.
1542 (checknamespace): Use $CFLAGS_namespace.
1544 * conform/conformtest.pl (@keywords): Only include C99 keywords
1545 for standards based on C99 or C11.
1547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1553 usability of symbols in #if.
1555 * conform/conformtest.pl: If macro or constant types start
1556 "promoted:", expect the symbol to be of the following type
1557 promoted by the integer promotions.
1559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1560 in one place. Also handle "macro-constant".
1562 * conform/conformtest.pl: Only accept expected macro values with
1563 "==". Parse all "macro" lines in one place.
1564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1566 * conform/conformtest.pl: Handle braced types on "constant" lines
1567 instead of handling "typed-constant".
1568 * conform/data/signal.h-data: Use "constant" instead of
1571 * conform/conformtest.pl: Handle "optional-" at start of lines in
1572 one place rather than duplicating several cases. Handle each
1573 format of "macro" line with initial "optional-".
1575 * conform/conformtest.pl: Only accept expected constant or
1576 optional-constant values with "==". Parse all "constant" lines in
1577 one place. Parse all "optional-constant" lines in one place.
1578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1579 * conform/data/fmtmsg.h-data: Likewise.
1580 * conform/data/netinet/in.h-data: Likewise.
1581 * conform/data/tar.h-data: Likewise.
1582 * conform/data/limits.h-data: Use "==" form on "constant" and
1583 "optional-constant" lines.
1585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1586 Use -std=c99 for XOPEN2K.
1587 (@knownproblems): Remove.
1588 (newtoken): Don't check %isknown.
1590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1591 Do not expect macro.
1592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1622 [XPG3] (acosh): Likewise.
1623 [XPG3] (asinh): Likewise.
1624 [XPG3] (atanh): Likewise.
1625 [XPG3] (cbrt): Likewise.
1626 [XPG3] (expm1): Likewise.
1627 [XPG3] (ilogb): Likewise.
1628 [XPG3] (log1p): Likewise.
1629 [XPG3] (logb): Likewise.
1630 [XPG3] (nextafter): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1633 [XPG3] (remainder): Likewise.
1634 [XPG3] (rint): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1642 [UNIX98 || XOPEN2K] (scalb): Expect.
1643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1782 _XOPEN_SOURCE_EXTENDED for XPG4.
1784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1786 * Makeconfig (localtime): Remove variable.
1787 (inst_localtime-file): Likewise.
1789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1815 comparisons to determine direction to adjust input.
1816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1829 * math/libm-test.inc (nexttoward_test): Add more tests.
1831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1835 in version GLIBC_2.1, not GLIBC_2.0.
1836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1839 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1846 * math/libm-test.inc (acos_test): Add more tests.
1847 (asin_test): Likewise.
1848 * sysdeps/i386/fpu/libm-test-ulps: Update.
1849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1856 * math/libm-test.inc (acos_test_tonearest): New function.
1857 (acos_test_towardzero): Likewise.
1858 (acos_test_downward): Likewise.
1859 (acos_test_upward): Likewise.
1860 (asin_test_tonearest): Likewise.
1861 (asin_test_towardzero): Likewise.
1862 (asin_test_downward): Likewise.
1863 (asin_test_upward): Likewise.
1864 (main): Call the new functions.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1870 * math/e_exp10.c: Include <float.h>.
1871 (__ieee754_exp10): Handle underflow here rather than multiplying
1872 large negative argument by M_LN10.
1873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1875 * math/e_exp10l.c: Include <float.h>.
1876 (__ieee754_exp10l): Handle underflow here rather than multiplying
1877 large negative argument by M_LN10l.
1878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1879 spurious overflow exception on underflow.
1881 2012-04-29 Marek Polacek <polacek@redhat.com>
1883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1884 (__fortify_function): New macro.
1885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1887 __extern_always_inline.
1888 * libio/bits/stdio2.h: Likewise.
1889 * libio/bits/stdio.h: Likewise.
1890 * string/string.h: Likewise.
1891 * string/bits/string3.h: Likewise.
1892 * include/stdio.h: Likewise.
1893 * stdlib/bits/stdlib.h: Likewise.
1894 * stdlib/stdlib.h: Likewise.
1895 * rt/bits/mqueue2.h: Likewise.
1896 * rt/mqueue.h: Likewise.
1897 * posix/bits/unistd.h: Likewise.
1898 * posix/unistd.h: Likewise.
1899 * io/bits/poll2.h: Likewise.
1900 * io/bits/fcntl2.h: Likewise.
1901 * io/fcntl.h: Likewise.
1902 * io/sys/poll.h: Likewise.
1903 * misc/bits/syslog.h: Likewise.
1904 * misc/bits/syslog-ldbl.h: Likewise.
1905 * misc/sys/syslog.h: Likewise.
1906 * socket/bits/socket2.h: Likewise.
1907 * socket/sys/socket.h: Likewise.
1908 * debug/tst-chk1.c: Likewise.
1909 * wcsmbs/bits/wchar2.h: Likewise.
1910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1911 * wcsmbs/wchar.h: Likewise.
1913 2012-04-29 Andreas Jaeger <aj@suse.de>
1915 * Makerules (tests): Remove enable-check-abi protection.
1916 (check-abi-warn): Remove.
1917 (check-abi-%): Remove check-abi-warn usage.
1919 * configure.in: Remove check-abi configure option.
1920 * configure: Regenerated.
1921 * config.make.in (enable-check-abi): Remove.
1923 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1927 double functions to double *_finite functions.
1930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1933 * stdio-common/Makefile (tests): Add tst-sprintf3.
1934 * stdio-common/tst-sprintf3.c: New file.
1936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1939 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1941 * conform/conformtest.pl: Remove duplicate typed-constant
1944 2012-04-28 David S. Miller <davem@davemloft.net>
1946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1947 (check-abi-%): Remove AWK script prerequisite and explicit
1949 (check-abi): Rewrite to just diff the symlist with the abilist.
1950 (config-tls, config-abi-config): Delete, no longer used.
1951 (update-abi-%): Remove AWK script and explicit abilist directory.
1952 (update-abi): Rewrite to simply compare and conditionally copy the
1953 symlist and the sysdep abilist file. Remove update-abi-config
1955 * abilist/ld.abilist: Remove.
1956 * abilist/libBrokenLocale.abilist: Remove.
1957 * abilist/libanl.abilist: Remove.
1958 * abilist/libcrypt.abilist: Remove.
1959 * abilist/libdl.abilist: Remove.
1960 * abilist/librt.abilist: Remove.
1961 * abilist/libthread_db.abilist: Remove.
1962 * abilist/libutil.abilist: Remove.
1963 * scripts/extract-abilist.awk: Remove.
1964 * scripts/merge-abilist.awk: Remove.
1965 * sysdeps/generic/libcidn.abilist: New file.
1966 * sysdeps/generic/libnss_compat.abilist: New file.
1967 * sysdeps/generic/libnss_db.abilist: New file.
1968 * sysdeps/generic/libnss_dns.abilist: New file.
1969 * sysdeps/generic/libnss_files.abilist: New file.
1970 * sysdeps/generic/libnss_hesiod.abilist: New file.
1971 * sysdeps/generic/libnss_nis.abilist: New file.
1972 * sysdeps/generic/libnss_nisplus.abilist: New file.
1973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2171 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2173 * conform/conformtest.pl: Fix typo in handling typed-constant from
2176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2178 * README: Cut down references to pre-2.6 Linux kernels and
2179 Linuxthreads. Update lists of configurations in libc and ports
2180 and sort alphabetically. Say "or newer" with Linux kernel version
2183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2185 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2188 * math/libm-test.inc (logb_test_downward): New test to expose
2189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2192 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2200 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2202 * sysdeps/unix/i386/brk.S: Remove file.
2203 * sysdeps/unix/i386/dl-brk.S: Likewise.
2204 * sysdeps/unix/i386/pipe.S: Likewise.
2205 * sysdeps/unix/i386/sigreturn.S: Likewise.
2206 * sysdeps/unix/i386/syscall.S: Likewise.
2207 * sysdeps/unix/i386/vfork.S: Likewise.
2208 * sysdeps/unix/i386/wait.S: Likewise.
2210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2213 * configure.in (arm*-none*): Do not allow without
2214 --enable-hacker-mode.
2215 (netbsd*): Remove case setting base_os.
2216 (386bsd*): Likewise.
2217 (freebsd*): Likewise.
2221 (ultrix*): Likewise.
2222 (newsos*): Likewise.
2232 (solaris[2-9]*): Likewise.
2234 * configure: Regenerated.
2236 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2240 overflow or cancellation in calculating denominator.
2241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2243 down expression to avoid unexpected rounding in newer GCCs.
2244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2246 2012-04-26 David S. Miller <davem@davemloft.net>
2248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2249 long-double compat symbols.
2250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2264 2012-04-25 David S. Miller <davem@davemloft.net>
2266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2267 HWCAP_* values only after the memory barriers have been defined.
2268 (atomic_full_barrier): Define.
2269 (atomic_read_barrier): Define.
2270 (atomic_write_barrier): Define.
2272 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2274 * shlib-versions: Add libgcc_s version information.
2275 * sysdeps/generic/libgcc_s.h: Remove.
2276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2278 * sysdeps/gnu/unwind-resume.c: Likewise.
2279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2281 2012-04-25 David S. Miller <davem@davemloft.net>
2283 * sysdeps/unix/sparc/brk.S: Delete.
2284 * sysdeps/unix/sparc/dl-brk.S: Delete.
2285 * sysdeps/unix/sparc/pipe.S: Delete.
2286 * sysdeps/unix/sparc/sysdep.S: Delete.
2287 * sysdeps/unix/sparc/sysdep.h: Delete.
2288 * sysdeps/unix/sparc/vfork.S: Delete.
2289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2292 ret_ERRVAL, r0, r1, MOVE): Define.
2293 (JUMPTARGET): Remove.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2295 sysdeps/unix/sparc/sysdep.h
2296 (ENTRY, END): Remove.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2299 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2305 * timezone/README: Update upstream location and email address for
2307 * timezone/zdump.c: Update from tzcode 2012b.
2308 * timezone/zic.c: Likewise.
2310 * configure.in (libc_cv_as_needed): Remove test.
2311 * configure: Regenerated.
2312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2313 conditional definition.
2314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2316 * config.make.in (have-as-needed): Remove variable.
2318 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2319 Paul Pluzhnikov <ppluzhnikov@google.com>
2321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2324 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2328 * sysdeps/sh/strlen.S: Likewise.
2330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2332 * sysdeps/unix/fork.S: Remove file.
2333 * sysdeps/unix/i386/fork.S: Likewise.
2334 * sysdeps/unix/sparc/fork.S: Likewise.
2336 * sysdeps/unix/system.c: Remove file.
2337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2339 * sysdeps/unix/getegid.S: Remove file.
2340 * sysdeps/unix/geteuid.S: Likewise.
2342 2012-04-24 Roland McGrath <roland@hack.frob.com>
2344 * scripts/check-localplt.awk: New file.
2345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2347 * scripts/data/localplt-generic.data: Add a comment.
2349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2350 NODE when __dir_mkfile failed.
2351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2352 Reported by Ludovic Courtès <ludo@gnu.org>.
2354 2012-04-24 Andreas Jaeger <aj@suse.de>
2356 * Makerules (common-clean): Also remove gen-as-const-headers
2359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2361 * Makerules (native-compile): Do not change working directory for
2362 build. Use $(OUTPUT_OPTION) in command.
2363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2365 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2370 * math/libm-test.inc (floor_test): Add more tests.
2371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2375 * sysdeps/unix/getdents.c: Remove file.
2376 * sysdeps/unix/sysv/getdents.c: Likewise.
2377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2380 sysdeps/unix/mman/syscalls.list.
2382 (mprotect): Likewise.
2385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2386 * sysdeps/unix/mman/syscalls.list: Remove.
2387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2391 * configure: Regenerated.
2392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2394 * config.make.in (libgcc_s_suffix): Remove variable.
2396 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2398 * sysdeps/unix/sysv/gethostname.c: Move to ...
2399 * sysdeps/posix/gethostname.c: ... here.
2401 * sysdeps/unix/execve.S: Remove file.
2403 * sysdeps/unix/_exit.S: Remove file.
2405 2012-04-23 Andreas Jaeger <aj@suse.de>
2408 * manual/Makefile: Remove make dist support, there's no
2409 need for a stand-alone documentation tar ball.
2410 (TEXI2DVI): Define always, it's not in Makeconfig.
2414 (glibc-doc-$(edition).tar): Removed
2418 (ETAGS): Remove, it's in Makeconfig.
2419 (move-if-change): Remove, it's in Makeconfig.
2421 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2427 (strtod_l, strtof_l, strtold_l): Remove __wur.
2428 It is not necessarily an error to ignore strtol's return value.
2429 One can reliably look at the stored endptr to decide whether
2430 the number had valid syntax.
2432 2012-04-21 Andreas Jaeger <aj@suse.de>
2435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2437 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2440 * sysdeps/unix/sysv/Versions: Remove file.
2442 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2447 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2451 version from __vm86.
2453 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2455 * sysdeps/unix/common/lxstat.c: Remove file.
2456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2458 * sysdeps/unix/sysv/Makefile: Remove file.
2460 * sysdeps/unix/sysv/direct.h: Remove file.
2462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2472 * sysdeps/unix/xmknod.c: Remove file.
2473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2477 * sysdeps/unix/sysv/i386/time.S: Remove file.
2479 * sysdeps/unix/fxstat.c: Remove file.
2480 * sysdeps/unix/xstat.c: Likewise.
2481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2483 * sysdeps/unix/sysv/sigaction.c: Remove file.
2485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2486 (sysdep_headers): Remove variable.
2487 [termio.h not in sysdep_headers] (generated): Likewise.
2488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2491 * sysdeps/unix/sysv/tcflow.c: Likewise.
2492 * sysdeps/unix/sysv/tcflush.c: Likewise.
2493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2499 * sysdeps/unix/siglist.c: Remove file.
2501 * sysdeps/unix/getppid.S: Remove file.
2503 * sysdeps/unix/mkdir.c: Remove file.
2504 * sysdeps/unix/rmdir.c: Likewise.
2506 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2511 errlist-compat value.
2513 2012-04-18 David S. Miller <davem@davemloft.net>
2515 * sysdeps/generic/memcopy.h (reg_char): Delete.
2516 * debug/strcat_chk.c: Use char, not reg_char.
2517 * debug/strcpy_chk.c: Likewise.
2518 * debug/strncat_chk.c: Likewise.
2519 * debug/strncpy_chk.c: Likewise.
2520 * string/memchr.c: Likewise.
2521 * string/memrchr.c: Likewise.
2522 * string/rawmemchr.c: Likewise.
2523 * string/strcat.c: Likewise.
2524 * string/strchr.c: Likewise.
2525 * string/strchrnul.c: Likewise.
2526 * string/strcmp.c: Likewise.
2527 * string/strcpy.c: Likewise.
2528 * string/strncat.c: Likewise.
2529 * string/strncmp.c: Likewise.
2530 * string/strncpy.c: Likewise.
2532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2535 __builtin_memcopy is called when src and dest ranges are known to not
2538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2542 fwd_align_merge macro call.
2543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2544 bwd_align_merge macro call.
2545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2550 bwd_align_merge macros.
2551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2555 2012-04-18 David S. Miller <davem@davemloft.net>
2557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2559 2012-04-18 Andreas Jaeger <aj@suse.de>
2562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2572 Adjust for changed ldbl-128 files.
2574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2578 2012-04-17 David S. Miller <davem@davemloft.net>
2580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2582 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2591 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2595 * math/libm-test.inc: Add ilogb errno and exception tests.
2596 * math/w_ilogb.c: New file: ilogb wrapper.
2597 * math/w_ilogbf.c: New file: ilogbf wrapper.
2598 * math/w_ilogbl.c: New file: ilogbl wrapper.
2599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2602 exception being thrown with 0.0 as argument.
2603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2605 exception being thrown with 0.0 as argument.
2606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2608 exception being thrown with 0.0 as argument.
2609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2611 exception being thrown with 0.0 as argument.
2612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2622 2012-04-17 Petr Baudis <pasky@ucw.cz>
2624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2627 2012-04-16 Marek Polacek <polacek@redhat.com>
2629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2631 2012-04-16 Marek Polacek <polacek@redhat.com>
2633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2634 operands of fdivp instruction.
2636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2639 * elf/tst-auditmod3b.c: Likewise.
2640 * elf/tst-auditmod4b.c: Likewise.
2641 * elf/tst-auditmod5b.c: Likewise.
2642 * elf/tst-auditmod6b.c: Likewise.
2643 * elf/tst-auditmod6c.c: Likewise.
2644 * elf/tst-auditmod7b.c: Likewise.
2645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2646 * sysdeps/x86_64/preconfigure.in: Likewise.
2647 * sysdeps/x86_64/preconfigure: Regenerated.
2649 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2654 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2659 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2662 * locale/iso-639.def: Fix gl language name. Spotted by
2665 2012-04-12 Roland McGrath <roland@hack.frob.com>
2668 * libio/libio.h (__io_write_fn): Update comment.
2670 2012-04-12 Petr Baudis <pasky@ucw.cz>
2673 * stdio.texi (Hook Functions): The user provided writer function
2674 is not allowed to return -1.
2676 2012-04-11 David S. Miller <davem@davemloft.net>
2678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2680 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2683 Add a leading slash to rtkaio.
2685 2012-04-11 Jim Meyering <meyering@redhat.com>
2688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2689 It is not necessarily an error to ignore fwrite's return
2690 value. One can reliably use ferror to test for errors after
2693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2695 * bits/types.h (__snseconds_t): New type.
2696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2700 (__SNSECONDS_T_TYPE): Likewise.
2701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2702 (__SNSECONDS_T_TYPE): Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2704 (__SNSECONDS_T_TYPE): Likewise.
2706 2012-04-10 Andreas Jaeger <aj@suse.de>
2709 * manual/time.texi (Processor Time): Return type of times is
2710 elapsed real time since an arbitrary point in the past.
2711 (CPU Time): Move CLK_TCK from here...
2712 (Processor Time): ...to here. Correct description.
2713 * manual/conf.texi (Constants for Sysconf): Correct description of
2716 2012-04-10 David S. Miller <davem@davemloft.net>
2719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2720 where the is a gap between DT_REL(A) and DT_JMPREL.
2722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2728 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2732 (dl_main): Handle --inhibit-cache.
2733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2735 * elf/dl-load.c (_dl_map_object): Use it.
2736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2742 (__ieee754_powl): Saturate large exponents rather than testing for
2743 overflow of y*log2(x).
2744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2749 * math/s_ctan.c: Include <float.h>.
2750 (__ctan): Avoid internal overflow or cancellation in calculating
2752 * math/s_ctanf.c: Likewise.
2753 * math/s_ctanl.c: Likewise.
2754 * math/s_ctanh.c: Likewise.
2755 * math/s_ctanhf.c: Likewise.
2756 * math/s_ctanhl.c: Likewise.
2757 * math/libm-test.inc (ctan_test): Add more tests.
2758 (ctanh_test): Likewise.
2759 * sysdeps/i386/fpu/libm-test-ulps: Update.
2760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2762 2012-04-09 Andreas Jaeger <aj@suse.de>
2765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2766 is an optional BSD extension.
2769 * manual/stdio.texi (Opening Streams): Document additional fopen
2772 2012-04-09 Roland McGrath <roland@hack.frob.com>
2774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2775 %eax without telling the compiler.
2777 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2780 * manual/install.texi: Use sourceware.org.
2782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2786 (__ieee754_pow): Generate overflow and underflow using huge*huge
2787 and tiny*tiny rather than just returning constant infinity or zero
2788 for large exponents.
2789 * math/libm-test.inc (pow_test): Require overflow exceptions for
2790 applicable cases of large exponents.
2793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2794 (__ieee754_pow): Use iterative multiplication algorithm only for
2795 integer exponents with absolute value below 1024. Check for odd
2796 integer exponents when using algorithm for real exponents.
2797 * math/libm-test.inc (pow_test): Add more tests.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2800 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2803 * math/libm-test.inc (exp_test): Do not allow overflow exception
2806 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2810 instead of __kernel_standard_f.
2812 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2815 * sysdeps/x86_64/memset_chk.S: Likewise.
2817 2012-04-08 Andreas Jaeger <aj@suse.de>
2820 * manual/startup.texi (Environment Access): Describe return value
2821 for putenv and setenv.
2824 * manual/filesys.texi (Directory Entries): Add description for
2828 * manual/filesys.texi (Directory Entries): Clarify that it's file
2829 system not operating system in the description of DT_UNKNOWN.
2832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2834 2012-04-08 Stephen Compall <s11@member.fsf.org>
2837 * manual/llio.texi (Opening and Closing Files): Add cross
2838 reference to explain mode argument.
2840 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2843 * sysdeps/x86_64/memset_chk.S: Likewise.
2845 2012-04-07 David S. Miller <davem@davemloft.net>
2847 * elf/elf.h (R_SPARC_WDISP10): Define.
2848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2851 R_SPARC_SIZE64 and R_SPARC_H34.
2853 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2856 conditions and remove no longer applicable assertion.
2858 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2860 * bits/byteswap.h: Include <features.h>.
2861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2864 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2866 * bits/byteswap.h (__bswap_16): Removed.
2867 Include <bits/byteswap-16.h> to get __bswap_16.
2868 * sysdeps/i386/bits/byteswap.h: Likewise.
2869 * sysdeps/s390/bits/byteswap.h: Likewise.
2870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2871 * bits/byteswap-16.h: New file.
2872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2875 * string/Makefile (headers): Add bits/byteswap-16.h.
2877 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2883 * nss/tst-nss-static.c: New.
2885 2012-04-06 Robert Millan <rmh@gnu.org>
2888 * manual/llio.texi (File Position Primitive): lseek
2889 refers to WHENCE when it really means OFFSET.
2891 2012-04-06 Andreas Jaeger <aj@suse.de>
2893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2894 strncmp declarations.
2896 * abilist/libc.abilist: Add __poll and __ppoll.
2898 2012-04-05 David S. Miller <davem@davemloft.net>
2900 * scripts/check-local-headers.sh: Accept a host triplet in the
2901 path matched by the exclude regexp.
2903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2905 * sysdeps/powerpc/powerpc32/dl-machine.h
2906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2907 * sysdeps/s390/s390-32/dl-machine.h
2908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2909 * sysdeps/sparc/sparc32/dl-machine.h
2910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2911 * sysdeps/sparc/sparc64/dl-machine.h
2912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2917 undefined symbol errors.
2919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2922 2012-04-05 Michael Matz <matz@suse.de>
2925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2927 2012-04-05 Andreas Jaeger <aj@suse.de>
2930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2936 which ROUND is no valid rounding mode.
2938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2944 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2947 an exception using FPU order intentionally.
2949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2956 2012-04-05 Simon Josefsson <simon@josefsson.org>
2959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2960 EINVAL when BUFLEN is too smal.
2962 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2968 2012-04-03 Andreas Jaeger <aj@suse.de>
2971 * manual/setjmp.texi (System V contexts): Fix sentence.
2974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2975 New macro for this case.
2976 [!__GNUC__] (__bswap_64): New inline function for this case.
2977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2978 * bits/byteswap.h: Likewise.
2979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2980 ull, guard with __GLIBC_HAVE_LONG_LONG.
2982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2983 __GLIBC_HAVE_LONG_LONG.
2985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2992 inptr and inend, rather than using last_ch.
2994 2012-04-02 David S. Miller <davem@davemloft.net>
2996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2997 * stdio-common/printf-parse.h (read_int): Change return type to
2998 'int', return -1 on INT_MAX overflow.
2999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3001 overflows INT_MAX. Check for overflow of in-format-string precision
3002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3003 SIZE_MAX not INT_MAX for integer overflow test.
3004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3005 skip the construct in the format string but do not record anything.
3006 * stdio-common/bug22.c: Adjust to test both width/prevision
3007 INT_MAX overflow as well as total length INT_MAX overflow. Check
3008 explicitly for proper errno values.
3010 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3014 * string/test-strcmp.c [! WIDE]: Likewise.
3015 * time/tst-mktime2.c: Likewise for INT_MAX.
3016 * string/test-string.h: #include <sys/param.h> for MIN.
3018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3019 * sysdeps/i386/init-first.c (init): Likewise.
3020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3022 * sysdeps/sh/init-first.c (init): Likewise.
3024 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3026 * po/ru.po: Update from translation team.
3027 * po/vi.po: Likewise.
3029 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 * resolv/nss_dns/dns-host.c: Merge copyright years.
3033 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3036 Optimize memcpy with prefetch if
3037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3038 src, dst pointers have unequal 16 byte alignments.
3040 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3044 from a CNAME entry and return the minimum ttl for the query.
3045 (gaih_getanswer_slice): Likewise.
3047 2012-03-30 Jeff Law <law@redhat.com>
3049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3054 * resolv/nss_dns/dns-host.c: Update copyright year.
3056 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3059 requests to save a system call. Fix check that all bytes are sent.
3061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3062 comments for sendmmsg.
3064 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3068 with only 1 character between 0x0041 and 0x01b0.
3069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3070 * wcsmbs/tst-mbsnrtowcs.c: New file.
3072 2012-03-29 David S. Miller <davem@davemloft.net>
3074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3075 small copies by hand.
3077 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3081 _nss_compat_initgroups_dyn): Fall back to malloc/free
3082 for large group memberships.
3084 2012-03-28 David S. Miller <davem@davemloft.net>
3086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3087 that branches into memcpy.
3088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3096 * sysdeps/sparc/mempcpy.S: New file.
3098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3099 the IFUNC routine in the libc case.
3100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3112 loop to 256 bytes instead of 64 bytes and fix test signedness.
3114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3115 * sysdeps/sparc/sparc32/Makefile: rather than here...
3116 * sysdeps/sparc/sparc64/Makefile: and here.
3118 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3120 * malloc/mallocbug.c: Avoid warnings about unused variables.
3122 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3126 in the right place. Discard and retry query if response is
3127 larger than input buffer size.
3129 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3135 x for large integer exponent.
3136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3138 sign of result as needed afterwards.
3139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3141 result for underflowing pow the same as for overflow.
3142 (__kernel_standard_l): Handle powl overflow and underflow here
3143 rather than calling __kernel_standard.
3144 * math/libm-test.inc (pow_test): Add more tests.
3159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3161 (__kernel_standard_l): New function.
3162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3164 * math/w_acosl.c (__acosl): Likewise.
3165 * math/w_asinl.c (__asinl): Likewise.
3166 * math/w_atan2l.c (__atan2l): Likewise.
3167 * math/w_atanhl.c (__atanhl): Likewise.
3168 * math/w_coshl.c (__coshl): Likewise.
3169 * math/w_exp10l.c (__exp10l): Likewise.
3170 * math/w_exp2l.c (__exp2l): Likewise.
3171 * math/w_fmodl.c (__fmodl): Likewise.
3172 * math/w_hypotl.c (__hypotl): Likewise.
3173 * math/w_j0l.c (__j0l, __y0l): Likewise.
3174 * math/w_j1l.c (__j1l, __y1l): Likewise.
3175 * math/w_jnl.c (__jnl, __ynl): Likewise.
3176 * math/w_lgammal.c (__lgammal): Likewise.
3177 * math/w_log10l.c (__log10l): Likewise.
3178 * math/w_log2l.c (__log2l): Likewise.
3179 * math/w_logl.c (__logl): Likewise.
3180 * math/w_powl.c (__powl): Likewise.
3181 * math/w_remainderl.c (__remainderl): Likewise.
3182 * math/w_scalbl.c (sysv_scalbl): Likewise.
3183 * math/w_sinhl.c (__sinhl): Likewise.
3184 * math/w_sqrtl.c (__sqrtl): Likewise.
3185 * math/w_tgammal.c (__tgammal): Likewise.
3186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3188 * math/libm-test.inc (acos_test): Add more tests.
3189 (acosh_test): Likewise.
3190 (asin_test): Likewise.
3191 (atanh_test): Likewise.
3192 (exp_test): Likewise.
3193 (exp10_test): Likewise.
3194 (exp2_test): Likewise.
3195 (expm1_test): Likewise.
3196 (lgamma_test): Likewise.
3197 (log_test): Likewise.
3198 (log10_test): Likewise.
3199 (log1p_test): Likewise.
3200 (log2_test): Likewise.
3201 (pow_test): Do not allow some spurious overflow exceptions.
3202 (sqrt_test): Add more tests.
3203 (tgamma_test): Likewise.
3204 (y0_test): Likewise.
3205 (y1_test): Likewise.
3206 (yn_test): Likewise.
3208 2012-03-27 Anton Blanchard <anton@samba.org>
3210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3216 2012-03-27 David S. Miller <davem@davemloft.net>
3218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3223 2012-03-27 Andreas Jaeger <aj@suse.de>
3225 * sysdeps/x86_64/elf/configure.in: Moved to ...
3226 * sysdeps/x86_64/configure.in: ... here.
3227 * sysdeps/x86_64/elf/start.S: Moved to ...
3228 * sysdeps/x86_64/start.S: ... here.
3229 * sysdeps/x86_64/elf/configure: Delete.
3231 * sysdeps/x86_64/configure.in: Merge contents from
3232 sysdeps/i386/configure.in (without i686 check).
3234 * sysdeps/i386/elf/Versions: Merge into ...
3235 * sysdeps/i386/Versions: ... this.
3236 * sysdeps/i386/elf/Versions: Delete file.
3237 * sysdeps/i386/elf/start.S: Moved to ...
3238 * sysdeps/i386/start.S: ...here.
3239 * sysdeps/i386/elf/configure.in: Merge into...
3240 * sysdeps/i386/configure.in: ...here.
3241 * sysdeps/i386/elf/configure.in: Delete file.
3242 * sysdeps/i386/elf/configure: Delete file.
3244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3245 * debug/backtracesyms.c: ... here.
3246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3247 * debug/backtracesymsfd.c: ... here.
3248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3249 * sysdeps/generic/ifunc-sel.h: ... here.
3251 * sysdeps/unix/i386/start.c: Delete file.
3252 * sysdeps/unix/sparc/start.c: Delete file.
3253 * sysdeps/unix/start.c: Delete file.
3255 * sysdeps/sh/elf/configure.in: Moved to ...
3256 * sysdeps/sh/configure.in: ... here.
3257 * sysdeps/sh/elf/start.S: Moved to ...
3258 * sysdeps/sh/start.S: ... here.
3259 * sysdeps/sh/elf/configure: Delete file.
3261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3266 * sysdeps/powerpc/powerpc64/start.S: here.
3267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3276 * sysdeps/powerpc/powerpc32/start.S: ... here.
3277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3282 * sysdeps/powerpc/ifunc-sel.h: ... here.
3283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3286 * sysdeps/sparc/elf/configure.in: Moved to ...
3287 * sysdeps/sparc/configure.in: ... here.
3288 * sysdeps/sparc/elf/configure: Delete file.
3289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3290 * sysdeps/sparc/sparc32/start.S: ... here.
3291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3292 * sysdeps/sparc/sparc64/start.S: ... here.
3293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3294 * sysdeps/sparc/sparc32/Makefile: ... this.
3295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3296 * sysdeps/sparc/sparc64/Makefile: ... this.
3298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3303 * sysdeps/s390/s390-32/setjmp.S: ... here.
3304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3305 * sysdeps/s390/s390-32/configure.in: ... here.
3306 * sysdeps/s390/s390-32/elf/configure: Delete file.
3307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3308 * sysdeps/s390/s390-32/start.S: ... here.
3310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3315 * sysdeps/s390/s390-64/setjmp.S: ... here.
3316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3317 * sysdeps/s390/s390-64/configure.in: ... here
3318 * sysdeps/s390/s390-64/elf/configure: Delete file.
3319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3320 * sysdeps/s390/s390-64/start.S: ... here.
3321 * sysdeps/s390/s390-64/elf/configure: Delete.
3323 * configure.in: Remove support for elf directories in sysdeps.
3325 * configure: Regenerated.
3326 * sysdeps/i386/configure: Regenerated.
3327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3329 * sysdeps/s390/s390-32/configure: Regenerated.
3330 * sysdeps/s390/s390-64/configure: Regenerated.
3331 * sysdeps/sh/configure: Regenerated.
3332 * sysdeps/sparc/configure: Regenerated.
3333 * sysdeps/x86_64/configure: Regenerated.
3335 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3340 denormal result into account.
3342 2012-03-25 Roland McGrath <roland@hack.frob.com>
3344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3345 Reported by Allan McRae <allan@archlinux.org>.
3347 2012-03-23 Jeff Law <law@redhat.com>
3349 * nss/getnssent.c (__nss_getent): Fix typo.
3351 2012-03-23 David S. Miller <davem@davemloft.net>
3353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3355 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3358 to pad to uint64_t for each field.
3359 (dl_tls_index): Replace unsigned long with uint64_t.
3361 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3362 Paul Pluzhnikov <ppluzhnikov@google.com>
3365 * grp/Makefile (otherlibs): Don't set it.
3366 * inet/Makefile (otherlibs): Likewise.
3367 * login/Makefile (otherlibs): Likewise.
3368 * nscd/Makefile (otherlibs): Likewise.
3369 * posix/Makefile (otherlibs): Likewise.
3370 * pwd/Makefile (otherlibs): Likewise.
3371 * rt/Makefile (otherlibs): Likewise.
3372 * sunrpc/Makefile (otherlibs): Likewise.
3373 * nss/Makefile (otherlibs): Likewise.
3374 Add libnss_files to routines and static-only-routines.
3375 ($(objpfx)getent): Remove rule.
3376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3377 static-only-routines.
3379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3382 * math/s_cexp.c: Include <float.h>.
3383 (__cexp): Handle exp result overflowing not necessarily
3384 overflowing both real and imaginary parts of result.
3385 * math/s_cexpf.c: Likewise.
3386 * math/s_cexpl.c: Likewise.
3387 * math/libm-test.inc (cexp_test): Add more tests.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3393 * include/link.h (ELFW): New macro.
3394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3397 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3406 (struct La_x32_retval): Likewise.
3408 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3410 * sysdeps/x86_64/preconfigure.in: New file.
3411 * sysdeps/x86_64/preconfigure: New generated file.
3413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3416 * math/e_exp2l.c: Include <float.h>.
3417 (__ieee754_exp2l): Handle overflow and underflow cases
3418 separately. Only pass fractional part of argument to
3420 * math/libm-test.inc (exp2_test): Add more tests.
3422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3423 negating x to take absolute value.
3424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3430 computing low part if x was negated.
3431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3437 (pltexit): Cast int_retval to ptrdiff_t.
3438 * elf/tst-auditmod3b.c: Likewise.
3439 * elf/tst-auditmod4b.c: Likewise.
3440 * elf/tst-auditmod5b.c: Likewise.
3441 * elf/tst-auditmod6b.c: Likewise.
3442 * elf/tst-auditmod6c.c: Likewise.
3443 * elf/tst-auditmod7b.c: Likewise.
3445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3446 and x32_gnu_pltexit.
3448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3450 (La_x32_regs): New macro.
3451 (La_x32_retval): Likewise.
3452 (la_x32_gnu_pltenter): New function prototype.
3453 (la_x32_gnu_pltexit): Likewise.
3455 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3462 * configure.in (libc_cv_cc_nofma): Check for option to disable
3463 generation of FMA instructions.
3464 * configure: Regenerate.
3465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3466 * sysdeps/ieee754/dbl-64/Makefile: New file.
3467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3468 Remove brandred-fma4.
3469 (CFLAGS-brandred-fma4.c): Remove.
3470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3476 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3479 LLONG_MAX != LONG_MAX.
3480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3481 (_fitoa_word): Likewise.
3482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3483 LLONG_MAX != LONG_MAX.
3484 * stdio-common/_itowa.h: Include <_itoa.h>.
3485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3488 only if not defined.
3489 (_ITOA_WORD_TYPE): Likewise.
3490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3493 2012-03-21 David S. Miller <davem@davemloft.net>
3495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3500 of x86_64 when setting libc_cv_slibdir, libdir and
3502 * sysdeps/unix/sysv/linux/configure: Regenerated.
3504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3506 * manual/lang.texi (Old Varargs): Remove section.
3507 (How Variadic): Update menu.
3508 (va_start): Do not mention varargs.h.
3510 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3511 Joseph Myers <joseph@codesourcery.com>
3513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3515 * configure: Regenerated.
3517 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3526 * Makefile (files-for-dist): Remove NOTES.
3527 (NOTES): Remove rule.
3528 * README: Don't refer to NOTES.
3529 * manual/creature.texi: Don't include macros.texi.
3530 * manual/intro.texi (creature.texi): Remove comment referring to
3533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3535 * configure: Regenerated.
3536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3538 (libc_cv_as_i686): Likewise.
3539 (libc_cv_cc_avx): Likewise.
3540 (libc_cv_cc_sse2avx): Likewise.
3541 (libc_cv_cc_fma4): Likewise.
3542 (libc_cv_cc_novzeroupper): Likewise.
3543 * sysdeps/i386/configure: Regenerated.
3546 * sysdeps/i386/fpu/s_cexp.S: Remove.
3547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3549 * math/libm-test.inc (cexp_test): Add more tests.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3553 2012-03-21 Allan McRae <allan@archlinux.org>
3555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3560 * math/w_exp2.c: Do not include <float.h>.
3561 (o_threshold, u_threshold): Remove.
3562 (__exp2): Calculate result before checking finiteness and calling
3564 * math/w_exp2f.c: Likewise.
3565 * math/w_exp2l.c: Likewise.
3566 * math/libm-test.inc (exp2_test): Require overflow exception for
3570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3571 range of signed 64-bit integers before using fistpll. Remove
3572 checks for whether integers fit in mantissa bits.
3573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3574 the range of signed 32-bit integers before using fistpl. Remove
3575 checks for whether integers fit in mantissa bits.
3576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3577 (__ieee754_powl): Test for y outside the range of signed 64-bit
3578 integers before using fistpll. Reduce 64-bit values to 63-bit
3580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3581 divide-by-zero is raised for zero to large negative powers.
3582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3583 (__ieee754_powl): Test for y outside the range of signed 64-bit
3584 integers before using fistpll. Reduce 64-bit values to 63-bit
3586 * math/libm-test.inc (pow_test): Add more tests.
3588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3591 <stdio-common/_itoa.h>.
3592 * debug/segfault.c: Likewise.
3593 * elf/dl-cache.c: Likewise.
3594 * elf/dl-minimal.c: Likewise.
3595 * elf/dl-misc.c: Likewise.
3596 * elf/dl-sysdep.c: Likewise.
3597 * elf/dl-version.c: Likewise.
3598 * elf/rtld.c: Likewise.
3599 * hurd/hurdsock.c: Likewise.
3600 * hurd/lookup-retry.c: Likewise.
3601 * malloc/malloc.c: Likewise.
3602 * malloc/mtrace.c: Likewise.
3603 * nscd/nscd_getgr_r.c: Likewise.
3604 * nscd/nscd_getpw_r.c: Likewise.
3605 * nscd/nscd_getserv_r.c: Likewise.
3606 * posix/getopt_init.c: Likewise.
3607 * posix/wordexp.c: Likewise.
3608 * stdio-common/_itoa.c: Likewise.
3609 * stdio-common/printf_fphex.c: Likewise.
3610 * stdio-common/vfprintf.c: Likewise.
3611 * string/_strerror.c: Likewise.
3612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3613 * sysdeps/i386/i686/hp-timing.h: Likewise.
3614 * sysdeps/mach/_strerror.c: Likewise.
3615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3616 * sysdeps/mach/hurd/sethostid.c: Likewise.
3617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3618 * sysdeps/mach/xpg-strerror.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3643 * stdio-common/_itoa.h: Moved to ...
3644 * sysdeps/generic/_itoa.h: Here.
3646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3649 instead of "_itoa.h" and "_itowa.h".
3650 * stdio-common/vfprintf.: Likewise.
3652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3657 (__signbit): Likwise.
3661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3666 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3669 OVERFLOW_EXCEPTION_OK.
3670 * math/libm-test.inc ("Philosophy"): Update comment about
3672 (OVERFLOW_EXCEPTION): Define.
3673 (OVERFLOW_EXCEPTION_OK): Likewise.
3674 (INVALID_EXCEPTION_OK): Renumber.
3675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3676 (IGNORE_ZERO_INF_SIGN): Likewise.
3677 (test_exceptions): Handle FE_OVERFLOW.
3678 (exp10_test): Expect overflow exceptions.
3679 (exp2_test): Likewise.
3680 (expm1_test): Likewise.
3681 (nextafter_test): Likewise.
3682 (pow_test): Likewise.
3683 (scalbn_test): Likewise.
3684 (scalbln_test): Likewise.
3686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3688 * sysdeps/x86_64/bits/atomic.h
3689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3691 (atomic_exchange_acq): Likewise.
3692 (__arch_exchange_and_add_body): Likewise.
3693 (__arch_add_body): Likewise.
3694 (atomic_add_negative): Likewise.
3695 (atomic_add_zero): Likewise.
3697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3705 Check __x86_64__ instead of __WORDSIZE.
3707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3711 2012-03-19 David S. Miller <davem@davemloft.net>
3713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3715 * sysdeps/sparc/fpu/fenv_private.h: New file.
3716 * sysdeps/sparc/fpu/math_private.h: Use it.
3717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3720 (libc_feholdexcept_setroundl): Remove.
3721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3729 int64_t instead of long int.
3730 (INSERT_WORDS64): Likwise.
3732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3735 _Unwind_GetCFA return to _Unwind_Ptr first.
3737 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3740 * math/s_clog.c: Include <float.h>.
3741 (__clog): Scale large or subnormal inputs.
3742 * math/s_clogf.c: Likewise.
3743 * math/s_clogl.c: Likewise.
3744 * math/s_clog10.c: Include <float.h>.
3745 (M_LOG10_2): Define.
3746 (__clog10): Scale large or subnormal inputs.
3747 * math/s_clog10f.c: Likewise.
3748 * math/s_clog10l.c: Likewise.
3749 * math/libm-test.inc (clog_test): Add more tests.
3750 (clog10_test): Likewise.
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3757 * math/libm-test.inc (atan2_test): Add another test.
3759 * Makerules (common-objdir-compile): Remove.
3760 * sysdeps/unix/Makefile (config-generated): Do not add
3761 $(unix-generated) to variable.
3762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3767 [generic bits/local_lim.h] (before-compile): Do not append to
3769 [generic bits/local_lim.h] (common-generated): Likewise.
3770 [generic sys/param.h] (before-compile): Do not append to variable.
3771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3778 [generic sys/param.h] ($(addprefix
3779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3780 [generic sys/param.h] (common-generated): Do not append to
3782 [generic sys/param.h] (sysdep_headers): Likewise.
3783 [generic bits/errno.h] (before-compile): Do not append to
3785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3790 [generic bits/errno.h] (common-generated): Do not append to
3792 [generic bits/ioctls.h] (before-compile): Do not append to
3794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3803 [generic bits/ioctls.h] (common-generated): Do not append to
3805 [generic sys/syscall.h] (syscall.h): Remove variable.
3806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3808 [generic sys/syscall.h] (before-compile): Do not append to
3810 [generic sys/syscall.h] (common-generated): Likewise.
3811 * sysdeps/unix/errnos-tmpl.c: Remove file.
3812 * sysdeps/unix/errnos.awk: Likewise.
3813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3814 * sysdeps/unix/ioctls.awk: Likewise.
3815 * sysdeps/unix/mk-local_lim.c: Likewise.
3816 * sysdeps/unix/snarf-ioctls: Likewise.
3818 2012-03-19 Richard Henderson <rth@twiddle.net>
3820 * sysdeps/i386/fpu/fenv_private.h: New file.
3821 * sysdeps/i386/fpu/math_private.h: Use it.
3822 (math_opt_barrier, math_force_eval): Remove.
3823 (libc_feholdexcept_setround_53bit): Remove.
3824 (libc_feupdateenv_53bit): Remove.
3825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3826 (math_opt_barrier, math_force_eval): Remove.
3827 (libc_feholdexcept): Remove.
3828 (libc_feholdexcept_setround): Remove.
3829 (libc_fetestexcept, libc_fesetenv): Remove.
3830 (libc_feupdateenv_test): Remove.
3831 (libc_feupdateenv, libc_feholdsetround): Remove.
3832 (libc_feresetround): Remove.
3834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3839 (libc_feupdateenv_testl): New.
3840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3841 (libc_feupdateenv_testf): New.
3842 (libc_feupdateenv): Use libc_feupdateenv_test.
3843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3849 (libc_feresetround_noex): New.
3850 (libc_feresetround_noexf): New.
3851 (libc_feresetround_noexl): New.
3852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3862 SET_RESTORE_ROUND_NOEX.
3863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3864 SET_RESTORE_ROUND_NOEXF.
3865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3867 (libc_feholdsetroundf): New.
3868 (libc_feresetround, libc_feresetroundf): New.
3870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3874 * sysdeps/generic/math_private.h: Include <fenv.h>.
3875 (default_libc_feholdexcept): New.
3876 (default_libc_feholdexcept_setround): New.
3877 (default_libc_fesetenv, default_libc_feupdateenv): New.
3878 (libc_feholdexcept): Only define if undefined.
3879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3881 (libc_feholdexcept_setroundl): Likewise.
3882 (libc_feholdexcept_setround_53bit): Likewise.
3883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3886 (libc_feupdateenv_53bit): Likewise.
3887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3888 (libc_feholdexcept): Convert from macro to inline function.
3889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3890 (libc_fesetenv, libc_feupdateenv): Likewise.
3892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3893 not previously defined.
3894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3898 * sysdeps/ieee754/flt-32/math_private.h: New file.
3899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3900 math_private.h below SET_FLOAT_WORD.
3901 (__isnan, __isinf_ns, __finite): Remove.
3902 (__isnanf, __isinf_nsf, __finitef): Remove.
3904 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3908 2012-03-17 David S. Miller <davem@davemloft.net>
3911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3914 2012-03-16 David S. Miller <davem@davemloft.net>
3916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3924 sysdep_routines when subdir is sysvipc.
3925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3939 (__lround): Renamed to ...
3940 (__llround): This. Replace long int with long long int.
3941 Define lround functions as aliases of llround functions.
3942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3948 adresses to uintptr_t. Replace "long int" and "unsigned long
3949 int" with "greg_t" on va_arg.
3951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3957 Move e_machine check before EI_CLASS check. Handle x32
3958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3960 SKIP_EM_IA_64 and include
3961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3965 (add_system_dir): New macro.
3967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3970 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3983 * math/w_j0f.c (j0f): Likewise.
3985 * math/w_j0l.c (__j0l): Likewise.
3987 * math/w_j1.c (j1): Likewise.
3989 * math/w_j1f.c (j1f): Likewise.
3991 * math/w_j1l.c (__j1l): Likewise.
3993 * math/w_jn.c (jn): Likewise.
3995 * math/w_jnf.c (jnf): Likewise.
3997 * math/w_jnl.c (__jnl): Likewise.
3999 * math/libm-test.inc (j0_test): Add more tests.
4000 (j1_test): Likewise.
4001 (jn_test): Likewise. Add trailing semicolon to existing test.
4002 (y0_test): Likewise.
4003 (y1_test): Likewise.
4004 * sysdeps/i386/fpu/libm-test-ulps: Update.
4005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4013 (__tanl): Set errno for infinite argument.
4014 * sysdeps/i386/fpu/mptan.c: Remove.
4015 * sysdeps/i386/fpu/s_tan.S: Likewise.
4016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4019 * math/libm-test.inc (tan_test): Add more tests and enable more
4020 tests for double and long double.
4021 * sysdeps/i386/fpu/libm-test-ulps: Update.
4022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4029 2012-03-16 Roland McGrath <roland@hack.frob.com>
4031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4032 * configure.in: Use it for both main tree and add-ons.
4033 * configure: Regenerated.
4035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4039 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4065 * math/libm-test.inc (cos_test): Add more tests and enable more
4066 tests for long double.
4067 (sin_test): Likewise.
4068 (sincos_test): Likewise.
4069 * sysdeps/i386/fpu/libm-test-ulps: Update.
4070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4072 2012-03-16 David S. Miller <davem@davemloft.net>
4074 * sysdeps/sparc/fpu/math_private.h: New file.
4076 2012-03-15 David S. Miller <davem@davemloft.net>
4078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4095 * sysdeps/sparc/sparc-ifunc.h: New file.
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4147 2012-03-15 Andreas Jaeger <aj@suse.de>
4150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4151 ieee754/flt-32 implementation for sin, cos and sincos.
4152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4157 ieee754/flt-32 implementation for tan.
4159 * math/libm-test.inc (cos_test): Enable some large input tests for
4161 (sin_test): Likewise.
4162 (sincos_test): Likewise.
4163 (tan_test): Add tests for large input.
4165 * sysdeps/i386/fpu/libm-test-ulps: Update.
4167 2012-03-15 Andreas Jaeger <aj@suse.de>
4170 * math/libm-test.inc (cos_test): Add more test cases.
4171 (sin_test): Likewise.
4172 (sincos_test): Likewise.
4174 2012-03-15 Andreas Jaeger <aj@suse.de>
4177 * math/libm-test.inc (cos_test): Add a test case for large input
4179 (sin_test): Likewise.
4180 (sincos_test): Likewise.
4182 2012-03-15 Andreas Jaeger <aj@suse.de>,
4183 Joseph Myers <joseph@codesourcery.com>
4186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4188 * sysdeps/i386/fpu/branred.c: Likewise.
4189 * sysdeps/i386/fpu/dosincos.c: Likewise.
4190 * sysdeps/i386/fpu/mpa.c: Likewise.
4191 * sysdeps/i386/fpu/s_cos.S: Likewise.
4192 * sysdeps/i386/fpu/s_sin.S: Likewise.
4193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4194 * sysdeps/i386/fpu/sincos32.c: Likewise.
4196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4198 (libc_feupdateenv_53bit): Define.
4199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4201 (libc_feupdateenv_53bit): Define.
4203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4204 53 bit (without extend i386 double precision).
4206 * math/libm-test.inc (sincos_test): Add tests for large input.
4210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4212 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4216 2012-03-15 David S. Miller <davem@davemloft.net>
4218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4246 fmin/fmax sysdep routines.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4249 2012-03-14 David S. Miller <davem@davemloft.net>
4251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4328 * sysdeps/sparc/configure.in: New file.
4329 * sysdeps/sparc/configure: Generate.
4330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4331 * configure: Regenerate.
4332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4333 * config.make.in (have-as-vis3): New.
4334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4335 available use -Av9d instead of -Av9a.
4336 * sysdeps/sparc/sparc64/Makefile: Likewise.
4337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4353 fzeros/fnegs to load 0x80000000 into a float register instead of
4355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4363 ($(inst_includedir)/bits/syscall.h): Remove rule.
4364 ($(objpfx)bits/syscall.d): Include instead of
4365 $(objpfx)syscall-list.d.
4366 (generated): Change syscall-list.h and syscall-list.d to
4367 bits/syscall.h and bits/syscall.d.
4369 2012-03-14 Roland McGrath <roland@hack.frob.com>
4372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4374 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4377 * math/s_csqrt.c: Include <float.h>.
4378 (__csqrt): Scale large or subnormal inputs.
4379 * math/s_csqrtf.c: Likewise.
4380 * math/s_csqrtl.c: Likewise.
4381 * math/libm-test.inc (csqrt_test): Add more tests.
4382 * sysdeps/i386/fpu/libm-test-ulps: Update.
4383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386 * math/libm-test.inc (hypot_test): Add more tests.
4388 2012-03-13 David S. Miller <davem@davemloft.net>
4391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4392 double-precision for the calculation instead of scaling.
4394 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4397 manipulate bits before adding and subtracting TWO52[sx].
4398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4403 2012-03-13 David S. Miller <davem@davemloft.net>
4405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4408 rtld-global-offsets.h
4409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4417 'err' in the ifdef scope in which it is actually used.
4419 * nss/nss_db/db-init.c: Include string.h
4421 2012-03-12 David S. Miller <davem@davemloft.net>
4423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4424 masking out of the most significant byte of random value used.
4425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4426 Fix coding style in previous change.
4428 * sysdeps/unix/sysv/linux/kernel-features.h
4429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4435 2012-03-11 David S. Miller <davem@davemloft.net>
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4440 for 'resultvar' otherwise things get truncated on 64-bit.
4442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4443 Fix masking out of the most significant byte of random value used.
4445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4447 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4451 2012-03-09 David S. Miller <davem@davemloft.net>
4453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4454 variables with appropriate CPP guards.
4455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4456 frame pointer, not the stack pointer. Correct layout comments. Fix test
4457 on resulting framesize and the management of the outregs buffer for pltexit.
4458 Preserve floating point return values across _dl_call_pltexit call.
4459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4460 framesize and the management of the outregs buffer for pltexit.
4461 Preserve floating point return values across _dl_call_pltexit
4463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4465 (print_exit): Fix format string for return register value.
4467 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4469 * sunrpc/Makefile (others): Add rpcgen.
4470 ($(objpfx)rpcgen): Remove special build rule and dependency on
4472 * sunrpc/rpcgen.c: New file.
4474 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4479 * sysdeps/i386/crti.S: Likewise.
4480 * sysdeps/i386/crtn.S: Likewise.
4481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4485 * sysdeps/sh/crti.S: Likewise.
4486 * sysdeps/sh/crtn.S: Likewise.
4487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4492 * locale/programs/locfile-kw.gperf: Likewise.
4493 * locale/programs/charmap-kw.h: Regenerated.
4494 * locale/programs/locfile-kw.h: Likewise.
4497 * intl/plural.y: Replace FSF snail mail address with URL.
4498 * intl/plural.c: Regenerated.
4500 2012-03-09 Richard Henderson <rth@twiddle.net>
4502 * include/math_private.h: Remove file.
4503 * math/math_private.h: Move file ...
4504 * sysdeps/generic/math_private.h: ... here.
4506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4511 and <math_private.h>.
4512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4661 * sysdeps/ieee754/k_standard.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4822 * sysdeps/ieee754/s_lib_version.c: Likewise.
4823 * sysdeps/ieee754/s_matherr.c: Likewise.
4824 * sysdeps/ieee754/s_signgam.c: Likewise.
4825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4847 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4850 * sunrpc/rpc_main.c: Likewise.
4851 * sunrpc/rpc_svcout.c: Likewise.
4853 2012-03-09 David S. Miller <davem@davemloft.net>
4855 * include/math_private.h: New file.
4857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4862 from <bits/socket_type.h>.
4863 (enum __socket_type): Don't define here.
4864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4872 * Makerules ($(inst_includedir)/%.h): New rule.
4873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4874 (install-others): Remove variable setting.
4875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4877 2012-03-08 Richard Henderson <rth@twiddle.net>
4879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4880 from macro to inline function; merge with the
4881 !__LIBC_INTERNAL_MATH_INLINES version.
4882 (__ieee754_sqrtf): Likewise.
4884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4886 (__rintf, __floor, __floorf): Likewise.
4888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4889 macro to inline function.
4890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4893 not <math/math_private.h>.
4895 2012-03-08 David S. Miller <davem@davemloft.net>
4897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4901 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4908 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4911 be defined individually, they must be defined as a block. Define
4912 S for printing a string instead of hidint the different by using a
4913 macro for adding the 'l'.
4914 * stdio-common/tst-fphex-wide.c: Adjust.
4916 2012-03-07 Marek Polacek <polacek@redhat.com>
4918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4920 2012-03-08 Marek Polacek <polacek@redhat.com>
4923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4924 * stdio-common/tst-fphex.c: Define a few macros to make the
4925 test reusable. Use them.
4926 * stdio-common/tst-fphex-wide.c: New file.
4928 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4931 * manual/macros.texi (gnusystems): New macro.
4932 (nongnusystems): Likewise.
4933 (gnulinuxhurdsystems): Likewise.
4934 (gnuhurdsystems): Likewise..
4935 (gnulinuxsystems): Likewise.
4936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4937 variants of the GNU system, not "GNU system".
4938 * manual/conf.texi: Likewise.
4939 * manual/errno.texi: Likewise. Update example of errno macro
4941 * manual/filesys.texi: Likewise.
4942 (getumask): Document as specific to GNU/Hurd.
4943 * manual/install.texi: Likewise. Reword some references to
4945 * manual/intro.texi: Likewise.
4946 * manual/io.texi: Likewise.
4947 (File Name Portability): Detail which constraints are inapplicable
4948 to all GNU systems and which are only inapplicable to GNU/Hurd.
4949 * manual/job.texi: Likewise.
4950 * manual/llio.texi: Likewise.
4951 (O_NOCTTY): Document as present on GNU/Linux.
4952 * manual/maint.texi: Likewise.
4953 * manual/memory.texi: Likewise.
4954 * manual/pattern.texi: Likewise.
4955 * manual/pipe.texi: Likewise.
4956 * manual/process.texi: Likewise.
4957 * manual/resource.texi: Likewise.
4958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4960 * manual/setjmp.texi: Likewise.
4961 * manual/signal.texi: Likewise.
4962 * manual/startup.texi: Likewise.
4963 * manual/stdio.texi: Likewise.
4964 * manual/terminal.texi: Likewise.
4965 (ONLCR): Document as POSIX.
4966 (OXTABS): Document availability on GNU/Linux as XTABS.
4967 (ONOEOT): Document availability separately from other bits.
4968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4969 * manual/time.texi: Likewise.
4970 * manual/users.texi: Likewise.
4971 * INSTALL: Regenerated.
4972 * sysdeps/gnu/errlist.c: Regenerated.
4974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4978 * configure: Regenerated.
4980 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4983 default includes instead of AC_HEADER_CHECK.
4984 * sysdeps/i386/configure: Regenerated.
4987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4988 * math/s_cacoshf.c (__cacoshf): Likewise.
4989 * math/s_cacoshl.c (__cacoshl): Likewise.
4990 * math/s_casinh.c (__casinh): Set signs of result from argument.
4991 * math/s_casinhf.c (__casinhf): Likewise.
4992 * math/s_casinhl.c (__casinhl): Likewise.
4993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4994 (casinh_test): Add more tests.
4995 * sysdeps/i386/fpu/libm-test-ulps: Update.
4996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4998 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5000 * po/zh_TW.po: Update from translation team.
5002 * login/Makefile (distribute): Remove variable.
5003 * catgets/Makefile: Likewise.
5004 * mach/Makefile: Likewise.
5005 * malloc/Makefile: Likewise.
5006 * misc/Makefile: Likewise.
5007 * iconv/Makefile: Likewise.
5008 * nscd/Makefile: Likewise.
5009 * hurd/Makefile: Likewise.
5010 * manual/Makefile: Likewise.
5011 * locale/Makefile: Likewise.
5012 * intl/Makefile: Likewise.
5013 * conform/Makefile: Likewise.
5014 * nss/Makefile: Likewise.
5015 * time/Makefile: Likewise.
5016 * soft-fp/Makefile: Likewise.
5017 * dirent/Makefile: Likewise.
5018 * gmon/Makefile: Likewise.
5019 * po/Makefile: Likewise.
5020 * rt/Makefile: Likewise.
5021 * socket/Makefile: Likewise.
5022 * math/Makefile: Likewise.
5023 * signal/Makefile: Likewise.
5024 * debug/Makefile: Likewise.
5025 * elf/Makefile: Likewise.
5026 * timezone/Makefile: Likewise.
5027 * stdlib/Makefile: Likewise.
5028 * iconvdata/Makefile: Likewise.
5029 * sunrpc/Makefile: Likewise.
5030 * io/Makefile: Likewise.
5031 * argp/Makefile: Likewise.
5032 * inet/Makefile: Likewise.
5033 * hesiod/Makefile: Likewise.
5034 * grp/Makefile: Likewise.
5035 * csu/Makefile: Likewise.
5036 * wctype/Makefile: Likewise.
5037 * crypt/Makefile: Likewise.
5038 * libio/Makefile: Likewise.
5039 * string/Makefile: Likewise.
5040 * nis/Makefile: Likewise.
5041 * resolv/Makefile: Likewise.
5042 * stdio-common/Makefile: Likewise.
5043 * wcsmbs/Makefile: Likewise.
5044 * dlfcn/Makefile: Likewise.
5045 * posix/Makefile: Likewise.
5048 * timezone/Makefile: Don't install timezone files, just the programs
5051 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5053 * nss/databases.def: Add missing gshadow entry.
5055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5057 2012-03-06 Marek Polacek <polacek@redhat.com>
5060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5063 * stdio-common/tst-long-dbl-fphex.c: New file.
5065 2012-03-06 David S. Miller <davem@davemloft.net>
5067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5068 (set_obp_int): New function.
5069 (get_obp_int): New function.
5070 (__get_clockfreq_via_dev_openprom): Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5072 Avoid unused variable warnings on 'val' and use builtin_expect.
5073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5075 (INLINE_CLONE_SYSCALL): Likewise.
5077 2012-03-05 David S. Miller <davem@davemloft.net>
5079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5081 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5089 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5092 Replace gettimeofday with __vdso_gettimeofday.
5094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5096 __vdso_clock_gettime and __vdso_getcpu.
5098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5099 time with __vdso_time.
5101 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5103 * manual/lang.texi (size_t): Note types to which size_t may be
5104 equivalent with the GNU C Library, but do not describe when
5105 differences between them are significant.
5107 2012-03-05 Andreas Jaeger <aj@suse.de>
5109 * sysdeps/i386/fpu/libm-test-ulps: Update.
5111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5115 (__ieee754_pow): Save and restore rounding mode and use
5116 round-to-nearest for main computations.
5117 * math/libm-test.inc (pow_test_tonearest): New function.
5118 (pow_test_towardzero): Likewise.
5119 (pow_test_downward): Likewise.
5120 (pow_test_upward): Likewise.
5121 (main): Call the new functions.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126 * math/libm-test.inc (cosh_test_tonearest): New function.
5127 (cosh_test_towardzero): Likewise.
5128 (cosh_test_downward): Likewise.
5129 (cosh_test_upward): Likewise.
5130 (sinh_test_tonearest): Likewise.
5131 (sinh_test_towardzero): Likewise.
5132 (sinh_test_downward): Likewise.
5133 (sinh_test_upward): Likewise.
5134 (main): Call the new functions.
5135 * sysdeps/i386/fpu/libm-test-ulps: Update.
5136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138 2012-03-05 Tom de Vries <tom@codesourcery.com>
5140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5141 default stack guard is set in last bytes.
5142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5144 2012-03-05 Kees Cook <keescook@chromium.org>
5146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5150 possibly allocate from heap instead of stack.
5151 * stdio-common/bug-vfprintf-nargs.c: New file.
5152 * stdio-common/Makefile (tests): Add nargs overflow test.
5154 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5158 2012-03-03 Marek Polacek <polacek@redhat.com>
5160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5161 * math/math_private.h: Likewise.
5162 * stdlib/tst-strtod.c: Likewise.
5163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5164 * sysdeps/x86_64/bits/atomic.h: Likewise.
5166 2012-03-02 David S. Miller <davem@davemloft.net>
5168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5177 2012-03-02 Roland McGrath <roland@hack.frob.com>
5180 * manual/examples/README: New file, says the example source files
5181 can be used under GPL>=2.
5182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5183 line containing just "*/".
5184 * manual/examples/add.c: Add copyright header (GPL>=2).
5185 * manual/examples/argp-ex1.c: Likewise.
5186 * manual/examples/argp-ex2.c: Likewise.
5187 * manual/examples/argp-ex3.c: Likewise.
5188 * manual/examples/argp-ex4.c: Likewise.
5189 * manual/examples/atexit.c: Likewise.
5190 * manual/examples/db.c: Likewise.
5191 * manual/examples/dir.c: Likewise.
5192 * manual/examples/dir2.c: Likewise.
5193 * manual/examples/execinfo.c: Likewise.
5194 * manual/examples/filecli.c: Likewise.
5195 * manual/examples/filesrv.c: Likewise.
5196 * manual/examples/fmtmsgexpl.c: Likewise.
5197 * manual/examples/genpass.c: Likewise.
5198 * manual/examples/inetcli.c: Likewise.
5199 * manual/examples/inetsrv.c: Likewise.
5200 * manual/examples/isockad.c: Likewise.
5201 * manual/examples/longopt.c: Likewise.
5202 * manual/examples/memopen.c: Likewise.
5203 * manual/examples/memstrm.c: Likewise.
5204 * manual/examples/mkfsock.c: Likewise.
5205 * manual/examples/mkisock.c: Likewise.
5206 * manual/examples/mygetpass.c: Likewise.
5207 * manual/examples/pipe.c: Likewise.
5208 * manual/examples/popen.c: Likewise.
5209 * manual/examples/rprintf.c: Likewise.
5210 * manual/examples/search.c: Likewise.
5211 * manual/examples/select.c: Likewise.
5212 * manual/examples/setjmp.c: Likewise.
5213 * manual/examples/sigh1.c: Likewise.
5214 * manual/examples/sigusr.c: Likewise.
5215 * manual/examples/stpcpy.c: Likewise.
5216 * manual/examples/strdupa.c: Likewise.
5217 * manual/examples/strftim.c: Likewise.
5218 * manual/examples/strncat.c: Likewise.
5219 * manual/examples/subopt.c: Likewise.
5220 * manual/examples/swapcontext.c: Likewise.
5221 * manual/examples/termios.c: Likewise.
5222 * manual/examples/testopt.c: Likewise.
5223 * manual/examples/testpass.c: Likewise.
5224 * manual/examples/timeval_subtract.c: Likewise.
5227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5229 * manual/timeval_subtract.c.texi: ... here, new file.
5231 2012-03-02 David S. Miller <davem@davemloft.net>
5233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5235 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5239 (__sin): Save and restore rounding mode and use round-to-nearest
5240 for all computations.
5241 (__cos): Save and restore rounding mode and use round-to-nearest
5242 for all computations.
5243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5245 (tan): Save and restore rounding mode and use round-to-nearest for
5247 * math/libm-test.inc (cos_test_tonearest): New function.
5248 (cos_test_towardzero): Likewise.
5249 (cos_test_downward): Likewise.
5250 (cos_test_upward): Likewise.
5251 (sin_test_tonearest): Likewise.
5252 (sin_test_towardzero): Likewise.
5253 (sin_test_downward): Likewise.
5254 (sin_test_upward): Likewise.
5255 (tan_test_tonearest): Likewise.
5256 (tan_test_towardzero): Likewise.
5257 (tan_test_downward): Likewise.
5258 (tan_test_upward): Likewise.
5259 (main): Call the new functions.
5260 * sysdeps/i386/fpu/libm-test-ulps: Update.
5261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5265 small n, then large n, before computing and testing k+n.
5266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5279 * math/libm-test.inc (scalbn_test): Add more tests.
5280 (scalbln_test): Likewise.
5282 * manual/filesys.texi (mode_t): Describe constraints on size and
5283 signedness, not exact equivalence to a particular type.
5285 (ino64_t): Likewise.
5287 (nlink_t): Likewise.
5288 (blkcnt_t): Likewise.
5289 (blkcnt64_t): Likewise.
5290 * manual/llio.texi (off_t): Likewise.
5293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5294 (__ieee754_exp): Save and restore rounding mode and use
5295 round-to-nearest for all computations.
5296 * math/libm-test.inc (exp_test_tonearest): New function.
5297 (exp_test_towardzero): Likewise.
5298 (exp_test_downward): Likewise.
5299 (exp_test_upward): Likewise.
5300 (main): Call the new functions.
5301 * sysdeps/i386/fpu/libm-test-ulps: Update.
5302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5304 2012-03-01 Chris Demetriou <cgd@google.com>
5306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5307 have predictable order.
5309 2012-03-01 David S. Miller <davem@davemloft.net>
5311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5352 * sysdeps/sparc/elf/configure: Regenerated.
5354 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5356 * configure.in (AS, LD): Require binutils 2.20 or later.
5357 * configure: Regenerated.
5358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5359 as required minimum version.
5360 * INSTALL: Regenerated.
5364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5365 before squaring exponent.
5366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5367 bottom long double and 27 bits of top long double before squaring
5369 * math/libm-test.inc (erfc_test): Add more tests.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374 2012-03-01 Kai Tietz <ktietz@redhat.com>
5376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5378 containing bit-fields.
5379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5380 * soft-fp/single.h (_FP_UNION_S): Likewise.
5381 * soft-fp/double.h (_FP_UNION_D): Likewise.
5383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5387 not include ../strcmp.S.
5388 [USE_AS_STRNCASECMP_L]: Likewise.
5389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5392 (__strncasecmp_l_ia32): Define as alias to
5393 __strncasecmp_l_nonascii.
5396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5397 * sysdeps/i386/fpu/libm-test-ulps: Update.
5398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403 2012-02-29 Jeff Law <law@redhat.com>
5405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5408 2012-02-29 Marek Polacek <polacek@redhat.com>
5411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5412 * elf/Makefile: Add rules to run tst-unused-dep.out.
5414 2012-02-28 David S. Miller <davem@davemloft.net>
5416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5425 * math/libm-test.inc (llround_test): Move one test from
5426 lround_test. Use TEST_f_L in moved test.
5427 (lround_test): Move misplaced test to llround_test. Add testcase
5430 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5432 * sysdeps/x86_64/fpu/e_expf.S: New file.
5433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5435 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5439 of remain_len that may cause incomplete multi-byte character and
5441 * posix/bug-regex33.c: New file.
5442 * posix/Makefile (tests): Add bug-regex33.
5444 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5446 * manual/macros.texi: New file.
5447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5448 * manual/libc.texinfo: Include macros.texi.
5449 * manual/creatute.texi: Likewise.
5450 * manual/install.texi: Likewise.
5451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5452 @glibcadj{} in references to the GNU C Library.
5453 * manual/charset.texi: Likewise.
5454 * manual/conf.texi: Likewise.
5455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5456 when not using those macros.
5457 * manual/creature.texi: Likewise.
5458 * manual/crypt.texi: Likewise.
5459 * manual/errno.texi: Likewise.
5460 * manual/filesys.texi: Likewise.
5461 * manual/header.texi: Likewise.
5462 * manual/install.texi: Likewise.
5463 * manual/intro.texi: Likewise.
5464 * manual/io.texi: Likewise.
5465 * manual/job.texi: Likewise.
5466 * manual/lang.texi: Likewise.
5467 * manual/libc.texiinfo: Likewise.
5468 * manual/llio.texi: Likewise.
5469 * manual/locale.texi: Likewise.
5470 * manual/maint.texi: Likewise.
5471 * manual/math.texi: Likewise.
5472 * manual/memory.texi: Likewise.
5473 * manual/message.texi: Likewise.
5474 * manual/nss.texi: Likewise.
5475 * manual/pattern.texi: Likewise.
5476 * manual/process.texi: Likewise.
5477 * manual/resource.texi: Likewise.
5478 * manual/search.texi: Likewise.
5479 * manual/setjmp.texi: Likewise.
5480 * manual/signal.texi: Likewise.
5481 * manual/socket.texi: Likewise.
5482 * manual/startup.texi: Likewise.
5483 * manual/stdio.texi: Likewise.
5484 * manual/string.texi: Likewise.
5485 * manual/sysinfo.texi: Likewise.
5486 * manual/syslog.texi: Likewise.
5487 * manual/terminal.texi: Likewise.
5488 * manual/time.texi: Likewise.
5489 * manual/users.texi: Likewise.
5490 * INSTALL: Regenerated.
5491 * NOTES: Regenerated.
5492 * sysdeps/gnu/errlist.c: Regenerated.
5494 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5496 * include/dirent.h: Include <dirstream.h> before
5499 2012-02-28 David S. Miller <davem@davemloft.net>
5501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5506 2012-02-27 David S. Miller <davem@davemloft.net>
5508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5514 frame pointer instead of stack pointer relative arg slot.
5515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5519 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5524 2012-02-27 David S. Miller <davem@davemloft.net>
5526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5535 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5538 later. Allow versions 5-9.
5539 * configure: Regenerated.
5540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5541 required minimum version and 4.6 as recommended version. Do not
5542 mention bugs in GCC 2.7 and 2.8.
5543 * INSTALL: Regenerated.
5545 2012-02-27 David S. Miller <davem@davemloft.net>
5547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5557 manipulate bits before adding and subtracting TWO112[sx].
5558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5560 2012-02-27 Roland McGrath <roland@hack.frob.com>
5563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5566 being in POSIX, because they are in 1003.1-2008.
5568 * rt/tst-aio.c: Include <fcntl.h>.
5569 * rt/tst-aio7.c: Likewise.
5570 * rt/tst-aio64.c: Likewise.
5572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5574 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5576 * manual/install.texi (--with-headers): Describe headers as
5577 interface headers, not private headers.
5578 (Specific advice for GNU/Linux systems): Describe use of headers
5579 from "make headers_install", not private headers from older
5581 * INSTALL: Regenerated.
5582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5584 * sysdeps/unix/sysv/linux/configure: Regenerated.
5586 * manual/llio.texi (fclean): Remove documentation.
5588 * manual/Makefile (libc-texi-generated): New variable. Include
5590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5591 $(libc-texi-generated), not duplicated list of files.
5592 (version.texi, stamp-version): New rules.
5593 (realclean): Remove $(libc-texi-generated), not individual files
5594 from that list. Do not remove dir-add.texinfo.
5595 * manual/libc.texinfo: Comment out uses of edition numbers and
5596 references to printed manual. Remove last-updated dates.
5597 (EDITION): Comment out.
5599 (VERSION, UPDATED): Remove.
5600 (version.texi): Include.
5602 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5604 * sysdeps/posix/spawni.c: Include <signal.h>.
5605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5606 * sysdeps/pthread/aio_fsync.c: Likewise.
5608 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5610 * conform/Makefile (tests): Run only when not cross-compiling and
5611 when fast-check is not defined.
5613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5614 * conform/data/limits.h-data: Fixes for POSIX2008.
5615 * conform/run-conformtest.sh: Run all tests.
5616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5618 * include/bits/dlfcn.h: Likewise.
5619 * include/langinfo.h: Likewise.
5620 * include/monetary.h: Likewise.
5621 * include/sys/poll.h: Likewise.
5623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5625 * posix/spawn.h: Define __need_sigset_t.
5626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5629 to get sigevent_t only.
5630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5634 process_vm_writev only for __USE_GNU.
5635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5637 * conform/Makefile: For now ignore errors from run-conformtest.
5638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5639 POSIX to avoid namespace pollution. Don't prepend headers.
5640 * conform/data/aio.h-data: Fixes for POSIX testing.
5641 * conform/data/fcntl.h-data: Likewise.
5642 * conform/data/glob.h-data: Likewise.
5643 * conform/data/grp.h-data: Likewise.
5644 * conform/data/pthread.h-data: Likewise.
5645 * conform/data/pwd.h-data: Likewise.
5646 * conform/data/signal.h-data: Likewise.
5647 * conform/data/spawn.h-data: Likewise.
5648 * conform/data/stdio.h-data: Likewise.
5649 * conform/data/stdlib.h-data: Likewise.
5650 * conform/data/stropts.h-data: Likewise.
5651 * conform/data/sys/mman.h-data: Likewise.
5652 * conform/data/sys/stat.h-data: Likewise.
5653 * conform/data/sys/types.h-data: Likewise.
5654 * conform/data/sys/wait.h-data: Likewise.
5655 * conform/data/time.h-data: Likewise.
5656 * conform/data/unistd.h-data: Likewise.
5657 * conform/data/utime.h-data: Likewise.
5659 * io/sys/stat.h: fchmod was always in POSIX.
5660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5662 * rt/aio.h: Define __need_timespec before including <time.h>.
5663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5664 struct. Add forward declaration of pthread_attr_t and use it in
5666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5669 always remove CLK_TCK definition.
5671 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5675 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5677 * conform/run-conformtest.sh: New file.
5678 * conform/Makefile: Run run-conformtest for tests.
5679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5682 * conform/data/uchar.h-data: New file.
5683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5684 * conform/data/arpa/inet.h-data: Likewise.
5685 * conform/data/assert.h-data: Likewise.
5686 * conform/data/complex.h-data: Likewise.
5687 * conform/data/cpio.h-data: Likewise.
5688 * conform/data/ctype.h-data: Likewise.
5689 * conform/data/dirent.h-data: Likewise.
5690 * conform/data/dlfcn.h-data: Likewise.
5691 * conform/data/errno.h-data: Likewise.
5692 * conform/data/fcntl.h-data: Likewise.
5693 * conform/data/float.h-data: Likewise.
5694 * conform/data/fmtmsg.h-data: Likewise.
5695 * conform/data/fnmatch.h-data: Likewise.
5696 * conform/data/ftw.h-data: Likewise.
5697 * conform/data/glob.h-data: Likewise.
5698 * conform/data/grp.h-data: Likewise.
5699 * conform/data/iconv.h-data: Likewise.
5700 * conform/data/inttypes.h-data: Likewise.
5701 * conform/data/langinfo.h-data: Likewise.
5702 * conform/data/libgen.h-data: Likewise.
5703 * conform/data/limits.h-data: Likewise.
5704 * conform/data/locale.h-data: Likewise.
5705 * conform/data/math.h-data: Likewise.
5706 * conform/data/monetary.h-data: Likewise.
5707 * conform/data/mqueue.h-data: Likewise.
5708 * conform/data/ndbm.h-data: Likewise.
5709 * conform/data/net/if.h-data: Likewise.
5710 * conform/data/netdb.h-data: Likewise.
5711 * conform/data/netinet/in.h-data: Likewise.
5712 * conform/data/nl_types.h-data: Likewise.
5713 * conform/data/poll.h-data: Likewise.
5714 * conform/data/pthread.h-data: Likewise.
5715 * conform/data/pwd.h-data: Likewise.
5716 * conform/data/regex.h-data: Likewise.
5717 * conform/data/sched.h-data: Likewise.
5718 * conform/data/search.h-data: Likewise.
5719 * conform/data/semaphore.h-data: Likewise.
5720 * conform/data/setjmp.h-data: Likewise.
5721 * conform/data/signal.h-data: Likewise.
5722 * conform/data/spawn.h-data: Likewise.
5723 * conform/data/stdarg.h-data: Likewise.
5724 * conform/data/stdio.h-data: Likewise.
5725 * conform/data/stdlib.h-data: Likewise.
5726 * conform/data/string.h-data: Likewise.
5727 * conform/data/strings.h-data: Likewise.
5728 * conform/data/stropts.h-data: Likewise.
5729 * conform/data/sys/ipc.h-data: Likewise.
5730 * conform/data/sys/mman.h-data: Likewise.
5731 * conform/data/sys/msg.h-data: Likewise.
5732 * conform/data/sys/resource.h-data: Likewise.
5733 * conform/data/sys/select.h-data: Likewise.
5734 * conform/data/sys/sem.h-data: Likewise.
5735 * conform/data/sys/shm.h-data: Likewise.
5736 * conform/data/sys/socket.h-data: Likewise.
5737 * conform/data/sys/stat.h-data: Likewise.
5738 * conform/data/sys/statvfs.h-data: Likewise.
5739 * conform/data/sys/time.h-data: Likewise.
5740 * conform/data/sys/timeb.h-data: Likewise.
5741 * conform/data/sys/times.h-data: Likewise.
5742 * conform/data/sys/types.h-data: Likewise.
5743 * conform/data/sys/uio.h-data: Likewise.
5744 * conform/data/sys/un.h-data: Likewise.
5745 * conform/data/sys/utsname.h-data: Likewise.
5746 * conform/data/sys/wait.h-data: Likewise.
5747 * conform/data/syslog.h-data: Likewise.
5748 * conform/data/tar.h-data: Likewise.
5749 * conform/data/termios.h-data: Likewise.
5750 * conform/data/utime.h-data: Likewise.
5751 * conform/data/utmpx.h-data: Likewise.
5752 * conform/data/varargs.h-data: Likewise.
5753 * conform/data/wchar.h-data: Likewise.
5754 * conform/data/wctype.h-data: Likewise.
5755 * conform/data/wordexp.h-data: Likewise.
5757 * include/stropts.h: New file.
5758 * include/uchar.h: New file.
5759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5760 * include/assert.h: Likewise.
5761 * include/ctype.h: Likewise.
5762 * include/dirent.h: Likewise.
5763 * include/dlfcn.h: Likewise.
5764 * include/fcntl.h: Likewise.
5765 * include/fnmatch.h: Likewise.
5766 * include/glob.h: Likewise.
5767 * include/grp.h: Likewise.
5768 * include/libio.h: Likewise.
5769 * include/locale.h: Likewise.
5770 * include/math.h: Likewise.
5771 * include/net/if.h: Likewise.
5772 * include/netdb.h: Likewise.
5773 * include/netinet/in.h: Likewise.
5774 * include/pthread.h: Likewise.
5775 * include/pwd.h: Likewise.
5776 * include/regex.h: Likewise.
5777 * include/sched.h: Likewise.
5778 * include/search.h: Likewise.
5779 * include/setjmp.h: Likewise.
5780 * include/signal.h: Likewise.
5781 * include/stdio.h: Likewise.
5782 * include/stdlib.h: Likewise.
5783 * include/string.h: Likewise.
5784 * include/sys/cdefs.h: Likewise.
5785 * include/sys/mman.h: Likewise.
5786 * include/sys/msg.h: Likewise.
5787 * include/sys/resource.h: Likewise.
5788 * include/sys/select.h: Likewise.
5789 * include/sys/socket.h: Likewise.
5790 * include/sys/stat.h: Likewise.
5791 * include/sys/statvfs.h: Likewise.
5792 * include/sys/time.h: Likewise.
5793 * include/sys/times.h: Likewise.
5794 * include/sys/uio.h: Likewise.
5795 * include/sys/utsname.h: Likewise.
5796 * include/sys/wait.h: Likewise.
5797 * include/termios.h: Likewise.
5798 * include/time.h: Likewise.
5799 * include/ulimit.h: Likewise.
5800 * include/unistd.h: Likewise.
5801 * include/utime.h: Likewise.
5802 * include/wchar.h: Likewise.
5803 * include/wctype.h: Likewise.
5804 * include/wordexp.h: Likewise.
5806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5808 * time/time.h: TIME_UTC must be a macro.
5809 Make timespec_get available for ISO C11 only as well.
5811 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5818 * configure.in: Use -o not -a in test for unsupported multi-arch.
5820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5822 * manual/texinfo.tex: Update to version 2012-01-19.16.
5824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5828 2012-02-24 Roland McGrath <roland@hack.frob.com>
5831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5832 * manual/fdl-1.3.texi: New file.
5833 * manual/fdl-1.1.texi: File removed.
5836 * manual/libc.texinfo (FDL_VERSION): New @set.
5837 Use it for mention of FDL in cover text.
5838 (Documentation License): Use it in @include file name.
5840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5841 Roland McGrath <roland@hack.frob.com>
5844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5845 not LONG_LONG_MAX and LONG_LONG_MIN.
5846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5856 manipulate bits before adding and subtracting TWO23[sx].
5857 * math/libm-test.inc (nearbyint_test): Add more tests.
5859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5863 bits before adding and subtracting TWO23[sx].
5864 * math/libm-test.inc (rint_test): Add more tests.
5865 (rint_test_tonearest): Likewise.
5866 (rint_test_towardzero): Likewise.
5867 (rint_test_downward): Likewise.
5868 (rint_test_upward: Likewise.
5870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5873 * include/stdc-predef.h: New file. Extracted from features.h.
5874 * include/features.h: Include stdc-predef.h.
5875 * Makefile (headers): Add stdc-predef.h.
5876 * CONFORMANCE (Compiler limitations): Update.
5878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5882 2012-02-21 David S. Miller <davem@davemloft.net>
5884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5887 2012-02-20 David S. Miller <davem@davemloft.net>
5889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5890 using a normal save/restore sequence, rather than allocating a
5891 dummy stack frame just to store a frame pointer and restore.
5892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5896 * manual/install.texi: Fix stray word in line-wrapped comment.
5898 2012-02-20 David S. Miller <davem@davemloft.net>
5900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5901 both binutils and gcc support GOTDATA.
5903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5904 "rd %pc" in the PIC register setup sequences.
5906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5915 (SYSCALL_ERROR_HANDLER): Likewise.
5916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5919 (SYSCALL_ERROR_HANDLER): Likewise.
5921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5922 (HAVE_GCC_GOTDATA): New.
5923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5924 relocation support in both binutils and gcc.
5925 * sysdeps/sparc/elf/configure: Regenerate.
5927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5928 * sysdeps/sparc/sparc32/elf/configure: Delete.
5929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5930 * sysdeps/sparc/sparc64/elf/configure: Delete.
5931 * sysdeps/sparc/elf/configure.in: New file.
5932 * sysdeps/sparc/elf/configure: Generate.
5934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5942 * manual/install.texi: Do not mention specific glibc version
5944 * manual/libc.texinfo (VERSION, UPDATED): Update.
5945 (@copying): Use @copyright{} and range of years.
5947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5951 [crti.S not in sysdirs] (generated): Do not append.
5952 [crti.S not in sysdirs] (omit-deps): Likewise.
5953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5962 * csu/defs.awk: Remove file.
5963 * sysdeps/generic/initfini.c: Likewise.
5964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5979 (__EPOLL_PACKED): Define to empty if not defined by
5981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5996 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6010 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6020 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6022 * math/w_acos.c: Use non-signaling floating-point comparisons.
6023 * math/w_acosf.c: Likewise.
6024 * math/w_acosh.c: Likewise.
6025 * math/w_acoshf.c: Likewise.
6026 * math/w_acoshl.c: Likewise.
6027 * math/w_acosl.c: Likewise.
6028 * math/w_asin.c: Likewise.
6029 * math/w_asinf.c: Likewise.
6030 * math/w_asinl.c: Likewise.
6031 * math/w_atanh.c: Likewise.
6032 * math/w_atanhf.c: Likewise.
6033 * math/w_atanhl.c: Likewise.
6034 * math/w_exp2.c: Likewise.
6035 * math/w_exp2f.c: Likewise.
6036 * math/w_exp2l.c: Likewise.
6037 * math/w_j0.c: Likewise.
6038 * math/w_j0f.c: Likewise.
6039 * math/w_j0l.c: Likewise.
6040 * math/w_j1.c: Likewise.
6041 * math/w_j1f.c: Likewise.
6042 * math/w_j1l.c: Likewise.
6043 * math/w_jn.c: Likewise.
6044 * math/w_jnf.c: Likewise.
6045 * math/w_log.c: Likewise.
6046 * math/w_log10.c: Likewise.
6047 * math/w_log10f.c: Likewise.
6048 * math/w_log10l.c: Likewise.
6049 * math/w_log2.c: Likewise.
6050 * math/w_log2f.c: Likewise.
6051 * math/w_log2l.c: Likewise.
6052 * math/w_logf.c: Likewise.
6053 * math/w_logl.c: Likewise.
6054 * math/w_sqrt.c: Likewise.
6055 * math/w_sqrtf.c: Likewise.
6056 * math/w_sqrtl.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6066 * manual/string.texi (strnlen): Use correct parameter name in
6067 equivalent expression.
6069 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6072 * manual/users.texi (seteuid): Consistently use neweuid for
6075 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6078 * manual/nss.texi (Services in the NSS configuration): Correct
6079 list of services in example configuration file.
6081 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6084 * manual/arith.texi: Remove statements about negative zero
6085 behaving identically to zero.
6087 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6090 * manual/install.texi: Do not document upgrading from libc5.
6092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6097 2012-02-18 David S. Miller <davem@davemloft.net>
6099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6101 %o7 across the call.
6102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6108 * sysdeps/sparc/crtn.S: Likewise.
6110 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6112 * aout/Makefile: Remove.
6114 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6117 * manual/examples/argp-ex1.c (main): Format definition in GNU
6119 * manual/examples/argp-ex2.c (main): Likewise.
6120 * manual/examples/argp-ex3.c (main): Likewise.
6121 * manual/examples/argp-ex4.c (main): Likewise.
6122 * manual/examples/longopt.c (main): Use new-style prototype
6124 * manual/examples/strncat.c (main): Specify return type and use
6125 (void) for arguments.
6126 * manual/examples/subopt.c (main): Use char **argv argument.
6128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6134 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6137 * manual/string.texi (strchr): Change when strchrnul is
6140 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6143 * manual/locale.texi (setlocale): Document LOCPATH.
6145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6148 * manual/process.texi (execle): Move @dots{} before last argument.
6150 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6153 * manual/charset.texi (Generic Charset Conversion): Fix typo
6154 (LC_TYPE -> LC_CTYPE).
6156 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6160 (scalbnf): Likewise.
6161 (scalbnl): Likewise.
6162 (scalbln): Likewise.
6163 (scalblnf): Likewise.
6164 (scalblnl): Likewise.
6165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6169 * manual/filesys.texi (telldir): Use braces around return type.
6170 * manual/llio.texi (mmap): Add space after comma.
6172 * manual/math.texi (jn): Use @var{} on parameter names.
6178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6183 (sched_get_priority_max): Likewise.
6184 * manual/signal.texi (sigvec): Add space after comma.
6185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6187 (if_indextoname): Likewise.
6188 (if_freenameindex): Likewise.
6189 (sendto): Use ',' instead of '.' in prototype.
6190 * manual/startup.texi (syscall): Use @dots{} instead of literal
6192 * manual/stdio.texi (__fpending): Separate initial words of
6193 paragraph from @deftypefun line.
6194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6196 (vsyslog): Use @var{} on parameter names.
6197 * manual/terminal.texi (stty): Use @var{} on parameter names.
6198 * manual/users.texi (getutmp): Use @var{} on parameter names.
6199 (getutmpx): Likewise.
6201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6204 * manual/stdio.texi (fopen): Fix typos in description of
6207 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6211 get clock_id definition.
6213 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6217 (madvise): Cast every argument to void on its own.
6219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6222 * manual/startup.texi (Exit Status): Fix typo.
6224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6228 * manual/examples/argp-ex2.c: Likewise.
6229 * manual/examples/argp-ex3.c: Likewise.
6231 2012-02-16 Richard Henderson <rth@redhat.com>
6233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6234 * sysdeps/s390/s390-32/initfini.c: Remove.
6235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6236 * sysdeps/s390/s390-64/initfini.c: Remove.
6238 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6241 compiler output for sysdeps/generic/initfini.c.
6242 * sysdeps/sh/elf/initfini.c: Remove file.
6244 2012-02-16 David S. Miller <davem@davemloft.net>
6247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6250 * sysdeps/sparc/crti.S: New file.
6251 * sysdeps/sparc/crtn.S: New file.
6252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6253 * sysdeps/sparc/sparc64/Makefile: Likewise.
6255 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6260 2012-02-15 Roland McGrath <roland@hack.frob.com>
6263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6266 (write, read, close): Likewise.
6267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6269 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6280 2012-02-14 Marek Polacek <polacek@redhat.com>
6282 * sysdeps/x86_64/crti.S: New file.
6283 * sysdeps/x86_64/crtn.S: New file.
6284 * sysdeps/x86_64/elf/initfini.c: Remove file.
6286 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6297 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6308 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6311 __feraiseexcept instead of feraiseexcept.
6313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6314 nanosleep invocations.
6315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6316 strings, and add error checking for a nanosleep invocations.
6318 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6320 Replace FSF snail mail address with URLs, as per GNU coding standards.
6321 Most of the snail mail addresses were wrong anyway, and omitting
6322 them makes the source code easier to maintain. Almost all of the
6323 changes are to license notices and to locale LC_IDENTIFICATION
6324 addresses, except for this one:
6325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6326 not its snail mail address.
6328 2012-02-09 Richard Henderson <rth@twiddle.net>
6330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6331 of kernel-features.h.
6333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6335 2012-02-08 Marek Polacek <polacek@redhat.com>
6337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6339 * sysdeps/gnu/_G_config.h: Likewise.
6340 * sysdeps/generic/_G_config.h: Likewise.
6342 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/powerpc/powerpc32/crti.S: New file.
6349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6350 * sysdeps/powerpc/powerpc64/crti.S: New file.
6351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6353 * Makeconfig (have-initfini): Don't set.
6354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6355 * configure.in (nopic_initfini): Don't substitute.
6356 * config.h.in (HAVE_INITFINI): Don't #undef.
6357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6360 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6362 Support crti.S and crtn.S provided directly by architectures.
6363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6364 [crti.S in sysdirs] (omit-deps): Likewise.
6365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6374 compiler output for sysdeps/generic/initfini.c.
6375 * sysdeps/i386/elf/Makefile: Remove file.
6376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6378 2012-02-07 Marek Polacek <polacek@redhat.com>
6380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6381 * sysdeps/gnu/_G_config.h: Likewise.
6382 * sysdeps/mach/hurd/_G_config.h: Likewise.
6384 2012-02-07 Marek Polacek <polacek@redhat.com>
6386 * math/Makefile (tests): Add tst-CMPLX2.
6387 * math/tst-CMPLX2.c: New file.
6389 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6393 * math/libm-test.inc (jn_test): Add missing L suffix.
6395 2012-02-06 Marek Polacek <polacek@redhat.com>
6397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6398 * sysdeps/i386/fpu/e_powf.S: Likewise.
6399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6402 * sysdeps/i386/fpu/e_pow.S: Likewise.
6403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6407 * sysdeps/i386/fpu/e_log2.S: Likewise.
6408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6410 * sysdeps/i386/fpu/e_powl.S: Likewise.
6411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6414 * sysdeps/i386/fpu/e_logl.S: Likewise.
6415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6421 * sysdeps/i386/fpu/e_log.S: Likewise.
6422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6425 * sysdeps/i386/fpu/e_logf.S: Likewise.
6426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6431 * sysdeps/i386/fpu/e_log10.S: Likewise.
6432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6438 * sysdeps/i386/asm-syntax.h: Likewise.
6439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6448 * sysdeps/powerpc/sysdep.h: Likewise.
6449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6452 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6459 * sysdeps/i386/sysdep.h: Include <features.h>.
6460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6463 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6473 (SETUP_PIC_REG): Use GET_PC_THUNK.
6474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6480 for non-PIC compilation.
6481 (SETUP_PIC_REG): Add .p2align directive.
6482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6526 * math/tst-CMPLX.c: Include <stdio.h>.
6528 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6533 * sysdeps/sparc/bits/mathdef.h: Likewise.
6535 2012-01-31 Marek Polacek <polacek@redhat.com>
6537 * libio/libio.h: Don't define _PARAMS.
6538 * locale/programs/config.h: Don't define PARAMS.
6539 * stdlib/strtol_l.c: Likewise.
6540 (__strtol_l): Remove PARAMS from the prototype.
6542 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6545 names. Just use the correct names. Remove unnecessary wrapper
6547 * malloc/arena.c: Likewise.
6548 * malloc/hooks.c: Likewise.
6550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6551 ARENA_TEST says not to. Simplify test for creation of a new arena.
6552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6554 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6558 (update_get_addr): New function.
6559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6560 GET_ADDR_MODULE parameter.
6562 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6564 * crypt/cert.c: Remove __STDC__ conditionals.
6565 * crypt/crypt-entry.c: Likewise.
6566 * crypt/crypt_util.c: Likewise.
6567 * libio/filedoalloc.c: Likewise.
6568 * libio/fileops.c: Likewise.
6569 * libio/genops.c: Likewise.
6570 * libio/iofclose.c: Likewise.
6571 * libio/iofdopen.c: Likewise.
6572 * libio/iofopen.c: Likewise.
6573 * libio/iofopen64.c: Likewise.
6574 * libio/iogetdelim.c: Likewise.
6575 * libio/iopopen.c: Likewise.
6576 * libio/obprintf.c: Likewise.
6577 * libio/oldfileops.c: Likewise.
6578 * libio/oldiofclose.c: Likewise.
6579 * libio/oldiofdopen.c: Likewise.
6580 * libio/oldiofopen.c: Likewise.
6581 * libio/oldiopopen.c: Likewise.
6582 * libio/wfiledoalloc.c: Likewise.
6583 * libio/wgenops.c: Likewise.
6584 * locale/programs/xmalloc.c: Likewise.
6585 * misc/syslog.c: Likewise.
6586 * stdio-common/xbug.c: Likewise.
6587 * string/memchr.c: Likewise.
6588 * string/memcmp.c: Likewise.
6589 * string/memrchr.c: Likewise.
6590 * string/rawmemchr.c: Likewise.
6591 * sysdeps/posix/getcwd.c: Likewise.
6592 * time/strftime_l.c: Likewise.
6594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6597 * config.make.in (config-cflags-sse2avx): Define.
6598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6601 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6603 * scripts/config.guess: Update from upstream config git repository.
6604 * scripts/config.sub: Likewise.
6606 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6610 (R_TILEPRO_*, R_TILEGX_*): New macros.
6612 * scripts/firstversions.awk: Fix bug in version range handling.
6614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6618 * include/sys/epoll.h: New file.
6619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6622 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6625 Avoid unnecessary __WORDSIZE == 64 test.
6626 (fmaxf): Use VEX format if possible.
6631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6632 * math/math_private.h: Remove libc_fegetround* and
6634 * sysdeps/i386/configure.in: Check for -msse2avx.
6635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6636 also if SSE2AVX is defined.
6637 Remove libc_fegetround* and libc_fesetround*.
6638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6650 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6656 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6661 * Makeconfig (libm): Define.
6662 * elf/Makefile: Add rules to build and run tst-relsort1.
6663 * elf/tst-relsort1.c: New file.
6664 * elf/tst-relsort1mod1.c: New file.
6665 * elf/tst-relsort1mod2.c: New file.
6667 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6669 * math/s_ldexp.c: Remove __STDC__ conditionals.
6670 * math/s_ldexpf.c: Likewise.
6671 * math/s_ldexpl.c: Likewise.
6672 * math/s_nextafter.c: Likewise.
6673 * math/s_nexttowardf.c: Likewise.
6674 * math/s_significand.c: Likewise.
6675 * math/s_significandf.c: Likewise.
6676 * math/s_significandl.c: Likewise.
6677 * math/w_jnl.c: Likewise.
6678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6718 * sysdeps/ieee754/k_standard.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6798 * sysdeps/ieee754/s_matherr.c: Likewise.
6799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6806 * crypt/md5.h: Remove __STDC__ conditionals.
6807 * libio/libioP.h: Likewise.
6808 * locale/programs/config.h: Likewise.
6809 * sysdeps/generic/sysdep.h: Likewise.
6810 * sysdeps/i386/asm-syntax.h: Likewise.
6811 * sysdeps/s390/asm-syntax.h: Likewise.
6812 * sysdeps/unix/sysdep.h: Likewise.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6816 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6818 * libio/libio.h: Remove __STDC__ conditionals.
6819 * malloc/obstack.h: Likewise.
6820 * math/complex.h: Likewise.
6821 * math/math.h: Likewise.
6822 * sysdeps/generic/_G_config.h: Likewise.
6823 * sysdeps/gnu/_G_config.h: Likewise.
6824 * sysdeps/mach/hurd/_G_config.h: Likewise.
6825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6827 * sysdeps/sparc/bits/mathdef.h: Likewise.
6829 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6833 Clean up HAS_* macros.
6834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6845 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6847 * elf/tst-unique3.cc (gets): Remove declaration.
6848 * elf/tst-unique3lib.cc (gets): Likewise.
6849 * elf/tst-unique3lib2.cc (gets): Likewise.
6850 * elf/tst-unique4.cc (gets): Likewise.
6852 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6854 * include/stdio.h: Add C++ protection. Add gets declarations and
6856 * debug/tst-chk1.c: Don't declare gets here.
6857 * stdio-common/tst-gets.c: Likewise.
6859 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6861 * posix/glob: Remove directory.
6863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6867 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6870 of the non-standard EPFNOSUPPORT.
6872 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6878 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6882 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6886 * nscd/grpcache.c (cache_addgr): Likewise.
6887 * nscd/hstcache.c (cache_addhst): Likewise.
6888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6889 * nscd/pwdcache.c (cache_addpw): Likewise.
6890 * nscd/servicescache.c (cache_addserv): Likewise.
6892 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6894 * malloc/malloc.c: Various cleanups.
6895 * malloc/hooks.c: Likewise.
6897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6898 * stdlib/bug-fmtmsg1.c: New file.
6900 * stdlib/fmtmsg.c (init): Add missing unlock.
6901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6903 2012-01-12 Marek Polacek <polacek@redhat.com>
6905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6908 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6912 macro to ensure uniqueness of label name.
6913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6916 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6925 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6940 * math/bits/math-finite.h: Add ldexp support.
6942 2012-01-10 Marek Polacek <polacek@redhat.com>
6944 * locale/programs/localedef.h (show_archive_content): Add noreturn
6947 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6955 * io/Makefile (headers): Add bits/poll2.h.
6957 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6960 typo #include statement.
6962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6964 * include/sys/cdefs.h: Define __attribute_alloc_size.
6965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6967 * elf/pldd.c: Likewise.
6968 * iconv/iconv_charmap.c: Likewise.
6969 * iconv/iconvconfig.c: Likewise.
6970 * iconv/strtab.c: Likewise.
6971 * locale/programs/locale.c: Likewise.
6972 * locale/programs/localedef.h: Likewise.
6973 * locale/programs/simple-hash.c: Likewise.
6974 * nscd/nscd.h: Likewise.
6975 * nss/makedb.c: Likewise.
6976 * sysdeps/generic/ldconfig.h: Likewise.
6977 * locale/programs/localedef.c: Remove xmalloc prototype.
6978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6980 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6987 * math/Makefile (tests): Add tst-CMPLX.
6988 * math/tst-CMPLX.c: New file.
6990 * math/complex.h (CMPLXL): Fix typo.
6992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6995 * debug/tst-chk1.c: Add poll and ppoll tests.
6996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6997 * include/sys/poll.h: Add hidden proto for ppoll.
6998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6999 * sysdeps/mach/hurd/ppoll.c: Likewise.
7000 * io/ppoll.c: Likewise.
7001 * debug/poll_chk.c: New file.
7002 * debug/ppoll_chk.c: New file.
7003 * include/bits/poll2.h: New file.
7004 * io/bits/poll2.h: New file.
7007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7009 * configure.in: static is always set to yes. Remove.
7010 * config.make.in: Don't set build-static.
7011 * Makeconfig: Remove use of build-static.
7012 * dlfcn/Makefile: Likewise.
7013 * elf/Makefile: Likewise.
7014 * math/Makefile: Likewise.
7015 * misc/Makefile: Likewise.
7016 * nptl/Makefile: Likewise.
7017 * sysdeps/mach/hurd/Makefile: Likewise.
7019 * configure.in: PWD_P is not used anymore.
7020 * config.make.in: Remove PWD_P entry.
7022 * configure.in: Remove last remnants of RANLIB.
7023 No need to check for signed size_t anymore.
7024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7026 Remove __builtin_expect test because we require at least gcc 3.4.
7027 * aclocal.m4: Likewise.
7029 * wcsmbs/mbrtoc16.c: Implement using towc function.
7030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7031 * wcsmbs/wcsmbsload.c: Likewise.
7032 * iconv/gconv_simple.c: Likewise.
7033 * iconv/gconv_int.h: Likewise.
7034 * iconv/gconv_builtin.h: Likewise.
7035 * iconv/iconv_prog.c: Remove CHAR16 handling.
7037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7041 * configure.in: Remove --with-elf and --enable-bounded options.
7042 Dont set base_machine for ia64. More non-ELF conditions removed.
7043 Remove testing and setting of leading underscore information.
7044 * config.make.in (build-bounded): Set to no.
7045 * config.h.in: Remove NO_UNDERSCORES entry.
7046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7048 * csu/start.c: Remove !NO_UNDERSCORE code.
7049 * locale/localeinfo.h: Likewise.
7050 * sysdeps/generic/machine-gmon.h: Likewise.
7051 * sysdeps/generic/sysdep.h: Likewise.
7052 * sysdeps/i386/sysdep.h: Likewise.
7053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7054 * sysdeps/mach/sysdep.h: Likewise.
7055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7057 * sysdeps/sh/sysdep.h: Likewise.
7058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7059 * sysdeps/unix/i386/sysdep.S: Likewise.
7060 * sysdeps/unix/sparc/start.c: Likewise.
7061 * sysdeps/unix/sparc/sysdep.S: Likewise.
7062 * sysdeps/unix/sparc/sysdep.h: Likewise.
7063 * sysdeps/unix/start.c: Likewise.
7064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7065 * sysdeps/x86_64/sysdep.h: Likewise.
7067 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7072 * argp/argp-fmtstream.h: Use const instead __const.
7073 * argp/argp.h: Likewise.
7074 * assert/assert.h: Likewise.
7075 * bits/fenv.h: Likewise.
7076 * bits/sched.h: Likewise.
7077 * bits/sigset.h: Likewise.
7078 * bits/sigthread.h: Likewise.
7079 * catgets/nl_types.h: Likewise.
7080 * conform/data/pthread.h-data: Likewise.
7081 * crypt/crypt-private.h: Likewise.
7082 * crypt/crypt.h: Likewise.
7083 * crypt/crypt_util.c: Likewise.
7084 * ctype/ctype.h: Likewise.
7085 * debug/execinfo.h: Likewise.
7086 * debug/mbsnrtowcs_chk.c: Likewise.
7087 * debug/mbsrtowcs_chk.c: Likewise.
7088 * debug/wcsnrtombs_chk.c: Likewise.
7089 * debug/wcsrtombs_chk.c: Likewise.
7090 * debug/wcstombs_chk.c: Likewise.
7091 * dirent/dirent.h: Likewise.
7092 * dlfcn/dlfcn.h: Likewise.
7093 * elf/neededtest4.c: Likewise.
7094 * grp/grp.h: Likewise.
7095 * gshadow/gshadow.h: Likewise.
7096 * iconv/gconv.h: Likewise.
7097 * iconv/gconv_int.h: Likewise.
7098 * iconv/gconv_simple.c: Likewise.
7099 * iconv/iconv.h: Likewise.
7100 * iconv/loop.c: Likewise.
7101 * iconv/skeleton.c: Likewise.
7102 * include/aio.h: Likewise.
7103 * include/aliases.h: Likewise.
7104 * include/argz.h: Likewise.
7105 * include/arpa/inet.h: Likewise.
7106 * include/assert.h: Likewise.
7107 * include/dirent.h: Likewise.
7108 * include/dlfcn.h: Likewise.
7109 * include/execinfo.h: Likewise.
7110 * include/fcntl.h: Likewise.
7111 * include/fenv.h: Likewise.
7112 * include/glob.h: Likewise.
7113 * include/grp.h: Likewise.
7114 * include/libintl.h: Likewise.
7115 * include/mntent.h: Likewise.
7116 * include/netdb.h: Likewise.
7117 * include/pwd.h: Likewise.
7118 * include/rpc/netdb.h: Likewise.
7119 * include/sched.h: Likewise.
7120 * include/search.h: Likewise.
7121 * include/shadow.h: Likewise.
7122 * include/signal.h: Likewise.
7123 * include/stdio.h: Likewise.
7124 * include/stdlib.h: Likewise.
7125 * include/string.h: Likewise.
7126 * include/sys/socket.h: Likewise.
7127 * include/sys/stat.h: Likewise.
7128 * include/sys/statfs.h: Likewise.
7129 * include/sys/statvfs.h: Likewise.
7130 * include/sys/syslog.h: Likewise.
7131 * include/sys/time.h: Likewise.
7132 * include/sys/uio.h: Likewise.
7133 * include/time.h: Likewise.
7134 * include/unistd.h: Likewise.
7135 * include/utmp.h: Likewise.
7136 * include/wchar.h: Likewise.
7137 * include/wctype.h: Likewise.
7138 * inet/aliases.h: Likewise.
7139 * inet/arpa/inet.h: Likewise.
7140 * inet/netinet/ether.h: Likewise.
7141 * inet/netinet/in.h: Likewise.
7142 * intl/libintl.h: Likewise.
7143 * io/bits/fcntl2.h: Likewise.
7144 * io/fcntl.h: Likewise.
7145 * io/ftw.h: Likewise.
7146 * io/sys/poll.h: Likewise.
7147 * io/sys/stat.h: Likewise.
7148 * io/sys/statfs.h: Likewise.
7149 * io/sys/statvfs.h: Likewise.
7150 * io/utime.h: Likewise.
7151 * libio/bits/stdio.h: Likewise.
7152 * libio/bits/stdio2.h: Likewise.
7153 * libio/libio.h: Likewise.
7154 * libio/libioP.h: Likewise.
7155 * libio/stdio.h: Likewise.
7156 * locale/lc-ctype.c: Likewise.
7157 * locale/locale.h: Likewise.
7158 * login/utmp.h: Likewise.
7159 * malloc/arena.c: Likewise.
7160 * malloc/malloc.c: Likewise.
7161 * malloc/malloc.h: Likewise.
7162 * malloc/mcheck.c: Likewise.
7163 * malloc/mtrace.c: Likewise.
7164 * math/bits/mathcalls.h: Likewise.
7165 * math/fenv.h: Likewise.
7166 * math/math_private.h: Likewise.
7167 * misc/bits/error.h: Likewise.
7168 * misc/bits/syslog.h: Likewise.
7169 * misc/err.h: Likewise.
7170 * misc/error.h: Likewise.
7171 * misc/fstab.h: Likewise.
7172 * misc/mntent.h: Likewise.
7173 * misc/regexp.h: Likewise.
7174 * misc/search.h: Likewise.
7175 * misc/sgtty.h: Likewise.
7176 * misc/sys/mman.h: Likewise.
7177 * misc/sys/syslog.h: Likewise.
7178 * misc/sys/uio.h: Likewise.
7179 * misc/sys/xattr.h: Likewise.
7180 * misc/ttyent.h: Likewise.
7181 * nis/rpcsvc/ypclnt.h: Likewise.
7182 * nss/nss.h: Likewise.
7183 * posix/bits/unistd.h: Likewise.
7184 * posix/fnmatch.h: Likewise.
7185 * posix/glob.h: Likewise.
7186 * posix/sched.h: Likewise.
7187 * posix/spawn.h: Likewise.
7188 * posix/sys/wait.h: Likewise.
7189 * posix/unistd.h: Likewise.
7190 * posix/wordexp.h: Likewise.
7191 * pwd/pwd.h: Likewise.
7192 * resolv/netdb.h: Likewise.
7193 * resource/sys/resource.h: Likewise.
7194 * rt/aio.h: Likewise.
7195 * rt/bits/mqueue2.h: Likewise.
7196 * rt/mqueue.h: Likewise.
7197 * shadow/shadow.h: Likewise.
7198 * signal/signal.h: Likewise.
7199 * socket/send.c: Likewise.
7200 * socket/sendto.c: Likewise.
7201 * socket/sys/socket.h: Likewise.
7202 * stdio-common/printf.h: Likewise.
7203 * stdlib/bits/stdlib.h: Likewise.
7204 * stdlib/fmtmsg.h: Likewise.
7205 * stdlib/monetary.h: Likewise.
7206 * stdlib/stdlib.h: Likewise.
7207 * stdlib/ucontext.h: Likewise.
7208 * streams/stropts.h: Likewise.
7209 * string/argz.h: Likewise.
7210 * string/bits/string2.h: Likewise.
7211 * string/string.h: Likewise.
7212 * string/strings.h: Likewise.
7213 * sunrpc/rpc/auth.h: Likewise.
7214 * sunrpc/rpc/auth_des.h: Likewise.
7215 * sunrpc/rpc/clnt.h: Likewise.
7216 * sunrpc/rpc/netdb.h: Likewise.
7217 * sunrpc/rpc/pmap_clnt.h: Likewise.
7218 * sunrpc/rpc/xdr.h: Likewise.
7219 * sysdeps/generic/inttypes.h: Likewise.
7220 * sysdeps/generic/net/if.h: Likewise.
7221 * sysdeps/generic/sys/swap.h: Likewise.
7222 * sysdeps/gnu/net/if.h: Likewise.
7223 * sysdeps/gnu/utmpx.h: Likewise.
7224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7225 * sysdeps/i386/i486/bits/string.h: Likewise.
7226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7227 * sysdeps/s390/bits/string.h: Likewise.
7228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7259 * sysvipc/sys/ipc.h: Likewise.
7260 * sysvipc/sys/msg.h: Likewise.
7261 * sysvipc/sys/sem.h: Likewise.
7262 * sysvipc/sys/shm.h: Likewise.
7263 * termios/termios.h: Likewise.
7264 * time/sys/time.h: Likewise.
7265 * time/time.h: Likewise.
7266 * wcsmbs/bits/wchar2.h: Likewise.
7267 * wcsmbs/uchar.h: Likewise.
7268 * wcsmbs/wchar.h: Likewise.
7269 * wctype/wctype.h: Likewise.
7272 * Makeconfig: Remove all but ELF support including AIX support.
7273 * Makerules: Likewise.
7274 * config.h.in: Likewise.
7275 * config.make.in: Likewise.
7276 * configure: Likewise.
7277 * configure.in: Likewise.
7278 * csu/Makefile: Likewise.
7279 * csu/version.c: Likewise.
7280 * debug/Makefile: Likewise.
7281 * dlfcn/Makefile: Likewise.
7282 * elf/Makefile: Likewise.
7283 * extra-lib.mk: Likewise.
7284 * iconv/Makefile: Likewise.
7285 * include/libc-symbols.h: Likewise.
7286 * include/shlib-compat.h: Likewise.
7287 * resolv/Makefile: Likewise.
7288 * resolv/res_libc.c: Likewise.
7289 * rt/Makefile: Likewise.
7290 * sysdeps/i386/asm-syntax.h: Likewise.
7291 * sysdeps/i386/sysdep.h: Likewise.
7292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7293 * sysdeps/mach/sysdep.h: Likewise.
7294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7296 * sysdeps/s390/asm-syntax.h: Likewise.
7297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7299 * sysdeps/sh/sysdep.h: Likewise.
7300 * sysdeps/unix/sparc/sysdep.h: Likewise.
7301 * sysdeps/wordsize-32/divdi3.c: Likewise.
7302 * sysdeps/x86_64/sysdep.h: Likewise.
7304 * argp/Versions: Remove _argp_unlock_xxx.
7307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7308 * abilist/libBrokenLocale.abilist: Likewise.
7309 * abilist/libanl.abilist: Likewise.
7310 * abilist/libc.abilist: Likewise.
7311 * abilist/libcrypt.abilist: Likewise.
7312 * abilist/libdl.abilist: Likewise.
7313 * abilist/libm.abilist: Likewise.
7314 * abilist/libnsl.abilist: Likewise.
7315 * abilist/libpthread.abilist: Likewise.
7316 * abilist/libresolv.abilist: Likewise.
7317 * abilist/librt.abilist: Likewise.
7318 * abilist/libthread_db.abilist: Likewise.
7319 * abilist/libutil.abilist: Likewise.
7320 * abilist/libnss_db.abilist: New file.
7322 * scripts/abilist.awk: Add support for indirect functions.
7324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7328 * shlib-versions: Remove entries for ports architectures.
7330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7332 * elf/stackguard-macros.h: Remove support for IA-64.
7333 * elf/tst-auditmod1.c: Likewise.
7334 * sysdeps/generic/ldsodefs.h: Likewise.
7336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7341 * configure.in: Remove --enable-omitfp support.
7343 * config.make.in: Likewise.
7344 * Makeconfig: Likewise.
7345 * manual/install.texi: Likewise.
7347 In case anyone cares, the IA-64 architecture could move to ports.
7348 * sysdeps/ia64/*: Removed.
7349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7353 * configure.in: Remove entries for unsupported architectures.
7356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7362 fall back to using wcrtomb.
7363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7367 * wcsmbs/tst-c16c32-1.c: New file.
7369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7374 * elf/tst-unique3.cc: Add explicit declaration of gets.
7375 * elf/tst-unique3lib.cc: Likewise.
7376 * elf/tst-unique3lib2.cc: Likewise.
7377 * elf/tst-unique4.cc: Likewise.
7379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7381 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7384 * assert/assert.h (static_assert): Don't define for C++.
7385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7388 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7390 * iconv/loop.c (single loop): Fix assertion in storing of
7393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7395 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7397 * posix/getconf.c: Update copyright year.
7398 * nss/getent.c: Likewise.
7399 * nss/makedb.c: Likewise.
7400 * iconv/iconvconfig.c: Likewise.
7401 * iconv/iconv_prog.c: Likewise.
7402 * elf/ldconfig.c: Likewise.
7403 * elf/pldd.c: Likewise.
7404 * elf/sotruss.ksh: Likewise.
7405 * catgets/gencat.c: Likewise.
7406 * csu/version.c: Likewise.
7407 * elf/ldd.bash.in: Likewise.
7408 * elf/sprof.c (print_version): Likewise.
7409 * locale/programs/locale.c: Likewise.
7410 * locale/programs/localedef.c: Likewise.
7411 * login/programs/pt_chown.c: Likewise.
7412 * nscd/nscd.c (print_version): Likewise.
7413 * debug/xtrace.sh: Likewise.
7414 * malloc/memusage.sh: Likewise.
7415 * malloc/mtrace.pl: Likewise.
7416 * debug/catchsegv.sh: Likewise.
7418 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7423 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7429 * iconv/gconv_int.h: Likewise.
7430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7432 from libc for GLIBC_2.16.
7433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7435 * wcsmbs/uchar.h: Really define mbstate_t.
7436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7437 * wcsmbs/c16rtomb.c: New file.
7438 * wcsmbs/mbrtoc16.c: New file.
7439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7444 * wcsmbs/wchar.h: Add missing __restrict.
7446 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7449 * time/Makefile (routines): Add timespec_get.
7450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7452 timespec for ISO C11.
7453 * time/timespec_get.c: New file.
7454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7459 * stdlib/stdlib.h: Declare aligned_alloc.
7460 * Versions.def: Add GLIBC_2.16 for libc.
7461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7474 * assert/assert.h (static_assert): Define.
7476 * version.h: Update for 2.16 development version.
7479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7482 * version.h (RELEASE): Bump for 2.15 release.
7483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7486 Patch by Marek Polacek <mpolacek@redhat.com>.
7488 * bits/byteswap.h: Protect long long constants with __extension__.
7489 * sysdeps/i386/bits/byteswap.h: Likewise.
7490 * sysdeps/ia64/bits/byteswap.h: Likewise.
7491 * sysdeps/s390/bits/byteswap.h: Likewise.
7492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7501 2011-12-23 Marek Polacek <polacek@redhat.com>
7503 * elf/dl-addr.c (determine_info): Add inline keyword.
7504 * elf/tst-auditmod4b.c (check_avx): Likewise.
7505 * elf/tst-auditmod6b.c (check_avx): Likewise.
7506 * elf/tst-auditmod6c.c (check_avx): Likewise.
7507 * elf/tst-auditmod7b.c (check_avx): Likewise.
7509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7518 processing for last bytes.
7520 2011-08-06 Bruno Haible <bruno@clisp.org>
7523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7524 U+0385, not to U+1FEE.
7527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7528 entry for U+00A5 U+0301.
7530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7534 buffer for the output is too small.
7536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7541 SSE flags if possible.
7543 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7547 processing for last bytes.
7549 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7552 (syscall-list-default-options, syscall-list-default-condition)
7553 (syscall-list-includes): Define.
7554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7555 list of ABIs and options and #if conditions for each ABI. Do not
7556 handle common syscalls between ABIs specially.
7557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7559 (syscall-list-variants, syscall-list-32bit-options)
7560 (syscall-list-32bit-condition, syscall-list-64bit-options)
7561 (syscall-list-64bit-condition): Define.
7562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7563 (syscall-list-variants, syscall-list-32bit-options)
7564 (syscall-list-32bit-condition, syscall-list-64bit-options)
7565 (syscall-list-64bit-condition): Define.
7566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7568 (syscall-list-variants, syscall-list-32bit-options)
7569 (syscall-list-32bit-condition, syscall-list-64bit-options)
7570 (syscall-list-64bit-condition): Define.
7571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7573 (syscall-list-variants, syscall-list-32bit-options)
7574 (syscall-list-32bit-condition, syscall-list-64bit-options)
7575 (syscall-list-64bit-condition): Define.
7577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7579 * locale/iso-639.def: Add brx entry.
7582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7586 __feraiseexcept_renamed.
7588 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7592 EPOLLET with unsigned values.
7593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7597 to large cancellation.
7598 * math/s_cacoshf.c: Likewise.
7599 * math/s_cacoshl.c: Likewise.
7601 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7606 * math/s_cacoshf.c: Likewise.
7607 * math/s_cacoshl.c: Likewise.
7609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7612 * iconv/gconv.h: Define __GCONV_SWAP.
7613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7614 * iconvdata/utf-16.c: Likewise.
7615 * iconvdata/utf-32.c: Likewise.
7617 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7621 numerator after shifting it by one limb.
7623 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7626 under [__USE_EXTERN_INLINES].
7628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7633 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7642 for strncasecmp/strncasecmp_l compilation.
7643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7646 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7655 * time/tzfile.c (__tzfile_read): Check values from file header.
7657 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7661 * powerpc/powerpc32/dl-start.S: Likewise.
7662 * powerpc/powerpc32/elf/start.S: Likewise.
7663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7676 * powerpc/powerpc32/memset.S: Likewise.
7677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7691 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7693 * math/libm-test.inc: Added more nearbyint tests.
7694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7699 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7704 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7707 Add wcscpy-ssse3 wcscpy-c.
7708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7711 * sysdeps/x86_64/wcschr.S: New file.
7712 * sysdeps/x86_64/wcsrchr.S: New file.
7713 * string/test-strcmp.c: Remove checking of wcscmp function for
7715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7717 wcsrchr-sse2 wcsrchr-c.
7718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7727 * wcsmbc/wcschr.c (WCSCHR): New macro.
7729 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7732 * wcsmbs/test-wcsrchr.c: New file.
7733 * string/test-strrchr.c: Add wcsrchr support.
7735 * wcsmbs/test-wcscpy.c: New file.
7736 * string/test-strcpy.c: Add wcscpy support.
7739 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7744 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7749 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7752 Minor optimizations.
7754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7758 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7763 for gcc to avoid warnings.
7764 * inet/Makefile (tests): Add tst-checks.
7765 * inet/tst-checks.c: New file.
7767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7778 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7785 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7788 conditional on GCC version.
7789 (__arch_compare_and_exchange_val_8_acq)
7790 (__arch_compare_and_exchange_val_16_acq)
7791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7795 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7797 * sysdeps/sh/backtrace.c: New file.
7799 2011-12-02 Andreas Schwab <schwab@redhat.com>
7801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7804 2011-12-01 Andreas Schwab <schwab@redhat.com>
7806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7807 falling back to utime.
7809 2011-11-30 Andreas Schwab <schwab@redhat.com>
7811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7812 expectations for float.
7814 2011-11-29 Andreas Schwab <schwab@redhat.com>
7816 * locale/weight.h (findidx): Add parameter len.
7817 * locale/weightwc.h (findidx): Likewise.
7818 * posix/fnmatch_loop.c (FCT): Adjust caller.
7819 * posix/regcomp.c (build_equiv_class): Likewise.
7820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7821 * posix/regexec.c (check_node_accept_bytes): Likewise.
7822 * string/strcoll_l.c (STRCOLL): Likewise.
7823 * string/strxfrm_l.c (STRXFRM): Likewise.
7825 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7827 * Makefile.in: Remove CVSOPT handling.
7828 * configure.in: Remove use of AC_REVISION.
7829 * iconvdata/Makefile (distribute): No need to filter out CVS.
7830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7833 2011-11-16 Andreas Schwab <schwab@redhat.com>
7835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7837 [USE_AS_STRNCASECMP_L]: Likewise.
7838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7839 NO_TLS_DIRECT_SEG_REFS.
7840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7841 Fix argument offsets for non-PIC.
7842 [USE_AS_STRNCASECMP_L]: Likewise.
7843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7844 NO_TLS_DIRECT_SEG_REFS.
7846 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7850 * locale/loadlocale.c (_nl_load_locale): Likewise.
7852 2011-11-15 Andreas Schwab <schwab@redhat.com>
7854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7857 (SYSCALL_GETTIME): Set errno on error.
7859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7860 count references to noai6ai_cached.
7862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7867 FD_CLOEXEC for /proc/self/maps.
7869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7870 FD_CLOEXEC for /proc/meminfo.
7872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7876 FD_CLOEXEC for given file.
7878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7881 FD_CLOEXEC for /etc/hosts.
7882 (_gethtent): Likewise.
7884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7887 cancellation and set FD_CLOEXEC for /etc/netgroup.
7889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7890 reading /etc/publickey.
7892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7893 allow cancellation when reading /etc/group.
7895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7900 when using data file.
7902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7905 (write_nis_obj): Use "c" and "e" in fopen.
7907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7925 file parsing and set FD_CLOEXEC.
7927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7931 2011-11-14 Andreas Schwab <schwab@redhat.com>
7933 * malloc/arena.c (arena_get2): Don't call reused_arena when
7934 _int_new_arena failed.
7936 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7944 to compile strcasecmp and strncasecmp.
7945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7950 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7953 locale-defines.sym to gen-as-const-headers.
7954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7957 to compile strcasecmp and strncasecmp.
7958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7959 strcasecmp_l and strncasecmp_l.
7960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7972 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7975 result of SYSDEP_GETTIME_CPU to retval.
7976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7977 parameter list to macro. Remove trailing semicolon. Adjust users.
7979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7987 from unused variable.
7989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7997 * sunrpc/rpc_prot.c (rejected): Fix case value.
7999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8000 unsigned long long int to avoid warnings in shift.
8002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8011 * nis/nis_table.c (nis_list): Use variable of correct type for
8012 result of __follow_path call.
8014 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8017 of math functions ceil, trunc, floor, round, and sqrt, when
8018 avaliable on the platform.
8019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8025 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8030 2011-11-11 Roland McGrath <roland@hack.frob.com>
8032 * include/unistd.h: Fix __readlink return type.
8033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8035 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8037 * stdlib/ucontext.h: Undo last change for makecontext.
8039 2011-11-11 Andreas Schwab <schwab@redhat.com>
8041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8044 * setjmp/setjmp.h: Mark functions as non-leaf.
8045 * setjmp/bits/setjmp2.h: Likewise.
8046 * stdlib/ucontext.h: Likewise.
8048 2011-11-10 Andreas Schwab <schwab@redhat.com>
8050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8051 (reused_arena): Don't check arena limit.
8052 (arena_get2): Atomically check arena limit.
8054 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8062 2011-11-07 Andreas Schwab <schwab@redhat.com>
8064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8065 handler when locking.
8067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8068 Fix size of allocated buffer.
8070 2011-11-04 Andreas Schwab <schwab@redhat.com>
8073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8074 declarations for long double functions.
8075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8079 2011-11-03 Andreas Schwab <schwab@redhat.com>
8081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8087 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8091 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8093 * include/alloca.h (stackinfo_alloca_round): Define.
8094 (extend_alloca): Use it.
8095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8099 * scripts/check-local-headers.sh: Ignore libaudit.h.
8101 * nscd/Makefile (extra-objs): Make recursively expanded.
8103 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8109 * posix/tst-rfc3484-2.c: Likewise.
8110 * posix/tst-rfc3484-3.c: Likewise.
8112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8117 process_vm_writev from libc using GLIBC_2.15 version.
8119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8121 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8126 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8129 * nss/getent.c (initgroups_keys): Show error message in case no group
8132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8134 __bump_nl_timestamp.
8135 * nscd/connections (nscd_init): When host database is served open
8136 netlink socket and request notification about configuration changes.
8137 (main_loop_poll): Track netlink file descriptor and bump timestamp
8138 in case data becomes available.
8139 (main_loop_epoll): Likewise.
8140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8141 (database_pers_head): Add extra_data fileds.
8142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8147 in6ai data, call __free_in6ai.
8148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8151 interface information. Reuse previous data if netlink timestamp
8153 (__bump_nl_timestamp): New function.
8154 (__free_in6ai): New function.
8156 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8159 close_not_cancel_no_status here.
8160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8172 2011-07-03 Andreas Jaeger <aj@suse.de>
8175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8177 * math/libm-test.inc (sin_test): Add test case.
8179 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8185 * elf/chroot_canon.c (chroot_canon): Cleanups.
8187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8193 * string/test-strchr.c: Make usable for strchrnul testing.
8194 * string/test-strchrnul.c: New file.
8195 * string/Makefile (strop-tests): Add strchrnul.
8197 * po/it.po: Update from translation team.
8198 * po/es.po: Likewise.
8200 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8203 the three constants needed as parameters. Drop the others.
8204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8205 __m128i_strloadu_tolower.
8206 Create and initialize variable zero and use it in all the places
8207 where _mm_setzero_si128 was used.
8209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8219 __mpranred, __mptan.
8220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8230 2011-10-28 Andreas Schwab <schwab@redhat.com>
8232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8237 wide char related routines to wcsmbs subdir.
8239 2011-10-27 Andreas Schwab <schwab@redhat.com>
8242 * misc/sys/cdefs.h (__THROWNL): Define.
8243 * posix/unistd.h: Use __THREADNL instead of __THREAD
8244 for memory synchronization functions.
8246 2011-10-26 Roland McGrath <roland@hack.frob.com>
8249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8251 * manual/stdio.texi (Obstack Streams): Node removed.
8253 2011-10-26 Andreas Schwab <schwab@redhat.com>
8255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8259 * math/math_private.h (math_force_eval): Allow non-addressable
8261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8301 place. Use VEX encoding when compiling for AVX.
8303 2011-10-25 Andreas Schwab <schwab@redhat.com>
8305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8313 useless if() expression.
8314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8336 2011-10-25 Andreas Schwab <schwab@redhat.com>
8338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8345 .text section. Avoid duplicate constants.
8346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8392 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8394 * sysdeps/x86_64/dla.h: Move to ...
8395 * sysdeps/x86_64/fpu/dla.h: ...here.
8396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8397 situations. Use __builtin_fma only for gcc 4.6 and up.
8399 * config.make.in: Add have-mfma4 entry.
8400 * configure.in: Substitute libc_cv_cc_fma4.
8401 * math/Makefile (dbl-only-routines): Add sincostab.
8402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8403 Use __sincostab not sincos.
8404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8420 define aliases when function name is a macro.
8421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8422 sysdeps/ieee754/dbl-64/sincos.tbl.
8423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8424 fma4-enabled routines.
8425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8467 2011-10-24 Andreas Schwab <schwab@redhat.com>
8469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8480 Remove unused variable magic_bits.
8481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8483 * string/strnlen.c: Define and use STRNLEN macro.
8484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8487 * wcsmbs/wcslen.c: Define and use WCSLEN.
8488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8496 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8499 strnlen-sse2-no-bsf.
8500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8503 Add strnlen support.
8504 (USE_AS_STRNLEN): New macro.
8505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8508 * sysdeps/x86_64/wcslen.S: New file.
8510 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8513 XMM-moves are used for copying on small sizes.
8515 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8517 * wcsmbs/Makefile (strop-tests): Add wcschr.
8518 * wcsmbs/test-wcschr.c: New file.
8519 * string/test-strchr.c: Update.
8523 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8525 * wcsmbs/Makefile (strop-tests): Add wcslen.
8526 * wcsmbs/test-wcslen.c: New file.
8527 * string/test-strlen.c: Update.
8531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8533 * po/it.po: Update from translation team.
8535 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8537 * sysdeps/x86_64/wcscmp.S: Update.
8538 Fix wrong comparison semantics.
8539 wcscmp shall use signed comparison not unsigned.
8540 Don't use substraction to avoid overflow bug.
8541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8542 * wcsmbc/wcscmp.c: Likewise.
8543 * string/test-strcmp.c: Likewise.
8544 Add new tests to check cases with negative values.
8546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8549 * sysdeps/x86_64/dla.h: ...here. New file.
8550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8560 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8563 __ynl_finite aliases.
8565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8571 [DLA_FMA] (EMULV): Use DLA_FMA.
8572 [DLA_FMA] (MUL12): Use EMULV.
8573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8574 that are not needed.
8575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8583 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8585 * math/s_nan.c: Undef __nan.
8586 * math/s_nanf.c: Undef __nanf.
8587 * math/s_nanl.c: Undef __nanl.
8588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8593 * math/s_catan.c: Add branch predictions.
8594 * math/s_catanf.c: Likewise.
8595 * math/s_catanh.c: Likewise.
8596 * math/s_catanhf.c: Likewise.
8597 * math/s_catanhl.c: Likewise.
8598 * math/s_catanl.c: Likewise.
8599 * math/s_cexp.c: Likewise.
8600 * math/s_cexpf.c: Likewise.
8601 * math/s_cexpl.c: Likewise.
8602 * math/s_clog.c: Likewise.
8603 * math/s_clog10.c: Likewise.
8604 * math/s_clog10f.c: Likewise.
8605 * math/s_clog10l.c: Likewise.
8606 * math/s_clogf.c: Likewise.
8607 * math/s_clogl.c: Likewise.
8608 * math/s_csqrt.c: Likewise.
8609 * math/s_csqrtf.c: Likewise.
8610 * math/s_csqrtl.c: Likewise.
8611 * math/s_ctanf.c: Likewise.
8612 * math/s_ctanh.c: Likewise.
8613 * math/s_ctanhf.c: Likewise.
8614 * math/s_ctanhl.c: Likewise.
8615 * math/s_ctanl.c: Likewise.
8617 * math/math_private.h: Define __nan, __nanf, __nanl.
8618 * math/s_cacosh.c: Include <math_private.h>.
8619 * math/s_cacoshl.c: Likewise.
8620 * math/s_casinh.c: Likewise.
8621 * math/s_casinhf.c: Likewise.
8622 * math/s_casinhl.c: Likewise.
8623 * math/s_ccos.c: Rely entire on ccosh.
8624 * math/s_ccosf.c: Rely entire on ccoshf.
8625 * math/s_ccosl.c: Rely entirely on ccoshl.
8626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8627 Remove tests for FE_INVALID.
8628 * math/s_ccoshf.c: Likewise.
8629 * math/s_ccoshl.c: Likewise.
8630 * math/s_csin.c: Likewise.
8631 * math/s_csinf.c: Likewise.
8632 * math/s_csinh.c Likewise.
8633 * math/s_csinhf.c: Likewise.
8634 * math/s_csinhl.c: Likewise.
8635 * math/s_csinl.c: Likewise.
8636 * math/s_ctan.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8641 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8644 compilation problems.
8646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8649 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8651 * sysdeps/i386/configure.in: Test for -mfma4 option.
8652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8654 COMMON_CPUID_INDEX_80000001.
8655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8657 use it if FMA3 is not supported.
8658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8663 2011-10-20 Andreas Schwab <schwab@redhat.com>
8666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8667 it would create a cycle with a link time dependency.
8669 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8673 * string/Makefile (strop-tests): Add rawmemchr.
8674 * string/test-rawmemchr.c: New file.
8676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8679 when compiling str{,n}casecmp and when AVX is available. Hook up
8680 new optimized code in initializers.
8682 2011-10-19 Andreas Schwab <schwab@redhat.com>
8684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8685 __feraiseexcept instead of feraiseexcept.
8687 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8689 * math/math_private.h: Define defaults for libc_fetestexcept and
8691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8697 libc_fetestexcept and libc_feupdateenv.
8699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8703 libc_feholdexcept_setround.
8705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8706 Add s_nearbyint-c and s_nearbyintf-c.
8707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8714 * math/math_private.h: Define defaults for libc_fegetround,
8715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8722 Remove comments and hacks for old compiler versions.
8723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8727 2011-10-18 Andreas Schwab <schwab@redhat.com>
8729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8730 (__feraiseexcept_renamed): Add __NTH.
8731 (feraiseexcept): Add __NTH. Rename local variables to fix
8732 namespace violations.
8734 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8741 recently added interfaces.
8742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8745 about macro parameter expansion.
8747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8748 __NO_MATH_INLINES is defined. Cleanups.
8750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8751 and __floorf is target has SSE4.1.
8752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8763 2011-10-17 Andreas Schwab <schwab@redhat.com>
8765 * misc/sys/cdefs.h: Fix last change.
8767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8770 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8798 ceil, ceilf, floor, floorf.
8800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8801 Perform IRELATIVE relocations last.
8803 * elf/do-rel.h: Add another parameter nrelative, replacing the
8804 local variable with the same name. Change name of the function
8805 to end in Rel or Rela (uppercase).
8806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8808 elf_dynamic_do_##reloc function.
8810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8813 is sufficient, at least on modern CPUs.
8815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8822 * math/bits/math-finite.h: Add entries for exp.
8823 * math/e_expl.c: Add __*_finite alias.
8824 * sysdeps/i386/fpu/e_exp.S: Likewise.
8825 * sysdeps/i386/fpu/e_expf.S: Likewise.
8826 * sysdeps/i386/fpu/e_expl.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8836 is sufficient, at least on modern CPUs.
8838 * ctype/ctype-info.c (__ctype_init): Define.
8839 * include/ctype.h (__ctype_init): Declare.
8840 (__ctype_b_loc): The variable is always initialized.
8841 (__ctype_toupper_loc): Likewise.
8842 (__ctype_tolower_loc): Likewise.
8843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8846 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8850 * configure.in: Also look in $cxxmachine/include for C++ system
8853 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8860 (USE_AS_WMEMCMP): New macro.
8862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8873 (USE_AS_WMEMCMP): New macro.
8874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8875 * sysdeps/string/test-memcmp.c: Update.
8878 * wcsmbs/wmemcmp.c: Update.
8879 (WMEMCMP): New macro.
8882 2011-10-12 Andreas Jaeger <aj@suse.de>
8885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8889 * libio/iofwide.c (do_length): Avoid warning.
8891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8893 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8900 * sysdeps/i386/i686/fpu/e_log.S: New file.
8901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8904 * ctype/ctype.h: Add support for inlined isXXX functions when
8907 2011-10-14 Andreas Schwab <schwab@redhat.com>
8909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8913 2011-10-13 Roland McGrath <roland@hack.frob.com>
8916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8918 2011-10-13 Andreas Schwab <schwab@redhat.com>
8920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8924 * sysdeps/x86_64/memrchr.S: Check for zero size.
8926 * string/stratcliff.c: Add memrchr tests.
8928 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8932 rawmemchr-sse2 rawmemchr-sse2-bsf.
8933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8943 * string/memrchr.c (MEMRCHR): New macro.
8945 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8947 Add integration with gcc's -ffinite-math-only and optimize wrapper
8949 * Versions.def: Define GLIBC_2.15 version for libm.
8950 * math/Makefile (headers): Add bits/math-finite.h.
8951 * math/bits/math-finite.h: New file.
8952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8954 * math/e_acoshl.c: Add __*_finite alias.
8955 * math/e_acosl.c: Likewise.
8956 * math/e_asinl.c: Likewise.
8957 * math/e_atan2l.c: Likewise.
8958 * math/e_atanhl.c: Likewise.
8959 * math/e_coshl.c: Likewise.
8960 * math/e_exp10.c: Likewise.
8961 * math/e_exp10f.c: Likewise.
8962 * math/e_exp10l.c: Likewise.
8963 * math/e_exp2l.c: Likewise.
8964 * math/e_fmodl.c: Likewise.
8965 * math/e_gammal_r.c: Likewise.
8966 * math/e_hypotl.c: Likewise.
8967 * math/e_j0l.c: Likewise.
8968 * math/e_j1l.c: Likewise.
8969 * math/e_jnl.c: Likewise.
8970 * math/e_lgammal_r.c: Likewise.
8971 * math/e_log10l.c: Likewise.
8972 * math/e_log2l.c: Likewise.
8973 * math/e_logl.c: Likewise.
8974 * math/e_powl.c: Likewise.
8975 * math/e_sinhl.c: Likewise.
8976 * math/e_sqrtl.c: Likewise.
8977 * math/e_scalb.c: Completely rewritten and optimized.
8978 * math/e_scalbf.c: Likewise.
8979 * math/e_scalbl.c: Likewise.
8980 * math/w_acos.c: Likewise.
8981 * math/w_acosf.c: Likewise.
8982 * math/w_acosl.c: Likewise.
8983 * math/w_acosh.c: Likewise.
8984 * math/w_acoshf.c: Likewise.
8985 * math/w_acoshl.c: Likewise.
8986 * math/w_asin.c: Likewise.
8987 * math/w_asinf.c: Likewise.
8988 * math/w_asinl.c: Likewise.
8989 * math/w_atan2.c: Likewise.
8990 * math/w_atan2f.c: Likewise.
8991 * math/w_atan2l.c: Likewise.
8992 * math/w_atanh.c: Likewise.
8993 * math/w_atanhf.c: Likewise.
8994 * math/w_atanhl.c: Likewise.
8995 * math/w_exp10.c: Likewise.
8996 * math/w_exp10f.c: Likewise.
8997 * math/w_exp10l.c: Likewise.
8998 * math/w_fmod.c: Likewise.
8999 * math/w_fmodf.c: Likewise.
9000 * math/w_fmodl.c: Likewise.
9001 * math/w_j0.c: Likewise.
9002 * math/w_j0f.c: Likewise.
9003 * math/w_j0l.c: Likewise.
9004 * math/w_j1.c: Likewise.
9005 * math/w_j1f.c: Likewise.
9006 * math/w_j1l.c: Likewise.
9007 * math/w_jn.c: Likewise.
9008 * math/w_jnf.c: Likewise.
9009 * math/w_log.c: Likewise.
9010 * math/w_logf.c: Likewise.
9011 * math/w_logl.c: Likewise.
9012 * math/w_log10.c: Likewise.
9013 * math/w_log10f.c: Likewise.
9014 * math/w_log10l.c: Likewise.
9015 * math/w_log2.c: Likewise.
9016 * math/w_log2f.c: Likewise.
9017 * math/w_log2l.c: Likewise.
9018 * math/w_pow.c: Likewise.
9019 * math/w_powf.c: Likewise.
9020 * math/w_powl.c: Likewise.
9021 * math/w_remainder.c: Likewise.
9022 * math/w_remainderf.c: Likewise.
9023 * math/w_remainderl.c: Likewise.
9024 * math/w_scalb.c: Likewise.
9025 * math/w_scalbf.c: Likewise.
9026 * math/w_scalbl.c: Likewise.
9027 * math/w_sqrt.c: Likewise.
9028 * math/w_sqrtf.c: Likewise.
9029 * math/w_sqrtl.c: Likewise.
9030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9033 * math/math_private.h: Declare __kernel_standard_f.
9034 * math/w_cosh.c: Remove cruft and optimize a bit.
9035 * math/w_coshf.c: Likewise.
9036 * math/w_coshl.c: Likewise.
9037 * math/w_exp2.c: Likewise.
9038 * math/w_exp2f.c: Likewise.
9039 * math/w_exp2l.c: Likewise.
9040 * math/w_hypot.c: Likewise.
9041 * math/w_hypotf.c: Likewise.
9042 * math/w_hypotl.c: Likewise.
9043 * math/w_lgamma.c: Likewise.
9044 * math/w_lgamma_r.c: Likewise.
9045 * math/w_lgammaf.c: Likewise.
9046 * math/w_lgammaf_r.c: Likewise.
9047 * math/w_lgammal.c: Likewise.
9048 * math/w_lgammal_r.c: Likewise.
9049 * math/w_sinh.c: Likewise.
9050 * math/w_sinhf.c: Likewise.
9051 * math/w_sinhl.c: Likewise.
9052 * math/w_tgamma.c: Likewise.
9053 * math/w_tgammaf.c: Likewise.
9054 * math/w_tgammal.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9058 Minor optimizations. Pretty printing. Remove cruft.
9059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9064 * sysdeps/i386/fpu/e_asin.S: Likewise.
9065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9083 * sysdeps/i386/fpu/e_log.S: Likewise.
9084 * sysdeps/i386/fpu/e_log10.S: Likewise.
9085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9087 * sysdeps/i386/fpu/e_log2.S: Likewise.
9088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9090 * sysdeps/i386/fpu/e_logf.S: Likewise.
9091 * sysdeps/i386/fpu/e_logl.S: Likewise.
9092 * sysdeps/i386/fpu/e_pow.S: Likewise.
9093 * sysdeps/i386/fpu/e_powf.S: Likewise.
9094 * sysdeps/i386/fpu/e_powl.S: Likewise.
9095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9217 (__isnanf): Likewise.
9218 (__isinf_ns): Likewise.
9219 (__isinf_nsf): Likewise.
9220 (__finite): Likewise.
9221 (__finitef): Likewise.
9222 (__ieee754_sqrt): Define as macro.
9223 (__ieee754_sqrtf): Define as macro.
9224 (__ieee754_sqrtl): Define as macro.
9225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9228 __FINITE_MATH_ONLY__ consistent.
9229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9231 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9238 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9240 * po/ja.po: Update from translation team.
9242 2011-10-08 Roland McGrath <roland@hack.frob.com>
9244 * locale/programs/locarchive.c (prepare_address_space): New function.
9245 (create_archive, enlarge_archive, open_archive): Use it.
9247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9248 inside [SHARED], where it is used.
9250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9252 * nss/getent.c (netgroup_keys): Remove unused variable.
9253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9255 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9263 * math/Makefile (libm-calls): Add s_isinf_ns.
9264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9265 * math/multc3.c: Likewise.
9266 * math/s_casin.c: Likewise.
9267 * math/s_casinf.c: Likewise.
9268 * math/s_casinl.c: Likewise.
9269 * math/s_ccos.c: Likewise.
9270 * math/s_ccosf.c: Likewise.
9271 * math/s_ccosl.c: Likewise.
9272 * math/s_ctan.c: Likewise.
9273 * math/s_ctanf.c: Likewise.
9274 * math/s_ctanh.c: Likewise.
9275 * math/s_ctanhf.c: Likewise.
9276 * math/s_ctanhl.c: Likewise.
9277 * math/s_ctanl.c: Likewise.
9278 * math/w_fmod.c: Likewise.
9279 * math/w_fmodf.c: Likewise.
9280 * math/w_fmodl.c: Likewise.
9281 * math/w_remainder.c: Likewise.
9282 * math/w_remainderf.c: Likewise.
9283 * math/w_remainderl.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9295 * stdio-common/printf_fphex.c: Likewise.
9296 * stdio-common/printf_size.c: Likewise.
9298 * math/e_exp10.c: Include math_private.h using <...> not "...".
9299 * math/e_exp10f.c: Likewise.
9300 * math/e_exp10l.c: Likewise.
9301 * math/e_exp2l.c: Likewise.
9302 * math/e_j0l.c: Likewise.
9303 * math/e_j1l.c: Likewise.
9304 * math/e_jnl.c: Likewise.
9305 * math/e_lgammal_r.c: Likewise.
9306 * math/e_rem_pio2l.c: Likewise.
9307 * math/e_scalb.c: Likewise.
9308 * math/e_scalbf.c: Likewise.
9309 * math/e_scalbl.c: Likewise.
9310 * math/k_cosl.c: Likewise.
9311 * math/k_sinl.c: Likewise.
9312 * math/k_tanl.c: Likewise.
9313 * math/s_cacoshf.c: Likewise.
9314 * math/s_catan.c: Likewise.
9315 * math/s_catanf.c: Likewise.
9316 * math/s_catanh.c: Likewise.
9317 * math/s_catanhf.c: Likewise.
9318 * math/s_catanhl.c: Likewise.
9319 * math/s_catanl.c: Likewise.
9320 * math/s_ccosh.c: Likewise.
9321 * math/s_ccoshf.c: Likewise.
9322 * math/s_ccoshl.c: Likewise.
9323 * math/s_cexp.c: Likewise.
9324 * math/s_cexpf.c: Likewise.
9325 * math/s_cexpl.c: Likewise.
9326 * math/s_clog.c: Likewise.
9327 * math/s_clog10.c: Likewise.
9328 * math/s_clog10f.c: Likewise.
9329 * math/s_clog10l.c: Likewise.
9330 * math/s_clogf.c: Likewise.
9331 * math/s_clogl.c: Likewise.
9332 * math/s_csin.c: Likewise.
9333 * math/s_csinf.c: Likewise.
9334 * math/s_csinh.c: Likewise.
9335 * math/s_csinhf.c: Likewise.
9336 * math/s_csinhl.c: Likewise.
9337 * math/s_csinl.c: Likewise.
9338 * math/s_csqrt.c: Likewise.
9339 * math/s_csqrtf.c: Likewise.
9340 * math/s_csqrtl.c: Likewise.
9341 * math/s_ctan.c: Likewise.
9342 * math/s_ctanf.c: Likewise.
9343 * math/s_ctanh.c: Likewise.
9344 * math/s_ctanhf.c: Likewise.
9345 * math/s_ctanhl.c: Likewise.
9346 * math/s_ctanl.c: Likewise.
9347 * math/s_ldexp.c: Likewise.
9348 * math/s_ldexpf.c: Likewise.
9349 * math/s_ldexpl.c: Likewise.
9350 * math/s_significand.c: Likewise.
9351 * math/s_significandf.c: Likewise.
9352 * math/s_significandl.c: Likewise.
9353 * math/w_acos.c: Likewise.
9354 * math/w_acosf.c: Likewise.
9355 * math/w_acosh.c: Likewise.
9356 * math/w_acoshf.c: Likewise.
9357 * math/w_acoshl.c: Likewise.
9358 * math/w_acosl.c: Likewise.
9359 * math/w_asin.c: Likewise.
9360 * math/w_asinf.c: Likewise.
9361 * math/w_asinl.c: Likewise.
9362 * math/w_atan2.c: Likewise.
9363 * math/w_atan2f.c: Likewise.
9364 * math/w_atan2l.c: Likewise.
9365 * math/w_atanh.c: Likewise.
9366 * math/w_atanhf.c: Likewise.
9367 * math/w_atanhl.c: Likewise.
9368 * math/w_cosh.c: Likewise.
9369 * math/w_coshf.c: Likewise.
9370 * math/w_coshl.c: Likewise.
9371 * math/w_dremf.c: Likewise.
9372 * math/w_exp10.c: Likewise.
9373 * math/w_exp10f.c: Likewise.
9374 * math/w_exp10l.c: Likewise.
9375 * math/w_exp2.c: Likewise.
9376 * math/w_exp2f.c: Likewise.
9377 * math/w_fmod.c: Likewise.
9378 * math/w_fmodf.c: Likewise.
9379 * math/w_fmodl.c: Likewise.
9380 * math/w_hypot.c: Likewise.
9381 * math/w_hypotf.c: Likewise.
9382 * math/w_hypotl.c: Likewise.
9383 * math/w_j0.c: Likewise.
9384 * math/w_j0f.c: Likewise.
9385 * math/w_j0l.c: Likewise.
9386 * math/w_j1.c: Likewise.
9387 * math/w_j1f.c: Likewise.
9388 * math/w_j1l.c: Likewise.
9389 * math/w_jn.c: Likewise.
9390 * math/w_jnf.c: Likewise.
9391 * math/w_jnl.c: Likewise.
9392 * math/w_lgamma.c: Likewise.
9393 * math/w_lgamma_r.c: Likewise.
9394 * math/w_lgammaf.c: Likewise.
9395 * math/w_lgammaf_r.c: Likewise.
9396 * math/w_lgammal.c: Likewise.
9397 * math/w_lgammal_r.c: Likewise.
9398 * math/w_log.c: Likewise.
9399 * math/w_log10.c: Likewise.
9400 * math/w_log10f.c: Likewise.
9401 * math/w_log10l.c: Likewise.
9402 * math/w_log2.c: Likewise.
9403 * math/w_log2f.c: Likewise.
9404 * math/w_log2l.c: Likewise.
9405 * math/w_logf.c: Likewise.
9406 * math/w_logl.c: Likewise.
9407 * math/w_pow.c: Likewise.
9408 * math/w_powf.c: Likewise.
9409 * math/w_powl.c: Likewise.
9410 * math/w_remainder.c: Likewise.
9411 * math/w_remainderf.c: Likewise.
9412 * math/w_remainderl.c: Likewise.
9413 * math/w_scalb.c: Likewise.
9414 * math/w_scalbf.c: Likewise.
9415 * math/w_scalbl.c: Likewise.
9416 * math/w_sinh.c: Likewise.
9417 * math/w_sinhf.c: Likewise.
9418 * math/w_sinhl.c: Likewise.
9419 * math/w_sqrt.c: Likewise.
9420 * math/w_sqrtf.c: Likewise.
9421 * math/w_sqrtl.c: Likewise.
9422 * math/w_tgamma.c: Likewise.
9423 * math/w_tgammaf.c: Likewise.
9424 * math/w_tgammal.c: Likewise.
9426 * po/ja.po: Update from translation team.
9428 2011-09-29 Andreas Jaeger <aj@suse.de>
9431 * sunrpc/netname.c (netname2host): Fix logic.
9435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9437 * math/w_remainder.c (__remainder): Likewise.
9438 * math/w_remainderf.c (__remainderf): Likewise.
9439 * math/libm-test.inc (remainder_test): Add test cases.
9441 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9446 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9448 * string/test-memcmp.c: Avoid unncessary #defines.
9449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9451 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9454 Use new sse2 version for core i3 - i7 as it's faster
9456 (bit_Prefer_PMINUB_for_stringop): New.
9457 * sysdeps/x86_64/rawmemchr.S: Update.
9458 Replace with faster SSE2 version.
9459 * sysdeps/x86_64/memrchr.S: New file.
9460 * sysdeps/x86_64/memchr.S: Update.
9461 Replace with faster SSE2 version.
9463 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9465 * elf/dl-load.c (lose): Add cast to avoid warning.
9467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9469 * po/ca.po: Update from translation team.
9471 * inet/getnetgrent_r.c: Hook up nscd.
9472 * nscd/Makefile (routines): Add nscd_netgroup.
9473 (nscd-modules): Add netgroupcache.
9474 (CFLAGS-netgroupcache.c): Define.
9475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9476 (cache_search): Add const to second parameter.
9477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9479 (dbs): Add netgrdb entry.
9480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9481 (verify_persistent_db): Handle netgrdb.
9482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9485 (netgroup_response_header): Define.
9486 (innetgroup_response_header): Define.
9487 (datahead): Add netgroup_response_header and innetgroup_response_header
9489 * nscd/nscd.conf: Add entries for netgroup cache.
9490 * nscd/nscd.h (dbtype): Add netgrdb.
9491 (_PATH_NSCD_NETGROUP_DB): Define.
9492 (netgroup_iov_disabled): Declare.
9493 (xmalloc, xcalloc, xrealloc): Move declarations here.
9494 (cache_search): Adjust prototype.
9495 Add netgroup-related prototypes.
9496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9498 (__nscd_innetgr): Declare.
9499 * nscd/selinux.c (perms): Use access_vector_t as element type and
9500 add netgroup-related initializers.
9501 * nscd/netgroupcache.c: New file.
9502 * nscd/nscd_netgroup.c: New file.
9503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9505 For four parameters use innetgr.
9506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9511 * nscd/connections.c (register_traced_file): Don't register file
9512 for disabled databases.
9514 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9519 from tree and freeing node.
9521 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9523 * nss/nsswitch.c (__nss_database_lookup): Handle
9524 nss_parse_service_list out of memory case.
9526 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9531 2011-10-04 Andreas Schwab <schwab@redhat.com>
9533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9537 elf_machine_rela, elf_machine_lazy_rel.
9538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9539 (ELF_DYNAMIC_DO_REL): Likewise.
9540 (ELF_DYNAMIC_DO_RELA): Likewise.
9541 (ELF_DYNAMIC_RELOCATE): Likewise.
9542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9543 to ELF_DYNAMIC_DO_REL.
9544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9549 skip_ifunc, don't call ifunc function if non-zero.
9550 (elf_machine_rela): Likewise.
9551 (elf_machine_lazy_rel): Likewise.
9552 (elf_machine_lazy_rela): Likewise.
9553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9554 (elf_machine_lazy_rel): Likewise.
9555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9557 (elf_machine_lazy_rel): Likewise.
9558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9560 (elf_machine_lazy_rel): Likewise.
9561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9562 (elf_machine_lazy_rel): Likewise.
9563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9564 (elf_machine_lazy_rel): Likewise.
9565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9566 (elf_machine_lazy_rel): Likewise.
9567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9568 (elf_machine_lazy_rel): Likewise.
9569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9570 (elf_machine_lazy_rel): Likewise.
9571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9572 (elf_machine_lazy_rel): Likewise.
9574 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9576 * nss/nss_files/files-init.c (_nss_files_init): Use static
9577 initialization for all the *_traced_file variables.
9579 2011-09-28 Andreas Schwab <schwab@redhat.com>
9581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9583 2011-09-27 Roland McGrath <roland@hack.frob.com>
9586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9588 2011-09-27 Andreas Schwab <schwab@redhat.com>
9590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9591 Reread the line before reparsing it.
9593 2011-09-26 Andreas Schwab <schwab@redhat.com>
9595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9597 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9598 Maxim Kuvyrkov <maxim@codesourcery.com>
9599 Joseph Myers <joseph@codesourcery.com>
9601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9602 if needed for __stack_chk_guard.
9604 2011-09-19 Roland McGrath <roland@hack.frob.com>
9606 * sysdeps/posix/spawni.c (script_execute): Always define it.
9607 It will be optimized away if unused.
9608 (maybe_script_execute): New function.
9609 (__spawni): Call it.
9611 * Makerules: Don't include tls.make.
9612 (config-tls): Always set to thread.
9613 * tls.make.c: File removed.
9615 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9618 * config.make.in (CPPFLAGS-config): New substituted variable.
9620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9628 2011-09-15 Roland McGrath <roland@hack.frob.com>
9630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9633 (CALL_FAIL): Likewise.
9634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9635 (CALL_FAIL): Macro removed.
9636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9638 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9641 for __FINITE_MATH_ONLY__ == 1.
9643 2011-09-15 Andreas Schwab <schwab@redhat.com>
9645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9646 __ieee754_sqrt instead of sqrt.
9647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9648 __ieee754_sqrtf instead of sqrtf.
9649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9650 __floorf instead of floorf.
9651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9652 __floorf, __truncf instead of floorf, truncf.
9654 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9659 __extern_always_inline.
9660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9663 2011-09-14 Andreas Schwab <schwab@redhat.com>
9665 * elf/rtld.c (dl_main): Also relocate in dependency order when
9666 doing symbol dependency testing.
9668 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9671 Always define `refsym'.
9673 2011-09-13 Andreas Schwab <schwab@redhat.com>
9675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9676 (__FD_ELT): Renamed from __FDELT.
9677 * misc/bits/select2.h (__FD_ELT): Likewise.
9678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9679 __FD_MASK instead of __FDELT, __FDMASK.
9680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9685 * elf/Makefile (gen-ldd): Fix pattern.
9687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9688 (init_tls): Likewise.
9690 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9694 2011-09-12 Andreas Schwab <schwab@redhat.com>
9696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9697 `struct cmsghdr *' instead of `void *'.
9698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9708 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9710 * configure.in: Remove --with-tls option.
9711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9713 out in case it is missing.
9714 * sysdeps/ia64/elf/configure.in: Likewise.
9715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9719 * sysdeps/sh/elf/configure.in: Likewise.
9720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9722 * sysdeps/x86_64/elf/configure.in: Likewise.
9723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9724 * sysdeps/mach/hurd/tls.h: Likewise.
9727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9730 * configure.in: Fix use of AC_INIT.
9732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9734 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9738 * malloc/hooks.c: Likewise.
9741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9742 variables statically.
9743 (narenas): Initialize.
9744 (list_lock): Initialize.
9745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9746 initializtion of main_arena and list_lock. Small cleanups.
9747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9749 Add initializers to main_arena and mp_.
9750 (malloc_state): Remove pagesize member. Change all users to use
9753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9755 is always initialized.
9757 * malloc/malloc.c: Removed unused configurations and dead code.
9758 * malloc/arena.c: Likewise.
9759 * malloc/hooks.c: Likewise.
9760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9762 * include/tls.h: Removed. USE___THREAD must always be defined.
9763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9764 * elf/dl-libc.c: Likewise.
9765 * elf/dl-tsd.c: Likewise.
9766 * include/errno.h: Likewise.
9767 * include/netdb.h: Likewise.
9768 * include/resolv.h: Likewise.
9769 * inet/herrno-loc.c: Likewise.
9770 * inet/herrno.c: Likewise.
9771 * malloc/arena.c: Likewise.
9772 * malloc/hooks.c: Likewise.
9773 * malloc/malloc.c: Likewise.
9774 * resolv/res-state.c: Likewise.
9775 * resolv/res_libc.c: Likewise.
9776 * sysdeps/i386/dl-machine.h: Likewise.
9777 * sysdeps/ia64/dl-machine.h: Likewise.
9778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9782 * sysdeps/sh/dl-machine.h: Likewise.
9783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9785 * sysdeps/unix/i386/sysdep.S: Likewise.
9786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9797 * sysdeps/x86_64/dl-machine.h: Likewise.
9798 * tls.make.c: Likewise.
9800 * configure.in: Remove --with-__thread option. Make tests for
9801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9802 tls_model attribute fail if no support is available. Remove
9804 * Makeconfig: Adjust for dropped configure option. All features are
9806 * Makerules: Likewise.
9807 * Versions.def: Likewise.
9808 * argp/argp-fmtstream.c: Likewise.
9809 * argp/argp-fmtstream.h: Likewise.
9810 * argp/argp-help.c: Likewise.
9811 * assert/assert.c: Likewise.
9812 * config.h.in: Likewise.
9813 * config.make.in: Likewise.
9814 * configure: Likewise.
9815 * configure.in: Likewise.
9816 * csu/Versions: Likewise.
9817 * csu/init.c: Likewise.
9818 * elf/tst-audit2.c: Likewise.
9819 * elf/tst-tls10.c: Likewise.
9820 * elf/tst-tls10.h: Likewise.
9821 * elf/tst-tls11.c: Likewise.
9822 * elf/tst-tls12.c: Likewise.
9823 * elf/tst-tls14.c: Likewise.
9824 * elf/tst-tlsmod11.c: Likewise.
9825 * elf/tst-tlsmod12.c: Likewise.
9826 * elf/tst-tlsmod13.c: Likewise.
9827 * elf/tst-tlsmod13a.c: Likewise.
9828 * elf/tst-tlsmod14a.c: Likewise.
9829 * elf/tst-tlsmod15b.c: Likewise.
9830 * elf/tst-tlsmod16a.c: Likewise.
9831 * elf/tst-tlsmod16b.c: Likewise.
9832 * elf/tst-tlsmod7.c: Likewise.
9833 * elf/tst-tlsmod8.c: Likewise.
9834 * elf/tst-tlsmod9.c: Likewise.
9835 * gmon/gmon.c: Likewise.
9836 * grp/fgetgrent_r.c: Likewise.
9837 * grp/putgrent.c: Likewise.
9838 * hurd/fopenport.c: Likewise.
9839 * include/libc-symbols.h: Likewise.
9840 * include/tls.h: Likewise.
9841 * intl/gettextP.h: Likewise.
9842 * intl/loadinfo.h: Likewise.
9843 * locale/global-locale.c: Likewise.
9844 * locale/localeinfo.h: Likewise.
9845 * mach/devstream.c: Likewise.
9846 * malloc/arena.c: Likewise.
9847 * malloc/set-freeres.c: Likewise.
9848 * misc/err.c: Likewise.
9849 * misc/getttyent.c: Likewise.
9850 * misc/mntent_r.c: Likewise.
9851 * posix/getopt.c: Likewise.
9852 * posix/wordexp.c: Likewise.
9853 * pwd/fgetpwent_r.c: Likewise.
9854 * resolv/Versions: Likewise.
9855 * resolv/res_hconf.c: Likewise.
9856 * shadow/fgetspent_r.c: Likewise.
9857 * shadow/putspent.c: Likewise.
9858 * stdio-common/printf_fphex.c: Likewise.
9859 * stdio-common/tmpfile.c: Likewise.
9860 * stdlib/abort.c: Likewise.
9861 * stdlib/fmtmsg.c: Likewise.
9862 * sunrpc/auth_unix.c: Likewise.
9863 * sunrpc/clnt_perr.c: Likewise.
9864 * sunrpc/clnt_tcp.c: Likewise.
9865 * sunrpc/clnt_udp.c: Likewise.
9866 * sunrpc/clnt_unix.c: Likewise.
9867 * sunrpc/openchild.c: Likewise.
9868 * sunrpc/svc_simple.c: Likewise.
9869 * sunrpc/svc_tcp.c: Likewise.
9870 * sunrpc/svc_udp.c: Likewise.
9871 * sunrpc/svc_unix.c: Likewise.
9872 * sunrpc/xdr.c: Likewise.
9873 * sunrpc/xdr_array.c: Likewise.
9874 * sunrpc/xdr_rec.c: Likewise.
9875 * sunrpc/xdr_ref.c: Likewise.
9876 * sunrpc/xdr_stdio.c: Likewise.
9878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9882 2011-07-03 Andreas Jaeger <aj@suse.de>
9884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9886 regenerate with gen-libm-tests.pl.
9888 2010-05-12 Petr Baudis <pasky@suse.cz>
9891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9892 around j0() zero points by switching to j1().
9893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9905 Patch in part by Pavel Roskin <proski@gnu.org>.
9908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9911 Free memory block if necessary.
9914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9915 be NULL. Don't lock in this case.
9917 2011-09-09 Roland McGrath <roland@hack.frob.com>
9919 * elf/elf.h (ELFOSABI_GNU): New macro.
9920 (ELFOSABI_LINUX): Define to that.
9922 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9924 * string/strncat.c (strncat): Undef the symbol in case it has been
9925 defined in bits/string.h.
9927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9934 2011-08-17 Andreas Jaeger <aj@suse.de>
9936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9938 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9939 Ian Lance Taylor <iant@google.com>
9941 * math/libm-test.inc (lround_test): New testcase.
9942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9944 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9946 * Makefile: Remove support for automatic cvs check-ins.
9947 * Makerules: Likewise.
9948 * config.make.in: Likewise.
9949 * configure.in: Likewise.
9950 * intl/Makefile: Likewise.
9951 * locale/Makefile: Likewise.
9952 * po/Makefile: Likewise.
9953 * posix/Makefile: Likewise.
9954 * sysdeps/gnu/Makefile: Likewise.
9955 * sysdeps/mach/hurd/Makefile: Likewise.
9956 * sysdeps/sparc/sparc32/Makefile: Likewise.
9959 * posix/Makefile (bug-regex32-ENV): Define.
9960 Patch by John Stanley <jpsinthemix@verizon.net>.
9962 * misc/Makefile (headers): Add bits/select2.h.
9963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9964 * misc/bits/select2.h: New file.
9965 * include/bits/select2.h: New file.
9966 * debug/Makefile (routines): Add fdelt_chk.
9967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9970 * debug/fdelt_chk.c: New file.
9972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9973 * wcsmbs/test-wmemcmp.c: Likewise.
9974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9977 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9979 * string/Makefile (strop-tests): Add memcmp.
9980 * string/test-wmemcmp.c: New file.
9981 * string/test-memcmp.c: Add wmemcmp support.
9983 2011-09-08 Roland McGrath <roland@hack.frob.com>
9986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9990 garbage value in a __mach_port_mod_refs call in the cases of the
9991 task-self and thread-self ports.
9993 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9997 2011-09-08 Andreas Schwab <schwab@redhat.com>
9999 * elf/dl-load.c (lose): Check for non-null L.
10001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10005 * elf/dl-libc.c (dlerror_run): Pass back error code from
10009 * elf/dl-load.c (lose): Free l_origin if it is valid.
10011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10020 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10033 2011-08-15 Alan Modra <amodra@gmail.com>
10036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10039 ppc_mcount to static-only-routines.
10040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10045 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10048 for finite and infinity parameters.
10050 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10053 and add nop instructions for throughput optimization.
10054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10056 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10059 aligned copy for power7 with vector-scalar instructions.
10060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10062 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10067 2011-09-07 Andreas Schwab <schwab@redhat.com>
10070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10084 Forgot to demangle the pointer.
10086 * sysdeps/i386/sysdep.h: Define atom_text_section.
10087 * sysdeps/x86_64/sysdep.h: Likewise.
10088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10089 section with atom_text_section.
10090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10098 already be defined. Change to take two parameters and don't assign
10099 result to variable. Adjust all users.
10100 Define INTERNAL_GETTIME if not already defined.
10101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10104 HAVE_CLOCK_GETTIME_VSYSCALL.
10105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10108 gettimeofday vsyscall, just use time.
10110 2011-09-06 Andreas Schwab <schwab@redhat.com>
10112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10123 syscall if possible.
10125 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10128 e_ident. Don't pass to find_mapsXX.
10129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10131 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10135 * sysdeps/x86_64/multiarch/strchr.S: Update.
10136 Check bit_slow_BSF bit.
10137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10146 (tryshell): Define.
10147 (__spawni): Change last parameter to be flag. Test
10148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10151 * posix/spawni.c: Likewise.
10152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10153 * posix/spawnp.c: Likewise. Change normal version to use
10154 SPAWN_XFLAGS_USE_PATH.
10155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10156 SPAWN_XFLAGS_TRY_SHELL.
10159 * posix/glob.h: Remove gcc 1.x support.
10162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10164 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10176 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10178 * sysdeps/x86_64/wcscmp.S: New file.
10180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10181 wcscmp-c wcscmp-sse2
10182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10185 * wcsmbs/wcscmp.c: Allow renaming.
10187 2011-09-05 David S. Miller <davem@davemloft.net>
10189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10190 stack slot, rather than the struct return pointer slot.
10191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10198 * po/ja.po: Update from translation team.
10201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10202 kernel in 64-bit binaries.
10204 2011-09-01 David S. Miller <davem@davemloft.net>
10206 * elf/elf.h (HWCAP_SPARC_*): Move to..
10207 * sysdeps/sparc/sysdep.h: this new file and add new values.
10208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10210 _DL_HWCAP_COUNT to 24.
10211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10217 instead of magic constants.
10218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10220 2011-08-31 David S. Miller <davem@davemloft.net>
10222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10224 Reimplement to do errno handling inline.
10225 (SYSCALL_ERROR_HANDLER): New macro.
10226 (__SYSCALL_STRING): Do not do errno handling in asm.
10227 (__CLONE_SYSCALL_STRING): Delete.
10228 (__INTERNAL_SYSCALL_STRING): Delete.
10229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10231 (PSEUDO): Reimplement to do errno handling inline.
10232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10233 (SYSCALL_ERROR_HANDLER): New macro.
10234 (__SYSCALL_STRING): Do not do errno handling in asm.
10235 (__CLONE_SYSCALL_STRING): Delete.
10236 (__INTERNAL_SYSCALL_STRING): Delete.
10237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10241 (inline_syscall*): Add 'err' argument.
10242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10250 2011-08-30 Andreas Schwab <schwab@redhat.com>
10252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10254 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10259 2011-08-24 David S. Miller <davem@davemloft.net>
10261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10263 2011-08-24 Andreas Schwab <schwab@redhat.com>
10265 * elf/Makefile: Add rules to build and run unload8 test.
10266 * elf/unload8.c: New file.
10267 * elf/unload8mod1.c: New file.
10268 * elf/unload8mod1x.c: New file.
10269 * elf/unload8mod2.c: New file.
10270 * elf/unload8mod3.c: New file.
10272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10275 2011-08-23 David S. Miller <davem@davemloft.net>
10277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10278 subtract stack bias.
10279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10280 %sp not %fp in calculations.
10281 (_JMPBUF_UNWINDS_ADJ): Likewise.
10283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10284 (aio_suspend): Call it to force an exception region around the
10285 AIO_MISC_WAIT() invocation.
10287 2011-08-23 Andreas Schwab <schwab@redhat.com>
10289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10292 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10297 and <dl-machine.h>.
10298 (Elf64_FuncDesc): Remove.
10300 2011-08-22 David S. Miller <davem@davemloft.net>
10302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10303 sigaltstack check, add missing cfi directives.
10304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10305 missing cfi directives, and sigaltstack handling.
10307 2011-08-16 Andreas Schwab <schwab@redhat.com>
10310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10311 object is seen twice.
10312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10314 * elf/Makefile (distribute): Add tst-initorder2.c.
10315 (tests): Add tst-initorder2.
10316 (modules-names): Add tst-initorder2a tst-initorder2b
10317 tst-initorder2c tst-initorder2d. Add rules to build them.
10318 ($(objpfx)tst-initorder2.out): New rule.
10319 * elf/tst-initorder2.c: New file.
10320 * elf/tst-initorder2.exp: New file.
10322 2011-08-22 Andreas Schwab <schwab@redhat.com>
10324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10327 dependencies back to end of function.
10329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10330 $(elfobjdir)/ld.so.
10332 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10339 of __vdso_gettimeofday.
10340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10343 (_libc_vdso_platform_setup): Remove initialization of
10344 __vdso_gettimeofday and __vdso_time.
10346 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10349 and fgetc_unlocked.
10350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10353 * elf/dl-open.c (add_to_global): Report additions to the global scope
10354 for LD_DEBUG=scopes.
10355 (dl_open_worker): Also print scope of newly loaded dependencies.
10356 (_dl_show_scope): Indicate if there is no scope.
10359 * stdio-common/Makefile (tests): Add bug24.
10360 * stdio-common/bug24.c: New file.
10362 2011-08-19 Andreas Jaeger <aj@suse.de>
10365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10366 non-existant file when using close-on-exec mode.
10368 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10371 the very first instruction.
10373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10374 the CFI state in the end.
10375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10376 inclusion of dl-trampoline.h.
10377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10379 2011-08-19 Andreas Schwab <schwab@redhat.com>
10381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10382 expectations for long double.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10387 2011-08-14 David S. Miller <davem@davemloft.net>
10389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10390 artificual limit depends upon the system page size.
10392 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10395 * resolv/Makefile: Define CFLAGS-libresolv.
10397 2011-08-17 Andreas Schwab <schwab@redhat.com>
10399 * nss/makedb.c (compute_tables): Make variables used in nested
10402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10406 if buffer was too small.
10408 * elf/pldd.c (main): Attach to all threads in the process.
10409 Rewrite /proc handling to use *at functions.
10411 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10414 specifies first scope to show.
10415 (dl_open_worker): Update callers. Move printing scope of new
10416 object to before the relocation.
10417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10418 * sysdeps/generic/ldsodefs.h: Update declaration.
10420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10421 string for the scope number.
10423 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10425 * nscd/servicescache.c (cache_addserv): Make sure written is always
10428 2011-08-14 Roland McGrath <roland@hack.frob.com>
10430 * sysdeps/i386/i486/bits/atomic.h
10431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10432 statement expression, so as to suppress "set but not used" warning.
10433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10435 * string/strncat.c (STRNCAT): Use prototype definition.
10437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10441 (localedef-modules): Add localedef.
10442 (locale-modules): Add locale.
10444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10446 to avoid a warning.
10448 2011-08-14 David S. Miller <davem@davemloft.net>
10450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10453 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10457 * elf/rtld.c (dl_main): Set l_name of vDSO.
10458 Call _dl_show_scope when DL_DEBUG_SCOPES.
10459 (process_dl_debug): Recognize scopes flag and also set it for all.
10460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10461 Declare _dl_show_scope.
10463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10464 (do_dlopen): Pass caller_dlopen to dl_open.
10465 (__libc_dlopen_mode): Initialize caller_dlopen.
10467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10468 of libc. Make tolower call locale-independent. Optimize a bit by
10469 using isdigit instead of isalnum.
10470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10472 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10475 was a dependency or dynamically loaded.
10477 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10479 * intl/l10nflist.c: Allow architecture-specific pop function.
10480 * sysdeps/x86_64/l10nflist.c: New file.
10482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10485 2011-08-10 Andreas Schwab <schwab@redhat.com>
10487 * include/dirent.h: Add libc_hidden_proto for scandirat and
10488 scandirat64. Don't declare __scandirat64.
10489 * dirent/scandirat.c: Add libc_hidden_def.
10490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10493 2011-08-10 David S. Miller <davem@davemloft.net>
10495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10501 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10503 * Versions.def [libc]: Add GLIBC_2.15.
10504 * dirent/Makefile (routines): Add scandirat and scandirat64.
10505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10507 * dirent/dirent.h: Declare scandirat and scandirat64.
10508 * dirent/scandirat.c: New file.
10509 * dirent/scandirat64.c: New file.
10510 * sysdeps/wordsize-64/scandirat.c: New file.
10511 * sysdeps/wordsize-64/scandirat64.c: New file.
10512 * dirent/opendir.c: Define opendirat.
10513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10515 * dirent/scandir64.c: Adjust for scandir.c change.
10516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10517 __scandirat64, and __scandir_cancel_handler.
10518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10519 additional parameter and use openat instead of open (outside of ld.so).
10520 Add new __opendir as wrapper around __opendirat.
10521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10522 here without requiring old scandirat implementation.
10524 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10526 * dirent/scandir.c (cancel_handler): Renamed to
10527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10528 defined. Adjust users.
10529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10532 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10534 * string/test-string.h (IMPL): Use __STRING to expand name and then
10537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10542 * string/Makefile: Update.
10543 (strop-tests): Append strncat.
10544 * string/test-wcscmp.c: New file.
10545 New comprehensive test for wcscmp.
10546 * string/test-strcmp.c: Update.
10547 (WIDE): New define.
10549 2011-07-22 Andreas Schwab <schwab@redhat.com>
10551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10554 2011-07-26 Andreas Schwab <schwab@redhat.com>
10556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10557 encoding to ACE if AI_IDN.
10559 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10567 Fix overflow bug in strncat.
10568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10570 * string/test-strncat.c: Update.
10571 Add new tests for checking overflow bugs.
10573 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10586 (USE_AS_STRCAT): Define.
10587 Add strcat and strncat support.
10588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10590 2011-07-25 Andreas Schwab <schwab@redhat.com>
10592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10593 __n bigger than INT_MAX+1.
10594 (__strncmp_g): Likewise.
10596 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10599 * libio/stido.h: Likewise.
10601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10618 (_dl_x86_64_save_sse): Likewise.
10620 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10624 (_dl_x86_64_save_sse): Likewise.
10626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10630 2011-07-21 Andreas Schwab <schwab@redhat.com>
10632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10634 (_dl_x86_64_save_sse): Use correct AVX check.
10636 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10639 bug in strncpy/strncat.
10640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10642 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10644 * string/tester.c (test_strcat): Add tests for different alignments
10645 of source and destination.
10646 (test_strncat): Likewise.
10648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10651 * posix/glob.c (glob): Check passed in values before using them in
10652 expressions to avoid some overflows.
10653 (glob_in_dir): Likewise.
10656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10657 check for AVX enablement so that we don't crash with old kernels and
10659 * elf/tst-audit4.c: Add same checks here.
10660 * elf/tst-audit6.c: Likewise.
10662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10664 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10670 * po/cs.po: Update from translation team.
10671 * po/bg.po: Likewise.
10673 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10675 * misc/sys/cdefs.h: Add support for const attribute.
10676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10677 to gnu_dev_{major,minor,makedev} functions.
10679 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10683 2011-07-20 Andreas Schwab <schwab@redhat.com>
10685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10688 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10692 register in order to avoid conflicts with the soft frame pointer
10693 being held in r11 when necessary.
10694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10695 (INTERNAL_VSYSCALL_NCS): Likewise.
10697 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10700 * elf/dl-fini.c (_dl_fini): Adjust caller.
10701 * elf/dl-close.c (_dl_close_worker): Likewise.
10702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10707 "aux_cache->nlibs < 0".
10709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10710 in the reload-count case.
10712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10718 * sysdeps/x86_64/multiarch/strcat.S: New file.
10719 * sysdeps/x86_64/multiarch/strncat.S: New file.
10720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10725 (USE_AS_STRCAT): Define.
10726 Add strcat and strncat support.
10727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10730 * string/strncat.c: Update.
10731 (USE_AS_STRNCAT): Define.
10732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10735 * sysdeps/x86_64/multiarch/init-arch.h
10736 (bit_Prefer_PMINUB_for_stringop): New.
10737 (index_Prefer_PMINUB_for_stringop): Likewise.
10738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10739 bit_Prefer_PMINUB_for_stringop.
10741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10746 of casting of buffer.
10747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10748 buffer32 and buffer64.
10749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10750 writes instead of casting of buffer.
10751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10756 2011-07-19 Andreas Schwab <schwab@redhat.com>
10758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10760 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10762 * nscd/nscd.c (termination_handler): Don't do anything for a database
10763 if it has not yet been initialized.
10765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10775 * po/nl.po: Update from translation team.
10776 * po/sv.po: Likewise.
10778 2011-07-16 Roland McGrath <roland@hack.frob.com>
10780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10781 now disallowed by GCC.
10783 * configure.in (use-default-link): Default to yes if a test -shared
10784 link meets our qualifications.
10785 * configure: Regenerated.
10787 * config.make.in (output-format): New variable.
10788 * configure.in: Check for ld --print-output-format support.
10789 * configure: Regenerated.
10790 * Makerules ($(common-objpfx)format.lds)
10791 [$(output-format) != unknown]: Just use $(output-format),
10792 instead of the linker-script munging.
10794 2011-07-14 Roland McGrath <roland@hack.frob.com>
10796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10797 of $(common-objpfx)shlib.lds.
10798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10803 * configure.in (-z relro check): Adjust test code to add a large
10804 writable data section after it.
10805 * configure: Regenerated.
10807 2011-07-11 Roland McGrath <roland@hack.frob.com>
10809 * configure.in (-z relro check): Fix test code to make the variable
10811 * configure: Regenerated.
10813 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10815 * nscd/nscd.h (struct traced_file): Define.
10816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10817 elements. Add traced_files.
10818 (inotify_fd): Declare.
10819 (register_traced_file): Declare.
10820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10821 (inotify_fd): Export.
10822 (resolv_conf_descr): Remove.
10823 (nscd_init): Move inotify descriptor creation to main.
10824 Don't register files for notification here.
10825 (register_traced_file): New function.
10826 (invalidate_cache): Don't use reset_res to determine whether to call
10827 res_init, go through the list of registered files.
10828 (main_loop_poll): The inotify descriptors are now stored in the
10829 structures for the traced files.
10830 (main_loop_epoll): Likewise
10831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10832 to __nss_disable_nscd.
10833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10834 for a database anymore. Check the records for all the registered
10836 * nss/Makefile (libnss_files-routines): Add files-init.
10837 (libnss_db-routines): Add db-init.
10838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10840 * nss/nss_db/db-init.c: New file.
10841 * nss/nss_files/files-init.c: New file.
10842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10843 __nss_lookup_function.
10844 (__nss_lookup_function): Call nss_load_library.
10845 (nss_load_all_libraries): New function.
10846 (__nss_disable_nscd): Take parameter with callback function for files
10847 to register. Set is_nscd. Load all the DSOs for the NSS modules
10848 used for the cached services.
10849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10851 options for features to all the files in nscd.
10853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10855 2011-07-10 Roland McGrath <roland@hack.frob.com>
10857 * csu/elf-init.c (__libc_csu_init): Comment typo.
10859 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10861 * po/pl.po: Update from translation team.
10862 * po/ja.po: Likewise.
10863 * po/ru.po: Likewise.
10864 * po/ko.po: Likewise.
10865 * po/fr.po: Likewise.
10867 2011-07-09 Roland McGrath <roland@hack.frob.com>
10869 * configure.in (.ctors/.dtors header and trailer check):
10870 Use an empirical test on a built program.
10871 * configure: Regenerated.
10873 * configure.in (-z relro check): Use an empirical test on a built DSO.
10874 Detect, but do not require, on ia64.
10875 * configure: Regenerated.
10877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10878 Update tests that use readelf to use $READELF instead.
10879 * configure: Regenerated.
10881 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10884 if the result is not used.
10886 2011-07-05 Andreas Jaeger <aj@suse.de>
10889 * stdlib/tst-strtod.c: Add testcase.
10891 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10895 The latter has a higher limit. Take additional parameter to pass to
10897 (__pathconf): Pass file to __statfs_link_max.
10898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10908 (__statfs_filesize_max): Likewise.
10909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10911 2011-07-05 Andreas Jaeger <aj@suse.de>
10913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10915 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10922 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10924 * Makefile (strop-tests): Add strncat.
10925 * string/test-strncat.c: New file.
10927 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10931 2011-06-21 Andreas Jaeger <aj@suse.de>
10933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10934 Copy rule from iconvdata/Makefile.
10936 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10940 but no long options are defined, just return 'W'.
10942 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10947 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10951 (innetgr): Likewise.
10953 2011-07-05 Roland McGrath <roland@hack.frob.com>
10955 * config.make.in (install_root): Default to $(DESTDIR).
10957 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10961 2011-07-02 Roland McGrath <roland@hack.frob.com>
10963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10966 containing directory rather than embedding absolute directory names.
10968 * scripts/check-local-headers.sh: Rewritten using awk.
10969 Match by word, not by line. Print error messages for matches.
10970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10972 * Makerules [shlib-lds-flags empty]:
10973 ($(common-objpfx)libc_pic.opts): New target.
10974 ($(common-objpfx)libc_pic.os.clean): New target.
10975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10977 * config.make.in (OBJCOPY): New variable.
10978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10979 * configure: Regenerated.
10981 * config.make.in (use-default-link): New variable.
10982 * configure.in (use_default_link): Grok --with-default-link to set it.
10983 * configure: Regenerated.
10984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10985 (shlib-lds, shlib-lds-flags): Define to empty.
10987 * Makerules (shlib-lds): New variable.
10988 (shlib-lds-flags): New variable.
10989 (build-shlib, build-moduile, build-module-asneeded): Use it.
10990 ($(common-objpfx)libc.so): Use $(shlib-lds).
10991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10995 DT_FLAGS/DT_FLAGS_1 with zero flags.
10997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10998 linker script munging.
11000 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11004 * crypt/sha512.c (sha512_process_block): Perform total addition using
11005 128-bit if possible.
11006 (__sha512_finish_ctx): Likewise.
11007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11009 * crypt/sha256.c (SWAP64): Define.
11010 (sha256_process_block): Perform total addition using 64-bit if
11012 (__sha256_finish_ctx): Likewise.
11014 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11018 * nscd/hstcache.c (cache_addhst): Likewise.
11019 * nscd/grpcache.c (cache_addgr): Likewise.
11020 * nscd/aicache.c (addhstaiX): Likewise
11021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11023 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11027 * nscd/hstcache.c (cache_addhst): Likewise.
11028 * nscd/grpcache.c (cache_addgr): Likewise.
11029 * nscd/aicache.c (addhstaiX): Likewise
11031 2011-07-01 Andreas Schwab <schwab@redhat.com>
11033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11034 domain only when needed.
11036 2011-06-30 Andreas Schwab <schwab@redhat.com>
11038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11039 is always restored.
11041 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11044 are re-adding the entry.
11045 * nscd/servicescache.c (cache_addserv): Likewise.
11047 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11049 * sysdeps/generic/dl-irel.h: fix protection against multiple
11051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11053 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11056 * malloc/memusage.sh: Fix quoting in message.
11057 * debug/xtrace.sh: Likewise.
11059 * configure.in: Remove support for --experimental-malloc option, make
11061 * config.make.in: Likewise.
11062 * malloc/Makefile: Likewise.
11064 2011-06-27 Andreas Schwab <schwab@redhat.com>
11066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11067 two-byte characters.
11069 2011-06-27 Roland McGrath <roland@hack.frob.com>
11071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11072 AC_CACHE_CHECK invocation.
11073 * configure: Regenerated.
11075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11077 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11081 bit from old_res_options.
11083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11086 value type for setfct.
11088 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11091 __gettimeofday instead of gettimeofday.
11093 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11097 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11108 strcpy-sse2-unaligned strncpy-sse2-unaligned
11109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11119 (STRCPY): Support SSE2 and SSSE3 versions.
11121 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11126 kernels which artificially limit size of requests.
11128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11146 Enable unaligned load optimization for Intel Core i3, i5 and i7
11148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11150 (index_Fast_Unaligned_Load): Define.
11151 (HAS_FAST_UNALIGNED_LOAD): Define.
11153 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11157 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11161 until it is clear that the information is realy needed.
11162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11164 2011-06-22 Andreas Schwab <schwab@redhat.com>
11166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11168 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11171 /sys/devices/system/cpu/online if it is usable.
11173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11174 reading the information from the /proc filesystem to once a second.
11176 2011-06-21 Andreas Jaeger <aj@suse.de>
11178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11179 NULL after inclusion of kernel headers.
11181 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11184 calls to internal_setent.
11187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11188 addresses using gethostbyname4_r ignore IPv4 addresses.
11190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11195 2011-06-20 David S. Miller <davem@davemloft.net>
11197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11202 (elf_irel): Use it.
11203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11207 * sysdeps/x86_64/dl-irel.h: Likewise.
11209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11210 * elf/dl-sym.c: Likewise.
11212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11215 need to dereference resplen2.
11217 2011-06-14 Andreas Schwab <schwab@redhat.com>
11219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11221 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11223 * Makeconfig: Define vardbdir and inst_vardbdir.
11224 * nss/Makefile: Add rules to install db-Makefile.
11226 * nss/nss_db/db-XXX.c: Cleanup.
11228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11232 * nss/makedb.c: Implement -g option to specify that value strings
11233 are generated and should not be added to table iterated over for
11235 * nss/nss_db/db-initgroups.c: New file.
11237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11241 (internal_getgrouplist): Adjust to name change.
11242 Update use_initgroups_entry if this is not the first call.
11243 * nss/databases.def: Add initgroups entry.
11245 * nss/makedb.c (compute_tables): Check result of multiple hash table
11246 sizes to minimize maximum chain length.
11248 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11250 * Versions.def: Add entry for libnss_db.
11251 * shlib-versions: Likewise.
11252 * nss/Makefile: Add rules to build libnss_db.
11253 * nss/Versions: Add libnss_db information. Organize libnss_files
11255 * nss/db-Makefile: Add gshadow support. Change rules for the new
11256 makedb progra. Some minor improvements to generate smaller files.
11257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11259 * nss/makedb.c: ...here.
11260 Improve database format to be smaller and require less memory at
11262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11264 * nss/nss_db/db-netgrp.c: Likewise.
11265 * nss/nss_db/db-open.c: Likewise.
11266 * nss/nss_files/flies-XXX.x: Adjust comments.
11267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11268 * nss/nss_files/files-grp.c: Likewise.
11269 * nss/nss_files/files-hosts.c: Likewise.
11270 * nss/nss_files/files-network.c: Likewise.
11271 * nss/nss_files/files-proto.c: Likewise.
11272 * nss/nss_files/files-pwd.c: Likewise.
11273 * nss/nss_files/files-rpc.c: Likewise.
11274 * nss/nss_files/files-service.c: Likewise.
11275 * nss/nss_files/files-sgrp.c: Likewise.
11276 * nss/nss_files/files-spwd.c: Likewise.
11277 * nss/nss_db/db-alias.c: Removed.
11278 * nss/nss_db/dummy-db.h: Removed.
11280 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11282 * nss/makedb.c: Rewritten to not use database library.
11283 * nss/Makefile: Update to build new makedb program.
11285 2011-06-14 Andreas Jaeger <aj@suse.de>
11287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11288 memset declaration.
11290 2011-06-10 Andreas Schwab <schwab@redhat.com>
11292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11295 2011-06-10 Roland McGrath <roland@hack.frob.com>
11297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11298 * elf/Makefile ($(objpfx)ld.so): Likewise.
11300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11301 Don't list ld.so twice in dependencies.
11303 * posix/bug-regex31.c: Include <stdlib.h>.
11305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11307 * nis/nss_compat/compat-spwd.c
11308 (getspent_next_nss_netgr): Remove unused variable.
11309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11312 nonmembers" output to use the right array.
11314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11320 * catgets/gencat.c (read_input_file): Likewise.
11321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11324 variable definition inside #if's controlling its use.
11326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11338 * configure: Regenerated.
11340 * Makerules: Revert last change.
11341 * elf/Makefile: Likewise.
11343 2011-06-09 Roland McGrath <roland@hack.frob.com>
11345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11347 (reloc-link): Likewise.
11349 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11351 * elf/Makefile: Add rules to build pldd.
11352 * elf/pldd.c: New file.
11353 * elf/pldd-xx.c: New file.
11355 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11357 * version.h: Update for 2.15 development version.
11359 2011-06-07 David S. Miller <davem@davemloft.net>
11361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11364 elf_machine_lazy_rel): Likewise.
11365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11367 elf_machine_lazy_rel): Likewise.
11368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11369 dl_hwcap via passed in argument.
11370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11373 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11377 2011-06-06 Roland McGrath <roland@hack.frob.com>
11380 * manual/fdl-1.1.texi: New file, verbatim from:
11381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11382 * manual/lgpl-2.1.texi: New file, verbatim from:
11383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11384 * manual/Makefile (licenses): New variable, list those new file names.
11386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11388 * manual/fdl.texi: File removed.
11389 * manual/lesser.texi: File removed.
11390 * manual/libc.texinfo (Copying, Documentation License):
11391 Use new @include file names, put @appendix directive before @include.
11393 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11398 (mq_open): Add __NTH.
11400 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11403 Assume Intel Core i3/i5/i7 processor if AVX is available.
11405 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11410 2011-05-31 Andreas Schwab <schwab@redhat.com>
11412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11413 memory. Use alloca_account. Fix memory leak when retrying.
11415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11417 * version.h (RELEASE): Bump for 2.14 release.
11418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11420 * config.make.in (RANLIB): Remove entry.
11422 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11425 (libc.pot): Work around missing support for .ksh extension in xgettext.
11428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11429 if both request failed.
11430 (send_dg): In case of server errors clear resplen or *resplen2.
11433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11434 when there are multiple maps.
11435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11436 (_dl_fini): Remove test here.
11438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11440 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11444 bit from old_res_options.
11445 (gaih_inet): Likewise.
11448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11451 * resolv/res_init.c (res_setoptions): Make the code more compact.
11454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11463 * malloc/malloc.h: Declare malloc hook variables as volatile.
11465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11470 raise in the comment.
11471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11475 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11479 grow the buffers more if it already has to be sufficient.
11480 (build_wcs_upper_buffer): Likewise.
11481 * posix/regexec.c (check_matching): Likewise.
11482 (clean_state_log_if_needed): Likewise.
11483 (extend_buffers): Don't enlarge buffers beyond size of the input
11485 Patches mostly by Emil Wojak <emil@wojak.eu>.
11486 * posix/bug-regex32.c: New file.
11487 * posix/Makefile (tests): Add bug-regex32.
11489 * locale/findlocale.c (_nl_find_locale): Return right away if
11490 _nl_explode_name failed.
11491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11495 * debug/xtrace.sh: Unify messages.
11496 * malloc/memusage.sh: Likewise.
11499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11500 time symbol from vDSO. Substitute with vsyscall if not available.
11501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11507 Add sendmmsg and internal_sendmmsg.
11508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11516 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11526 * iconvdata/Makefile (tests): Add bug-iconv9.
11527 * iconvdata/bug-iconv9.c: New file.
11529 2011-05-27 Andreas Schwab <schwab@redhat.com>
11532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11534 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11537 (struct user_regs_struct): Change intcs field back to cs.
11539 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11541 * po/ja.po: Update from translation team.
11543 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11549 2011-05-20 Andreas Schwab <schwab@redhat.com>
11551 * stdlib/longlong.h: Update from GCC.
11553 2011-05-23 Andreas Schwab <schwab@redhat.com>
11555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11558 Add parameter name.
11559 (__sysconf): Pass it down.
11561 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11568 add in in __libc_use_alloca calls. Adjust callers.
11569 (glob): Use malloc in some situations.
11571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11575 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11578 and CLOCK_BOOTTIME_ALARM.
11581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11584 * string/_strerror.c (__strerror_r): Print negative errors as signed
11588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11592 * configure.in: Fix typo in redirection and correct removal of test
11593 files in two cases.
11596 * locale/setlocale.c (new_composite_name): Fix test to check for
11597 identical name of all categories.
11600 * libio/filedoalloc.c (local_isatty): New function.
11601 (_IO_file_doallocate): Use local_isatty.
11602 * stdio-common/perror.c (perror): In case a new stream is used
11603 forward the stream error.
11604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11607 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11612 * include/alloca.h (extend_alloca_account): Define.
11615 * posix/regex.h: Fix comments with documentation of user-accessible
11616 fields after compilation and describe correct free'ing of pattern
11617 after re_compile_pattern.
11618 Patch by Reuben Thomas <rrt@sc3d.org>.
11620 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11623 and -mno-altivec to prevent the compiler from using Altivec and/or
11624 VSX instructions when the corresponding registers are not available.
11626 2011-05-19 Andreas Schwab <schwab@redhat.com>
11628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11630 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11632 * libio/freopen.c (freopen): Use __dup2, not dup2.
11633 * libio/freopen64.c (freopen64): Likewise.
11635 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11639 * math/Makefile (tests): Add test-powl.
11640 (CFLAGS-test-powl.c): Define.
11641 * math/test-powl.c: New file.
11643 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11647 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11650 * iconvdata/gb18030.c: Update to GB18020-2005.
11652 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11656 Patch by Aharon Robbins <arnold@skeeve.com>.
11659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11664 through underflows.
11667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11668 point to strings before performing equality test for error_one_per_line
11672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11676 (struct user_fpregs_struct): Avoid __uint*_t types.
11679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11680 symbol info. Use it instead of calling _dl_addr locally.
11681 (lock_and_info): New function.
11682 (tr_freehook): Call lock_and_info and pass symbol info as additional
11683 parameter to tr_where.
11684 (tr_mallochook): Likewise.
11685 (tr_reallochook): Likewise.
11686 (tr_memalignhook): Likewise.
11688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11689 used and couldn't be at all thread-safe.
11691 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11693 * libio/freopen.c (freopen): Don't close old file descriptor
11694 before the new one is opened. Instead dup the new file descriptor
11695 to the old one after the new stream is created.
11696 * libio/freopen64.c (freopen64): Likewise.
11697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11698 * libio/fileops.c (_IO_new_file_close_it): Handle new
11699 _IO_FLAGS2_NOCLOSE flag.
11700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11703 _IO_FLAGS2_NOCLOSE flag.
11704 * include/unistd.h: Add hidden_proto for dup3.
11705 Define __have_dup3.
11706 * io/dup3.c: Define hidden symbol.
11707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11711 when an incomplete long option is used.
11712 * posix/tst-getopt_long1.c: New file.
11713 * posix/Makefile (tests): Add tst-getopt_long1.
11716 * scripts/config.guess: Update from autoconf-2.68.
11717 * scripts/config.sub: Likewise.
11720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11722 (has_cpuclock): ...this. New function.
11723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11724 macro here based on has_cpuclock code.
11727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11728 First byte (not low byte) is now always NUL.
11729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11732 Use non-cancelable interfaces.
11735 * locale/iso-639.def: Add entry for Sorani.
11738 * include/stdlib.h: Move include protection to the right place.
11739 Define abort_msg_s. Declare __abort_msg with it.
11740 * stdlib/abort.c (__abort_msg): Adjust type.
11741 * assert/assert.c (__assert_fail_base): New function. Majority
11742 of code from __assert_fail. Allocate memory for __abort_msg with
11744 (__assert_fail): Now call __assert_fail_base.
11745 * assert/assert-perr.c: Remove bulk of implementation. Use
11746 __assert_fail_base.
11747 * include/assert.hL Declare __assert_fail_base.
11748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11752 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11757 until all modules are registered in the DTV.
11758 * elf/Makefile: Add rules to build and run tst-tls19.
11759 * elf/tst-tls19.c: New file.
11760 * elf/tst-tls19mod1.c: New file.
11761 * elf/tst-tls19mod2.c: New file.
11762 * elf/tst-tls19mod3.c: New file.
11763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11771 two-byte sequence errors.
11772 * iconvdata/Makefile (tests): Add bug-iconv8.
11773 * iconvdata/bug-iconv8.c: New file.
11776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11783 (dummy_getcfa): New function.
11784 (init): Get _Unwind_GetCFA address, use dummy if not found.
11785 (backtrace_helper): In recursion check, also check whether CFA changes.
11786 (__backtrace): Completely initialize arg.
11788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11789 storing incomplete byte sequence in state object. Avoid testing for
11790 guaranteed too small input if we know there is enough data available.
11792 2011-05-11 Andreas Schwab <schwab@redhat.com>
11794 * Makeconfig (+link-pie): Indent.
11795 * Rules (binaries-pie): Define if $(have-fpie) and
11797 (binaries-shared): Also filter out $(binaries-pie).
11798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11799 * nscd/Makefile (others-pie): Add nscd.
11800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11801 ($(objpfx)nscd): Remove command override.
11802 * login/Makefile (others-pie): Add pt_chown.
11803 ($(objpfx)pt_chown): Remove command override.
11804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11805 remove command overrides.
11807 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11809 * libio/tst_putwc.c: Fix error messages.
11812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11813 currently writing and seek to current position when not.
11814 * libio/Makefile (tests): Add bug-fclose1.
11815 * libio/bug-fclose1.c: New file.
11817 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11821 don't set DF_1_NODELETE here.
11822 (do_lookup_x): When entering new entry test for copy relocation
11823 and if necessary set DF_1_NODELETE flag.
11824 * elf/tst-unique4.cc: New file.
11825 * elf/tst-unique4.h: New file.
11826 * elf/tst-unique4lib.cc: New file.
11827 * elf/Makefile: Add rules to build and run tst-unique4.
11828 Patch by Piotr Bury <pbury@goahead.com>.
11830 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11836 * misc/mntent_r.c (addmntent): Flush the stream after the output
11839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11840 (is_trusted_path_normalize): Skip initial colon. Append slash
11841 to empty buffer. Duplicate is_trusted_path code but allow
11842 constructed patch to be prefix.
11843 (is_dst): Allow $ORIGIN followed by /.
11844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11845 Correct testing of result of is_trusted_path_normalize
11846 (decompose_rpath): Fix warning.
11848 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11851 * grp/initgroups.c (internal_getgrouplist): When we found the service
11852 list through the initgroups entry in nsswitch.conf do not always
11853 continue on a successful lookup. Don't always use the
11854 __nss_group_database value if it is set.
11855 * nss/nsswitch.conf (initgroups): Change action for successful db
11856 lookup to continue for compatibility.
11858 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11865 * iconvdata/tst-tables.sh: Likewise.
11866 * iconvdata/cp770.c: New file.
11867 * iconvdata/cp771.c: New file.
11868 * iconvdata/cp772.c: New file.
11869 * iconvdata/cp773.c: New file.
11870 * iconvdata/cp774.c: New file.
11871 * iconvdata/testdata/CP770: New file.
11872 * iconvdata/testdata/CP770..UTF8: New file.
11873 * iconvdata/testdata/CP771: New file.
11874 * iconvdata/testdata/CP771..UTF8: New file.
11875 * iconvdata/testdata/CP772: New file.
11876 * iconvdata/testdata/CP772..UTF8: New file.
11877 * iconvdata/testdata/CP773: New file.
11878 * iconvdata/testdata/CP773..UTF8: New file.
11879 * iconvdata/testdata/CP774: New file.
11880 * iconvdata/testdata/CP774..UTF8: New file.
11882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11884 * iconvdata/gen-8bit-gap.sh: Likewise.
11885 * iconvdata/gen-8bit.sh: Likewise.
11887 * locale/iso-639.def: Add ary entry.
11890 * locale/C-translit.h.in: Add U20A1 transliteration.
11893 * locale/iso-639.def: Add wae entry.
11894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11901 * locale/C-translit.h.in: Add entry for U20B9.
11902 Patch by pravin.d.s@gmail.com.
11904 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11908 ENAMETOOLONG use generic getcwd.
11909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11910 in rtld. Use *stat64.
11911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11918 __fstatat64 macros.
11919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11920 * dirent/rewinddir.c: Add libc_hidden_def.
11921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11924 * include/dirent.h (__alloc_dir): Add flags parameter.
11925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11929 from fdopendir if O_CLOEXEC is already set.
11931 2011-03-15 Alan Modra <amodra@gmail.com>
11933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11934 l_tls_firstbyte_offset non-zero. Save padding offset in
11935 l_tls_firstbyte_offset for later use.
11936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11937 freeing static tls block.
11939 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11942 where #ifdef was intended. The intent is to prevent ARG_MAX from
11943 being defined by the kernel headers.
11945 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11948 * resolv/resolv.h: Define RES_NOTLDQUERY.
11949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11950 no-tld-query and set RES_NOTLDQUERY.
11951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11953 modern BIND to search name as TLD unless forbidden.
11955 2011-05-07 Petr Baudis <pasky@suse.cz>
11956 Ulrich Drepper <drepper@gmail.com>
11959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11960 (is_trusted_path): ...to here.
11961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11963 using is_trusted_path_normalize() in setuid scripts.
11965 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11968 __BEGIN/__END_DECLS.
11970 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11973 NSS_STATUS_NOTFOUND if no record was found.
11975 2011-05-05 Andreas Schwab <schwab@redhat.com>
11977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11978 (headers-not-in-tirpc): Remove rpc/netdb.h
11979 * resolv/netdb.h: Revert last change.
11981 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11984 circular dependency between libgcc.a and libc.a.
11986 2011-05-05 Andreas Schwab <schwab@redhat.com>
11988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11989 * nis/Makefile: Don't install rpcsvc/*.
11990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11991 instead of <rpc/types.h>.
11992 (MAXHOSTNAMELEN): Define.
11994 2011-05-03 Andreas Schwab <schwab@redhat.com>
11996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11998 2011-04-28 Maciej Babinski <mbabinski@google.com>
12001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12002 gethostbyname4_r when IPv6 results are possible.
12004 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12008 _PC_PIPE_BUF handling.
12010 2011-04-30 Bruno Haible <bruno@clisp.org>
12013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12016 * inet/getnameinfo.c (getnameinfo): Likewise.
12018 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12021 to groups setting in database lookup.
12022 * nss/nsswitch.conf: Add initgroups entry.
12024 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12029 Patch by Eric Blake <eblake@redhat.com>.
12031 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12033 * sunrpc/Makefile (need-export-routines): Add svc_run.
12034 (routines): Remove svc_run.
12035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12037 * sunrpc/svc_run.c (svc_run): Likewise.
12038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12040 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12043 problem in reallocation in last patch.
12045 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12047 * sunrpc/Makefile: Move inclusion of Rules.
12049 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12051 * nss/nss_files/files-initgroups.c: New file.
12052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12054 _nss_files_initgroups_dyn.
12056 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12058 * elf/elf.h (R_ARM_IRELATIVE): Define.
12060 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12062 * po/ru.po: Update from translation team.
12064 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12069 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12078 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12086 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12091 * stdlib/bug-getcontext.c: New file.
12092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12094 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12097 instructions into .machine "z9-109".
12098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12101 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12104 between environment variables and auxiliary vector.
12106 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12108 * Makefile: Add rules to build linkobj/libc.so.
12109 * include/libc-symbols.h: Define libc_hidden_nolink.
12110 * include/rpc/auth.h: Mark functions which are to be hidden.
12111 * include/rpc/auth_des.h: Likewise.
12112 * include/rpc/auth_unix.h: Likewise.
12113 * include/rpc/clnt.h: Likewise.
12114 * include/rpc/des_crypt.h: Likewise.
12115 * include/rpc/key_prot.h: Likewise.
12116 * include/rpc/pmap_clnt.h: Likewise.
12117 * include/rpc/pmap_prot.h: Likewise.
12118 * include/rpc/pmap_rmt.h: Likewise.
12119 * include/rpc/rpc_msg.h: Likewise.
12120 * include/rpc/svc.h: Likewise.
12121 * include/rpc/svc_auth.h: Likewise.
12122 * include/rpc/xdr.h: Likewise.
12123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12124 * nss/Makefile: Likewise.
12125 * sunrpc/Makefile: Don't install headers. Build library with normal
12126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12128 for the compat linking library. Remove use of INTDEF/INTUSE.
12129 * sunrpc/auth_none.c: Likewise.
12130 * sunrpc/auth_unix.c: Likewise.
12131 * sunrpc/authdes_prot.c: Likewise.
12132 * sunrpc/authuxprot.c: Likewise.
12133 * sunrpc/clnt_gen.c: Likewise.
12134 * sunrpc/clnt_perr.c: Likewise.
12135 * sunrpc/clnt_raw.c: Likewise.
12136 * sunrpc/clnt_simp.c: Likewise.
12137 * sunrpc/clnt_tcp.c: Likewise.
12138 * sunrpc/clnt_udp.c: Likewise.
12139 * sunrpc/clnt_unix.c: Likewise.
12140 * sunrpc/des_crypt.c: Likewise.
12141 * sunrpc/des_soft.c: Likewise.
12142 * sunrpc/get_myaddr.c: Likewise.
12143 * sunrpc/key_call.c: Likewise.
12144 * sunrpc/key_prot.c: Likewise.
12145 * sunrpc/netname.c: Likewise.
12146 * sunrpc/pm_getmaps.c: Likewise.
12147 * sunrpc/pm_getport.c: Likewise.
12148 * sunrpc/pmap_clnt.c: Likewise.
12149 * sunrpc/pmap_prot.c: Likewise.
12150 * sunrpc/pmap_prot2.c: Likewise.
12151 * sunrpc/pmap_rmt.c: Likewise.
12152 * sunrpc/publickey.c: Likewise.
12153 * sunrpc/rpc_cmsg.c: Likewise.
12154 * sunrpc/rpc_common.c: Likewise.
12155 * sunrpc/rpc_dtable.c: Likewise.
12156 * sunrpc/rpc_prot.c: Likewise.
12157 * sunrpc/rpc_thread.c: Likewise.
12158 * sunrpc/rtime.c: Likewise.
12159 * sunrpc/svc.c: Likewise.
12160 * sunrpc/svc_auth.c: Likewise.
12161 * sunrpc/svc_authux.c: Likewise.
12162 * sunrpc/svc_raw.c: Likewise.
12163 * sunrpc/svc_run.c: Likewise.
12164 * sunrpc/svc_simple.c: Likewise.
12165 * sunrpc/svc_tcp.c: Likewise.
12166 * sunrpc/svc_udp.c: Likewise.
12167 * sunrpc/svc_unix.c: Likewise.
12168 * sunrpc/svcauth_des.c: Likewise.
12169 * sunrpc/xcrypt.c: Likewise.
12170 * sunrpc/xdr.c: Likewise.
12171 * sunrpc/xdr_array.c: Likewise.
12172 * sunrpc/xdr_float.c: Likewise.
12173 * sunrpc/xdr_intXX_t.c: Likewise.
12174 * sunrpc/xdr_mem.c: Likewise.
12175 * sunrpc/xdr_rec.c: Likewise.
12176 * sunrpc/xdr_ref.c: Likewise.
12177 * sunrpc/xdr_sizeof.c: Likewise.
12178 * sunrpc/xdr_stdio.c: Likewise.
12180 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12184 * sysdeps/ia64/dl-tls.h: Likewise.
12185 * sysdeps/powerpc/dl-tls.h: Likewise.
12186 * sysdeps/s390/dl-tls.h: Likewise.
12187 * sysdeps/sh/dl-tls.h: Likewise.
12188 * sysdeps/sparc/dl-tls.h: Likewise.
12189 * sysdeps/x86_64/dl-tls.h: Likewise.
12190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12192 2011-03-14 Andreas Schwab <schwab@redhat.com>
12194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12195 rpath element also skip the following colon.
12196 (expand_dynamic_string_token): Add is_path parameter and pass
12197 down to DL_DST_REQUIRED and _dl_dst_substitute.
12198 (decompose_rpath): Call expand_dynamic_string_token with
12199 non-zero is_path. Ignore empty rpaths.
12200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12203 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12208 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12212 Patch by Filipe David Manana <fdmanana@apache.org>.
12214 2011-04-07 Andreas Schwab <schwab@redhat.com>
12216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12217 Maintain aligned stack.
12218 (CHECK_RSP): Remove unused macro.
12220 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12225 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12231 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12236 * sysdeps/x86_64/memmove.c: New file.
12237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12238 (memcpy): Renamed to ...
12239 (__new_memcpy): This.
12240 (memcpy): Provide GLIBC_2_14 memcpy.
12241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12242 (memcpy): Provide GLIBC_2_2_5 memcpy.
12244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12249 2011-03-30 Andreas Schwab <schwab@redhat.com>
12251 * misc/syncfs.c: New file.
12252 * misc/Makefile (routines): Add syncfs.
12253 * posix/unistd.h: Declare syncfs.
12254 * sysdeps/unix/syscalls.list: Add syncfs.
12256 2011-04-01 Andreas Schwab <schwab@redhat.com>
12258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12279 sync_file_range.c with -fexceptions.
12280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12287 sync_file_range as cancellation point
12288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12289 now a wrapper around __call_sync_file_range with cancellation handling.
12290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12292 function name to __call_sync_file_range.
12293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12294 Add call_sync_file_range.
12296 2011-04-01 Andreas Schwab <schwab@redhat.com>
12298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12301 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12303 * iconv/iconv.h: Fix typo in comment.
12304 * io/fcntl.h: Likewise.
12305 * libio/stdio.h: Likewise.
12306 * posix/spawn.h: Likewise.
12307 * posix/unistd.h: Likewise.
12308 * stdlib/stdlib.h: Likewise.
12309 * time/time.h: Likewise.
12310 * wcsmbs/wchar.h: Likewise.
12312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12313 open_by_handle): Add.
12314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12316 Augment a few comments.
12317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12325 * io/fcntl.h (AT_EMPTY_PATH): Define.
12327 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12334 * Versions.def: Add GLIBC_2.14.
12335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12338 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12344 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12347 * string/test-strncmp.c (do_page_test): New function.
12348 (check2): Likewise.
12349 (test_main): Call check2.
12350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12352 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12356 Handle cache information in CPU leaf 4.
12357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12359 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12363 character representation.
12364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12366 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12369 END(__isnan) to END(__isnanf) to match function entry point/label
12370 EALIGN(__isnanf,...).
12372 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12376 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12380 copy from the symbol referenced in the relocation to initialize the
12382 Patch by Piotr Bury <pbury@goahead.com>.
12383 * elf/Makefile: Add rules to build and tst-unique3.
12384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12385 * elf/tst-unique3.cc: New file.
12386 * elf/tst-unique3.h: New file.
12387 * elf/tst-unique3lib.cc: New file.
12388 * elf/tst-unique3lib2.cc: New file.
12390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12392 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12398 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12401 to-be-loaded object along a path to loader is ld.so.
12403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12404 Ulrich Drepper <drepper@gmail.com>
12406 * sysdeps/x86_64/memset.S: After aligning destination, code
12407 branches to different locations depending on the value of
12408 misalignment, when multiarch is enabled. Fix this.
12410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12413 Set _x86_64_preferred_memory_instruction for AMD processsors.
12414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12415 Set bit_Prefer_SSE_for_memop for AMD processors.
12417 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12419 * libio/fmemopen.c (fmemopen): Optimize a bit.
12421 2011-03-03 Andreas Schwab <schwab@redhat.com>
12423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12425 2011-03-03 Roland McGrath <roland@redhat.com>
12427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12429 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12432 __bzero_ultra1 instead of __memset_ultra1.
12434 2011-02-23 Andreas Schwab <schwab@redhat.com>
12435 Ulrich Drepper <drepper@gmail.com>
12438 * include/link.h (struct link_map): Add l_orig_initfini.
12439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12440 returning unsuccessfully.
12441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12442 close of a file loaded at startup, restore the original l_initfini
12444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12445 list, store the pointer.
12446 * elf/Makefile ($(objpfx)noload-mem): New rule.
12447 (noload-ENV): Define.
12448 (tests): Add $(objpfx)noload-mem.
12449 * elf/noload.c: Include <memcheck.h>.
12450 (main): Call mtrace. Close all opened handles.
12452 2011-02-17 Andreas Schwab <schwab@redhat.com>
12455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12456 dependencies are missing.
12458 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12460 Fix __if_freereq crash: Unlike the generic version which uses free,
12462 * sysdeps/mach/hurd/ifreq.h: New file.
12464 2011-01-27 Petr Baudis <pasky@suse.cz>
12465 Ulrich Drepper <drepper@gmail.com>
12468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12469 to extend_alloca().
12470 * stdio-common/bug23.c: New file.
12471 * stdio-common/Makefile (tests): Add bug23.
12473 2010-09-28 Andreas Schwab <schwab@redhat.com>
12474 Ulrich Drepper <drepper@gmail.com>
12477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12478 before performing relro protection. At old place add assertion
12479 to make sure nothing changed.
12481 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12482 Glauber de Oliveira Costa <glommer@gmail.com>
12484 * elf/elf.h: Add new ARM TLS relocs.
12486 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12493 * sysdeps/wordsize-64/tst-writev.c: New file.
12495 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12499 insns in _dl_start to prevent a TOC reference before relocs are
12502 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12505 * Makeconfig: Remove RANLIB definition.
12506 * Makerules: Don't use RANLIB.
12507 * aclocal.m4: Remove ranlib test.
12508 * configure.in: No need to check for ranlib.
12509 * elf/rtld-Rules: Don't use RANLIB.
12511 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12516 inclusion protection macro.
12518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12519 SIGRTMIN and SIGRTMAX and print information in that case only when
12520 SIGRTMIN is defined.
12522 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12525 arginfo fn returning -1.
12527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12528 and thousands string is zero terminated.
12530 2011-02-03 Andreas Schwab <schwab@redhat.com>
12532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12533 sysdeps/unix/sysv/linux/bits/socket.h.
12535 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12538 (__CPU_COUNT): Remove old macros.
12539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12541 (__CPU_ALLOC, __CPU_FREE): Add macros.
12542 (__sched_cpualloc, __sched_cpufree): Add declarations.
12544 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12549 (readdhstai): Return value of addhstaiX call.
12550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12551 (addgrbyX): Return value returned by cache_addgr.
12552 (readdgrbyname): Return value returned by addgrbyX.
12553 (readdgrbygid): Likewise.
12554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12555 (addpwbyX): Return value returned by cache_addpw.
12556 (readdpwbyname): Return value returned by addhstbyX.
12557 (readdpwbyuid): Likewise.
12558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12559 (addservbyX): Return value returned by cache_addserv.
12560 (readdservbyname): Return value returned by addservbyX:
12561 (readdservbyport): Likewise.
12562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12563 (addhstbyX): Return value returned by cache_addhst.
12564 (readdhstbyname): Return value returned by addhstbyX.
12565 (readdhstbyaddr): Likewise.
12566 (readdhstbynamev6): Likewise.
12567 (readdhstbyaddrv6): Likewise.
12568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12569 (readdinitgroups): Return value returned by addinitgroupsX.
12570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12571 (prune_cache): Keep track of timeout value of re-added entries.
12572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12573 * nscd/nscd.h: Adjust prototypes of readd* functions.
12575 2011-02-04 Roland McGrath <roland@redhat.com>
12577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12578 (nis_stats): Likewise.
12579 * nis/nis_modify.c (nis_modify): Likewise.
12580 * nis/nis_remove.c (nis_remove): Likewise.
12581 * nis/nis_add.c (nis_add): Likewise.
12583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12585 * posix/fnmatch_loop.c: Add some consts.
12587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12589 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12592 * config.make.in (config-cflags-novzeroupper): Define.
12593 * configure.in: Substitute libc_cv_cc_novzeroupper.
12594 * elf/Makefile (AVX-CFLAGS): Define.
12595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12596 (CFLAGS-tst-auditmod4a.c): Likewise.
12597 (CFLAGS-tst-auditmod4b.c): Likewise.
12598 (CFLAGS-tst-auditmod6b.c): Likewise.
12599 (CFLAGS-tst-auditmod6c.c): Likewise.
12600 (CFLAGS-tst-auditmod7b.c): Likewise.
12601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12603 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12606 function to the callback.
12607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12609 2011-02-02 Andreas Schwab <schwab@redhat.com>
12611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12614 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12624 * elf/Makefile: Add rules to build and run new test.
12625 * elf/tst-initorder.c: New file.
12626 * elf/tst-initorder.exp: New file.
12627 * elf/tst-initordera1.c: New file.
12628 * elf/tst-initordera2.c: New file.
12629 * elf/tst-initordera3.c: New file.
12630 * elf/tst-initordera4.c: New file.
12631 * elf/tst-initorderb1.c: New file.
12632 * elf/tst-initorderb2.c: New file.
12633 * elf/tst-order-a1.c: New file.
12634 * elf/tst-order-a2.c: New file.
12635 * elf/tst-order-a3.c: New file.
12636 * elf/tst-order-a4.c: New file.
12637 * elf/tst-order-b1.c: New file.
12638 * elf/tst-order-b2.c: New file.
12639 * elf/tst-order-main.c: New file.
12640 New test case by George Gensure <werkt0@gmail.com>.
12642 2010-10-01 Andreas Schwab <schwab@redhat.com>
12644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12645 decoding ACE if AI_CANONIDN.
12647 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12651 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12653 * version.h (RELEASE): Bump for 2.13 release.
12654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12667 * posix/getconf.c: Update copyright year.
12668 * catgets/gencat.c: Likewise.
12669 * csu/version.c: Likewise.
12670 * debug/catchsegv.sh: Likewise.
12671 * debug/xtrace.sh: Likewise.
12672 * elf/ldconfig.c: Likewise.
12673 * elf/ldd.bash.in: Likewise.
12674 * elf/sprof.c (print_version): Likewise.
12675 * iconv/iconv_prog.c: Likewise.
12676 * iconv/iconvconfig.c: Likewise.
12677 * locale/programs/locale.c: Likewise.
12678 * locale/programs/localedef.c: Likewise.
12679 * malloc/memusage.sh: Likewise.
12680 * malloc/mtrace.pl: Likewise.
12681 * nscd/nscd.c (print_version): Likewise.
12682 * nss/getent.c: Likewise.
12684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12685 PF_CAIF, and PF_ALG.
12686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12688 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12691 (modules-names): Use them.
12692 (ifunc-test-modules, ifunc-pie-tests): Define.
12693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12695 (test-extras): Likewise.
12696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12697 $(compile-command.c).
12698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12699 (all-built-dso): Define.
12700 (check-textrel.out, check-execstack.out): Depend on it.
12702 * configure.in: Don't override --enable-multi-arch.
12704 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12707 * nscd/hstcache.c (tryagain): Define.
12708 (cache_addhst): Return tryagain not notfound for temporary errors.
12709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12712 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12716 to make the syscall.
12717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12721 and fall back to matching as normal character if the string ends before
12722 the matching ']' is found. This is what POSIX requires.
12723 * posix/testfnm.c: Adjust test result.
12724 * posix/globtest.sh: Adjust test result. Add new test.
12725 * posix/tst-fnmatch.input: Likewise.
12726 * posix/tst-fnmatch2.c: Add new test.
12728 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12730 * elf/Makefile (check-execstack): Revert last change. Depend on
12732 (check-execstack.h): New target.
12733 (generated): Add check-execstack.h.
12734 * elf/check-execstack.c: Include "check-execstack.h".
12735 (main): Revert last change.
12736 (handle_file): Return zero if GNU_STACK is absent and
12737 DEFAULT_STACK_PERMS doesn't include PF_X.
12739 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12742 in child fails because the descriptor is already closed.
12743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12753 temporary buffer used to handle multi lookups locally.
12754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12756 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12761 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12764 alignment for SSE2.
12766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12770 characters. When rounding increased number of integer digits recompute
12772 * stdio-common/tst-grouping.c: New file.
12773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12775 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12782 * bits/select.h: Likewise.
12784 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12786 * po/ja.po: Update from translation team.
12788 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12792 implementation just like for lxstat, fxstatat, et al.
12794 2010-12-27 Jim Meyering <meyering@redhat.com>
12797 * posix/regexec.c (build_trtable): Return failure indication upon
12798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12800 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12815 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12819 script has SORT_BY_INIT_PRIORITY.
12820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12821 NO_CTORS_DTORS_SECTIONS is defined.
12822 * elf/soinit.c: Likewise.
12823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12824 NO_CTORS_DTORS_SECTIONS is defined.
12825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12827 * sysdeps/sh/init-first.c: Likewise.
12828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12830 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12833 always use the slow path.
12835 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12838 similar rule which adds the sysdep directories to the header search in
12839 order to pick up the correct platform stackinfo.h.
12840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12841 perform test if it is, otherwise return successfully without testing.
12842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12843 DEFAULT_STACK_PERMS define in stackinfo.h.
12844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12845 defined in stackinfo.h.
12846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12847 DEFAULT_STACK_PERMS defined in stackinfo.h.
12848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12849 * sysdeps/ia64/stackinfo.h: Likewise.
12850 * sysdeps/s390/stackinfo.h: Likewise.
12851 * sysdeps/sh/stackinfo.h: Likewise.
12852 * sysdeps/sparc/stackinfo.h: Likewise.
12853 * sysdeps/x86_64/stackinfo.h: Likewise.
12854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12855 PF_X for powerpc64. Retain PF_X for powerpc32.
12857 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12862 GETDENTS_64BIT_ALIGNED.
12864 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12868 2010-12-10 Andreas Schwab <schwab@redhat.com>
12870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12879 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12885 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12889 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12891 * po/it.po: Update from translation team.
12893 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12898 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12902 2010-11-24 Andreas Schwab <schwab@redhat.com>
12904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12906 (gaih_getanswer_slice): Likewise.
12908 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12912 2010-05-31 Petr Baudis <pasky@suse.cz>
12915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12916 silently even in the chroot mode.
12918 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12921 last patch a bit. Pretty printing
12923 2010-05-31 Petr Baudis <pasky@suse.cz>
12926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12927 initialization of skip_initgroups_dyn.
12929 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12934 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12938 2010-11-11 Andreas Schwab <schwab@redhat.com>
12940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12943 ($(objpfx)tst-fnmatch-mem): New rule.
12944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12945 * posix/tst-fnmatch.c (main): Call mtrace.
12947 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12950 Support Intel processor model 6 and model 0x2c.
12952 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12957 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12960 * string/test-strncasecmp.c (check_result): New function.
12961 (do_one_test): Use it.
12962 (check1): New function.
12963 (test_main): Use it.
12964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12965 Support strcasecmp and strncasecmp.
12967 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12973 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12979 * sysdeps/x86_64/multiarch/bzero.S: New file.
12980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12982 * sysdeps/x86_64/multiarch/memset.S: New file.
12983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12985 Set bit_Prefer_SSE_for_memop for Intel processors.
12986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12988 (index_Prefer_SSE_for_memop): Define.
12989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12991 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12996 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13000 (__x86_64_raw_data_cache_size_half): Likewise.
13001 (__x86_64_raw_shared_cache_size): Likewise.
13002 (__x86_64_raw_shared_cache_size_half): Likewise.
13004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13005 (__x86_64_raw_data_cache_size_half): Likewise.
13006 (__x86_64_raw_shared_cache_size): Likewise.
13007 (__x86_64_raw_shared_cache_size_half): Likewise.
13008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13010 and __x86_64_raw_shared_cache_size_half. Round
13011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13013 to multiple of 256 bytes.
13015 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13019 of inacessible symlinks. Verify result of symlink before returning it.
13020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13023 2010-10-28 Erich Ritz <erichritz@gmail.com>
13025 * math/math.h (isinf): Fix typo in comment.
13027 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13029 * po/da.po: Update from translation team.
13031 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13034 is added to the list.
13036 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13037 Ulrich Drepper <drepper@gmail.com>
13039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13040 the global list here. Move code to...
13041 (_dl_add_to_namespace_list): ...here. New function.
13042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13044 * elf/dl-load.c (lose): Don't remove the element from the list.
13045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13046 (_dl_map_object): Likewise.
13048 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13052 into all bytes of SSE register.
13053 Patch by Richard Li <richardpku@gmail.com>.
13055 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13061 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13071 2010-10-22 Andreas Schwab <schwab@redhat.com>
13073 * include/dlfcn.h (__RTLD_SECURE): Define.
13074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13075 mode & __RTLD_SECURE instead.
13076 (open_path): Rename preloaded parameter to secure.
13077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13079 * elf/dl-deps.c (openaux): Likewise.
13080 * elf/rtld.c (struct map_args): Remove is_preloaded.
13081 (map_doit): Don't use it.
13082 (dl_main): Likewise.
13083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13086 2010-09-09 Andreas Schwab <schwab@redhat.com>
13088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13089 (sysd-rules-targets): Remove duplicates.
13090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13091 rtld-%.$o dependency.
13093 2010-10-18 Andreas Schwab <schwab@redhat.com>
13095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13096 _dl_map_object do it.
13098 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13101 fast fma builtins, define the macros in the C99 standard.
13102 (FP_FAST_FMAF): Likewise.
13103 (FP_FAST_FMAL): Likewise.
13104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13106 * bits/mathdef.h: Update copyright year.
13107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13109 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13112 builtins, define the macros in the C99 standard.
13113 (FP_FAST_FMAF): Likewise.
13114 (FP_FAST_FMAL): Likewise.
13115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13117 (FP_FAST_FMAF): Likewise.
13119 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13122 * math/libm-test.inc (fma_test): Some new testcases.
13123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13125 y and infinite z. Do multiplication by C already in long double.
13126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13128 y and infinite z. Do bitwise or of inexact bit into u.d.
13129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13131 * sysdeps/i386/fpu/s_fma.S: Removed.
13132 * sysdeps/i386/fpu/s_fmal.S: Removed.
13134 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13139 computation is not scheduled after fetestexcept. Fix value
13140 of minimum denormal long double.
13142 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13145 * math/libm-test.inc (fma_test): Add some more tests.
13146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13149 2010-10-15 Andreas Schwab <schwab@redhat.com>
13151 * scripts/data/localplt-s390-linux-gnu.data: New file.
13152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13154 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13164 if one of x and y is very large and the other is subnormal.
13165 * sysdeps/s390/fpu/s_fmaf.c: New file.
13166 * sysdeps/s390/fpu/s_fma.c: New file.
13167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13168 * sysdeps/powerpc/fpu/s_fma.S: New file.
13169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13173 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13186 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13190 * posix/bug-regex31.input: Add test case.
13192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13195 * posix/bug-regex31.input: New file.
13198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13199 (parse_sub_exp): Fix last change, use postorder.
13201 * posix/bug-regex31.c: New file.
13202 * posix/Makefile: Add rules to build and run bug-regex31.
13204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13211 to have entries in sys_siglist.
13214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13217 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13233 * math/ftestexcept.c (fetestexcept): Likewise.
13234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13248 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13250 * string/bug-strstr1.c: New file.
13251 * string/Makefile: Add rules to build and run bug-strstr1.
13253 2010-10-05 Eric Blake <eblake@redhat.com>
13256 * string/str-two-way.h (two_way_long_needle): Always clear memory
13257 when skipping input due to the shift table.
13259 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13262 * malloc/mcheck.c: Handle large requests.
13265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13266 for strncmp and strncasecmp.
13267 * string/stratcliff.c: Add tests for strcmp and strncmp.
13268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13270 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13275 2010-09-30 Andreas Jaeger <aj@suse.de>
13277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13278 (CGROUP_SUPER_MAGIC): Define.
13279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13280 Handle btrfs and cgroup file systems.
13281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13284 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13289 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13293 trying to locate the ELF header.
13295 2010-09-27 Andreas Schwab <schwab@redhat.com>
13298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13299 Mask out sign-bit copies when constructing f_fsid.
13301 2010-09-24 Petr Baudis <pasky@suse.cz>
13303 * debug/stack_chk_fail_local.c: Add missing licence exception.
13304 * debug/warning-nop.c: Likewise.
13306 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13309 implementing getdents64 using getdents syscall, set d_type if
13310 __ASSUME_GETDENTS32_D_TYPE.
13312 2010-09-16 Andreas Schwab <schwab@redhat.com>
13314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13317 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13320 * posix/unistd.h: Undo change of feature selection for ftruncate from
13323 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13328 2010-09-20 Andreas Schwab <schwab@redhat.com>
13330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13334 2010-09-14 Andreas Schwab <schwab@redhat.com>
13336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13337 variables after CHECK_SP call.
13338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13340 2010-09-13 Andreas Schwab <schwab@redhat.com>
13341 Ulrich Drepper <drepper@redhat.com>
13343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13344 re-relocationg ld.so.
13345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13346 _dl_init_paths call.
13347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13350 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13352 * resolv/res_init.c (__res_vinit): Count the default server we added.
13354 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13355 Ulrich Drepper <drepper@redhat.com>
13358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13359 (____longjmp_chk): Use %ebx for saving value across system call.
13362 2010-09-06 Andreas Schwab <schwab@redhat.com>
13364 * manual/Makefile: Don't mix pattern rules with normal rules.
13366 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13377 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13383 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13386 * sysdeps/x86_64/addmul_1.S: Likewise.
13387 * sysdeps/x86_64/lshift.S: Likewise.
13388 * sysdeps/x86_64/mul_1.S: Likewise.
13389 * sysdeps/x86_64/rshift.S: Likewise.
13390 * sysdeps/x86_64/sub_n.S: Likewise.
13391 * sysdeps/x86_64/submul_1.S: Likewise.
13393 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13396 Define __sched_param instead of SCHED_* and sched_param when
13397 <bits/sched.h> is included with __need_schedparam defined.
13398 * bits/sched.h [__need_schedparam]
13399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13401 (__defined_schedparam): Define to 1.
13402 (__sched_param): New structure, identical to sched_param.
13403 (__need_schedparam): Undefine.
13405 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13408 (epoll_create1): Declare.
13410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13412 2010-08-31 Andreas Schwab <schwab@redhat.com>
13415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13416 shifting retval into place.
13418 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13420 * nis/rpcsvc/nis.h: Update copyright notice.
13421 * nis/rpcsvc/nis.x: Likewise.
13422 * nis/rpcsvc/nis_callback.h: Likewise.
13423 * nis/rpcsvc/nis_callback.x: Likewise.
13424 * nis/rpcsvc/nis_object.x: Likewise.
13425 * nis/rpcsvc/nis_tags.h: Likewise.
13426 * nis/rpcsvc/yp.h: Likewise.
13427 * nis/rpcsvc/yp.x: Likewise.
13428 * nis/rpcsvc/ypupd.h: Likewise.
13429 * nis/yp_xdr.c: Likewise.
13430 * nis/ypupdate_xdr.c: Likewise.
13432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13433 mainly the body of pmap_getport. Add parameters to specify timeouts.
13434 (pmap_getport): Use __libc_rpc_getport.
13435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13439 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13444 2010-08-27 Roland McGrath <roland@redhat.com>
13446 * sysdeps/i386/i686/multiarch/Makefile
13447 (CFLAGS-varshift.c): New variable.
13449 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13458 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13460 * sysdeps/x86_64/strlen.S: Unroll the loop.
13461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13462 strlen-sse2 strlen-sse2-bsf.
13463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13464 __strlen_no_bsf if bit_Slow_BSF is set.
13465 (__strlen_sse42): Removed.
13466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13469 2010-08-25 Roland McGrath <roland@redhat.com>
13471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13472 * sysdeps/x86_64/multiarch/varshift.c: New file.
13473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13478 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13481 strlen-sse2 strlen-sse2-bsf.
13482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13484 (__strlen_sse2): Removed.
13485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13488 bit_Slow_BSF for Atom.
13489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13490 (index_Slow_BSF): Define.
13491 (HAS_SLOW_BSF): Define.
13493 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13496 * resolv/res_init.c (__res_vinit): When no server address at all
13497 is given default to loopback.
13499 2010-08-24 Roland McGrath <roland@redhat.com>
13501 * configure.in: Remove config-name.h generation.
13502 * configure: Regenerated.
13503 * config-name.in: File removed.
13504 * scripts/config-uname.sh: New file.
13505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13506 ($(objdir)config-name.h): New target.
13508 * sunrpc/rpc_parse.h: Avoid nested comment.
13510 2010-08-24 Richard Henderson <rth@redhat.com>
13511 Ulrich Drepper <drepper@redhat.com>
13512 H.J. Lu <hongjiu.lu@intel.com>
13514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13518 _mm_alignr_epi8 with _mm_loadu_si128.
13519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13521 (__m128i_shift_right): Removed.
13522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13524 * sysdeps/x86_64/multiarch/varshift.h: New file.
13525 * sysdeps/x86_64/multiarch/varshift.S: New file.
13527 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13529 * configure.in: Move assembler checks to before sysdep dir checking.
13531 2010-08-20 Petr Baudis <pasky@suse.cz>
13533 * LICENSES: Sync the sunrpc license.
13535 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13537 * sunrpc/auth_des.c: Update copyright notice once again.
13538 * sunrpc/auth_none.c: Likewise.
13539 * sunrpc/auth_unix.c: Likewise.
13540 * sunrpc/authdes_prot.c: Likewise.
13541 * sunrpc/authuxprot.c: Likewise.
13542 * sunrpc/bindrsvprt.c: Likewise.
13543 * sunrpc/clnt_gen.c: Likewise.
13544 * sunrpc/clnt_perr.c: Likewise.
13545 * sunrpc/clnt_raw.c: Likewise.
13546 * sunrpc/clnt_simp.c: Likewise.
13547 * sunrpc/clnt_tcp.c: Likewise.
13548 * sunrpc/clnt_udp.c: Likewise.
13549 * sunrpc/clnt_unix.c: Likewise.
13550 * sunrpc/des_crypt.c: Likewise.
13551 * sunrpc/des_soft.c: Likewise.
13552 * sunrpc/get_myaddr.c: Likewise.
13553 * sunrpc/getrpcport.c: Likewise.
13554 * sunrpc/key_call.c: Likewise.
13555 * sunrpc/key_prot.c: Likewise.
13556 * sunrpc/openchild.c: Likewise.
13557 * sunrpc/pm_getmaps.c: Likewise.
13558 * sunrpc/pm_getport.c: Likewise.
13559 * sunrpc/pmap_clnt.c: Likewise.
13560 * sunrpc/pmap_prot.c: Likewise.
13561 * sunrpc/pmap_prot2.c: Likewise.
13562 * sunrpc/pmap_rmt.c: Likewise.
13563 * sunrpc/rpc/auth.h: Likewise.
13564 * sunrpc/rpc/auth_unix.h: Likewise.
13565 * sunrpc/rpc/clnt.h: Likewise.
13566 * sunrpc/rpc/des_crypt.h: Likewise.
13567 * sunrpc/rpc/key_prot.h: Likewise.
13568 * sunrpc/rpc/netdb.h: Likewise.
13569 * sunrpc/rpc/pmap_clnt.h: Likewise.
13570 * sunrpc/rpc/pmap_prot.h: Likewise.
13571 * sunrpc/rpc/pmap_rmt.h: Likewise.
13572 * sunrpc/rpc/rpc.h: Likewise.
13573 * sunrpc/rpc/rpc_des.h: Likewise.
13574 * sunrpc/rpc/rpc_msg.h: Likewise.
13575 * sunrpc/rpc/svc.h: Likewise.
13576 * sunrpc/rpc/svc_auth.h: Likewise.
13577 * sunrpc/rpc/types.h: Likewise.
13578 * sunrpc/rpc/xdr.h: Likewise.
13579 * sunrpc/rpc_clntout.c: Likewise.
13580 * sunrpc/rpc_cmsg.c: Likewise.
13581 * sunrpc/rpc_common.c: Likewise.
13582 * sunrpc/rpc_cout.c: Likewise.
13583 * sunrpc/rpc_dtable.c: Likewise.
13584 * sunrpc/rpc_hout.c: Likewise.
13585 * sunrpc/rpc_main.c: Likewise.
13586 * sunrpc/rpc_parse.c: Likewise.
13587 * sunrpc/rpc_parse.h: Likewise.
13588 * sunrpc/rpc_prot.c: Likewise.
13589 * sunrpc/rpc_sample.c: Likewise.
13590 * sunrpc/rpc_scan.c: Likewise.
13591 * sunrpc/rpc_scan.h: Likewise.
13592 * sunrpc/rpc_svcout.c: Likewise.
13593 * sunrpc/rpc_tblout.c: Likewise.
13594 * sunrpc/rpc_util.c: Likewise.
13595 * sunrpc/rpc_util.h: Likewise.
13596 * sunrpc/rpcinfo.c: Likewise.
13597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13598 * sunrpc/rpcsvc/key_prot.x: Likewise.
13599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13600 * sunrpc/rpcsvc/mount.x: Likewise.
13601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13603 * sunrpc/rpcsvc/rex.x: Likewise.
13604 * sunrpc/rpcsvc/rstat.x: Likewise.
13605 * sunrpc/rpcsvc/rusers.x: Likewise.
13606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13607 * sunrpc/rpcsvc/spray.x: Likewise.
13608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13609 * sunrpc/rtime.c: Likewise.
13610 * sunrpc/svc.c: Likewise.
13611 * sunrpc/svc_auth.c: Likewise.
13612 * sunrpc/svc_authux.c: Likewise.
13613 * sunrpc/svc_raw.c: Likewise.
13614 * sunrpc/svc_run.c: Likewise.
13615 * sunrpc/svc_simple.c: Likewise.
13616 * sunrpc/svc_tcp.c: Likewise.
13617 * sunrpc/svc_udp.c: Likewise.
13618 * sunrpc/svc_unix.c: Likewise.
13619 * sunrpc/svcauth_des.c: Likewise.
13620 * sunrpc/xcrypt.c: Likewise.
13621 * sunrpc/xdr.c: Likewise.
13622 * sunrpc/xdr_array.c: Likewise.
13623 * sunrpc/xdr_float.c: Likewise.
13624 * sunrpc/xdr_mem.c: Likewise.
13625 * sunrpc/xdr_rec.c: Likewise.
13626 * sunrpc/xdr_ref.c: Likewise.
13627 * sunrpc/xdr_sizeof.c: Likewise.
13628 * sunrpc/xdr_stdio.c: Likewise.
13630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13633 2010-08-19 Andreas Schwab <schwab@redhat.com>
13635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13637 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13654 2010-07-26 Anton Blanchard <anton@samba.org>
13656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13657 * malloc/arena.c (heap_trim): Likewise.
13659 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13666 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13668 * sysdeps/i386/elf/Makefile: New file.
13670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13673 from fanotify_init.
13674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13677 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13681 * sysdeps/multiarch/strcmp.S: Likewise.
13683 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13686 strncase_l-nonascii.
13687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13688 Add strncase_l-ssse3.
13689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13690 * sysdeps/x86_64/strcmp.S: Likewise.
13691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13693 * sysdeps/x86_64/strncase.S: New file.
13694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13695 * sysdeps/x86_64/strncase_l.S: New file.
13696 * string/Makefile (strop-tests): Add strncasecmp.
13697 * string/test-strncasecmp.c: New file.
13699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13709 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13715 2010-05-01 Alan Modra <amodra@gmail.com>
13717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13722 tidying. Don't tail-call __sigjmp_save for static lib.
13723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13726 (CALL_MCOUNT): Add eh info, and nop after bl.
13727 (TAIL_CALL_SYSCALL_ERROR): New macro.
13728 (PSEUDO_RET): Use it.
13729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13730 Correct save location of integer regs and cr.
13731 (_dl_profile_resolve): Correct cr save location. Delete nops
13732 after bl when SHARED. Reduce cfi size a little by better
13733 placement of cfi directives.
13734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13735 make a stack frame. Instead use parm save area as a temp.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13739 Don't make a stack frame for parent, use parm save area.
13740 Increase child stack frame to 112 bytes. Don't save unused reg,
13741 and adjust reg usage. Set up cfi on error recovery and
13742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13744 (__makecontext): Add dummy nop after jump to exit.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13746 Use correct parm save area and cr save, reduce stack frame.
13747 Correct cfi for possible PSEUDO_RET frame setup.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13749 Branch to local label emitted by PSEUDO_RET rather than
13752 2010-08-12 Andreas Schwab <schwab@redhat.com>
13755 * locale/programs/locale.c (print_assignment): New function.
13756 (show_locale_vars): Use it.
13758 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13762 (struct statfs64): Likewise.
13763 (_STATFS_F_FLAGS): Define.
13764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13767 (ST_VALID): Define locally.
13768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13769 __statvfs_getflags, use the provided value.
13770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13771 __ASSUME_STATFS_F_FLAGS.
13773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13776 Add sys/fanotify.h.
13777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13778 fanotify_mask for GLIBC_2.13.
13779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13780 fanotify_init and fanotify_mark.
13781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13787 prlimit64 for GLIBC_2.13.
13788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13804 * nss/Makefile: Add rules to build and run tst-nss-test1.
13805 * shlib-versions: Add entry for libnss_test1.
13806 * nss/nss_test1.c: New file.
13807 * nss/tst-nss-test1.c: New file.
13809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13810 (__nss_configure_lookup): Set appropriate entry in
13811 __nss_configure_lookup to true.
13812 * nss/nsswitch.h: Define enum with indeces of databases in
13813 databases and __nss_database_custom arrays. Declare
13814 __nss_database_custom.
13815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13816 to avoid using nscd when custom rules are installed.
13817 * nss/getXXbyYY_r.c: Likewise.
13818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13820 * nss/nss_files/files-parse.c: Whitespace fixes.
13822 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13826 * posix/fnmatch_loop.c: Likewise.
13828 2010-07-17 Andi Kleen <ak@linux.intel.com>
13830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13833 * Versions.def [GLIBC_2.13]: Add.
13835 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13838 Also fail if tpwd after pwuid call is NULL.
13840 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13843 when converting to ms.
13845 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13848 EOPNOTSUPP errors with ENOTTY.
13849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13850 EOPNOTSUPP errors with ENOTTY.
13852 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13855 Add strcasecmp_l-ssse3.
13856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13862 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13866 * string/Makefile (strop-tests): Add strcasecmp.
13867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13868 strcasecmp_l-nonascii.
13869 (gen-as-const-headers): Add locale-defines.sym.
13870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13871 * sysdeps/x86_64/strcasecmp.S: New file.
13872 * sysdeps/x86_64/strcasecmp_l.S: New file.
13873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13874 * sysdeps/x86_64/locale-defines.sym: New file.
13875 * string/test-strcasecmp.c: New file.
13877 * string/test-strcasestr.c: Test both ends of the range of characters.
13878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13880 2010-07-29 Roland McGrath <roland@redhat.com>
13883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13885 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13890 2010-07-27 Andreas Schwab <schwab@redhat.com>
13892 * manual/memory.texi (Malloc Tunable Parameters): Document
13895 2010-07-26 Roland McGrath <roland@redhat.com>
13898 * configure.in (-fgnu89-inline check): Set and substitute
13899 gnu89_inline, not libc_cv_gnu89_inline.
13900 * configure: Regenerated.
13901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13903 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13905 * string/test-strnlen.c: New file.
13906 * string/Makefile (strop-tests): Add strnlen.
13907 * string/tester.c (test_strnlen): Add a few more test cases.
13908 * string/tst-strlen.c: Better error reporting.
13910 * sysdeps/x86_64/strnlen.S: New file.
13912 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13915 lower-latency instructions.
13917 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13919 * string/test-strcasestr.c: New file.
13920 * string/test-strstr.c: New file.
13921 * string/Makefile (strop-tests): Add strstr and strcasestr.
13922 * string/str-two-way.h: Don't undefine MAX.
13923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13925 2010-07-21 Andreas Schwab <schwab@redhat.com>
13927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13928 strcasestr-nonascii.
13929 (CFLAGS-strcasestr-nonascii.c): Define.
13930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13932 Remove unused attribute.
13934 2010-07-20 Roland McGrath <roland@redhat.com>
13936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13938 ld.so.cache was broken. With it, there is no way to disable dsocaps
13939 like LD_HWCAP_MASK can disable hwcaps.
13941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13945 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13948 call in strcasestr.
13949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13950 __strcasestr_sse42_nonascii.
13951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13952 strcasestr-nonascii.c.
13953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13955 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13962 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13967 2010-07-06 Andreas Schwab <schwab@redhat.com>
13970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13973 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13976 _PC_PIPE_BUF using F_GETPIPE_SZ.
13978 2010-07-05 Roland McGrath <roland@redhat.com>
13980 * manual/arith.texi (Rounding Functions): Fix rint description
13981 implicit in round description.
13983 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13985 * elf/Makefile: Fix linking for a few tests to make recent linker
13988 2010-06-30 Andreas Schwab <schwab@redhat.com>
13990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13991 $(common-objpfx)libc_nonshared.a.
13993 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14044 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14048 * string/memmove.c (memmove): Renamed to ...
14049 (MEMMOVE): ...this. Default to memmove.
14050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14055 mempcpy-ssse3-back memmove-ssse3-back.
14056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14063 * sysdeps/x86_64/multiarch/memmove.c: New file.
14064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14071 (index_Fast_Copy_Backward): Define.
14072 (HAS_ARCH_FEATURE): Define.
14073 (HAS_FAST_REP_STRING): Define.
14074 (HAS_FAST_COPY_BACKWARD): Define.
14076 2010-06-21 Andreas Schwab <schwab@redhat.com>
14078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14079 Restore proper fallback handling.
14081 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14084 * posix/group_member.c (__group_member): Correct checking loop.
14086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14087 OOM in getpwuid_r correctly. Return error number when the caller
14088 should return, otherwise -1.
14089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14090 call returning > 0 value.
14091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14093 2010-06-07 Andreas Schwab <schwab@redhat.com>
14095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14096 libc_nonshared.a from targets in modules-names.
14098 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14103 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14110 2010-06-02 Andreas Schwab <schwab@redhat.com>
14112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14114 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14125 2010-06-14 Roland McGrath <roland@redhat.com>
14127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14129 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14132 __REDIRECT followed by __THROW.
14133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14134 * posix/getopt.h (getopt): Likewise.
14136 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14145 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14149 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14153 Properly check family and model.
14155 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14159 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14163 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14168 2010-05-19 Andreas Schwab <schwab@redhat.com>
14170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14173 2010-05-21 Andreas Schwab <schwab@redhat.com>
14175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14176 and internal_recvmmsg.
14177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14186 2010-05-20 Andreas Schwab <schwab@redhat.com>
14188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14190 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14192 POWER7 optimizations.
14193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14196 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14198 * version.h: Update for 2.13 development version.
14200 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14203 exceptions. Return 0.
14205 2010-05-07 Roland McGrath <roland@redhat.com>
14207 * elf/ldconfig.c (main): Add a const.
14209 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14212 (args_options): Add no-idn option.
14213 (ahosts_keys_int): Add idn_flags to ai_flags.
14214 (parse_option): Handle 'i' option to clear idn_flags.
14216 * malloc/malloc.c (_int_free): Possible race in the most recently
14217 added check. Only act on the data if no current modification
14220 See ChangeLog.17 for earlier changes.