1 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4 set if not set by the user. Do not allow for being unset.
5 * sysdeps/unix/sysv/linux/configure: Regenerated.
7 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10 the `q' suffix from lea and replace .quad with ASM_ADDR.
12 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17 (PTR_DEMANGLE): Likewise.
19 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43 * sysdeps/x86_64/x32/dl-machine.h: New file.
45 2012-05-14 Andreas Jaeger <aj@suse.de>
47 * manual/Makefile (subdir): Remove export of subdir.
49 (.PHONY): Remove all from list.
50 (mkinstalldirs): Remove.
51 (.PHONY): Remove installdirs from list.
52 ($(inst_infodir)/libc.info): Use make-target-directory.
53 (installdirs): Remove.
55 (glibc-targets): Remove.
58 ($(objpfx)stubs ../po/manual.pot): Remove.
59 ($(objpfx)stamp%): Remove.
60 (make-target-directory): Remove.
61 (subdir_install): Remove.
69 * manual/.gitignore: Remove, it's not needed anymore.
70 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
72 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74 (texis): Renamed to $(objpfx)texis.
75 (texis-path): New, contains path to generated files.
76 (chapters.%): Use texis-path for complete path, add extra argument
78 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80 (summary,texi, stamp-summary): Use complete path of
81 files. Generate files in build dir.
82 (dir-add.texi): Build in build dir.
83 (libm-err.texi,stamp-libm-err): Likewise.
84 (version.texi, stamp-version): Likewise.
86 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
87 (mostlyclean): Remove target.
88 (realclean): Remove target.
89 (generated): Add new variable with contents from mostlyclean and
90 realclean, remove entries duplicated in common-mostlyclean, add
91 stamp-libm-err and stamp-version.
92 (generated-dirs): Add libc directory.
93 ($(inst_infodir)/libc.info): Install files from build dir.
95 * manual/install.texi (Configuring and compiling): Adjust since
96 the info files are not part of the tar ball anymore.
98 2012-05-14 Andreas Jaeger <aj@suse.de>
100 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
103 2012-05-14 Joseph Myers <joseph@codesourcery.com>
106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
107 to 2.2.0 where earlier.
108 * sysdeps/unix/sysv/linux/configure: Regenerated.
109 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
110 Remove conditional code.
111 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
112 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
113 Remove conditional code.
114 [!__NR_lchown]: Likewise.
115 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
116 [__NR_lchown]: Likewise.
117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
118 comment referencing __ASSUME_LCHOWN_SYSCALL.
119 * sysdeps/unix/sysv/linux/i386/sigaction.c
120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
122 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
123 Remove conditional code.
124 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
125 (__protocol_available): Remove #if 0 code.
126 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
128 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
129 * sysdeps/unix/sysv/linux/kernel-features.h
130 (__ASSUME_GETCWD_SYSCALL): Don't define.
131 (__ASSUME_REALTIME_SIGNALS): Likewise.
132 (__ASSUME_PREAD_SYSCALL): Likewise.
133 (__ASSUME_PWRITE_SYSCALL): Likewise.
134 (__ASSUME_POLL_SYSCALL): Likewise.
135 (__ASSUME_LCHOWN_SYSCALL): Likewise.
136 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
138 (__ASSUME_SIOCGIFNAME): Don't define.
139 (__ASSUME_MSG_NOSIGNAL): Likewise.
140 (__ASSUME_SENDFILE): Define unconditionally.
141 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
142 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
144 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
145 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
147 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
149 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
150 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
175 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
176 Remove conditional code.
177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
178 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
179 Remove conditional code.
180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
182 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
183 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
184 Remove conditional code.
185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
186 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
187 Remove conditional code.
188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
189 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
190 Remove conditional code.
191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
192 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
193 Remove conditional code.
194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
195 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
196 Remove conditional code.
197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
198 * sysdeps/unix/sysv/linux/sh/pwrite64.c
199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
201 * sysdeps/unix/sysv/linux/sigaction.c
202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
204 * sysdeps/unix/sysv/linux/sigpending.c
205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
207 * sysdeps/unix/sysv/linux/sigprocmask.c
208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
210 * sysdeps/unix/sysv/linux/sigsuspend.c
211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
213 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
214 (__libc_missing_rt_sigs): Remove.
215 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
216 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
217 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
218 Remove conditional code.
219 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
220 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
223 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
225 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
227 2012-05-14 Andreas Jaeger <aj@suse.de>
229 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
230 it's not used in glibc.
231 (__coshm1): Likewise.
232 (__acosh1p): Likewise.
235 * manual/string.texi (Copying and Concatenation): Add missing
236 variable in concat example.
237 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
243 __builtin_clzl with __builtin_clzll.
245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
248 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
251 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
253 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
254 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
255 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
258 2012-05-14 Mike Frysinger <vapier@gentoo.org>
260 * NEWS: Update ia64 info.
262 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
264 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
267 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
269 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
270 * sysdeps/unix/syscalls.list (dup3): Likewise.
271 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
272 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
274 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
276 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
277 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
279 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
281 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
283 (TLS_IE): Use mov/add instead of movq/addq to load thread
285 (TLS_GD_PREFIX): New.
288 2012-05-11 David S. Miller <davem@davemloft.net>
290 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
291 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
292 (_FPU_SETCW): Likewise.
294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
296 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
299 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
302 * iconvdata/gb18030.c: Update tables.
303 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
304 characters specially.
305 (BODY for TO_LOOP): Add encoding of missing ranges.
307 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
310 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
311 * sysdeps/mach/hurd/dup3.c: Likewise.
312 * sysdeps/mach/hurd/readlinkat.c: Likewise.
313 * sysdeps/powerpc/memmove.c:: Likewise.
315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
318 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
322 * elf/elf.h (R_X86_64_RELATIVE64): New.
323 (R_X86_64_NUM): Updated.
324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
325 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
326 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
327 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
328 tst-quad1pie tst-quad2pie
329 (modules-names): Add tst-quadmod1 tst-quadmod2.
330 ($(objpfx)tst-quad1): New dependency.
331 ($(objpfx)tst-quad2): Likewise.
332 ($(objpfx)tst-quad1pie): Likewise.
333 ($(objpfx)tst-quad2pie): Likewise.
334 * sysdeps/x86_64/tst-quad1.c: New file.
335 * sysdeps/x86_64/tst-quad1pie.c: New file.
336 * sysdeps/x86_64/tst-quad2.c: Likewise.
337 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
338 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
339 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
340 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
341 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
345 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
346 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
347 * streams/stropts.h (t_scalar_t): Define type.
349 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
350 (_PATH_PRESERVE): Set to "/var/lib".
351 (_PATH_RWHODIR): Set to "/var/spool/rwho".
353 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
356 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
357 if __dir_mkfile succeeded.
359 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
360 checking for _hurd_dtablesize. Unlock it right after having
361 finished _hurd_dtable allocation.
363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
365 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
366 * sysdeps/mach/hurd/configure: Regenerated.
367 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
369 * sysdeps/gnu/configure.in: ... this new file.
370 * sysdeps/unix/sysv/linux/configure: Regenerated.
371 * sysdeps/gnu/configure: New generated file.
373 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
374 for Linux: use nsec instead of usec, as well as:
375 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
376 members of type struct timespec.
377 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
379 (struct stat64): Likewise.
380 (_STATBUF_ST_NSEC): New macro.
381 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
383 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
384 __strtoul_internal rather than strtoul.
386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
388 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
393 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
394 which preserves existing values.
395 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
397 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
399 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
400 TIMEOUT values. Return EINVAL for NFDS values either negative or
401 greater than FD_SETSIZE.
403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
405 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
406 allocated, call __vm_protect to finish enabling the existing space, and
407 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
408 allocate the remainder.
410 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
412 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
413 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
417 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
418 sysdeps/mach/hurd/readlink.c.
420 * posix/tst-sysconf.c (posix_options): Only use
421 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
422 _POSIX_SYNCHRONIZED_IO when they are defined
423 * sysdeps/mach/hurd/bits/posix_opt.h:
424 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
425 (_XOPEN_REALTIME): Undefine macro.
426 (_XOPEN_REALTIME_THREADS): Undefine macro.
427 (_XOPEN_SHM): Undefine macro.
428 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
430 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
432 (_POSIX_ASYNC_IO): Undefine macro.
433 (_POSIX_PRIORITIZED_IO): Undefine macro.
434 (_POSIX_SPIN_LOCKS): Define macro to -1.
436 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
437 SA_NODEFER, SA_RESETHAND.
438 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
439 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
442 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
444 * elf/Makefile (pldd-modules): Define unconditionally.
446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
448 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
452 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
453 Return ENOENT when name is empty.
454 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
458 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
460 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
464 Fix mlock in all cases except non-readable pages.
465 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
466 instead of VM_PROT_ALL as parameter to __vm_wire function.
468 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
469 (__mkdir): When path is `/', just fail with EEXIST.
470 * sysdeps/mach/hurd/mkdirat.c: Likewise.
472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
474 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
475 <sys/uio.h> (for writev).
476 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
477 and <sys/param.h> (for MIN).
479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
481 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
482 REQUESTED_TIME. Properly set the remaining time and return EINTR
485 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
487 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
488 Depend on against $(link-rpcuserlibs).
490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
492 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
493 (__libc_stack_end): Do not use attribute_relro.
494 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
495 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
496 to libthread-provided value.
497 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
503 * bits/libc-lock.h (__libc_once_get): New macro.
504 * sysdeps/mach/bits/libc-lock.h: Likewise.
505 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
507 instead of using implementation details.
509 * libio/fileops.c: Unconditionally include <kernel-features.h>.
510 * libio/freopen.c: Likewise.
511 * libio/freopen64.c: Likewise.
512 * misc/syslog.c: Likewise.
513 * nscd/connections.c: Likewise.
514 * nscd/netgroupcache.c: Likewise.
515 * sysdeps/posix/getcwd.c: Likewise.
517 2012-05-10 Roland McGrath <roland@hack.frob.com>
519 * math/w_ilogbf.c: Add #include <limits.h>.
521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
523 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
524 path instead of returning without unlocking.
526 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
527 immediate-write ioctls.
528 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
532 * sysdeps/mach/hurd/i386/init-first.c (init): Use
533 __builtin_frame_address instead of making assumptions about the
534 location of the return address relative to DATA. Force early load of
536 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
537 __builtin_frame_address.
540 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
541 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
542 implement dup3 and do some further code clean-ups.
543 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
544 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
548 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
550 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
551 HURD_CRITICAL_END around holding _hurd_dtable_lock.
552 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
553 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
554 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
557 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
558 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
559 when handler == SIG_ERR, not when handler != SIG_ERR.
561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
563 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
564 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
567 accept4 for GNU Hurd.
568 * include/sys/socket.h (__libc_accept4): New prototype.
569 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
570 to implement __libc_accept4.
571 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
573 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
575 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
576 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
577 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
582 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
586 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
587 assertion on O_CLOEXEC flag.
588 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
589 * hurd/intern-fd.c: Likewise.
590 * hurd/port2fd.c: Likewise.
592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
595 * bits/in.h (IPV6_PKTINFO): Define new macro.
596 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
598 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
605 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
606 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
608 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
609 * math/libm-test.inc (logb_test) : Additional logb tests.
611 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
612 Andreas Jaeger <aj@suse.de>
614 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
615 * configure: Regenerated.
616 * config.h.in (LINK_OBSOLETE_RPC): New macro.
617 * config.make.in (link-obsolete-rpc): New substituted variable.
618 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
619 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
620 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
621 (shared-only-routines): Don't set it under [link-obsolete-rpc],
622 so that libc.a contains the symbols.
623 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
624 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
625 * sunrpc/auth_none.c: Likewise.
626 * sunrpc/auth_unix.c: Likewise.
627 * sunrpc/authdes_prot.c: Likewise.
628 * sunrpc/authuxprot.c: Likewise.
629 * sunrpc/clnt_gen.c: Likewise.
630 * sunrpc/clnt_perr.c: Likewise.
631 * sunrpc/clnt_raw.c: Likewise.
632 * sunrpc/clnt_simp.c: Likewise.
633 * sunrpc/clnt_tcp.c: Likewise.
634 * sunrpc/clnt_udp.c: Likewise.
635 * sunrpc/clnt_unix.c: Likewise.
636 * sunrpc/des_crypt.c: Likewise.
637 * sunrpc/des_soft.c: Likewise.
638 * sunrpc/get_myaddr.c: Likewise.
639 * sunrpc/key_call.c: Likewise.
640 * sunrpc/key_prot.c: Likewise.
641 * sunrpc/netname.c: Likewise.
642 * sunrpc/pm_getmaps.c: Likewise.
643 * sunrpc/pm_getport.c: Likewise.
644 * sunrpc/pmap_clnt.c: Likewise.
645 * sunrpc/pmap_prot.c: Likewise.
646 * sunrpc/pmap_prot2.c: Likewise.
647 * sunrpc/pmap_rmt.c: Likewise.
648 * sunrpc/publickey.c: Likewise.
649 * sunrpc/rpc_cmsg.c: Likewise.
650 * sunrpc/rpc_common.c: Likewise.
651 * sunrpc/rpc_dtable.c: Likewise.
652 * sunrpc/rpc_prot.c: Likewise.
653 * sunrpc/rpc_thread.c: Likewise.
654 * sunrpc/rtime.c: Likewise.
655 * sunrpc/svc.c: Likewise.
656 * sunrpc/svc_auth.c: Likewise.
657 * sunrpc/svc_raw.c: Likewise.
658 * sunrpc/svc_run.c: Likewise.
659 * sunrpc/svc_tcp.c: Likewise.
660 * sunrpc/svc_udp.c: Likewise.
661 * sunrpc/svc_unix.c: Likewise.
662 * sunrpc/svcauth_des.c: Likewise.
663 * sunrpc/xcrypt.c: Likewise.
664 * sunrpc/xdr.c: Likewise.
665 * sunrpc/xdr_array.c: Likewise.
666 * sunrpc/xdr_float.c: Likewise.
667 * sunrpc/xdr_intXX_t.c: Likewise.
668 * sunrpc/xdr_mem.c: Likewise.
669 * sunrpc/xdr_rec.c: Likewise.
670 * sunrpc/xdr_ref.c: Likewise.
671 * sunrpc/xdr_sizeof.c: Likewise.
672 * sunrpc/xdr_stdio.c: Likewise.
674 2012-05-10 Roland McGrath <roland@hack.frob.com>
676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
677 change. Update copyright years.
679 2012-05-10 Joseph Myers <joseph@codesourcery.com>
681 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
683 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
684 Joseph Myers <joseph@codesourcery.com>
685 Paul Pluzhnikov <ppluzhnikov@google.com>
688 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
690 [cross-compiling] (extra-libs): Likewise.
691 [cross-compiling] (extra-libs-others): Likewise.
692 [cross-compiling] (librpcsvc-routines): Likewise.
693 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
694 [cross-compiling] (omit-deps): Likewise.
695 (sunrpc-CPPFLAGS): New variable.
696 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
697 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
698 (cross-rpcgen-objs): New variable.
699 (extra-objs): Append $(cross-rpcgen-objs).
700 ($(cross-rpcgen-objs)): New rule.
701 ($(objpfx)cross-rpcgen): Likewise.
702 (rpcgen-cmd): Define to use $(built-program-file). Expand
704 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
705 ($(objpfx)x%.stmp): Likewise.
706 * sunrpc/proto.h [IS_IN_build] (_): Define.
707 [IS_IN_build] (_libc_intl_domainname): Likewise.
709 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
712 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
713 and R_X86_64_TPOFF64.
715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
717 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
718 sysdeps/unix/sysv/syscalls.list.
721 * sysdeps/unix/sysv/syscalls.list: Remove file.
723 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
726 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
727 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
728 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
729 (__LC_IDENTIFICATION): Make these macros useful in #if
730 expressions, as required by C99.
732 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
734 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
735 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
738 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
740 * stdlib/longlong.h: Updated from GCC.
742 2012-05-09 Andreas Jaeger <aj@suse.de>
744 * nscd/nscd.c (run_modes): Make named enum, reorder so that
745 default is first entry.
746 (run_mode): Set type.
747 (main): Remove informal message about syslog.
751 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
758 (nearbyint): Likewise.
759 (nearbyintf): Likewise.
761 2012-05-09 Andreas Jaeger <aj@suse.de>
762 Pedro Alves <palves@redhat.com>
764 * nscd/nscd.c (run_mode): Use enum.
765 (main): Cleanup coding style issue.
767 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
768 Andreas Jaeger <aj@suse.de>
770 * nscd/nscd.c (go_background): Replaced with...
771 (run_mode): ... this.
772 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
773 (options): Add -F --foreground.
774 (main): Implement it.
775 (parse_opt): Parse it.
777 2012-05-09 Andreas Jaeger <aj@suse.de>
780 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
781 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
782 -Wconversion warning.
783 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
786 2012-05-09 Joseph Myers <joseph@codesourcery.com>
788 * conform/data/locale.h-data (NULL): Use macro-constant. Require
790 (LC_ALL): Use macro-int-constant.
791 (LC_COLLATE): Likewise.
792 (LC_CTYPE): Likewise.
793 (LC_MESSAGES): Likewise.
794 (LC_MONETARY): Likewise.
795 (LC_NUMERIC): Likewise.
797 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
798 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
800 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
802 [C99-based standards] (float_t): Expect type.
803 [C99-based standards] (double_t): Expect type.
804 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
806 [C99-based standards] (HUGE_VALL): Likewise.
807 [C99-based standards] (INFINITY): Likewise.
808 [C99-based standards] (NAN): Likewise.
809 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
810 [C99-based standards] (FP_NAN): Likewise.
811 [C99-based standards] (FP_NORMAL): Likewise.
812 [C99-based standards] (FP_SUBNORMAL): Likewise.
813 [C99-based standards] (FP_ZERO): Likewise.
814 [C99-based standards] (FP_FAST_FMA): Use
815 optional-macro-int-constant. Specify type. Require == 1.
816 [C99-based standards] (FP_FAST_FMAF): Likewise.
817 [C99-based standards] (FP_FAST_FMAL): Likewise.
818 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
819 [C99-based standards] (FP_ILOGBNAN): Likewise.
820 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
822 [C99-based standards] (MATH_ERREXCEPT): Likewise.
823 [C99-based standards] (math_errhandling): Specify type.
824 [ISO99 || ISO11] (signgam): Do not allow.
825 [non-C99-based standards] (copysignf): Do not allow.
826 [non-C99-based standards] (exp2f): Likewise.
827 [non-C99-based standards] (log2f): Likewise.
828 [non-C99-based standards] (modff): Allow.
829 [non-C99-based standards] (erff): Do not allow.
830 [non-C99-based standards] (erfcf): Likewise.
831 [non-C99-based standards] (gammaf): Likewise.
832 [non-C99-based standards] (hypotf): Likewise.
833 [non-C99-based standards] (j0f): Likewise.
834 [non-C99-based standards] (j1f): Likewise.
835 [non-C99-based standards] (jnf): Likewise.
836 [non-C99-based standards] (lgammaf): Likewise.
837 [non-C99-based standards] (tgammaf): Likewise.
838 [non-C99-based standards] (y0f): Likewise.
839 [non-C99-based standards] (y1f): Likewise.
840 [non-C99-based standards] (ynf): Likewise.
841 [non-C99-based standards] (isnanf): Likewise.
842 [non-C99-based standards] (acoshf): Likewise.
843 [non-C99-based standards] (asinhf): Likewise.
844 [non-C99-based standards] (atanhf): Likewise.
845 [non-C99-based standards] (cbrtf): Likewise.
846 [non-C99-based standards] (expm1f): Likewise.
847 [non-C99-based standards] (ilogbf): Likewise.
848 [non-C99-based standards] (log1pf): Likewise.
849 [non-C99-based standards] (logbf): Likewise.
850 [non-C99-based standards] (nextafterf): Likewise.
851 [non-C99-based standards] (remainderf): Likewise.
852 [non-C99-based standards] (rintf): Likewise.
853 [non-C99-based standards] (scalbf): Likewise.
854 [non-C99-based standards] (copysignl): Likewise.
855 [non-C99-based standards] (exp2l): Likewise.
856 [non-C99-based standards] (log2l): Likewise.
857 [non-C99-based standards] (modfl): Allow.
858 [non-C99-based standards] (erfl): Do not allow.
859 [non-C99-based standards] (erfcl): Likewise.
860 [non-C99-based standards] (gammal): Likewise.
861 [non-C99-based standards] (hypotl): Likewise.
862 [non-C99-based standards] (j0l): Likewise.
863 [non-C99-based standards] (j1l): Likewise.
864 [non-C99-based standards] (jnl): Likewise.
865 [non-C99-based standards] (lgammal): Likewise.
866 [non-C99-based standards] (tgammal): Likewise.
867 [non-C99-based standards] (y0l): Likewise.
868 [non-C99-based standards] (y1l): Likewise.
869 [non-C99-based standards] (ynl): Likewise.
870 [non-C99-based standards] (isnanl): Likewise.
871 [non-C99-based standards] (acoshl): Likewise.
872 [non-C99-based standards] (asinhl): Likewise.
873 [non-C99-based standards] (atanhl): Likewise.
874 [non-C99-based standards] (cbrtl): Likewise.
875 [non-C99-based standards] (expm1l): Likewise.
876 [non-C99-based standards] (ilogbl): Likewise.
877 [non-C99-based standards] (log1pl): Likewise.
878 [non-C99-based standards] (logbl): Likewise.
879 [non-C99-based standards] (nextafterl): Likewise.
880 [non-C99-based standards] (remainderl): Likewise.
881 [non-C99-based standards] (rintl): Likewise.
882 [non-C99-based standards] (scalbl): Likewise.
883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
884 [non-C99-based standards] (FP_*): Do not allow.
885 [C99-based standards] (FP_*): Change to
886 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
887 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
889 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
891 [X/Open-based standards] (SIG_HOLD): Likewise.
893 (SIGABRT): Use macro-int-constant. Specify type. Require
900 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
901 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
902 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
903 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
904 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
905 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
906 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
907 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
908 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
909 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
910 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
911 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
912 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
913 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
914 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
915 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
916 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
917 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
918 [X/Open-based standards] (SIGTRAP): Likewise.
919 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
920 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
921 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
922 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
923 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
926 2012-05-08 Ian Wienand <ianw@vmware.com>
929 * time/tzset.c (__tzset_parse_tz): Update default rules for
930 daylight time changes in the Energy Policy Act of 2005.
932 2012-05-09 Andreas Jaeger <aj@suse.de>
935 * elf/ldconfig.c (parse_conf): Change string to make clear that
936 ldconfig only issued a warning if ld.so.conf does not exist.
938 2012-05-08 David S. Miller <davem@davemloft.net>
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
941 movxtod instead of popping the value on the stack.
943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
945 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
947 * config.h.in: Add HAVE_ARM_PCS_VFP.
949 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
952 * include/features.h: Warn if user requests __FORTIFY_SOURCE
953 checking but the checks are disabled for any reason.
955 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
957 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
958 and ELF64_R_TYPE with ELFW(R_TYPE).
960 2012-05-08 Joseph Myers <joseph@codesourcery.com>
962 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
965 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
966 (settimeofday): Likewise.
968 2012-05-08 Mike Frysinger <vapier@gentoo.org>
970 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
971 a struct th_u2 inside the union, and move tu_block/tu_code into
972 a new th_u3 union of tu_block/tu_code inside of that. Move
973 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
974 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
975 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
976 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
977 (th_stuff): Change to th_u1.tu_stuff.
979 (th_msg): Change to th_u1.th_u2.tu_data.
981 2012-05-07 David S. Miller <davem@davemloft.net>
983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
986 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
987 (SETUP_PIC_REG): Use it.
988 (SETUP_PIC_REG_LEAF): Use it.
990 2012-05-07 Joseph Myers <joseph@codesourcery.com>
994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
996 (EXPL_FINITE): Likewise.
998 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
999 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1003 (EXPL_FINITE): Likewise.
1005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1006 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1008 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1009 test of -max_value argument for long double.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1013 2012-05-06 David S. Miller <davem@davemloft.net>
1015 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1016 quad soft-float symbols whose references which are compiler
1018 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1020 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1026 (EXPL_FINITE): Likewise.
1030 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1031 Adjust comments for base varying.
1032 (__expl_finite): Change alias to EXPL_FINITE.
1033 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1035 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1036 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1038 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1041 (EXPL_FINITE): Likewise.
1045 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1046 Adjust comments for base varying.
1047 (__expl_finite): Change alias to EXPL_FINITE.
1048 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1053 * math/libm-test.inc (check_float_internal): Correct ulp
1054 calculation for subnormal expected results.
1056 2012-05-06 Andreas Jaeger <aj@suse.de>
1058 * Makeconfig (+math-flags): New, set to -frounding-math.
1059 (+cflags): Add +math-flags so that all of glibc gets compiled with
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1064 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1066 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1072 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1073 (__ieee754_expl): Allow for and saturate large arguments.
1074 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1075 (u_threshold): Likewise.
1076 (__exp): Call __ieee754_exp before checking for overflow and
1078 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1079 (u_threshold): Likewise.
1080 (__expf): Call __ieee754_expf before checking for overflow and
1082 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1083 (u_threshold): Likewise.
1084 (__expl): Call __ieee754_expl before checking for overflow and
1086 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1087 (__ieee754_expl): Allow for and saturate large arguments.
1088 * math/libm-test.inc (exp_test): Add another test. Do not allow
1089 missing overflow exception on overflow.
1090 (expm1_test): Do not allow missing overflow exception on overflow.
1092 * sysdeps/i386/fpu/e_expl.c: Move to ...
1093 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1094 rather than using inline asm.
1095 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1096 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1097 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1099 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1106 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1109 sysdeps/unix/common/syscalls.list.
1112 (ftruncate): Likewise.
1113 (getrusage): Likewise.
1114 (gettimeofday): Likewise.
1115 (setpgid): Likewise.
1116 (setregid): Likewise.
1117 (setreuid): Likewise.
1118 (sigaction): Likewise.
1119 (truncate): Likewise.
1120 (vhangup): Likewise.
1121 * sysdeps/unix/common/syscalls.list: Remove file.
1122 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1123 * sysdeps/unix/sysv/linux/Implies: Likewise.
1125 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1127 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1129 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1133 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1136 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1139 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1142 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1145 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1148 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1151 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1155 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1159 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1162 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1166 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1170 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/unix/common/bits/dirent.h: Remove file.
1173 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1175 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1176 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1177 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1178 * sysdeps/unix/bsd/isatty.c: Likewise.
1179 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1180 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1181 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1183 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1187 long double comparison inaccuracies.
1188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1193 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1196 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1200 nonzero digits before rounding a hex value.
1201 * stdlib/tst-strtod.c (tests): Add another test.
1203 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1205 * sysdeps/s390/fpu/libm-test-ulps: Update.
1207 2012-05-03 Andreas Jaeger <aj@suse.de>
1209 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1210 does not get optimized out.
1211 (malloc_opt_barrier): New.
1213 2012-05-03 Andreas Jaeger <aj@suse.de>
1214 Roland McGrath <roland@hack.frob.com>
1216 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1217 intermediate file deletion.
1218 (generated): Add .symlist files.
1220 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1223 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1224 Redirect under this condition.
1225 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1226 [__USE_GNU] (__dprintf_chk): Not under this condition.
1227 [__USE_GNU] (__vdprintf_chk): Likewise.
1228 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1229 under this condition.
1230 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1231 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1232 [__USE_XOPEN2K8] (vdprintf): Likewise.
1233 [__USE_GNU] (__dprintf_chk): Not under this condition.
1234 [__USE_GNU] (__vdprintf_chk): Likewise.
1235 [__USE_GNU] (dprintf): Likewise.
1236 [__USE_GNU] (vdprintf): Likewise.
1238 2012-05-03 Roland McGrath <roland@hack.frob.com>
1240 * elf/Makefile (common-generated): Set this instead of generated for
1241 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1242 $(all-built-dso)-derived lists.
1244 2012-05-03 Andreas Jaeger <aj@suse.de>
1246 * sysdeps/i386/fpu/libm-test-ulps: Update.
1250 * scripts/gen-FAQ.pl: Likewise.
1251 * manual/install.texi (Installation): Point to online location of
1253 * Makefile (files-for-dist): Remove FAQ.
1256 2012-05-02 Allan McRae <allan@archlinux.org>
1258 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1259 (LDFLAGS-reldepmod5.so): Likewise.
1260 (LDFLAGS-reldep6mod1.so): Likewise.
1261 (LDFLAGS-reldep6mod4.so): Likewise.
1262 (LDFLAGS-reldep8mod3.so): Likewise.
1263 (LDFLAGS-unload4mod1.so): Likewise.
1264 (LDFLAGS-unload4mod2.so): Likewise.
1265 (LDFLAGS-tst-initorder): Likewise.
1266 (LDFLAGS-tst-initordera2.so): Likewise.
1267 (LDFLAGS-tst-initordera3.so): Likewise.
1268 (LDFLAGS-tst-initordera4.so): Likewise.
1269 (LDFLAGS-tst-initorderb2.so): Likewise.
1270 (LDFLAGS-noload): Likewise.
1271 (LDFLAGS-next): Likewise.
1272 (LDFLAGS-order2mod1.so): Likewise.
1273 (LDFLAGS-order2mod2.so): Likewise.
1274 (LDFLAGS-tst-initorder2): Likewise.
1275 (LDFLAGS-tst-initorder2a.so): Likewise.
1276 (LDFLAGS-tst-initorder2b.so): Likewise.
1277 (LDFLAGS-tst-initorder2c.so): Likewise.
1278 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1280 2012-05-02 David S. Miller <davem@davemloft.net>
1282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1284 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1287 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1289 2012-05-02 Andreas Jaeger <aj@suse.de>
1291 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1292 since we manipulate rounding mode.
1293 (CPPFLAGS-test-idouble.c): Likewise.
1294 (CPPFLAGS-test-ifloat.c): Likewise.
1295 (CFLAGS-test-ldouble.c): Likewise.
1296 (CFLAGS-test-double.c): Likewise.
1297 (CFLAGS-test-float.c): Likewise.
1298 (CFLAGS-test-misc.c): Likewise.
1299 (CFLAGS-test-test-fenv.c): Likewise.
1301 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1306 comparisons to determine direction to adjust input.
1308 2012-05-01 Roland McGrath <roland@hack.frob.com>
1310 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1311 output to the target.
1313 * scripts/localplt.awk: New file.
1314 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1315 (check-localplt-CFLAGS): Variable removed.
1316 ($(all-built-dso:=.jmprel)): New static pattern rule.
1317 (generated): Add those targets.
1318 (localplt-built-dso): New variable.
1319 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1321 * elf/check-localplt.c: File removed.
1323 * scripts/check-execstack.awk: New file.
1324 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1325 (check-execstack-CFLAGS): Variable removed.
1326 ($(objpfx)check-execstack.h): Target removed.
1327 ($(objpfx)execstack-default): New target.
1328 (generated): Add that instead of check-execstack.h.
1329 ($(all-built-dso:=.phdr)): New static pattern rule.
1330 (generated): Add those targets.
1331 * elf/check-execstack.c: File removed.
1333 * scripts/check-textrel.awk: New file.
1334 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1335 (check-textrel-CFLAGS): Variable removed.
1336 (all-built-dso): Use := to define.o
1337 ($(all-built-dso:=.dyn)): New static pattern rule.
1338 (generated): Add those targets.
1339 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1340 * config.make.in (READELF): New substituted variable.
1341 * elf/check-textrel.c: File removed.
1343 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1345 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1347 * conform/data/ctype.h-data [C99-based standards] (isblank):
1349 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1350 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1352 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1353 Specify type. Require positive value.
1356 [ISO || POSIX] (EILSEQ): Do not expect.
1357 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1358 Specify type. Require positive value.
1359 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1426 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1427 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1428 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1429 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1430 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1431 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1432 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1433 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1434 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1435 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1437 (FLT_ROUNDS): Expect as macro, not constant.
1438 (FLT_MANT_DIG): Use macro-int-constant.
1439 (DBL_MANT_DIG): Likewise.
1440 (LDBL_MANT_DIG): Likewise.
1441 (FLT_DIG): Likewise.
1442 (DBL_DIG): Likewise.
1443 (LDBL_DIG): Likewise.
1444 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1445 (DBL_MIN_EXP): Likewise.
1446 (LDBL_MIN_EXP): Likewise.
1447 (FLT_MAX_EXP): Use macro-int-constant.
1448 (DBL_MAX_EXP): Likewise.
1449 (LDBL_MAX_EXP): Likewise.
1450 (FLT_MAX_10_EXP): Likewise.
1451 (DBL_MAX_10_EXP): Likewise.
1452 (LDBL_MAX_10_EXP): Likewise.
1453 (FLT_MAX): Use macro-constant.
1454 (DBL_MAX): Likewise.
1455 (LDBL_MAX): Likewise.
1456 (FLT_EPSILON): Use macro-constant. Give upper bound.
1457 (DBL_EPSILON): Likewise.
1458 (LDBL_EPSILON): Likewise.
1459 (FLT_MIN): Likewise.
1460 (DBL_MIN): Likewise.
1461 (LDBL_MIN): Likewise.
1462 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1463 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1464 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1465 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1466 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1467 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1468 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1469 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1470 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1471 [ISO11] (FLT_TRUE_MIN): Likewise.
1472 [ISO11] (LDBL_TRUE_MIN): Likewise.
1473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1474 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1475 (SCHAR_MIN): Use macro-int-constant. Specify type.
1476 (SCHAR_MAX): Likewise.
1477 (UCHAR_MAX): Likewise.
1478 (CHAR_MIN): Likewise.
1479 (CHAR_MAX): Likewise.
1480 (MB_LEN_MAX): Use macro-int-constant.
1481 (SHRT_MIN): Use macro-int-constant. Specify type.
1482 (SHRT_MAX): Likewise.
1483 (USHRT_MAX): Likewise.
1484 (INT_MAX): Likewise.
1485 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1487 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1489 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1491 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1492 bound negative. Suffix upper bound with "L".
1493 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1495 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1497 [C99-based standards] (LLONG_MAX): Likewise.
1498 [C99-based standards] (ULLONG_MAX): Likewise.
1499 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1501 [ISO11] (max_align_t): Require type.
1502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1504 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1505 from $CFLAGS, without defining away __attribute__ calls.
1506 (checknamespace): Use $CFLAGS_namespace.
1508 * conform/conformtest.pl (@keywords): Only include C99 keywords
1509 for standards based on C99 or C11.
1511 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1513 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1516 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1517 usability of symbols in #if.
1519 * conform/conformtest.pl: If macro or constant types start
1520 "promoted:", expect the symbol to be of the following type
1521 promoted by the integer promotions.
1523 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1524 in one place. Also handle "macro-constant".
1526 * conform/conformtest.pl: Only accept expected macro values with
1527 "==". Parse all "macro" lines in one place.
1528 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1530 * conform/conformtest.pl: Handle braced types on "constant" lines
1531 instead of handling "typed-constant".
1532 * conform/data/signal.h-data: Use "constant" instead of
1535 * conform/conformtest.pl: Handle "optional-" at start of lines in
1536 one place rather than duplicating several cases. Handle each
1537 format of "macro" line with initial "optional-".
1539 * conform/conformtest.pl: Only accept expected constant or
1540 optional-constant values with "==". Parse all "constant" lines in
1541 one place. Parse all "optional-constant" lines in one place.
1542 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1543 * conform/data/fmtmsg.h-data: Likewise.
1544 * conform/data/netinet/in.h-data: Likewise.
1545 * conform/data/tar.h-data: Likewise.
1546 * conform/data/limits.h-data: Use "==" form on "constant" and
1547 "optional-constant" lines.
1549 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1550 Use -std=c99 for XOPEN2K.
1551 (@knownproblems): Remove.
1552 (newtoken): Don't check %isknown.
1554 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1555 Do not expect macro.
1556 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1561 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1562 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1567 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1568 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1569 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1579 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1580 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1581 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1585 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1586 [XPG3] (acosh): Likewise.
1587 [XPG3] (asinh): Likewise.
1588 [XPG3] (atanh): Likewise.
1589 [XPG3] (cbrt): Likewise.
1590 [XPG3] (expm1): Likewise.
1591 [XPG3] (ilogb): Likewise.
1592 [XPG3] (log1p): Likewise.
1593 [XPG3] (logb): Likewise.
1594 [XPG3] (nextafter): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1597 [XPG3] (remainder): Likewise.
1598 [XPG3] (rint): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1606 [UNIX98 || XOPEN2K] (scalb): Expect.
1607 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1608 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1745 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1746 _XOPEN_SOURCE_EXTENDED for XPG4.
1748 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1750 * Makeconfig (localtime): Remove variable.
1751 (inst_localtime-file): Likewise.
1753 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1774 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1778 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1779 comparisons to determine direction to adjust input.
1780 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1781 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1788 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1791 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1793 * math/libm-test.inc (nexttoward_test): Add more tests.
1795 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1799 in version GLIBC_2.1, not GLIBC_2.0.
1800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1803 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1806 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1808 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1809 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1810 * math/libm-test.inc (acos_test): Add more tests.
1811 (asin_test): Likewise.
1812 * sysdeps/i386/fpu/libm-test-ulps: Update.
1813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1818 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1819 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1820 * math/libm-test.inc (acos_test_tonearest): New function.
1821 (acos_test_towardzero): Likewise.
1822 (acos_test_downward): Likewise.
1823 (acos_test_upward): Likewise.
1824 (asin_test_tonearest): Likewise.
1825 (asin_test_towardzero): Likewise.
1826 (asin_test_downward): Likewise.
1827 (asin_test_upward): Likewise.
1828 (main): Call the new functions.
1829 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1834 * math/e_exp10.c: Include <float.h>.
1835 (__ieee754_exp10): Handle underflow here rather than multiplying
1836 large negative argument by M_LN10.
1837 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1839 * math/e_exp10l.c: Include <float.h>.
1840 (__ieee754_exp10l): Handle underflow here rather than multiplying
1841 large negative argument by M_LN10l.
1842 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1843 spurious overflow exception on underflow.
1845 2012-04-29 Marek Polacek <polacek@redhat.com>
1847 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1848 (__fortify_function): New macro.
1849 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1850 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1851 __extern_always_inline.
1852 * libio/bits/stdio2.h: Likewise.
1853 * libio/bits/stdio.h: Likewise.
1854 * string/string.h: Likewise.
1855 * string/bits/string3.h: Likewise.
1856 * include/stdio.h: Likewise.
1857 * stdlib/bits/stdlib.h: Likewise.
1858 * stdlib/stdlib.h: Likewise.
1859 * rt/bits/mqueue2.h: Likewise.
1860 * rt/mqueue.h: Likewise.
1861 * posix/bits/unistd.h: Likewise.
1862 * posix/unistd.h: Likewise.
1863 * io/bits/poll2.h: Likewise.
1864 * io/bits/fcntl2.h: Likewise.
1865 * io/fcntl.h: Likewise.
1866 * io/sys/poll.h: Likewise.
1867 * misc/bits/syslog.h: Likewise.
1868 * misc/bits/syslog-ldbl.h: Likewise.
1869 * misc/sys/syslog.h: Likewise.
1870 * socket/bits/socket2.h: Likewise.
1871 * socket/sys/socket.h: Likewise.
1872 * debug/tst-chk1.c: Likewise.
1873 * wcsmbs/bits/wchar2.h: Likewise.
1874 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1875 * wcsmbs/wchar.h: Likewise.
1877 2012-04-29 Andreas Jaeger <aj@suse.de>
1879 * Makerules (tests): Remove enable-check-abi protection.
1880 (check-abi-warn): Remove.
1881 (check-abi-%): Remove check-abi-warn usage.
1883 * configure.in: Remove check-abi configure option.
1884 * configure: Regenerated.
1885 * config.make.in (enable-check-abi): Remove.
1887 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1890 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1891 double functions to double *_finite functions.
1894 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1895 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1897 * stdio-common/Makefile (tests): Add tst-sprintf3.
1898 * stdio-common/tst-sprintf3.c: New file.
1900 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1901 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1903 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1905 * conform/conformtest.pl: Remove duplicate typed-constant
1908 2012-04-28 David S. Miller <davem@davemloft.net>
1910 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1911 (check-abi-%): Remove AWK script prerequisite and explicit
1913 (check-abi): Rewrite to just diff the symlist with the abilist.
1914 (config-tls, config-abi-config): Delete, no longer used.
1915 (update-abi-%): Remove AWK script and explicit abilist directory.
1916 (update-abi): Rewrite to simply compare and conditionally copy the
1917 symlist and the sysdep abilist file. Remove update-abi-config
1919 * abilist/ld.abilist: Remove.
1920 * abilist/libBrokenLocale.abilist: Remove.
1921 * abilist/libanl.abilist: Remove.
1922 * abilist/libcrypt.abilist: Remove.
1923 * abilist/libdl.abilist: Remove.
1924 * abilist/librt.abilist: Remove.
1925 * abilist/libthread_db.abilist: Remove.
1926 * abilist/libutil.abilist: Remove.
1927 * scripts/extract-abilist.awk: Remove.
1928 * scripts/merge-abilist.awk: Remove.
1929 * sysdeps/generic/libcidn.abilist: New file.
1930 * sysdeps/generic/libnss_compat.abilist: New file.
1931 * sysdeps/generic/libnss_db.abilist: New file.
1932 * sysdeps/generic/libnss_dns.abilist: New file.
1933 * sysdeps/generic/libnss_files.abilist: New file.
1934 * sysdeps/generic/libnss_hesiod.abilist: New file.
1935 * sysdeps/generic/libnss_nis.abilist: New file.
1936 * sysdeps/generic/libnss_nisplus.abilist: New file.
1937 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1938 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1939 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1942 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1943 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1944 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1945 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1946 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1947 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1948 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1949 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1951 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1952 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1953 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1954 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1956 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1957 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1959 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1960 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1961 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1963 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1964 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1965 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1967 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2071 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2072 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2075 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2078 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2079 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2080 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2082 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2083 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2135 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2137 * conform/conformtest.pl: Fix typo in handling typed-constant from
2140 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2142 * README: Cut down references to pre-2.6 Linux kernels and
2143 Linuxthreads. Update lists of configurations in libc and ports
2144 and sort alphabetically. Say "or newer" with Linux kernel version
2147 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2149 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2152 * math/libm-test.inc (logb_test_downward): New test to expose
2153 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2156 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2159 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2161 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2162 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2164 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2166 * sysdeps/unix/i386/brk.S: Remove file.
2167 * sysdeps/unix/i386/dl-brk.S: Likewise.
2168 * sysdeps/unix/i386/pipe.S: Likewise.
2169 * sysdeps/unix/i386/sigreturn.S: Likewise.
2170 * sysdeps/unix/i386/syscall.S: Likewise.
2171 * sysdeps/unix/i386/vfork.S: Likewise.
2172 * sysdeps/unix/i386/wait.S: Likewise.
2174 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2175 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2177 * configure.in (arm*-none*): Do not allow without
2178 --enable-hacker-mode.
2179 (netbsd*): Remove case setting base_os.
2180 (386bsd*): Likewise.
2181 (freebsd*): Likewise.
2185 (ultrix*): Likewise.
2186 (newsos*): Likewise.
2196 (solaris[2-9]*): Likewise.
2198 * configure: Regenerated.
2200 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2204 overflow or cancellation in calculating denominator.
2205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2207 down expression to avoid unexpected rounding in newer GCCs.
2208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2210 2012-04-26 David S. Miller <davem@davemloft.net>
2212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2213 long-double compat symbols.
2214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2228 2012-04-25 David S. Miller <davem@davemloft.net>
2230 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2231 HWCAP_* values only after the memory barriers have been defined.
2232 (atomic_full_barrier): Define.
2233 (atomic_read_barrier): Define.
2234 (atomic_write_barrier): Define.
2236 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2238 * shlib-versions: Add libgcc_s version information.
2239 * sysdeps/generic/libgcc_s.h: Remove.
2240 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2242 * sysdeps/gnu/unwind-resume.c: Likewise.
2243 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2245 2012-04-25 David S. Miller <davem@davemloft.net>
2247 * sysdeps/unix/sparc/brk.S: Delete.
2248 * sysdeps/unix/sparc/dl-brk.S: Delete.
2249 * sysdeps/unix/sparc/pipe.S: Delete.
2250 * sysdeps/unix/sparc/sysdep.S: Delete.
2251 * sysdeps/unix/sparc/sysdep.h: Delete.
2252 * sysdeps/unix/sparc/vfork.S: Delete.
2253 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2254 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2255 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2256 ret_ERRVAL, r0, r1, MOVE): Define.
2257 (JUMPTARGET): Remove.
2258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2259 sysdeps/unix/sparc/sysdep.h
2260 (ENTRY, END): Remove.
2261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2263 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2265 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2266 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2269 * timezone/README: Update upstream location and email address for
2271 * timezone/zdump.c: Update from tzcode 2012b.
2272 * timezone/zic.c: Likewise.
2274 * configure.in (libc_cv_as_needed): Remove test.
2275 * configure: Regenerated.
2276 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2277 conditional definition.
2278 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2279 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2280 * config.make.in (have-as-needed): Remove variable.
2282 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2283 Paul Pluzhnikov <ppluzhnikov@google.com>
2285 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2288 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2290 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2291 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2292 * sysdeps/sh/strlen.S: Likewise.
2294 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2296 * sysdeps/unix/fork.S: Remove file.
2297 * sysdeps/unix/i386/fork.S: Likewise.
2298 * sysdeps/unix/sparc/fork.S: Likewise.
2300 * sysdeps/unix/system.c: Remove file.
2301 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2303 * sysdeps/unix/getegid.S: Remove file.
2304 * sysdeps/unix/geteuid.S: Likewise.
2306 2012-04-24 Roland McGrath <roland@hack.frob.com>
2308 * scripts/check-localplt.awk: New file.
2309 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2311 * scripts/data/localplt-generic.data: Add a comment.
2313 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2314 NODE when __dir_mkfile failed.
2315 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2316 Reported by Ludovic Courtès <ludo@gnu.org>.
2318 2012-04-24 Andreas Jaeger <aj@suse.de>
2320 * Makerules (common-clean): Also remove gen-as-const-headers
2323 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2325 * Makerules (native-compile): Do not change working directory for
2326 build. Use $(OUTPUT_OPTION) in command.
2327 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2329 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2333 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2334 * math/libm-test.inc (floor_test): Add more tests.
2335 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2337 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2339 * sysdeps/unix/getdents.c: Remove file.
2340 * sysdeps/unix/sysv/getdents.c: Likewise.
2341 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2343 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2344 sysdeps/unix/mman/syscalls.list.
2346 (mprotect): Likewise.
2349 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2350 * sysdeps/unix/mman/syscalls.list: Remove.
2351 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2353 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2354 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2355 * configure: Regenerated.
2356 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2358 * config.make.in (libgcc_s_suffix): Remove variable.
2360 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2362 * sysdeps/unix/sysv/gethostname.c: Move to ...
2363 * sysdeps/posix/gethostname.c: ... here.
2365 * sysdeps/unix/execve.S: Remove file.
2367 * sysdeps/unix/_exit.S: Remove file.
2369 2012-04-23 Andreas Jaeger <aj@suse.de>
2372 * manual/Makefile: Remove make dist support, there's no
2373 need for a stand-alone documentation tar ball.
2374 (TEXI2DVI): Define always, it's not in Makeconfig.
2378 (glibc-doc-$(edition).tar): Removed
2382 (ETAGS): Remove, it's in Makeconfig.
2383 (move-if-change): Remove, it's in Makeconfig.
2385 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2388 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2389 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2390 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2391 (strtod_l, strtof_l, strtold_l): Remove __wur.
2392 It is not necessarily an error to ignore strtol's return value.
2393 One can reliably look at the stored endptr to decide whether
2394 the number had valid syntax.
2396 2012-04-21 Andreas Jaeger <aj@suse.de>
2399 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2401 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2404 * sysdeps/unix/sysv/Versions: Remove file.
2406 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2411 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2415 version from __vm86.
2417 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2419 * sysdeps/unix/common/lxstat.c: Remove file.
2420 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2422 * sysdeps/unix/sysv/Makefile: Remove file.
2424 * sysdeps/unix/sysv/direct.h: Remove file.
2426 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2427 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2428 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2429 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2430 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2431 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2432 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2434 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2436 * sysdeps/unix/xmknod.c: Remove file.
2437 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2439 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2441 * sysdeps/unix/sysv/i386/time.S: Remove file.
2443 * sysdeps/unix/fxstat.c: Remove file.
2444 * sysdeps/unix/xstat.c: Likewise.
2445 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2447 * sysdeps/unix/sysv/sigaction.c: Remove file.
2449 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2450 (sysdep_headers): Remove variable.
2451 [termio.h not in sysdep_headers] (generated): Likewise.
2452 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2453 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2454 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2455 * sysdeps/unix/sysv/tcflow.c: Likewise.
2456 * sysdeps/unix/sysv/tcflush.c: Likewise.
2457 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2458 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2459 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2460 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2461 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2463 * sysdeps/unix/siglist.c: Remove file.
2465 * sysdeps/unix/getppid.S: Remove file.
2467 * sysdeps/unix/mkdir.c: Remove file.
2468 * sysdeps/unix/rmdir.c: Likewise.
2470 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2472 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2474 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2475 errlist-compat value.
2477 2012-04-18 David S. Miller <davem@davemloft.net>
2479 * sysdeps/generic/memcopy.h (reg_char): Delete.
2480 * debug/strcat_chk.c: Use char, not reg_char.
2481 * debug/strcpy_chk.c: Likewise.
2482 * debug/strncat_chk.c: Likewise.
2483 * debug/strncpy_chk.c: Likewise.
2484 * string/memchr.c: Likewise.
2485 * string/memrchr.c: Likewise.
2486 * string/rawmemchr.c: Likewise.
2487 * string/strcat.c: Likewise.
2488 * string/strchr.c: Likewise.
2489 * string/strchrnul.c: Likewise.
2490 * string/strcmp.c: Likewise.
2491 * string/strcpy.c: Likewise.
2492 * string/strncat.c: Likewise.
2493 * string/strncmp.c: Likewise.
2494 * string/strncpy.c: Likewise.
2496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2498 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2499 __builtin_memcopy is called when src and dest ranges are known to not
2502 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2505 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2506 fwd_align_merge macro call.
2507 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2508 bwd_align_merge macro call.
2509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2511 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2514 bwd_align_merge macros.
2515 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2516 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2517 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2519 2012-04-18 David S. Miller <davem@davemloft.net>
2521 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2523 2012-04-18 Andreas Jaeger <aj@suse.de>
2526 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2527 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2528 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2531 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2534 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2535 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2536 Adjust for changed ldbl-128 files.
2538 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2539 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2542 2012-04-17 David S. Miller <davem@davemloft.net>
2544 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2546 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2548 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2549 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2550 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2551 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2552 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2553 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2555 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2558 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2559 * math/libm-test.inc: Add ilogb errno and exception tests.
2560 * math/w_ilogb.c: New file: ilogb wrapper.
2561 * math/w_ilogbf.c: New file: ilogbf wrapper.
2562 * math/w_ilogbl.c: New file: ilogbl wrapper.
2563 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2564 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2565 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2566 exception being thrown with 0.0 as argument.
2567 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2568 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2569 exception being thrown with 0.0 as argument.
2570 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2571 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2572 exception being thrown with 0.0 as argument.
2573 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2574 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2575 exception being thrown with 0.0 as argument.
2576 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2577 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2579 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2581 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2582 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2583 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2584 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2586 2012-04-17 Petr Baudis <pasky@ucw.cz>
2588 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2591 2012-04-16 Marek Polacek <polacek@redhat.com>
2593 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2595 2012-04-16 Marek Polacek <polacek@redhat.com>
2597 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2598 operands of fdivp instruction.
2600 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2602 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2603 * elf/tst-auditmod3b.c: Likewise.
2604 * elf/tst-auditmod4b.c: Likewise.
2605 * elf/tst-auditmod5b.c: Likewise.
2606 * elf/tst-auditmod6b.c: Likewise.
2607 * elf/tst-auditmod6c.c: Likewise.
2608 * elf/tst-auditmod7b.c: Likewise.
2609 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2610 * sysdeps/x86_64/preconfigure.in: Likewise.
2611 * sysdeps/x86_64/preconfigure: Regenerated.
2613 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2615 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2618 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2621 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2623 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2626 * locale/iso-639.def: Fix gl language name. Spotted by
2629 2012-04-12 Roland McGrath <roland@hack.frob.com>
2632 * libio/libio.h (__io_write_fn): Update comment.
2634 2012-04-12 Petr Baudis <pasky@ucw.cz>
2637 * stdio.texi (Hook Functions): The user provided writer function
2638 is not allowed to return -1.
2640 2012-04-11 David S. Miller <davem@davemloft.net>
2642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2644 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2646 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2647 Add a leading slash to rtkaio.
2649 2012-04-11 Jim Meyering <meyering@redhat.com>
2652 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2653 It is not necessarily an error to ignore fwrite's return
2654 value. One can reliably use ferror to test for errors after
2657 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2659 * bits/types.h (__snseconds_t): New type.
2660 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2662 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2664 (__SNSECONDS_T_TYPE): Likewise.
2665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2666 (__SNSECONDS_T_TYPE): Likewise.
2667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2668 (__SNSECONDS_T_TYPE): Likewise.
2670 2012-04-10 Andreas Jaeger <aj@suse.de>
2673 * manual/time.texi (Processor Time): Return type of times is
2674 elapsed real time since an arbitrary point in the past.
2675 (CPU Time): Move CLK_TCK from here...
2676 (Processor Time): ...to here. Correct description.
2677 * manual/conf.texi (Constants for Sysconf): Correct description of
2680 2012-04-10 David S. Miller <davem@davemloft.net>
2683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2684 where the is a gap between DT_REL(A) and DT_JMPREL.
2686 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2688 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2689 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2690 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2692 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2694 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2695 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2696 (dl_main): Handle --inhibit-cache.
2697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2699 * elf/dl-load.c (_dl_map_object): Use it.
2700 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2702 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2705 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2706 (__ieee754_powl): Saturate large exponents rather than testing for
2707 overflow of y*log2(x).
2708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2709 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2713 * math/s_ctan.c: Include <float.h>.
2714 (__ctan): Avoid internal overflow or cancellation in calculating
2716 * math/s_ctanf.c: Likewise.
2717 * math/s_ctanl.c: Likewise.
2718 * math/s_ctanh.c: Likewise.
2719 * math/s_ctanhf.c: Likewise.
2720 * math/s_ctanhl.c: Likewise.
2721 * math/libm-test.inc (ctan_test): Add more tests.
2722 (ctanh_test): Likewise.
2723 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2726 2012-04-09 Andreas Jaeger <aj@suse.de>
2729 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2730 is an optional BSD extension.
2733 * manual/stdio.texi (Opening Streams): Document additional fopen
2736 2012-04-09 Roland McGrath <roland@hack.frob.com>
2738 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2739 %eax without telling the compiler.
2741 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2744 * manual/install.texi: Use sourceware.org.
2746 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2749 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2750 (__ieee754_pow): Generate overflow and underflow using huge*huge
2751 and tiny*tiny rather than just returning constant infinity or zero
2752 for large exponents.
2753 * math/libm-test.inc (pow_test): Require overflow exceptions for
2754 applicable cases of large exponents.
2757 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2758 (__ieee754_pow): Use iterative multiplication algorithm only for
2759 integer exponents with absolute value below 1024. Check for odd
2760 integer exponents when using algorithm for real exponents.
2761 * math/libm-test.inc (pow_test): Add more tests.
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2764 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2767 * math/libm-test.inc (exp_test): Do not allow overflow exception
2770 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2773 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2774 instead of __kernel_standard_f.
2776 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2778 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2779 * sysdeps/x86_64/memset_chk.S: Likewise.
2781 2012-04-08 Andreas Jaeger <aj@suse.de>
2784 * manual/startup.texi (Environment Access): Describe return value
2785 for putenv and setenv.
2788 * manual/filesys.texi (Directory Entries): Add description for
2792 * manual/filesys.texi (Directory Entries): Clarify that it's file
2793 system not operating system in the description of DT_UNKNOWN.
2796 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2798 2012-04-08 Stephen Compall <s11@member.fsf.org>
2801 * manual/llio.texi (Opening and Closing Files): Add cross
2802 reference to explain mode argument.
2804 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2806 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2807 * sysdeps/x86_64/memset_chk.S: Likewise.
2809 2012-04-07 David S. Miller <davem@davemloft.net>
2811 * elf/elf.h (R_SPARC_WDISP10): Define.
2812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2815 R_SPARC_SIZE64 and R_SPARC_H34.
2817 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2820 conditions and remove no longer applicable assertion.
2822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2824 * bits/byteswap.h: Include <features.h>.
2825 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2826 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2828 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2830 * bits/byteswap.h (__bswap_16): Removed.
2831 Include <bits/byteswap-16.h> to get __bswap_16.
2832 * sysdeps/i386/bits/byteswap.h: Likewise.
2833 * sysdeps/s390/bits/byteswap.h: Likewise.
2834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2835 * bits/byteswap-16.h: New file.
2836 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2837 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2838 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2839 * string/Makefile (headers): Add bits/byteswap-16.h.
2841 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2844 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2846 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2847 * nss/tst-nss-static.c: New.
2849 2012-04-06 Robert Millan <rmh@gnu.org>
2852 * manual/llio.texi (File Position Primitive): lseek
2853 refers to WHENCE when it really means OFFSET.
2855 2012-04-06 Andreas Jaeger <aj@suse.de>
2857 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2858 strncmp declarations.
2860 * abilist/libc.abilist: Add __poll and __ppoll.
2862 2012-04-05 David S. Miller <davem@davemloft.net>
2864 * scripts/check-local-headers.sh: Accept a host triplet in the
2865 path matched by the exclude regexp.
2867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2869 * sysdeps/powerpc/powerpc32/dl-machine.h
2870 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2871 * sysdeps/s390/s390-32/dl-machine.h
2872 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2873 * sysdeps/sparc/sparc32/dl-machine.h
2874 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2875 * sysdeps/sparc/sparc64/dl-machine.h
2876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2878 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2880 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2881 undefined symbol errors.
2883 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2886 2012-04-05 Michael Matz <matz@suse.de>
2889 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2891 2012-04-05 Andreas Jaeger <aj@suse.de>
2894 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2897 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2900 which ROUND is no valid rounding mode.
2902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2904 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2906 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2908 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2910 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2911 an exception using FPU order intentionally.
2913 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2915 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2916 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2917 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2918 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2920 2012-04-05 Simon Josefsson <simon@josefsson.org>
2923 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2924 EINVAL when BUFLEN is too smal.
2926 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2929 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2930 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2932 2012-04-03 Andreas Jaeger <aj@suse.de>
2935 * manual/setjmp.texi (System V contexts): Fix sentence.
2938 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2939 New macro for this case.
2940 [!__GNUC__] (__bswap_64): New inline function for this case.
2941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2942 * bits/byteswap.h: Likewise.
2943 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2944 ull, guard with __GLIBC_HAVE_LONG_LONG.
2946 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2947 __GLIBC_HAVE_LONG_LONG.
2949 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2950 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2952 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2955 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2956 inptr and inend, rather than using last_ch.
2958 2012-04-02 David S. Miller <davem@davemloft.net>
2960 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2961 * stdio-common/printf-parse.h (read_int): Change return type to
2962 'int', return -1 on INT_MAX overflow.
2963 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2964 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2965 overflows INT_MAX. Check for overflow of in-format-string precision
2966 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2967 SIZE_MAX not INT_MAX for integer overflow test.
2968 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2969 skip the construct in the format string but do not record anything.
2970 * stdio-common/bug22.c: Adjust to test both width/prevision
2971 INT_MAX overflow as well as total length INT_MAX overflow. Check
2972 explicitly for proper errno values.
2974 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2976 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2978 * string/test-strcmp.c [! WIDE]: Likewise.
2979 * time/tst-mktime2.c: Likewise for INT_MAX.
2980 * string/test-string.h: #include <sys/param.h> for MIN.
2982 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2983 * sysdeps/i386/init-first.c (init): Likewise.
2984 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2985 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2986 * sysdeps/sh/init-first.c (init): Likewise.
2988 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2990 * po/ru.po: Update from translation team.
2991 * po/vi.po: Likewise.
2993 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2995 * resolv/nss_dns/dns-host.c: Merge copyright years.
2997 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3000 Optimize memcpy with prefetch if
3001 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3002 src, dst pointers have unequal 16 byte alignments.
3004 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3007 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3008 from a CNAME entry and return the minimum ttl for the query.
3009 (gaih_getanswer_slice): Likewise.
3011 2012-03-30 Jeff Law <law@redhat.com>
3013 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3015 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3016 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3018 * resolv/nss_dns/dns-host.c: Update copyright year.
3020 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3022 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3023 requests to save a system call. Fix check that all bytes are sent.
3025 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3026 comments for sendmmsg.
3028 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3032 with only 1 character between 0x0041 and 0x01b0.
3033 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3034 * wcsmbs/tst-mbsnrtowcs.c: New file.
3036 2012-03-29 David S. Miller <davem@davemloft.net>
3038 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3039 small copies by hand.
3041 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3044 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3045 _nss_compat_initgroups_dyn): Fall back to malloc/free
3046 for large group memberships.
3048 2012-03-28 David S. Miller <davem@davemloft.net>
3050 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3051 that branches into memcpy.
3052 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3055 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3058 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3060 * sysdeps/sparc/mempcpy.S: New file.
3062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3063 the IFUNC routine in the libc case.
3064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3067 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3068 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3069 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3070 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3071 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3072 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3073 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3075 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3076 loop to 256 bytes instead of 64 bytes and fix test signedness.
3078 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3079 * sysdeps/sparc/sparc32/Makefile: rather than here...
3080 * sysdeps/sparc/sparc64/Makefile: and here.
3082 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3084 * malloc/mallocbug.c: Avoid warnings about unused variables.
3086 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3089 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3090 in the right place. Discard and retry query if response is
3091 larger than input buffer size.
3093 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3099 x for large integer exponent.
3100 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3101 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3102 sign of result as needed afterwards.
3103 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3104 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3105 result for underflowing pow the same as for overflow.
3106 (__kernel_standard_l): Handle powl overflow and underflow here
3107 rather than calling __kernel_standard.
3108 * math/libm-test.inc (pow_test): Add more tests.
3123 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3124 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3125 (__kernel_standard_l): New function.
3126 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3128 * math/w_acosl.c (__acosl): Likewise.
3129 * math/w_asinl.c (__asinl): Likewise.
3130 * math/w_atan2l.c (__atan2l): Likewise.
3131 * math/w_atanhl.c (__atanhl): Likewise.
3132 * math/w_coshl.c (__coshl): Likewise.
3133 * math/w_exp10l.c (__exp10l): Likewise.
3134 * math/w_exp2l.c (__exp2l): Likewise.
3135 * math/w_fmodl.c (__fmodl): Likewise.
3136 * math/w_hypotl.c (__hypotl): Likewise.
3137 * math/w_j0l.c (__j0l, __y0l): Likewise.
3138 * math/w_j1l.c (__j1l, __y1l): Likewise.
3139 * math/w_jnl.c (__jnl, __ynl): Likewise.
3140 * math/w_lgammal.c (__lgammal): Likewise.
3141 * math/w_log10l.c (__log10l): Likewise.
3142 * math/w_log2l.c (__log2l): Likewise.
3143 * math/w_logl.c (__logl): Likewise.
3144 * math/w_powl.c (__powl): Likewise.
3145 * math/w_remainderl.c (__remainderl): Likewise.
3146 * math/w_scalbl.c (sysv_scalbl): Likewise.
3147 * math/w_sinhl.c (__sinhl): Likewise.
3148 * math/w_sqrtl.c (__sqrtl): Likewise.
3149 * math/w_tgammal.c (__tgammal): Likewise.
3150 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3151 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3152 * math/libm-test.inc (acos_test): Add more tests.
3153 (acosh_test): Likewise.
3154 (asin_test): Likewise.
3155 (atanh_test): Likewise.
3156 (exp_test): Likewise.
3157 (exp10_test): Likewise.
3158 (exp2_test): Likewise.
3159 (expm1_test): Likewise.
3160 (lgamma_test): Likewise.
3161 (log_test): Likewise.
3162 (log10_test): Likewise.
3163 (log1p_test): Likewise.
3164 (log2_test): Likewise.
3165 (pow_test): Do not allow some spurious overflow exceptions.
3166 (sqrt_test): Add more tests.
3167 (tgamma_test): Likewise.
3168 (y0_test): Likewise.
3169 (y1_test): Likewise.
3170 (yn_test): Likewise.
3172 2012-03-27 Anton Blanchard <anton@samba.org>
3174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3180 2012-03-27 David S. Miller <davem@davemloft.net>
3182 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3184 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3187 2012-03-27 Andreas Jaeger <aj@suse.de>
3189 * sysdeps/x86_64/elf/configure.in: Moved to ...
3190 * sysdeps/x86_64/configure.in: ... here.
3191 * sysdeps/x86_64/elf/start.S: Moved to ...
3192 * sysdeps/x86_64/start.S: ... here.
3193 * sysdeps/x86_64/elf/configure: Delete.
3195 * sysdeps/x86_64/configure.in: Merge contents from
3196 sysdeps/i386/configure.in (without i686 check).
3198 * sysdeps/i386/elf/Versions: Merge into ...
3199 * sysdeps/i386/Versions: ... this.
3200 * sysdeps/i386/elf/Versions: Delete file.
3201 * sysdeps/i386/elf/start.S: Moved to ...
3202 * sysdeps/i386/start.S: ...here.
3203 * sysdeps/i386/elf/configure.in: Merge into...
3204 * sysdeps/i386/configure.in: ...here.
3205 * sysdeps/i386/elf/configure.in: Delete file.
3206 * sysdeps/i386/elf/configure: Delete file.
3208 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3209 * debug/backtracesyms.c: ... here.
3210 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3211 * debug/backtracesymsfd.c: ... here.
3212 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3213 * sysdeps/generic/ifunc-sel.h: ... here.
3215 * sysdeps/unix/i386/start.c: Delete file.
3216 * sysdeps/unix/sparc/start.c: Delete file.
3217 * sysdeps/unix/start.c: Delete file.
3219 * sysdeps/sh/elf/configure.in: Moved to ...
3220 * sysdeps/sh/configure.in: ... here.
3221 * sysdeps/sh/elf/start.S: Moved to ...
3222 * sysdeps/sh/start.S: ... here.
3223 * sysdeps/sh/elf/configure: Delete file.
3225 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3226 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3227 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3228 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3229 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3230 * sysdeps/powerpc/powerpc64/start.S: here.
3231 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3232 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3233 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3234 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3235 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3237 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3238 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3239 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3240 * sysdeps/powerpc/powerpc32/start.S: ... here.
3241 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3242 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3243 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3245 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3246 * sysdeps/powerpc/ifunc-sel.h: ... here.
3247 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3248 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3250 * sysdeps/sparc/elf/configure.in: Moved to ...
3251 * sysdeps/sparc/configure.in: ... here.
3252 * sysdeps/sparc/elf/configure: Delete file.
3253 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3254 * sysdeps/sparc/sparc32/start.S: ... here.
3255 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3256 * sysdeps/sparc/sparc64/start.S: ... here.
3257 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3258 * sysdeps/sparc/sparc32/Makefile: ... this.
3259 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3260 * sysdeps/sparc/sparc64/Makefile: ... this.
3262 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3263 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3264 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3265 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3266 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3267 * sysdeps/s390/s390-32/setjmp.S: ... here.
3268 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3269 * sysdeps/s390/s390-32/configure.in: ... here.
3270 * sysdeps/s390/s390-32/elf/configure: Delete file.
3271 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3272 * sysdeps/s390/s390-32/start.S: ... here.
3274 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3275 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3276 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3277 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3278 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3279 * sysdeps/s390/s390-64/setjmp.S: ... here.
3280 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3281 * sysdeps/s390/s390-64/configure.in: ... here
3282 * sysdeps/s390/s390-64/elf/configure: Delete file.
3283 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3284 * sysdeps/s390/s390-64/start.S: ... here.
3285 * sysdeps/s390/s390-64/elf/configure: Delete.
3287 * configure.in: Remove support for elf directories in sysdeps.
3289 * configure: Regenerated.
3290 * sysdeps/i386/configure: Regenerated.
3291 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3292 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3293 * sysdeps/s390/s390-32/configure: Regenerated.
3294 * sysdeps/s390/s390-64/configure: Regenerated.
3295 * sysdeps/sh/configure: Regenerated.
3296 * sysdeps/sparc/configure: Regenerated.
3297 * sysdeps/x86_64/configure: Regenerated.
3299 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3304 denormal result into account.
3306 2012-03-25 Roland McGrath <roland@hack.frob.com>
3308 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3309 Reported by Allan McRae <allan@archlinux.org>.
3311 2012-03-23 Jeff Law <law@redhat.com>
3313 * nss/getnssent.c (__nss_getent): Fix typo.
3315 2012-03-23 David S. Miller <davem@davemloft.net>
3317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3319 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3321 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3322 to pad to uint64_t for each field.
3323 (dl_tls_index): Replace unsigned long with uint64_t.
3325 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3326 Paul Pluzhnikov <ppluzhnikov@google.com>
3329 * grp/Makefile (otherlibs): Don't set it.
3330 * inet/Makefile (otherlibs): Likewise.
3331 * login/Makefile (otherlibs): Likewise.
3332 * nscd/Makefile (otherlibs): Likewise.
3333 * posix/Makefile (otherlibs): Likewise.
3334 * pwd/Makefile (otherlibs): Likewise.
3335 * rt/Makefile (otherlibs): Likewise.
3336 * sunrpc/Makefile (otherlibs): Likewise.
3337 * nss/Makefile (otherlibs): Likewise.
3338 Add libnss_files to routines and static-only-routines.
3339 ($(objpfx)getent): Remove rule.
3340 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3341 static-only-routines.
3343 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3346 * math/s_cexp.c: Include <float.h>.
3347 (__cexp): Handle exp result overflowing not necessarily
3348 overflowing both real and imaginary parts of result.
3349 * math/s_cexpf.c: Likewise.
3350 * math/s_cexpl.c: Likewise.
3351 * math/libm-test.inc (cexp_test): Add more tests.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3357 * include/link.h (ELFW): New macro.
3358 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3359 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3361 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3363 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3368 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3370 (struct La_x32_retval): Likewise.
3372 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/x86_64/preconfigure.in: New file.
3375 * sysdeps/x86_64/preconfigure: New generated file.
3377 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3380 * math/e_exp2l.c: Include <float.h>.
3381 (__ieee754_exp2l): Handle overflow and underflow cases
3382 separately. Only pass fractional part of argument to
3384 * math/libm-test.inc (exp2_test): Add more tests.
3386 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3387 negating x to take absolute value.
3388 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3390 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3391 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3393 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3394 computing low part if x was negated.
3395 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3397 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3399 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3401 (pltexit): Cast int_retval to ptrdiff_t.
3402 * elf/tst-auditmod3b.c: Likewise.
3403 * elf/tst-auditmod4b.c: Likewise.
3404 * elf/tst-auditmod5b.c: Likewise.
3405 * elf/tst-auditmod6b.c: Likewise.
3406 * elf/tst-auditmod6c.c: Likewise.
3407 * elf/tst-auditmod7b.c: Likewise.
3409 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3410 and x32_gnu_pltexit.
3412 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3414 (La_x32_regs): New macro.
3415 (La_x32_retval): Likewise.
3416 (la_x32_gnu_pltenter): New function prototype.
3417 (la_x32_gnu_pltexit): Likewise.
3419 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3426 * configure.in (libc_cv_cc_nofma): Check for option to disable
3427 generation of FMA instructions.
3428 * configure: Regenerate.
3429 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3430 * sysdeps/ieee754/dbl-64/Makefile: New file.
3431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3432 Remove brandred-fma4.
3433 (CFLAGS-brandred-fma4.c): Remove.
3434 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3440 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3442 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3443 LLONG_MAX != LONG_MAX.
3444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3445 (_fitoa_word): Likewise.
3446 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3447 LLONG_MAX != LONG_MAX.
3448 * stdio-common/_itowa.h: Include <_itoa.h>.
3449 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3450 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3451 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3452 only if not defined.
3453 (_ITOA_WORD_TYPE): Likewise.
3454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3455 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3457 2012-03-21 David S. Miller <davem@davemloft.net>
3459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3461 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3463 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3464 of x86_64 when setting libc_cv_slibdir, libdir and
3466 * sysdeps/unix/sysv/linux/configure: Regenerated.
3468 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3470 * manual/lang.texi (Old Varargs): Remove section.
3471 (How Variadic): Update menu.
3472 (va_start): Do not mention varargs.h.
3474 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3475 Joseph Myers <joseph@codesourcery.com>
3477 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3479 * configure: Regenerated.
3481 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3483 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3484 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3487 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3490 * Makefile (files-for-dist): Remove NOTES.
3491 (NOTES): Remove rule.
3492 * README: Don't refer to NOTES.
3493 * manual/creature.texi: Don't include macros.texi.
3494 * manual/intro.texi (creature.texi): Remove comment referring to
3497 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3498 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3499 * configure: Regenerated.
3500 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3502 (libc_cv_as_i686): Likewise.
3503 (libc_cv_cc_avx): Likewise.
3504 (libc_cv_cc_sse2avx): Likewise.
3505 (libc_cv_cc_fma4): Likewise.
3506 (libc_cv_cc_novzeroupper): Likewise.
3507 * sysdeps/i386/configure: Regenerated.
3510 * sysdeps/i386/fpu/s_cexp.S: Remove.
3511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3512 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3513 * math/libm-test.inc (cexp_test): Add more tests.
3514 * sysdeps/i386/fpu/libm-test-ulps: Update.
3515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517 2012-03-21 Allan McRae <allan@archlinux.org>
3519 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3521 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3524 * math/w_exp2.c: Do not include <float.h>.
3525 (o_threshold, u_threshold): Remove.
3526 (__exp2): Calculate result before checking finiteness and calling
3528 * math/w_exp2f.c: Likewise.
3529 * math/w_exp2l.c: Likewise.
3530 * math/libm-test.inc (exp2_test): Require overflow exception for
3534 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3535 range of signed 64-bit integers before using fistpll. Remove
3536 checks for whether integers fit in mantissa bits.
3537 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3538 the range of signed 32-bit integers before using fistpl. Remove
3539 checks for whether integers fit in mantissa bits.
3540 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3541 (__ieee754_powl): Test for y outside the range of signed 64-bit
3542 integers before using fistpll. Reduce 64-bit values to 63-bit
3544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3545 divide-by-zero is raised for zero to large negative powers.
3546 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3547 (__ieee754_powl): Test for y outside the range of signed 64-bit
3548 integers before using fistpll. Reduce 64-bit values to 63-bit
3550 * math/libm-test.inc (pow_test): Add more tests.
3552 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3554 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3555 <stdio-common/_itoa.h>.
3556 * debug/segfault.c: Likewise.
3557 * elf/dl-cache.c: Likewise.
3558 * elf/dl-minimal.c: Likewise.
3559 * elf/dl-misc.c: Likewise.
3560 * elf/dl-sysdep.c: Likewise.
3561 * elf/dl-version.c: Likewise.
3562 * elf/rtld.c: Likewise.
3563 * hurd/hurdsock.c: Likewise.
3564 * hurd/lookup-retry.c: Likewise.
3565 * malloc/malloc.c: Likewise.
3566 * malloc/mtrace.c: Likewise.
3567 * nscd/nscd_getgr_r.c: Likewise.
3568 * nscd/nscd_getpw_r.c: Likewise.
3569 * nscd/nscd_getserv_r.c: Likewise.
3570 * posix/getopt_init.c: Likewise.
3571 * posix/wordexp.c: Likewise.
3572 * stdio-common/_itoa.c: Likewise.
3573 * stdio-common/printf_fphex.c: Likewise.
3574 * stdio-common/vfprintf.c: Likewise.
3575 * string/_strerror.c: Likewise.
3576 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3577 * sysdeps/i386/i686/hp-timing.h: Likewise.
3578 * sysdeps/mach/_strerror.c: Likewise.
3579 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3580 * sysdeps/mach/hurd/sethostid.c: Likewise.
3581 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3582 * sysdeps/mach/xpg-strerror.c: Likewise.
3583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3584 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3585 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3586 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3588 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3589 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3590 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3591 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3592 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3593 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3594 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3595 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3596 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3597 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3600 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3601 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3602 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3603 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3605 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3607 * stdio-common/_itoa.h: Moved to ...
3608 * sysdeps/generic/_itoa.h: Here.
3610 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3612 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3613 instead of "_itoa.h" and "_itowa.h".
3614 * stdio-common/vfprintf.: Likewise.
3616 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3618 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3620 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3621 (__signbit): Likwise.
3625 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3627 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3630 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3632 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3633 OVERFLOW_EXCEPTION_OK.
3634 * math/libm-test.inc ("Philosophy"): Update comment about
3636 (OVERFLOW_EXCEPTION): Define.
3637 (OVERFLOW_EXCEPTION_OK): Likewise.
3638 (INVALID_EXCEPTION_OK): Renumber.
3639 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3640 (IGNORE_ZERO_INF_SIGN): Likewise.
3641 (test_exceptions): Handle FE_OVERFLOW.
3642 (exp10_test): Expect overflow exceptions.
3643 (exp2_test): Likewise.
3644 (expm1_test): Likewise.
3645 (nextafter_test): Likewise.
3646 (pow_test): Likewise.
3647 (scalbn_test): Likewise.
3648 (scalbln_test): Likewise.
3650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3652 * sysdeps/x86_64/bits/atomic.h
3653 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3655 (atomic_exchange_acq): Likewise.
3656 (__arch_exchange_and_add_body): Likewise.
3657 (__arch_add_body): Likewise.
3658 (atomic_add_negative): Likewise.
3659 (atomic_add_zero): Likewise.
3661 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3663 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3664 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3666 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3668 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3669 Check __x86_64__ instead of __WORDSIZE.
3671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3673 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3675 2012-03-19 David S. Miller <davem@davemloft.net>
3677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3679 * sysdeps/sparc/fpu/fenv_private.h: New file.
3680 * sysdeps/sparc/fpu/math_private.h: Use it.
3681 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3684 (libc_feholdexcept_setroundl): Remove.
3685 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3692 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3693 int64_t instead of long int.
3694 (INSERT_WORDS64): Likwise.
3696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3698 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3699 _Unwind_GetCFA return to _Unwind_Ptr first.
3701 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3704 * math/s_clog.c: Include <float.h>.
3705 (__clog): Scale large or subnormal inputs.
3706 * math/s_clogf.c: Likewise.
3707 * math/s_clogl.c: Likewise.
3708 * math/s_clog10.c: Include <float.h>.
3709 (M_LOG10_2): Define.
3710 (__clog10): Scale large or subnormal inputs.
3711 * math/s_clog10f.c: Likewise.
3712 * math/s_clog10l.c: Likewise.
3713 * math/libm-test.inc (clog_test): Add more tests.
3714 (clog10_test): Likewise.
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3721 * math/libm-test.inc (atan2_test): Add another test.
3723 * Makerules (common-objdir-compile): Remove.
3724 * sysdeps/unix/Makefile (config-generated): Do not add
3725 $(unix-generated) to variable.
3726 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3727 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3729 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3731 [generic bits/local_lim.h] (before-compile): Do not append to
3733 [generic bits/local_lim.h] (common-generated): Likewise.
3734 [generic sys/param.h] (before-compile): Do not append to variable.
3735 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3736 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3738 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3740 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3741 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3742 [generic sys/param.h] ($(addprefix
3743 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3744 [generic sys/param.h] (common-generated): Do not append to
3746 [generic sys/param.h] (sysdep_headers): Likewise.
3747 [generic bits/errno.h] (before-compile): Do not append to
3749 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3751 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3752 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3753 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3754 [generic bits/errno.h] (common-generated): Do not append to
3756 [generic bits/ioctls.h] (before-compile): Do not append to
3758 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3760 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3761 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3762 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3764 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3765 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3766 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3767 [generic bits/ioctls.h] (common-generated): Do not append to
3769 [generic sys/syscall.h] (syscall.h): Remove variable.
3770 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3772 [generic sys/syscall.h] (before-compile): Do not append to
3774 [generic sys/syscall.h] (common-generated): Likewise.
3775 * sysdeps/unix/errnos-tmpl.c: Remove file.
3776 * sysdeps/unix/errnos.awk: Likewise.
3777 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3778 * sysdeps/unix/ioctls.awk: Likewise.
3779 * sysdeps/unix/mk-local_lim.c: Likewise.
3780 * sysdeps/unix/snarf-ioctls: Likewise.
3782 2012-03-19 Richard Henderson <rth@twiddle.net>
3784 * sysdeps/i386/fpu/fenv_private.h: New file.
3785 * sysdeps/i386/fpu/math_private.h: Use it.
3786 (math_opt_barrier, math_force_eval): Remove.
3787 (libc_feholdexcept_setround_53bit): Remove.
3788 (libc_feupdateenv_53bit): Remove.
3789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3790 (math_opt_barrier, math_force_eval): Remove.
3791 (libc_feholdexcept): Remove.
3792 (libc_feholdexcept_setround): Remove.
3793 (libc_fetestexcept, libc_fesetenv): Remove.
3794 (libc_feupdateenv_test): Remove.
3795 (libc_feupdateenv, libc_feholdsetround): Remove.
3796 (libc_feresetround): Remove.
3798 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3799 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3801 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3802 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3803 (libc_feupdateenv_testl): New.
3804 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3805 (libc_feupdateenv_testf): New.
3806 (libc_feupdateenv): Use libc_feupdateenv_test.
3807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3808 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3810 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3811 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3812 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3813 (libc_feresetround_noex): New.
3814 (libc_feresetround_noexf): New.
3815 (libc_feresetround_noexl): New.
3816 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3817 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3818 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3824 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3826 SET_RESTORE_ROUND_NOEX.
3827 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3828 SET_RESTORE_ROUND_NOEXF.
3829 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3830 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3831 (libc_feholdsetroundf): New.
3832 (libc_feresetround, libc_feresetroundf): New.
3834 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3835 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3836 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3838 * sysdeps/generic/math_private.h: Include <fenv.h>.
3839 (default_libc_feholdexcept): New.
3840 (default_libc_feholdexcept_setround): New.
3841 (default_libc_fesetenv, default_libc_feupdateenv): New.
3842 (libc_feholdexcept): Only define if undefined.
3843 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3844 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3845 (libc_feholdexcept_setroundl): Likewise.
3846 (libc_feholdexcept_setround_53bit): Likewise.
3847 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3848 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3849 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3850 (libc_feupdateenv_53bit): Likewise.
3851 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3852 (libc_feholdexcept): Convert from macro to inline function.
3853 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3854 (libc_fesetenv, libc_feupdateenv): Likewise.
3856 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3857 not previously defined.
3858 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3859 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3860 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3861 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3862 * sysdeps/ieee754/flt-32/math_private.h: New file.
3863 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3864 math_private.h below SET_FLOAT_WORD.
3865 (__isnan, __isinf_ns, __finite): Remove.
3866 (__isnanf, __isinf_nsf, __finitef): Remove.
3868 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3872 2012-03-17 David S. Miller <davem@davemloft.net>
3875 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3878 2012-03-16 David S. Miller <davem@davemloft.net>
3880 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3886 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3887 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3888 sysdep_routines when subdir is sysvipc.
3889 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3892 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3894 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3899 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3902 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3903 (__lround): Renamed to ...
3904 (__llround): This. Replace long int with long long int.
3905 Define lround functions as aliases of llround functions.
3906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3908 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3910 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3911 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3912 adresses to uintptr_t. Replace "long int" and "unsigned long
3913 int" with "greg_t" on va_arg.
3915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3918 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3920 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3921 Move e_machine check before EI_CLASS check. Handle x32
3922 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3923 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3924 SKIP_EM_IA_64 and include
3925 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3927 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3928 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3929 (add_system_dir): New macro.
3931 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3932 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3934 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3945 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3947 * math/w_j0f.c (j0f): Likewise.
3949 * math/w_j0l.c (__j0l): Likewise.
3951 * math/w_j1.c (j1): Likewise.
3953 * math/w_j1f.c (j1f): Likewise.
3955 * math/w_j1l.c (__j1l): Likewise.
3957 * math/w_jn.c (jn): Likewise.
3959 * math/w_jnf.c (jnf): Likewise.
3961 * math/w_jnl.c (__jnl): Likewise.
3963 * math/libm-test.inc (j0_test): Add more tests.
3964 (j1_test): Likewise.
3965 (jn_test): Likewise. Add trailing semicolon to existing test.
3966 (y0_test): Likewise.
3967 (y1_test): Likewise.
3968 * sysdeps/i386/fpu/libm-test-ulps: Update.
3969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3974 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3975 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3977 (__tanl): Set errno for infinite argument.
3978 * sysdeps/i386/fpu/mptan.c: Remove.
3979 * sysdeps/i386/fpu/s_tan.S: Likewise.
3980 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3981 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3982 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3983 * math/libm-test.inc (tan_test): Add more tests and enable more
3984 tests for double and long double.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3988 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3990 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3991 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3993 2012-03-16 Roland McGrath <roland@hack.frob.com>
3995 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3996 * configure.in: Use it for both main tree and add-ons.
3997 * configure: Regenerated.
3999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4001 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4003 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4005 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4009 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4010 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4015 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4018 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4019 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4020 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4021 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4022 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4023 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4024 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4025 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4026 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4027 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4028 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4029 * math/libm-test.inc (cos_test): Add more tests and enable more
4030 tests for long double.
4031 (sin_test): Likewise.
4032 (sincos_test): Likewise.
4033 * sysdeps/i386/fpu/libm-test-ulps: Update.
4034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4036 2012-03-16 David S. Miller <davem@davemloft.net>
4038 * sysdeps/sparc/fpu/math_private.h: New file.
4040 2012-03-15 David S. Miller <davem@davemloft.net>
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4056 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4057 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4059 * sysdeps/sparc/sparc-ifunc.h: New file.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4103 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4105 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4107 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4111 2012-03-15 Andreas Jaeger <aj@suse.de>
4114 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4115 ieee754/flt-32 implementation for sin, cos and sincos.
4116 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4117 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4118 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4119 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4120 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4121 ieee754/flt-32 implementation for tan.
4123 * math/libm-test.inc (cos_test): Enable some large input tests for
4125 (sin_test): Likewise.
4126 (sincos_test): Likewise.
4127 (tan_test): Add tests for large input.
4129 * sysdeps/i386/fpu/libm-test-ulps: Update.
4131 2012-03-15 Andreas Jaeger <aj@suse.de>
4134 * math/libm-test.inc (cos_test): Add more test cases.
4135 (sin_test): Likewise.
4136 (sincos_test): Likewise.
4138 2012-03-15 Andreas Jaeger <aj@suse.de>
4141 * math/libm-test.inc (cos_test): Add a test case for large input
4143 (sin_test): Likewise.
4144 (sincos_test): Likewise.
4146 2012-03-15 Andreas Jaeger <aj@suse.de>,
4147 Joseph Myers <joseph@codesourcery.com>
4150 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4151 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4152 * sysdeps/i386/fpu/branred.c: Likewise.
4153 * sysdeps/i386/fpu/dosincos.c: Likewise.
4154 * sysdeps/i386/fpu/mpa.c: Likewise.
4155 * sysdeps/i386/fpu/s_cos.S: Likewise.
4156 * sysdeps/i386/fpu/s_sin.S: Likewise.
4157 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4158 * sysdeps/i386/fpu/sincos32.c: Likewise.
4160 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4162 (libc_feupdateenv_53bit): Define.
4163 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4165 (libc_feupdateenv_53bit): Define.
4167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4168 53 bit (without extend i386 double precision).
4170 * math/libm-test.inc (sincos_test): Add tests for large input.
4174 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4176 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4180 2012-03-15 David S. Miller <davem@davemloft.net>
4182 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4185 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4210 fmin/fmax sysdep routines.
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4213 2012-03-14 David S. Miller <davem@davemloft.net>
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4292 * sysdeps/sparc/configure.in: New file.
4293 * sysdeps/sparc/configure: Generate.
4294 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4295 * configure: Regenerate.
4296 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4297 * config.make.in (have-as-vis3): New.
4298 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4299 available use -Av9d instead of -Av9a.
4300 * sysdeps/sparc/sparc64/Makefile: Likewise.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4316 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4317 fzeros/fnegs to load 0x80000000 into a float register instead of
4319 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4321 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4325 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4326 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4327 ($(inst_includedir)/bits/syscall.h): Remove rule.
4328 ($(objpfx)bits/syscall.d): Include instead of
4329 $(objpfx)syscall-list.d.
4330 (generated): Change syscall-list.h and syscall-list.d to
4331 bits/syscall.h and bits/syscall.d.
4333 2012-03-14 Roland McGrath <roland@hack.frob.com>
4336 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4338 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4341 * math/s_csqrt.c: Include <float.h>.
4342 (__csqrt): Scale large or subnormal inputs.
4343 * math/s_csqrtf.c: Likewise.
4344 * math/s_csqrtl.c: Likewise.
4345 * math/libm-test.inc (csqrt_test): Add more tests.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4350 * math/libm-test.inc (hypot_test): Add more tests.
4352 2012-03-13 David S. Miller <davem@davemloft.net>
4355 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4356 double-precision for the calculation instead of scaling.
4358 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4361 manipulate bits before adding and subtracting TWO52[sx].
4362 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4367 2012-03-13 David S. Miller <davem@davemloft.net>
4369 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4370 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4372 rtld-global-offsets.h
4373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4375 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4378 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4380 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4381 'err' in the ifdef scope in which it is actually used.
4383 * nss/nss_db/db-init.c: Include string.h
4385 2012-03-12 David S. Miller <davem@davemloft.net>
4387 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4388 masking out of the most significant byte of random value used.
4389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4390 Fix coding style in previous change.
4392 * sysdeps/unix/sysv/linux/kernel-features.h
4393 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4394 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4396 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4399 2012-03-11 David S. Miller <davem@davemloft.net>
4401 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4402 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4404 for 'resultvar' otherwise things get truncated on 64-bit.
4406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4407 Fix masking out of the most significant byte of random value used.
4409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4411 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4415 2012-03-09 David S. Miller <davem@davemloft.net>
4417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4418 variables with appropriate CPP guards.
4419 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4420 frame pointer, not the stack pointer. Correct layout comments. Fix test
4421 on resulting framesize and the management of the outregs buffer for pltexit.
4422 Preserve floating point return values across _dl_call_pltexit call.
4423 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4424 framesize and the management of the outregs buffer for pltexit.
4425 Preserve floating point return values across _dl_call_pltexit
4427 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4428 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4429 (print_exit): Fix format string for return register value.
4431 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4433 * sunrpc/Makefile (others): Add rpcgen.
4434 ($(objpfx)rpcgen): Remove special build rule and dependency on
4436 * sunrpc/rpcgen.c: New file.
4438 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4441 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4442 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4443 * sysdeps/i386/crti.S: Likewise.
4444 * sysdeps/i386/crtn.S: Likewise.
4445 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4446 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4447 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4448 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4449 * sysdeps/sh/crti.S: Likewise.
4450 * sysdeps/sh/crtn.S: Likewise.
4451 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4454 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4456 * locale/programs/locfile-kw.gperf: Likewise.
4457 * locale/programs/charmap-kw.h: Regenerated.
4458 * locale/programs/locfile-kw.h: Likewise.
4461 * intl/plural.y: Replace FSF snail mail address with URL.
4462 * intl/plural.c: Regenerated.
4464 2012-03-09 Richard Henderson <rth@twiddle.net>
4466 * include/math_private.h: Remove file.
4467 * math/math_private.h: Move file ...
4468 * sysdeps/generic/math_private.h: ... here.
4470 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4471 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4472 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4474 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4475 and <math_private.h>.
4476 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4477 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4478 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4479 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4480 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4564 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4565 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4566 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4567 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4570 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4571 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4573 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4577 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4578 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4581 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4585 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4586 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4593 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4594 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4595 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4596 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4597 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4598 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4607 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4609 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4610 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4611 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4612 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4613 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4614 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4615 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4617 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4618 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4619 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4621 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4622 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4623 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4624 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4625 * sysdeps/ieee754/k_standard.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4745 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4748 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4786 * sysdeps/ieee754/s_lib_version.c: Likewise.
4787 * sysdeps/ieee754/s_matherr.c: Likewise.
4788 * sysdeps/ieee754/s_signgam.c: Likewise.
4789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4791 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4792 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4793 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4794 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4795 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4796 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4797 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4798 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4799 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4800 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4801 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4802 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4803 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4805 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4806 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4811 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4813 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4814 * sunrpc/rpc_main.c: Likewise.
4815 * sunrpc/rpc_svcout.c: Likewise.
4817 2012-03-09 David S. Miller <davem@davemloft.net>
4819 * include/math_private.h: New file.
4821 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4823 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4824 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4825 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4826 from <bits/socket_type.h>.
4827 (enum __socket_type): Don't define here.
4828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4833 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4836 * Makerules ($(inst_includedir)/%.h): New rule.
4837 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4838 (install-others): Remove variable setting.
4839 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4841 2012-03-08 Richard Henderson <rth@twiddle.net>
4843 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4844 from macro to inline function; merge with the
4845 !__LIBC_INTERNAL_MATH_INLINES version.
4846 (__ieee754_sqrtf): Likewise.
4848 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4850 (__rintf, __floor, __floorf): Likewise.
4852 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4853 macro to inline function.
4854 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4857 not <math/math_private.h>.
4859 2012-03-08 David S. Miller <davem@davemloft.net>
4861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4863 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4865 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4867 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4869 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4870 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4872 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4874 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4875 be defined individually, they must be defined as a block. Define
4876 S for printing a string instead of hidint the different by using a
4877 macro for adding the 'l'.
4878 * stdio-common/tst-fphex-wide.c: Adjust.
4880 2012-03-07 Marek Polacek <polacek@redhat.com>
4882 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4884 2012-03-08 Marek Polacek <polacek@redhat.com>
4887 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4888 * stdio-common/tst-fphex.c: Define a few macros to make the
4889 test reusable. Use them.
4890 * stdio-common/tst-fphex-wide.c: New file.
4892 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4895 * manual/macros.texi (gnusystems): New macro.
4896 (nongnusystems): Likewise.
4897 (gnulinuxhurdsystems): Likewise.
4898 (gnuhurdsystems): Likewise..
4899 (gnulinuxsystems): Likewise.
4900 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4901 variants of the GNU system, not "GNU system".
4902 * manual/conf.texi: Likewise.
4903 * manual/errno.texi: Likewise. Update example of errno macro
4905 * manual/filesys.texi: Likewise.
4906 (getumask): Document as specific to GNU/Hurd.
4907 * manual/install.texi: Likewise. Reword some references to
4909 * manual/intro.texi: Likewise.
4910 * manual/io.texi: Likewise.
4911 (File Name Portability): Detail which constraints are inapplicable
4912 to all GNU systems and which are only inapplicable to GNU/Hurd.
4913 * manual/job.texi: Likewise.
4914 * manual/llio.texi: Likewise.
4915 (O_NOCTTY): Document as present on GNU/Linux.
4916 * manual/maint.texi: Likewise.
4917 * manual/memory.texi: Likewise.
4918 * manual/pattern.texi: Likewise.
4919 * manual/pipe.texi: Likewise.
4920 * manual/process.texi: Likewise.
4921 * manual/resource.texi: Likewise.
4922 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4924 * manual/setjmp.texi: Likewise.
4925 * manual/signal.texi: Likewise.
4926 * manual/startup.texi: Likewise.
4927 * manual/stdio.texi: Likewise.
4928 * manual/terminal.texi: Likewise.
4929 (ONLCR): Document as POSIX.
4930 (OXTABS): Document availability on GNU/Linux as XTABS.
4931 (ONOEOT): Document availability separately from other bits.
4932 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4933 * manual/time.texi: Likewise.
4934 * manual/users.texi: Likewise.
4935 * INSTALL: Regenerated.
4936 * sysdeps/gnu/errlist.c: Regenerated.
4938 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4939 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4940 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4942 * configure: Regenerated.
4944 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4946 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4947 default includes instead of AC_HEADER_CHECK.
4948 * sysdeps/i386/configure: Regenerated.
4951 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4952 * math/s_cacoshf.c (__cacoshf): Likewise.
4953 * math/s_cacoshl.c (__cacoshl): Likewise.
4954 * math/s_casinh.c (__casinh): Set signs of result from argument.
4955 * math/s_casinhf.c (__casinhf): Likewise.
4956 * math/s_casinhl.c (__casinhl): Likewise.
4957 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4958 (casinh_test): Add more tests.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4964 * po/zh_TW.po: Update from translation team.
4966 * login/Makefile (distribute): Remove variable.
4967 * catgets/Makefile: Likewise.
4968 * mach/Makefile: Likewise.
4969 * malloc/Makefile: Likewise.
4970 * misc/Makefile: Likewise.
4971 * iconv/Makefile: Likewise.
4972 * nscd/Makefile: Likewise.
4973 * hurd/Makefile: Likewise.
4974 * manual/Makefile: Likewise.
4975 * locale/Makefile: Likewise.
4976 * intl/Makefile: Likewise.
4977 * conform/Makefile: Likewise.
4978 * nss/Makefile: Likewise.
4979 * time/Makefile: Likewise.
4980 * soft-fp/Makefile: Likewise.
4981 * dirent/Makefile: Likewise.
4982 * gmon/Makefile: Likewise.
4983 * po/Makefile: Likewise.
4984 * rt/Makefile: Likewise.
4985 * socket/Makefile: Likewise.
4986 * math/Makefile: Likewise.
4987 * signal/Makefile: Likewise.
4988 * debug/Makefile: Likewise.
4989 * elf/Makefile: Likewise.
4990 * timezone/Makefile: Likewise.
4991 * stdlib/Makefile: Likewise.
4992 * iconvdata/Makefile: Likewise.
4993 * sunrpc/Makefile: Likewise.
4994 * io/Makefile: Likewise.
4995 * argp/Makefile: Likewise.
4996 * inet/Makefile: Likewise.
4997 * hesiod/Makefile: Likewise.
4998 * grp/Makefile: Likewise.
4999 * csu/Makefile: Likewise.
5000 * wctype/Makefile: Likewise.
5001 * crypt/Makefile: Likewise.
5002 * libio/Makefile: Likewise.
5003 * string/Makefile: Likewise.
5004 * nis/Makefile: Likewise.
5005 * resolv/Makefile: Likewise.
5006 * stdio-common/Makefile: Likewise.
5007 * wcsmbs/Makefile: Likewise.
5008 * dlfcn/Makefile: Likewise.
5009 * posix/Makefile: Likewise.
5012 * timezone/Makefile: Don't install timezone files, just the programs
5015 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5017 * nss/databases.def: Add missing gshadow entry.
5019 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5021 2012-03-06 Marek Polacek <polacek@redhat.com>
5024 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5025 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5026 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5027 * stdio-common/tst-long-dbl-fphex.c: New file.
5029 2012-03-06 David S. Miller <davem@davemloft.net>
5031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5032 (set_obp_int): New function.
5033 (get_obp_int): New function.
5034 (__get_clockfreq_via_dev_openprom): Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5036 Avoid unused variable warnings on 'val' and use builtin_expect.
5037 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5039 (INLINE_CLONE_SYSCALL): Likewise.
5041 2012-03-05 David S. Miller <davem@davemloft.net>
5043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5045 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5053 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5056 Replace gettimeofday with __vdso_gettimeofday.
5058 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5059 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5060 __vdso_clock_gettime and __vdso_getcpu.
5062 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5063 time with __vdso_time.
5065 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5067 * manual/lang.texi (size_t): Note types to which size_t may be
5068 equivalent with the GNU C Library, but do not describe when
5069 differences between them are significant.
5071 2012-03-05 Andreas Jaeger <aj@suse.de>
5073 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5078 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5079 (__ieee754_pow): Save and restore rounding mode and use
5080 round-to-nearest for main computations.
5081 * math/libm-test.inc (pow_test_tonearest): New function.
5082 (pow_test_towardzero): Likewise.
5083 (pow_test_downward): Likewise.
5084 (pow_test_upward): Likewise.
5085 (main): Call the new functions.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090 * math/libm-test.inc (cosh_test_tonearest): New function.
5091 (cosh_test_towardzero): Likewise.
5092 (cosh_test_downward): Likewise.
5093 (cosh_test_upward): Likewise.
5094 (sinh_test_tonearest): Likewise.
5095 (sinh_test_towardzero): Likewise.
5096 (sinh_test_downward): Likewise.
5097 (sinh_test_upward): Likewise.
5098 (main): Call the new functions.
5099 * sysdeps/i386/fpu/libm-test-ulps: Update.
5100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102 2012-03-05 Tom de Vries <tom@codesourcery.com>
5104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5105 default stack guard is set in last bytes.
5106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5108 2012-03-05 Kees Cook <keescook@chromium.org>
5110 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5113 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5114 possibly allocate from heap instead of stack.
5115 * stdio-common/bug-vfprintf-nargs.c: New file.
5116 * stdio-common/Makefile (tests): Add nargs overflow test.
5118 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5122 2012-03-03 Marek Polacek <polacek@redhat.com>
5124 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5125 * math/math_private.h: Likewise.
5126 * stdlib/tst-strtod.c: Likewise.
5127 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5128 * sysdeps/x86_64/bits/atomic.h: Likewise.
5130 2012-03-02 David S. Miller <davem@davemloft.net>
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5136 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5137 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5139 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5141 2012-03-02 Roland McGrath <roland@hack.frob.com>
5144 * manual/examples/README: New file, says the example source files
5145 can be used under GPL>=2.
5146 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5147 line containing just "*/".
5148 * manual/examples/add.c: Add copyright header (GPL>=2).
5149 * manual/examples/argp-ex1.c: Likewise.
5150 * manual/examples/argp-ex2.c: Likewise.
5151 * manual/examples/argp-ex3.c: Likewise.
5152 * manual/examples/argp-ex4.c: Likewise.
5153 * manual/examples/atexit.c: Likewise.
5154 * manual/examples/db.c: Likewise.
5155 * manual/examples/dir.c: Likewise.
5156 * manual/examples/dir2.c: Likewise.
5157 * manual/examples/execinfo.c: Likewise.
5158 * manual/examples/filecli.c: Likewise.
5159 * manual/examples/filesrv.c: Likewise.
5160 * manual/examples/fmtmsgexpl.c: Likewise.
5161 * manual/examples/genpass.c: Likewise.
5162 * manual/examples/inetcli.c: Likewise.
5163 * manual/examples/inetsrv.c: Likewise.
5164 * manual/examples/isockad.c: Likewise.
5165 * manual/examples/longopt.c: Likewise.
5166 * manual/examples/memopen.c: Likewise.
5167 * manual/examples/memstrm.c: Likewise.
5168 * manual/examples/mkfsock.c: Likewise.
5169 * manual/examples/mkisock.c: Likewise.
5170 * manual/examples/mygetpass.c: Likewise.
5171 * manual/examples/pipe.c: Likewise.
5172 * manual/examples/popen.c: Likewise.
5173 * manual/examples/rprintf.c: Likewise.
5174 * manual/examples/search.c: Likewise.
5175 * manual/examples/select.c: Likewise.
5176 * manual/examples/setjmp.c: Likewise.
5177 * manual/examples/sigh1.c: Likewise.
5178 * manual/examples/sigusr.c: Likewise.
5179 * manual/examples/stpcpy.c: Likewise.
5180 * manual/examples/strdupa.c: Likewise.
5181 * manual/examples/strftim.c: Likewise.
5182 * manual/examples/strncat.c: Likewise.
5183 * manual/examples/subopt.c: Likewise.
5184 * manual/examples/swapcontext.c: Likewise.
5185 * manual/examples/termios.c: Likewise.
5186 * manual/examples/testopt.c: Likewise.
5187 * manual/examples/testpass.c: Likewise.
5188 * manual/examples/timeval_subtract.c: Likewise.
5191 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5193 * manual/timeval_subtract.c.texi: ... here, new file.
5195 2012-03-02 David S. Miller <davem@davemloft.net>
5197 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5199 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5202 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5203 (__sin): Save and restore rounding mode and use round-to-nearest
5204 for all computations.
5205 (__cos): Save and restore rounding mode and use round-to-nearest
5206 for all computations.
5207 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5209 (tan): Save and restore rounding mode and use round-to-nearest for
5211 * math/libm-test.inc (cos_test_tonearest): New function.
5212 (cos_test_towardzero): Likewise.
5213 (cos_test_downward): Likewise.
5214 (cos_test_upward): Likewise.
5215 (sin_test_tonearest): Likewise.
5216 (sin_test_towardzero): Likewise.
5217 (sin_test_downward): Likewise.
5218 (sin_test_upward): Likewise.
5219 (tan_test_tonearest): Likewise.
5220 (tan_test_towardzero): Likewise.
5221 (tan_test_downward): Likewise.
5222 (tan_test_upward): Likewise.
5223 (main): Call the new functions.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5228 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5229 small n, then large n, before computing and testing k+n.
5230 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5231 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5235 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5236 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5243 * math/libm-test.inc (scalbn_test): Add more tests.
5244 (scalbln_test): Likewise.
5246 * manual/filesys.texi (mode_t): Describe constraints on size and
5247 signedness, not exact equivalence to a particular type.
5249 (ino64_t): Likewise.
5251 (nlink_t): Likewise.
5252 (blkcnt_t): Likewise.
5253 (blkcnt64_t): Likewise.
5254 * manual/llio.texi (off_t): Likewise.
5257 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5258 (__ieee754_exp): Save and restore rounding mode and use
5259 round-to-nearest for all computations.
5260 * math/libm-test.inc (exp_test_tonearest): New function.
5261 (exp_test_towardzero): Likewise.
5262 (exp_test_downward): Likewise.
5263 (exp_test_upward): Likewise.
5264 (main): Call the new functions.
5265 * sysdeps/i386/fpu/libm-test-ulps: Update.
5266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5268 2012-03-01 Chris Demetriou <cgd@google.com>
5270 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5271 have predictable order.
5273 2012-03-01 David S. Miller <davem@davemloft.net>
5275 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5277 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5278 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5279 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5280 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5282 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5283 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5284 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5286 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5287 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5288 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5289 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5290 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5295 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5296 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5298 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5299 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5300 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5301 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5302 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5305 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5306 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5307 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5308 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5311 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5314 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5315 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5316 * sysdeps/sparc/elf/configure: Regenerated.
5318 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5320 * configure.in (AS, LD): Require binutils 2.20 or later.
5321 * configure: Regenerated.
5322 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5323 as required minimum version.
5324 * INSTALL: Regenerated.
5328 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5329 before squaring exponent.
5330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5331 bottom long double and 27 bits of top long double before squaring
5333 * math/libm-test.inc (erfc_test): Add more tests.
5334 * sysdeps/i386/fpu/libm-test-ulps: Update.
5335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5338 2012-03-01 Kai Tietz <ktietz@redhat.com>
5340 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5341 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5342 containing bit-fields.
5343 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5344 * soft-fp/single.h (_FP_UNION_S): Likewise.
5345 * soft-fp/double.h (_FP_UNION_D): Likewise.
5347 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5350 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5351 not include ../strcmp.S.
5352 [USE_AS_STRNCASECMP_L]: Likewise.
5353 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5354 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5355 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5356 (__strncasecmp_l_ia32): Define as alias to
5357 __strncasecmp_l_nonascii.
5360 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5361 * sysdeps/i386/fpu/libm-test-ulps: Update.
5362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367 2012-02-29 Jeff Law <law@redhat.com>
5369 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5372 2012-02-29 Marek Polacek <polacek@redhat.com>
5375 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5376 * elf/Makefile: Add rules to run tst-unused-dep.out.
5378 2012-02-28 David S. Miller <davem@davemloft.net>
5380 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5381 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5384 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5385 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5387 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5389 * math/libm-test.inc (llround_test): Move one test from
5390 lround_test. Use TEST_f_L in moved test.
5391 (lround_test): Move misplaced test to llround_test. Add testcase
5394 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5396 * sysdeps/x86_64/fpu/e_expf.S: New file.
5397 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5399 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5402 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5403 of remain_len that may cause incomplete multi-byte character and
5405 * posix/bug-regex33.c: New file.
5406 * posix/Makefile (tests): Add bug-regex33.
5408 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5410 * manual/macros.texi: New file.
5411 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5412 * manual/libc.texinfo: Include macros.texi.
5413 * manual/creatute.texi: Likewise.
5414 * manual/install.texi: Likewise.
5415 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5416 @glibcadj{} in references to the GNU C Library.
5417 * manual/charset.texi: Likewise.
5418 * manual/conf.texi: Likewise.
5419 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5420 when not using those macros.
5421 * manual/creature.texi: Likewise.
5422 * manual/crypt.texi: Likewise.
5423 * manual/errno.texi: Likewise.
5424 * manual/filesys.texi: Likewise.
5425 * manual/header.texi: Likewise.
5426 * manual/install.texi: Likewise.
5427 * manual/intro.texi: Likewise.
5428 * manual/io.texi: Likewise.
5429 * manual/job.texi: Likewise.
5430 * manual/lang.texi: Likewise.
5431 * manual/libc.texiinfo: Likewise.
5432 * manual/llio.texi: Likewise.
5433 * manual/locale.texi: Likewise.
5434 * manual/maint.texi: Likewise.
5435 * manual/math.texi: Likewise.
5436 * manual/memory.texi: Likewise.
5437 * manual/message.texi: Likewise.
5438 * manual/nss.texi: Likewise.
5439 * manual/pattern.texi: Likewise.
5440 * manual/process.texi: Likewise.
5441 * manual/resource.texi: Likewise.
5442 * manual/search.texi: Likewise.
5443 * manual/setjmp.texi: Likewise.
5444 * manual/signal.texi: Likewise.
5445 * manual/socket.texi: Likewise.
5446 * manual/startup.texi: Likewise.
5447 * manual/stdio.texi: Likewise.
5448 * manual/string.texi: Likewise.
5449 * manual/sysinfo.texi: Likewise.
5450 * manual/syslog.texi: Likewise.
5451 * manual/terminal.texi: Likewise.
5452 * manual/time.texi: Likewise.
5453 * manual/users.texi: Likewise.
5454 * INSTALL: Regenerated.
5455 * NOTES: Regenerated.
5456 * sysdeps/gnu/errlist.c: Regenerated.
5458 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5460 * include/dirent.h: Include <dirstream.h> before
5463 2012-02-28 David S. Miller <davem@davemloft.net>
5465 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5466 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5467 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5468 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5470 2012-02-27 David S. Miller <davem@davemloft.net>
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5474 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5475 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5478 frame pointer instead of stack pointer relative arg slot.
5479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5480 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5481 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5483 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5486 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5488 2012-02-27 David S. Miller <davem@davemloft.net>
5490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5496 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5497 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5499 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5501 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5502 later. Allow versions 5-9.
5503 * configure: Regenerated.
5504 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5505 required minimum version and 4.6 as recommended version. Do not
5506 mention bugs in GCC 2.7 and 2.8.
5507 * INSTALL: Regenerated.
5509 2012-02-27 David S. Miller <davem@davemloft.net>
5511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5517 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5521 manipulate bits before adding and subtracting TWO112[sx].
5522 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5524 2012-02-27 Roland McGrath <roland@hack.frob.com>
5527 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5528 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5529 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5530 being in POSIX, because they are in 1003.1-2008.
5532 * rt/tst-aio.c: Include <fcntl.h>.
5533 * rt/tst-aio7.c: Likewise.
5534 * rt/tst-aio64.c: Likewise.
5536 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5538 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5540 * manual/install.texi (--with-headers): Describe headers as
5541 interface headers, not private headers.
5542 (Specific advice for GNU/Linux systems): Describe use of headers
5543 from "make headers_install", not private headers from older
5545 * INSTALL: Regenerated.
5546 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5548 * sysdeps/unix/sysv/linux/configure: Regenerated.
5550 * manual/llio.texi (fclean): Remove documentation.
5552 * manual/Makefile (libc-texi-generated): New variable. Include
5554 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5555 $(libc-texi-generated), not duplicated list of files.
5556 (version.texi, stamp-version): New rules.
5557 (realclean): Remove $(libc-texi-generated), not individual files
5558 from that list. Do not remove dir-add.texinfo.
5559 * manual/libc.texinfo: Comment out uses of edition numbers and
5560 references to printed manual. Remove last-updated dates.
5561 (EDITION): Comment out.
5563 (VERSION, UPDATED): Remove.
5564 (version.texi): Include.
5566 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5568 * sysdeps/posix/spawni.c: Include <signal.h>.
5569 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5570 * sysdeps/pthread/aio_fsync.c: Likewise.
5572 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5574 * conform/Makefile (tests): Run only when not cross-compiling and
5575 when fast-check is not defined.
5577 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5578 * conform/data/limits.h-data: Fixes for POSIX2008.
5579 * conform/run-conformtest.sh: Run all tests.
5580 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5582 * include/bits/dlfcn.h: Likewise.
5583 * include/langinfo.h: Likewise.
5584 * include/monetary.h: Likewise.
5585 * include/sys/poll.h: Likewise.
5587 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5589 * posix/spawn.h: Define __need_sigset_t.
5590 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5591 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5592 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5593 to get sigevent_t only.
5594 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5597 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5598 process_vm_writev only for __USE_GNU.
5599 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5601 * conform/Makefile: For now ignore errors from run-conformtest.
5602 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5603 POSIX to avoid namespace pollution. Don't prepend headers.
5604 * conform/data/aio.h-data: Fixes for POSIX testing.
5605 * conform/data/fcntl.h-data: Likewise.
5606 * conform/data/glob.h-data: Likewise.
5607 * conform/data/grp.h-data: Likewise.
5608 * conform/data/pthread.h-data: Likewise.
5609 * conform/data/pwd.h-data: Likewise.
5610 * conform/data/signal.h-data: Likewise.
5611 * conform/data/spawn.h-data: Likewise.
5612 * conform/data/stdio.h-data: Likewise.
5613 * conform/data/stdlib.h-data: Likewise.
5614 * conform/data/stropts.h-data: Likewise.
5615 * conform/data/sys/mman.h-data: Likewise.
5616 * conform/data/sys/stat.h-data: Likewise.
5617 * conform/data/sys/types.h-data: Likewise.
5618 * conform/data/sys/wait.h-data: Likewise.
5619 * conform/data/time.h-data: Likewise.
5620 * conform/data/unistd.h-data: Likewise.
5621 * conform/data/utime.h-data: Likewise.
5623 * io/sys/stat.h: fchmod was always in POSIX.
5624 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5625 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5626 * rt/aio.h: Define __need_timespec before including <time.h>.
5627 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5628 struct. Add forward declaration of pthread_attr_t and use it in
5630 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5631 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5632 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5633 always remove CLK_TCK definition.
5635 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5637 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5639 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5641 * conform/run-conformtest.sh: New file.
5642 * conform/Makefile: Run run-conformtest for tests.
5643 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5646 * conform/data/uchar.h-data: New file.
5647 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5648 * conform/data/arpa/inet.h-data: Likewise.
5649 * conform/data/assert.h-data: Likewise.
5650 * conform/data/complex.h-data: Likewise.
5651 * conform/data/cpio.h-data: Likewise.
5652 * conform/data/ctype.h-data: Likewise.
5653 * conform/data/dirent.h-data: Likewise.
5654 * conform/data/dlfcn.h-data: Likewise.
5655 * conform/data/errno.h-data: Likewise.
5656 * conform/data/fcntl.h-data: Likewise.
5657 * conform/data/float.h-data: Likewise.
5658 * conform/data/fmtmsg.h-data: Likewise.
5659 * conform/data/fnmatch.h-data: Likewise.
5660 * conform/data/ftw.h-data: Likewise.
5661 * conform/data/glob.h-data: Likewise.
5662 * conform/data/grp.h-data: Likewise.
5663 * conform/data/iconv.h-data: Likewise.
5664 * conform/data/inttypes.h-data: Likewise.
5665 * conform/data/langinfo.h-data: Likewise.
5666 * conform/data/libgen.h-data: Likewise.
5667 * conform/data/limits.h-data: Likewise.
5668 * conform/data/locale.h-data: Likewise.
5669 * conform/data/math.h-data: Likewise.
5670 * conform/data/monetary.h-data: Likewise.
5671 * conform/data/mqueue.h-data: Likewise.
5672 * conform/data/ndbm.h-data: Likewise.
5673 * conform/data/net/if.h-data: Likewise.
5674 * conform/data/netdb.h-data: Likewise.
5675 * conform/data/netinet/in.h-data: Likewise.
5676 * conform/data/nl_types.h-data: Likewise.
5677 * conform/data/poll.h-data: Likewise.
5678 * conform/data/pthread.h-data: Likewise.
5679 * conform/data/pwd.h-data: Likewise.
5680 * conform/data/regex.h-data: Likewise.
5681 * conform/data/sched.h-data: Likewise.
5682 * conform/data/search.h-data: Likewise.
5683 * conform/data/semaphore.h-data: Likewise.
5684 * conform/data/setjmp.h-data: Likewise.
5685 * conform/data/signal.h-data: Likewise.
5686 * conform/data/spawn.h-data: Likewise.
5687 * conform/data/stdarg.h-data: Likewise.
5688 * conform/data/stdio.h-data: Likewise.
5689 * conform/data/stdlib.h-data: Likewise.
5690 * conform/data/string.h-data: Likewise.
5691 * conform/data/strings.h-data: Likewise.
5692 * conform/data/stropts.h-data: Likewise.
5693 * conform/data/sys/ipc.h-data: Likewise.
5694 * conform/data/sys/mman.h-data: Likewise.
5695 * conform/data/sys/msg.h-data: Likewise.
5696 * conform/data/sys/resource.h-data: Likewise.
5697 * conform/data/sys/select.h-data: Likewise.
5698 * conform/data/sys/sem.h-data: Likewise.
5699 * conform/data/sys/shm.h-data: Likewise.
5700 * conform/data/sys/socket.h-data: Likewise.
5701 * conform/data/sys/stat.h-data: Likewise.
5702 * conform/data/sys/statvfs.h-data: Likewise.
5703 * conform/data/sys/time.h-data: Likewise.
5704 * conform/data/sys/timeb.h-data: Likewise.
5705 * conform/data/sys/times.h-data: Likewise.
5706 * conform/data/sys/types.h-data: Likewise.
5707 * conform/data/sys/uio.h-data: Likewise.
5708 * conform/data/sys/un.h-data: Likewise.
5709 * conform/data/sys/utsname.h-data: Likewise.
5710 * conform/data/sys/wait.h-data: Likewise.
5711 * conform/data/syslog.h-data: Likewise.
5712 * conform/data/tar.h-data: Likewise.
5713 * conform/data/termios.h-data: Likewise.
5714 * conform/data/utime.h-data: Likewise.
5715 * conform/data/utmpx.h-data: Likewise.
5716 * conform/data/varargs.h-data: Likewise.
5717 * conform/data/wchar.h-data: Likewise.
5718 * conform/data/wctype.h-data: Likewise.
5719 * conform/data/wordexp.h-data: Likewise.
5721 * include/stropts.h: New file.
5722 * include/uchar.h: New file.
5723 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5724 * include/assert.h: Likewise.
5725 * include/ctype.h: Likewise.
5726 * include/dirent.h: Likewise.
5727 * include/dlfcn.h: Likewise.
5728 * include/fcntl.h: Likewise.
5729 * include/fnmatch.h: Likewise.
5730 * include/glob.h: Likewise.
5731 * include/grp.h: Likewise.
5732 * include/libio.h: Likewise.
5733 * include/locale.h: Likewise.
5734 * include/math.h: Likewise.
5735 * include/net/if.h: Likewise.
5736 * include/netdb.h: Likewise.
5737 * include/netinet/in.h: Likewise.
5738 * include/pthread.h: Likewise.
5739 * include/pwd.h: Likewise.
5740 * include/regex.h: Likewise.
5741 * include/sched.h: Likewise.
5742 * include/search.h: Likewise.
5743 * include/setjmp.h: Likewise.
5744 * include/signal.h: Likewise.
5745 * include/stdio.h: Likewise.
5746 * include/stdlib.h: Likewise.
5747 * include/string.h: Likewise.
5748 * include/sys/cdefs.h: Likewise.
5749 * include/sys/mman.h: Likewise.
5750 * include/sys/msg.h: Likewise.
5751 * include/sys/resource.h: Likewise.
5752 * include/sys/select.h: Likewise.
5753 * include/sys/socket.h: Likewise.
5754 * include/sys/stat.h: Likewise.
5755 * include/sys/statvfs.h: Likewise.
5756 * include/sys/time.h: Likewise.
5757 * include/sys/times.h: Likewise.
5758 * include/sys/uio.h: Likewise.
5759 * include/sys/utsname.h: Likewise.
5760 * include/sys/wait.h: Likewise.
5761 * include/termios.h: Likewise.
5762 * include/time.h: Likewise.
5763 * include/ulimit.h: Likewise.
5764 * include/unistd.h: Likewise.
5765 * include/utime.h: Likewise.
5766 * include/wchar.h: Likewise.
5767 * include/wctype.h: Likewise.
5768 * include/wordexp.h: Likewise.
5770 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5772 * time/time.h: TIME_UTC must be a macro.
5773 Make timespec_get available for ISO C11 only as well.
5775 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5777 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5778 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5780 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5782 * configure.in: Use -o not -a in test for unsupported multi-arch.
5784 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5786 * manual/texinfo.tex: Update to version 2012-01-19.16.
5788 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5790 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5792 2012-02-24 Roland McGrath <roland@hack.frob.com>
5795 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5796 * manual/fdl-1.3.texi: New file.
5797 * manual/fdl-1.1.texi: File removed.
5800 * manual/libc.texinfo (FDL_VERSION): New @set.
5801 Use it for mention of FDL in cover text.
5802 (Documentation License): Use it in @include file name.
5804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5805 Roland McGrath <roland@hack.frob.com>
5808 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5809 not LONG_LONG_MAX and LONG_LONG_MIN.
5810 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5811 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5813 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5815 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5820 manipulate bits before adding and subtracting TWO23[sx].
5821 * math/libm-test.inc (nearbyint_test): Add more tests.
5823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5826 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5827 bits before adding and subtracting TWO23[sx].
5828 * math/libm-test.inc (rint_test): Add more tests.
5829 (rint_test_tonearest): Likewise.
5830 (rint_test_towardzero): Likewise.
5831 (rint_test_downward): Likewise.
5832 (rint_test_upward: Likewise.
5834 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5837 * include/stdc-predef.h: New file. Extracted from features.h.
5838 * include/features.h: Include stdc-predef.h.
5839 * Makefile (headers): Add stdc-predef.h.
5840 * CONFORMANCE (Compiler limitations): Update.
5842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5844 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5846 2012-02-21 David S. Miller <davem@davemloft.net>
5848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5849 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5851 2012-02-20 David S. Miller <davem@davemloft.net>
5853 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5854 using a normal save/restore sequence, rather than allocating a
5855 dummy stack frame just to store a frame pointer and restore.
5856 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5858 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5860 * manual/install.texi: Fix stray word in line-wrapped comment.
5862 2012-02-20 David S. Miller <davem@davemloft.net>
5864 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5865 both binutils and gcc support GOTDATA.
5867 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5868 "rd %pc" in the PIC register setup sequences.
5870 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5871 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5872 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5873 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5874 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5879 (SYSCALL_ERROR_HANDLER): Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5883 (SYSCALL_ERROR_HANDLER): Likewise.
5885 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5886 (HAVE_GCC_GOTDATA): New.
5887 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5888 relocation support in both binutils and gcc.
5889 * sysdeps/sparc/elf/configure: Regenerate.
5891 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5892 * sysdeps/sparc/sparc32/elf/configure: Delete.
5893 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5894 * sysdeps/sparc/sparc64/elf/configure: Delete.
5895 * sysdeps/sparc/elf/configure.in: New file.
5896 * sysdeps/sparc/elf/configure: Generate.
5898 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5899 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5900 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5901 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5902 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5904 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5906 * manual/install.texi: Do not mention specific glibc version
5908 * manual/libc.texinfo (VERSION, UPDATED): Update.
5909 (@copying): Use @copyright{} and range of years.
5911 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5914 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5915 [crti.S not in sysdirs] (generated): Do not append.
5916 [crti.S not in sysdirs] (omit-deps): Likewise.
5917 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5918 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5919 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5920 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5921 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5923 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5924 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5925 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5926 * csu/defs.awk: Remove file.
5927 * sysdeps/generic/initfini.c: Likewise.
5928 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5930 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5933 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5935 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5936 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5937 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5940 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5942 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5943 (__EPOLL_PACKED): Define to empty if not defined by
5945 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5951 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5952 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5954 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5956 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5960 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5965 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5966 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5969 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5974 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5976 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5977 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5979 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5981 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5984 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5986 * math/w_acos.c: Use non-signaling floating-point comparisons.
5987 * math/w_acosf.c: Likewise.
5988 * math/w_acosh.c: Likewise.
5989 * math/w_acoshf.c: Likewise.
5990 * math/w_acoshl.c: Likewise.
5991 * math/w_acosl.c: Likewise.
5992 * math/w_asin.c: Likewise.
5993 * math/w_asinf.c: Likewise.
5994 * math/w_asinl.c: Likewise.
5995 * math/w_atanh.c: Likewise.
5996 * math/w_atanhf.c: Likewise.
5997 * math/w_atanhl.c: Likewise.
5998 * math/w_exp2.c: Likewise.
5999 * math/w_exp2f.c: Likewise.
6000 * math/w_exp2l.c: Likewise.
6001 * math/w_j0.c: Likewise.
6002 * math/w_j0f.c: Likewise.
6003 * math/w_j0l.c: Likewise.
6004 * math/w_j1.c: Likewise.
6005 * math/w_j1f.c: Likewise.
6006 * math/w_j1l.c: Likewise.
6007 * math/w_jn.c: Likewise.
6008 * math/w_jnf.c: Likewise.
6009 * math/w_log.c: Likewise.
6010 * math/w_log10.c: Likewise.
6011 * math/w_log10f.c: Likewise.
6012 * math/w_log10l.c: Likewise.
6013 * math/w_log2.c: Likewise.
6014 * math/w_log2f.c: Likewise.
6015 * math/w_log2l.c: Likewise.
6016 * math/w_logf.c: Likewise.
6017 * math/w_logl.c: Likewise.
6018 * math/w_sqrt.c: Likewise.
6019 * math/w_sqrtf.c: Likewise.
6020 * math/w_sqrtl.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6024 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6025 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6027 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6030 * manual/string.texi (strnlen): Use correct parameter name in
6031 equivalent expression.
6033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6036 * manual/users.texi (seteuid): Consistently use neweuid for
6039 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6042 * manual/nss.texi (Services in the NSS configuration): Correct
6043 list of services in example configuration file.
6045 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6048 * manual/arith.texi: Remove statements about negative zero
6049 behaving identically to zero.
6051 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6054 * manual/install.texi: Do not document upgrading from libc5.
6056 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6059 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6061 2012-02-18 David S. Miller <davem@davemloft.net>
6063 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6064 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6065 %o7 across the call.
6066 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6071 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6072 * sysdeps/sparc/crtn.S: Likewise.
6074 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6076 * aout/Makefile: Remove.
6078 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6081 * manual/examples/argp-ex1.c (main): Format definition in GNU
6083 * manual/examples/argp-ex2.c (main): Likewise.
6084 * manual/examples/argp-ex3.c (main): Likewise.
6085 * manual/examples/argp-ex4.c (main): Likewise.
6086 * manual/examples/longopt.c (main): Use new-style prototype
6088 * manual/examples/strncat.c (main): Specify return type and use
6089 (void) for arguments.
6090 * manual/examples/subopt.c (main): Use char **argv argument.
6092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6095 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6098 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6101 * manual/string.texi (strchr): Change when strchrnul is
6104 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6107 * manual/locale.texi (setlocale): Document LOCPATH.
6109 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6112 * manual/process.texi (execle): Move @dots{} before last argument.
6114 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6117 * manual/charset.texi (Generic Charset Conversion): Fix typo
6118 (LC_TYPE -> LC_CTYPE).
6120 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6123 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6124 (scalbnf): Likewise.
6125 (scalbnl): Likewise.
6126 (scalbln): Likewise.
6127 (scalblnf): Likewise.
6128 (scalblnl): Likewise.
6129 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6133 * manual/filesys.texi (telldir): Use braces around return type.
6134 * manual/llio.texi (mmap): Add space after comma.
6136 * manual/math.texi (jn): Use @var{} on parameter names.
6142 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6144 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6146 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6147 (sched_get_priority_max): Likewise.
6148 * manual/signal.texi (sigvec): Add space after comma.
6149 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6151 (if_indextoname): Likewise.
6152 (if_freenameindex): Likewise.
6153 (sendto): Use ',' instead of '.' in prototype.
6154 * manual/startup.texi (syscall): Use @dots{} instead of literal
6156 * manual/stdio.texi (__fpending): Separate initial words of
6157 paragraph from @deftypefun line.
6158 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6160 (vsyslog): Use @var{} on parameter names.
6161 * manual/terminal.texi (stty): Use @var{} on parameter names.
6162 * manual/users.texi (getutmp): Use @var{} on parameter names.
6163 (getutmpx): Likewise.
6165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6168 * manual/stdio.texi (fopen): Fix typos in description of
6171 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6174 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6175 get clock_id definition.
6177 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6180 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6181 (madvise): Cast every argument to void on its own.
6183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6186 * manual/startup.texi (Exit Status): Fix typo.
6188 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6191 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6192 * manual/examples/argp-ex2.c: Likewise.
6193 * manual/examples/argp-ex3.c: Likewise.
6195 2012-02-16 Richard Henderson <rth@redhat.com>
6197 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6198 * sysdeps/s390/s390-32/initfini.c: Remove.
6199 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6200 * sysdeps/s390/s390-64/initfini.c: Remove.
6202 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6204 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6205 compiler output for sysdeps/generic/initfini.c.
6206 * sysdeps/sh/elf/initfini.c: Remove file.
6208 2012-02-16 David S. Miller <davem@davemloft.net>
6211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6213 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6214 * sysdeps/sparc/crti.S: New file.
6215 * sysdeps/sparc/crtn.S: New file.
6216 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6217 * sysdeps/sparc/sparc64/Makefile: Likewise.
6219 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6222 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6224 2012-02-15 Roland McGrath <roland@hack.frob.com>
6227 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6229 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6230 (write, read, close): Likewise.
6231 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6233 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6235 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6236 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6237 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6238 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6240 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6244 2012-02-14 Marek Polacek <polacek@redhat.com>
6246 * sysdeps/x86_64/crti.S: New file.
6247 * sysdeps/x86_64/crtn.S: New file.
6248 * sysdeps/x86_64/elf/initfini.c: Remove file.
6250 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6252 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6253 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6254 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6255 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6257 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6261 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6263 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6264 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6266 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6268 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6272 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6274 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6275 __feraiseexcept instead of feraiseexcept.
6277 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6278 nanosleep invocations.
6279 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6280 strings, and add error checking for a nanosleep invocations.
6282 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6284 Replace FSF snail mail address with URLs, as per GNU coding standards.
6285 Most of the snail mail addresses were wrong anyway, and omitting
6286 them makes the source code easier to maintain. Almost all of the
6287 changes are to license notices and to locale LC_IDENTIFICATION
6288 addresses, except for this one:
6289 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6290 not its snail mail address.
6292 2012-02-09 Richard Henderson <rth@twiddle.net>
6294 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6295 of kernel-features.h.
6297 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6299 2012-02-08 Marek Polacek <polacek@redhat.com>
6301 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6302 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6303 * sysdeps/gnu/_G_config.h: Likewise.
6304 * sysdeps/generic/_G_config.h: Likewise.
6306 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6308 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6312 * sysdeps/powerpc/powerpc32/crti.S: New file.
6313 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6314 * sysdeps/powerpc/powerpc64/crti.S: New file.
6315 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6317 * Makeconfig (have-initfini): Don't set.
6318 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6319 * configure.in (nopic_initfini): Don't substitute.
6320 * config.h.in (HAVE_INITFINI): Don't #undef.
6321 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6322 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6324 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6326 Support crti.S and crtn.S provided directly by architectures.
6327 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6328 [crti.S in sysdirs] (omit-deps): Likewise.
6329 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6330 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6331 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6332 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6333 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6334 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6335 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6336 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6337 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6338 compiler output for sysdeps/generic/initfini.c.
6339 * sysdeps/i386/elf/Makefile: Remove file.
6340 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6342 2012-02-07 Marek Polacek <polacek@redhat.com>
6344 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6345 * sysdeps/gnu/_G_config.h: Likewise.
6346 * sysdeps/mach/hurd/_G_config.h: Likewise.
6348 2012-02-07 Marek Polacek <polacek@redhat.com>
6350 * math/Makefile (tests): Add tst-CMPLX2.
6351 * math/tst-CMPLX2.c: New file.
6353 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6355 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6357 * math/libm-test.inc (jn_test): Add missing L suffix.
6359 2012-02-06 Marek Polacek <polacek@redhat.com>
6361 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6362 * sysdeps/i386/fpu/e_powf.S: Likewise.
6363 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6364 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6365 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6366 * sysdeps/i386/fpu/e_pow.S: Likewise.
6367 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6368 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6369 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6370 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6371 * sysdeps/i386/fpu/e_log2.S: Likewise.
6372 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6373 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6374 * sysdeps/i386/fpu/e_powl.S: Likewise.
6375 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6376 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6377 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6378 * sysdeps/i386/fpu/e_logl.S: Likewise.
6379 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6380 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6381 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6382 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6383 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6384 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6385 * sysdeps/i386/fpu/e_log.S: Likewise.
6386 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6387 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6388 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6389 * sysdeps/i386/fpu/e_logf.S: Likewise.
6390 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6391 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6392 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6394 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6395 * sysdeps/i386/fpu/e_log10.S: Likewise.
6396 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6398 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6399 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6402 * sysdeps/i386/asm-syntax.h: Likewise.
6403 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6405 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6406 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6407 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6408 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6409 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6410 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6412 * sysdeps/powerpc/sysdep.h: Likewise.
6413 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6414 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6416 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6419 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6421 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/i386/sysdep.h: Include <features.h>.
6424 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6427 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6429 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6431 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6434 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6436 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6437 (SETUP_PIC_REG): Use GET_PC_THUNK.
6438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6441 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6443 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6444 for non-PIC compilation.
6445 (SETUP_PIC_REG): Add .p2align directive.
6446 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6447 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6480 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6481 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6482 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6483 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6486 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6488 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6490 * math/tst-CMPLX.c: Include <stdio.h>.
6492 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6494 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6496 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6497 * sysdeps/sparc/bits/mathdef.h: Likewise.
6499 2012-01-31 Marek Polacek <polacek@redhat.com>
6501 * libio/libio.h: Don't define _PARAMS.
6502 * locale/programs/config.h: Don't define PARAMS.
6503 * stdlib/strtol_l.c: Likewise.
6504 (__strtol_l): Remove PARAMS from the prototype.
6506 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6508 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6509 names. Just use the correct names. Remove unnecessary wrapper
6511 * malloc/arena.c: Likewise.
6512 * malloc/hooks.c: Likewise.
6514 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6515 ARENA_TEST says not to. Simplify test for creation of a new arena.
6516 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6518 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6520 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6522 (update_get_addr): New function.
6523 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6524 GET_ADDR_MODULE parameter.
6526 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6528 * crypt/cert.c: Remove __STDC__ conditionals.
6529 * crypt/crypt-entry.c: Likewise.
6530 * crypt/crypt_util.c: Likewise.
6531 * libio/filedoalloc.c: Likewise.
6532 * libio/fileops.c: Likewise.
6533 * libio/genops.c: Likewise.
6534 * libio/iofclose.c: Likewise.
6535 * libio/iofdopen.c: Likewise.
6536 * libio/iofopen.c: Likewise.
6537 * libio/iofopen64.c: Likewise.
6538 * libio/iogetdelim.c: Likewise.
6539 * libio/iopopen.c: Likewise.
6540 * libio/obprintf.c: Likewise.
6541 * libio/oldfileops.c: Likewise.
6542 * libio/oldiofclose.c: Likewise.
6543 * libio/oldiofdopen.c: Likewise.
6544 * libio/oldiofopen.c: Likewise.
6545 * libio/oldiopopen.c: Likewise.
6546 * libio/wfiledoalloc.c: Likewise.
6547 * libio/wgenops.c: Likewise.
6548 * locale/programs/xmalloc.c: Likewise.
6549 * misc/syslog.c: Likewise.
6550 * stdio-common/xbug.c: Likewise.
6551 * string/memchr.c: Likewise.
6552 * string/memcmp.c: Likewise.
6553 * string/memrchr.c: Likewise.
6554 * string/rawmemchr.c: Likewise.
6555 * sysdeps/posix/getcwd.c: Likewise.
6556 * time/strftime_l.c: Likewise.
6558 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6560 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6561 * config.make.in (config-cflags-sse2avx): Define.
6562 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6565 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6567 * scripts/config.guess: Update from upstream config git repository.
6568 * scripts/config.sub: Likewise.
6570 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6572 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6574 (R_TILEPRO_*, R_TILEGX_*): New macros.
6576 * scripts/firstversions.awk: Fix bug in version range handling.
6578 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6580 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6582 * include/sys/epoll.h: New file.
6583 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6586 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6588 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6589 Avoid unnecessary __WORDSIZE == 64 test.
6590 (fmaxf): Use VEX format if possible.
6595 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6596 * math/math_private.h: Remove libc_fegetround* and
6598 * sysdeps/i386/configure.in: Check for -msse2avx.
6599 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6600 also if SSE2AVX is defined.
6601 Remove libc_fegetround* and libc_fesetround*.
6602 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6603 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6607 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6612 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6614 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6618 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6620 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6623 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6625 * Makeconfig (libm): Define.
6626 * elf/Makefile: Add rules to build and run tst-relsort1.
6627 * elf/tst-relsort1.c: New file.
6628 * elf/tst-relsort1mod1.c: New file.
6629 * elf/tst-relsort1mod2.c: New file.
6631 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6633 * math/s_ldexp.c: Remove __STDC__ conditionals.
6634 * math/s_ldexpf.c: Likewise.
6635 * math/s_ldexpl.c: Likewise.
6636 * math/s_nextafter.c: Likewise.
6637 * math/s_nexttowardf.c: Likewise.
6638 * math/s_significand.c: Likewise.
6639 * math/s_significandf.c: Likewise.
6640 * math/s_significandl.c: Likewise.
6641 * math/w_jnl.c: Likewise.
6642 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6643 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6644 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6645 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6646 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6664 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6666 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6672 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6673 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6674 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6675 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6676 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6679 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6680 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6682 * sysdeps/ieee754/k_standard.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6762 * sysdeps/ieee754/s_matherr.c: Likewise.
6763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6768 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6770 * crypt/md5.h: Remove __STDC__ conditionals.
6771 * libio/libioP.h: Likewise.
6772 * locale/programs/config.h: Likewise.
6773 * sysdeps/generic/sysdep.h: Likewise.
6774 * sysdeps/i386/asm-syntax.h: Likewise.
6775 * sysdeps/s390/asm-syntax.h: Likewise.
6776 * sysdeps/unix/sysdep.h: Likewise.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6780 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6782 * libio/libio.h: Remove __STDC__ conditionals.
6783 * malloc/obstack.h: Likewise.
6784 * math/complex.h: Likewise.
6785 * math/math.h: Likewise.
6786 * sysdeps/generic/_G_config.h: Likewise.
6787 * sysdeps/gnu/_G_config.h: Likewise.
6788 * sysdeps/mach/hurd/_G_config.h: Likewise.
6789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6790 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6791 * sysdeps/sparc/bits/mathdef.h: Likewise.
6793 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6796 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6797 Clean up HAS_* macros.
6798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6799 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6801 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6809 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6811 * elf/tst-unique3.cc (gets): Remove declaration.
6812 * elf/tst-unique3lib.cc (gets): Likewise.
6813 * elf/tst-unique3lib2.cc (gets): Likewise.
6814 * elf/tst-unique4.cc (gets): Likewise.
6816 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6818 * include/stdio.h: Add C++ protection. Add gets declarations and
6820 * debug/tst-chk1.c: Don't declare gets here.
6821 * stdio-common/tst-gets.c: Likewise.
6823 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6825 * posix/glob: Remove directory.
6827 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6829 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6831 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6833 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6834 of the non-standard EPFNOSUPPORT.
6836 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6838 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6839 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6840 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6842 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6844 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6846 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6848 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6850 * nscd/grpcache.c (cache_addgr): Likewise.
6851 * nscd/hstcache.c (cache_addhst): Likewise.
6852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6853 * nscd/pwdcache.c (cache_addpw): Likewise.
6854 * nscd/servicescache.c (cache_addserv): Likewise.
6856 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6858 * malloc/malloc.c: Various cleanups.
6859 * malloc/hooks.c: Likewise.
6861 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6862 * stdlib/bug-fmtmsg1.c: New file.
6864 * stdlib/fmtmsg.c (init): Add missing unlock.
6865 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6867 2012-01-12 Marek Polacek <polacek@redhat.com>
6869 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6872 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6874 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6875 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6876 macro to ensure uniqueness of label name.
6877 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6878 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6880 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6882 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6885 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6889 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6891 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6893 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6894 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6897 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6900 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6904 * math/bits/math-finite.h: Add ldexp support.
6906 2012-01-10 Marek Polacek <polacek@redhat.com>
6908 * locale/programs/localedef.h (show_archive_content): Add noreturn
6911 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6913 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6915 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6917 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6919 * io/Makefile (headers): Add bits/poll2.h.
6921 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6924 typo #include statement.
6926 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6928 * include/sys/cdefs.h: Define __attribute_alloc_size.
6929 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6930 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6931 * elf/pldd.c: Likewise.
6932 * iconv/iconv_charmap.c: Likewise.
6933 * iconv/iconvconfig.c: Likewise.
6934 * iconv/strtab.c: Likewise.
6935 * locale/programs/locale.c: Likewise.
6936 * locale/programs/localedef.h: Likewise.
6937 * locale/programs/simple-hash.c: Likewise.
6938 * nscd/nscd.h: Likewise.
6939 * nss/makedb.c: Likewise.
6940 * sysdeps/generic/ldconfig.h: Likewise.
6941 * locale/programs/localedef.c: Remove xmalloc prototype.
6942 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6944 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6946 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6949 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6951 * math/Makefile (tests): Add tst-CMPLX.
6952 * math/tst-CMPLX.c: New file.
6954 * math/complex.h (CMPLXL): Fix typo.
6956 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6957 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6959 * debug/tst-chk1.c: Add poll and ppoll tests.
6960 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6961 * include/sys/poll.h: Add hidden proto for ppoll.
6962 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6963 * sysdeps/mach/hurd/ppoll.c: Likewise.
6964 * io/ppoll.c: Likewise.
6965 * debug/poll_chk.c: New file.
6966 * debug/ppoll_chk.c: New file.
6967 * include/bits/poll2.h: New file.
6968 * io/bits/poll2.h: New file.
6971 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6973 * configure.in: static is always set to yes. Remove.
6974 * config.make.in: Don't set build-static.
6975 * Makeconfig: Remove use of build-static.
6976 * dlfcn/Makefile: Likewise.
6977 * elf/Makefile: Likewise.
6978 * math/Makefile: Likewise.
6979 * misc/Makefile: Likewise.
6980 * nptl/Makefile: Likewise.
6981 * sysdeps/mach/hurd/Makefile: Likewise.
6983 * configure.in: PWD_P is not used anymore.
6984 * config.make.in: Remove PWD_P entry.
6986 * configure.in: Remove last remnants of RANLIB.
6987 No need to check for signed size_t anymore.
6988 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6990 Remove __builtin_expect test because we require at least gcc 3.4.
6991 * aclocal.m4: Likewise.
6993 * wcsmbs/mbrtoc16.c: Implement using towc function.
6994 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6995 * wcsmbs/wcsmbsload.c: Likewise.
6996 * iconv/gconv_simple.c: Likewise.
6997 * iconv/gconv_int.h: Likewise.
6998 * iconv/gconv_builtin.h: Likewise.
6999 * iconv/iconv_prog.c: Remove CHAR16 handling.
7001 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7003 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7005 * configure.in: Remove --with-elf and --enable-bounded options.
7006 Dont set base_machine for ia64. More non-ELF conditions removed.
7007 Remove testing and setting of leading underscore information.
7008 * config.make.in (build-bounded): Set to no.
7009 * config.h.in: Remove NO_UNDERSCORES entry.
7010 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7012 * csu/start.c: Remove !NO_UNDERSCORE code.
7013 * locale/localeinfo.h: Likewise.
7014 * sysdeps/generic/machine-gmon.h: Likewise.
7015 * sysdeps/generic/sysdep.h: Likewise.
7016 * sysdeps/i386/sysdep.h: Likewise.
7017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7018 * sysdeps/mach/sysdep.h: Likewise.
7019 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7020 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7021 * sysdeps/sh/sysdep.h: Likewise.
7022 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7023 * sysdeps/unix/i386/sysdep.S: Likewise.
7024 * sysdeps/unix/sparc/start.c: Likewise.
7025 * sysdeps/unix/sparc/sysdep.S: Likewise.
7026 * sysdeps/unix/sparc/sysdep.h: Likewise.
7027 * sysdeps/unix/start.c: Likewise.
7028 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7029 * sysdeps/x86_64/sysdep.h: Likewise.
7031 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7034 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7036 * argp/argp-fmtstream.h: Use const instead __const.
7037 * argp/argp.h: Likewise.
7038 * assert/assert.h: Likewise.
7039 * bits/fenv.h: Likewise.
7040 * bits/sched.h: Likewise.
7041 * bits/sigset.h: Likewise.
7042 * bits/sigthread.h: Likewise.
7043 * catgets/nl_types.h: Likewise.
7044 * conform/data/pthread.h-data: Likewise.
7045 * crypt/crypt-private.h: Likewise.
7046 * crypt/crypt.h: Likewise.
7047 * crypt/crypt_util.c: Likewise.
7048 * ctype/ctype.h: Likewise.
7049 * debug/execinfo.h: Likewise.
7050 * debug/mbsnrtowcs_chk.c: Likewise.
7051 * debug/mbsrtowcs_chk.c: Likewise.
7052 * debug/wcsnrtombs_chk.c: Likewise.
7053 * debug/wcsrtombs_chk.c: Likewise.
7054 * debug/wcstombs_chk.c: Likewise.
7055 * dirent/dirent.h: Likewise.
7056 * dlfcn/dlfcn.h: Likewise.
7057 * elf/neededtest4.c: Likewise.
7058 * grp/grp.h: Likewise.
7059 * gshadow/gshadow.h: Likewise.
7060 * iconv/gconv.h: Likewise.
7061 * iconv/gconv_int.h: Likewise.
7062 * iconv/gconv_simple.c: Likewise.
7063 * iconv/iconv.h: Likewise.
7064 * iconv/loop.c: Likewise.
7065 * iconv/skeleton.c: Likewise.
7066 * include/aio.h: Likewise.
7067 * include/aliases.h: Likewise.
7068 * include/argz.h: Likewise.
7069 * include/arpa/inet.h: Likewise.
7070 * include/assert.h: Likewise.
7071 * include/dirent.h: Likewise.
7072 * include/dlfcn.h: Likewise.
7073 * include/execinfo.h: Likewise.
7074 * include/fcntl.h: Likewise.
7075 * include/fenv.h: Likewise.
7076 * include/glob.h: Likewise.
7077 * include/grp.h: Likewise.
7078 * include/libintl.h: Likewise.
7079 * include/mntent.h: Likewise.
7080 * include/netdb.h: Likewise.
7081 * include/pwd.h: Likewise.
7082 * include/rpc/netdb.h: Likewise.
7083 * include/sched.h: Likewise.
7084 * include/search.h: Likewise.
7085 * include/shadow.h: Likewise.
7086 * include/signal.h: Likewise.
7087 * include/stdio.h: Likewise.
7088 * include/stdlib.h: Likewise.
7089 * include/string.h: Likewise.
7090 * include/sys/socket.h: Likewise.
7091 * include/sys/stat.h: Likewise.
7092 * include/sys/statfs.h: Likewise.
7093 * include/sys/statvfs.h: Likewise.
7094 * include/sys/syslog.h: Likewise.
7095 * include/sys/time.h: Likewise.
7096 * include/sys/uio.h: Likewise.
7097 * include/time.h: Likewise.
7098 * include/unistd.h: Likewise.
7099 * include/utmp.h: Likewise.
7100 * include/wchar.h: Likewise.
7101 * include/wctype.h: Likewise.
7102 * inet/aliases.h: Likewise.
7103 * inet/arpa/inet.h: Likewise.
7104 * inet/netinet/ether.h: Likewise.
7105 * inet/netinet/in.h: Likewise.
7106 * intl/libintl.h: Likewise.
7107 * io/bits/fcntl2.h: Likewise.
7108 * io/fcntl.h: Likewise.
7109 * io/ftw.h: Likewise.
7110 * io/sys/poll.h: Likewise.
7111 * io/sys/stat.h: Likewise.
7112 * io/sys/statfs.h: Likewise.
7113 * io/sys/statvfs.h: Likewise.
7114 * io/utime.h: Likewise.
7115 * libio/bits/stdio.h: Likewise.
7116 * libio/bits/stdio2.h: Likewise.
7117 * libio/libio.h: Likewise.
7118 * libio/libioP.h: Likewise.
7119 * libio/stdio.h: Likewise.
7120 * locale/lc-ctype.c: Likewise.
7121 * locale/locale.h: Likewise.
7122 * login/utmp.h: Likewise.
7123 * malloc/arena.c: Likewise.
7124 * malloc/malloc.c: Likewise.
7125 * malloc/malloc.h: Likewise.
7126 * malloc/mcheck.c: Likewise.
7127 * malloc/mtrace.c: Likewise.
7128 * math/bits/mathcalls.h: Likewise.
7129 * math/fenv.h: Likewise.
7130 * math/math_private.h: Likewise.
7131 * misc/bits/error.h: Likewise.
7132 * misc/bits/syslog.h: Likewise.
7133 * misc/err.h: Likewise.
7134 * misc/error.h: Likewise.
7135 * misc/fstab.h: Likewise.
7136 * misc/mntent.h: Likewise.
7137 * misc/regexp.h: Likewise.
7138 * misc/search.h: Likewise.
7139 * misc/sgtty.h: Likewise.
7140 * misc/sys/mman.h: Likewise.
7141 * misc/sys/syslog.h: Likewise.
7142 * misc/sys/uio.h: Likewise.
7143 * misc/sys/xattr.h: Likewise.
7144 * misc/ttyent.h: Likewise.
7145 * nis/rpcsvc/ypclnt.h: Likewise.
7146 * nss/nss.h: Likewise.
7147 * posix/bits/unistd.h: Likewise.
7148 * posix/fnmatch.h: Likewise.
7149 * posix/glob.h: Likewise.
7150 * posix/sched.h: Likewise.
7151 * posix/spawn.h: Likewise.
7152 * posix/sys/wait.h: Likewise.
7153 * posix/unistd.h: Likewise.
7154 * posix/wordexp.h: Likewise.
7155 * pwd/pwd.h: Likewise.
7156 * resolv/netdb.h: Likewise.
7157 * resource/sys/resource.h: Likewise.
7158 * rt/aio.h: Likewise.
7159 * rt/bits/mqueue2.h: Likewise.
7160 * rt/mqueue.h: Likewise.
7161 * shadow/shadow.h: Likewise.
7162 * signal/signal.h: Likewise.
7163 * socket/send.c: Likewise.
7164 * socket/sendto.c: Likewise.
7165 * socket/sys/socket.h: Likewise.
7166 * stdio-common/printf.h: Likewise.
7167 * stdlib/bits/stdlib.h: Likewise.
7168 * stdlib/fmtmsg.h: Likewise.
7169 * stdlib/monetary.h: Likewise.
7170 * stdlib/stdlib.h: Likewise.
7171 * stdlib/ucontext.h: Likewise.
7172 * streams/stropts.h: Likewise.
7173 * string/argz.h: Likewise.
7174 * string/bits/string2.h: Likewise.
7175 * string/string.h: Likewise.
7176 * string/strings.h: Likewise.
7177 * sunrpc/rpc/auth.h: Likewise.
7178 * sunrpc/rpc/auth_des.h: Likewise.
7179 * sunrpc/rpc/clnt.h: Likewise.
7180 * sunrpc/rpc/netdb.h: Likewise.
7181 * sunrpc/rpc/pmap_clnt.h: Likewise.
7182 * sunrpc/rpc/xdr.h: Likewise.
7183 * sysdeps/generic/inttypes.h: Likewise.
7184 * sysdeps/generic/net/if.h: Likewise.
7185 * sysdeps/generic/sys/swap.h: Likewise.
7186 * sysdeps/gnu/net/if.h: Likewise.
7187 * sysdeps/gnu/utmpx.h: Likewise.
7188 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7189 * sysdeps/i386/i486/bits/string.h: Likewise.
7190 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7191 * sysdeps/s390/bits/string.h: Likewise.
7192 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7193 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7194 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7195 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7196 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7197 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7198 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7199 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7200 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7201 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7202 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7203 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7204 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7205 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7206 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7207 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7208 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7213 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7216 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7217 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7220 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7222 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7223 * sysvipc/sys/ipc.h: Likewise.
7224 * sysvipc/sys/msg.h: Likewise.
7225 * sysvipc/sys/sem.h: Likewise.
7226 * sysvipc/sys/shm.h: Likewise.
7227 * termios/termios.h: Likewise.
7228 * time/sys/time.h: Likewise.
7229 * time/time.h: Likewise.
7230 * wcsmbs/bits/wchar2.h: Likewise.
7231 * wcsmbs/uchar.h: Likewise.
7232 * wcsmbs/wchar.h: Likewise.
7233 * wctype/wctype.h: Likewise.
7236 * Makeconfig: Remove all but ELF support including AIX support.
7237 * Makerules: Likewise.
7238 * config.h.in: Likewise.
7239 * config.make.in: Likewise.
7240 * configure: Likewise.
7241 * configure.in: Likewise.
7242 * csu/Makefile: Likewise.
7243 * csu/version.c: Likewise.
7244 * debug/Makefile: Likewise.
7245 * dlfcn/Makefile: Likewise.
7246 * elf/Makefile: Likewise.
7247 * extra-lib.mk: Likewise.
7248 * iconv/Makefile: Likewise.
7249 * include/libc-symbols.h: Likewise.
7250 * include/shlib-compat.h: Likewise.
7251 * resolv/Makefile: Likewise.
7252 * resolv/res_libc.c: Likewise.
7253 * rt/Makefile: Likewise.
7254 * sysdeps/i386/asm-syntax.h: Likewise.
7255 * sysdeps/i386/sysdep.h: Likewise.
7256 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7257 * sysdeps/mach/sysdep.h: Likewise.
7258 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7259 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7260 * sysdeps/s390/asm-syntax.h: Likewise.
7261 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7263 * sysdeps/sh/sysdep.h: Likewise.
7264 * sysdeps/unix/sparc/sysdep.h: Likewise.
7265 * sysdeps/wordsize-32/divdi3.c: Likewise.
7266 * sysdeps/x86_64/sysdep.h: Likewise.
7268 * argp/Versions: Remove _argp_unlock_xxx.
7271 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7272 * abilist/libBrokenLocale.abilist: Likewise.
7273 * abilist/libanl.abilist: Likewise.
7274 * abilist/libc.abilist: Likewise.
7275 * abilist/libcrypt.abilist: Likewise.
7276 * abilist/libdl.abilist: Likewise.
7277 * abilist/libm.abilist: Likewise.
7278 * abilist/libnsl.abilist: Likewise.
7279 * abilist/libpthread.abilist: Likewise.
7280 * abilist/libresolv.abilist: Likewise.
7281 * abilist/librt.abilist: Likewise.
7282 * abilist/libthread_db.abilist: Likewise.
7283 * abilist/libutil.abilist: Likewise.
7284 * abilist/libnss_db.abilist: New file.
7286 * scripts/abilist.awk: Add support for indirect functions.
7288 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7290 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7292 * shlib-versions: Remove entries for ports architectures.
7294 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7296 * elf/stackguard-macros.h: Remove support for IA-64.
7297 * elf/tst-auditmod1.c: Likewise.
7298 * sysdeps/generic/ldsodefs.h: Likewise.
7300 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7301 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7305 * configure.in: Remove --enable-omitfp support.
7307 * config.make.in: Likewise.
7308 * Makeconfig: Likewise.
7309 * manual/install.texi: Likewise.
7311 In case anyone cares, the IA-64 architecture could move to ports.
7312 * sysdeps/ia64/*: Removed.
7313 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7314 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7317 * configure.in: Remove entries for unsupported architectures.
7320 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7321 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7323 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7324 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7325 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7326 fall back to using wcrtomb.
7327 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7328 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7330 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7331 * wcsmbs/tst-c16c32-1.c: New file.
7333 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7336 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7338 * elf/tst-unique3.cc: Add explicit declaration of gets.
7339 * elf/tst-unique3lib.cc: Likewise.
7340 * elf/tst-unique3lib2.cc: Likewise.
7341 * elf/tst-unique4.cc: Likewise.
7343 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7345 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7348 * assert/assert.h (static_assert): Don't define for C++.
7349 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7350 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7352 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7354 * iconv/loop.c (single loop): Fix assertion in storing of
7357 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7359 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7361 * posix/getconf.c: Update copyright year.
7362 * nss/getent.c: Likewise.
7363 * nss/makedb.c: Likewise.
7364 * iconv/iconvconfig.c: Likewise.
7365 * iconv/iconv_prog.c: Likewise.
7366 * elf/ldconfig.c: Likewise.
7367 * elf/pldd.c: Likewise.
7368 * elf/sotruss.ksh: Likewise.
7369 * catgets/gencat.c: Likewise.
7370 * csu/version.c: Likewise.
7371 * elf/ldd.bash.in: Likewise.
7372 * elf/sprof.c (print_version): Likewise.
7373 * locale/programs/locale.c: Likewise.
7374 * locale/programs/localedef.c: Likewise.
7375 * login/programs/pt_chown.c: Likewise.
7376 * nscd/nscd.c (print_version): Likewise.
7377 * debug/xtrace.sh: Likewise.
7378 * malloc/memusage.sh: Likewise.
7379 * malloc/mtrace.pl: Likewise.
7380 * debug/catchsegv.sh: Likewise.
7382 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7384 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7387 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7390 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7391 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7393 * iconv/gconv_int.h: Likewise.
7394 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7395 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7396 from libc for GLIBC_2.16.
7397 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7398 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7399 * wcsmbs/uchar.h: Really define mbstate_t.
7400 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7401 * wcsmbs/c16rtomb.c: New file.
7402 * wcsmbs/mbrtoc16.c: New file.
7403 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7405 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7406 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7408 * wcsmbs/wchar.h: Add missing __restrict.
7410 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7413 * time/Makefile (routines): Add timespec_get.
7414 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7415 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7416 timespec for ISO C11.
7417 * time/timespec_get.c: New file.
7418 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7419 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7422 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7423 * stdlib/stdlib.h: Declare aligned_alloc.
7424 * Versions.def: Add GLIBC_2.16 for libc.
7425 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7428 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7431 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7435 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7438 * assert/assert.h (static_assert): Define.
7440 * version.h: Update for 2.16 development version.
7443 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7446 * version.h (RELEASE): Bump for 2.15 release.
7447 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7449 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7450 Patch by Marek Polacek <mpolacek@redhat.com>.
7452 * bits/byteswap.h: Protect long long constants with __extension__.
7453 * sysdeps/i386/bits/byteswap.h: Likewise.
7454 * sysdeps/ia64/bits/byteswap.h: Likewise.
7455 * sysdeps/s390/bits/byteswap.h: Likewise.
7456 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7458 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7463 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7465 2011-12-23 Marek Polacek <polacek@redhat.com>
7467 * elf/dl-addr.c (determine_info): Add inline keyword.
7468 * elf/tst-auditmod4b.c (check_avx): Likewise.
7469 * elf/tst-auditmod6b.c (check_avx): Likewise.
7470 * elf/tst-auditmod6c.c (check_avx): Likewise.
7471 * elf/tst-auditmod7b.c (check_avx): Likewise.
7473 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7475 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7478 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7481 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7482 processing for last bytes.
7484 2011-08-06 Bruno Haible <bruno@clisp.org>
7487 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7488 U+0385, not to U+1FEE.
7491 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7492 entry for U+00A5 U+0301.
7494 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7497 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7498 buffer for the output is too small.
7500 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7504 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7505 SSE flags if possible.
7507 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7511 processing for last bytes.
7513 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7515 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7516 (syscall-list-default-options, syscall-list-default-condition)
7517 (syscall-list-includes): Define.
7518 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7519 list of ABIs and options and #if conditions for each ABI. Do not
7520 handle common syscalls between ABIs specially.
7521 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7523 (syscall-list-variants, syscall-list-32bit-options)
7524 (syscall-list-32bit-condition, syscall-list-64bit-options)
7525 (syscall-list-64bit-condition): Define.
7526 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7527 (syscall-list-variants, syscall-list-32bit-options)
7528 (syscall-list-32bit-condition, syscall-list-64bit-options)
7529 (syscall-list-64bit-condition): Define.
7530 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7532 (syscall-list-variants, syscall-list-32bit-options)
7533 (syscall-list-32bit-condition, syscall-list-64bit-options)
7534 (syscall-list-64bit-condition): Define.
7535 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7537 (syscall-list-variants, syscall-list-32bit-options)
7538 (syscall-list-32bit-condition, syscall-list-64bit-options)
7539 (syscall-list-64bit-condition): Define.
7541 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7543 * locale/iso-639.def: Add brx entry.
7546 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7547 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7549 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7550 __feraiseexcept_renamed.
7552 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7555 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7556 EPOLLET with unsigned values.
7557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7560 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7561 to large cancellation.
7562 * math/s_cacoshf.c: Likewise.
7563 * math/s_cacoshl.c: Likewise.
7565 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7569 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7570 * math/s_cacoshf.c: Likewise.
7571 * math/s_cacoshl.c: Likewise.
7573 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7576 * iconv/gconv.h: Define __GCONV_SWAP.
7577 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7578 * iconvdata/utf-16.c: Likewise.
7579 * iconvdata/utf-32.c: Likewise.
7581 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7585 numerator after shifting it by one limb.
7587 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7590 under [__USE_EXTERN_INLINES].
7592 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7595 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7597 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7599 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7600 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7602 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7603 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7604 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7605 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7606 for strncasecmp/strncasecmp_l compilation.
7607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7608 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7610 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7613 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7616 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7619 * time/tzfile.c (__tzfile_read): Check values from file header.
7621 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7623 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7624 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7625 * powerpc/powerpc32/dl-start.S: Likewise.
7626 * powerpc/powerpc32/elf/start.S: Likewise.
7627 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7628 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7629 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7630 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7631 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7632 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7633 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7634 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7635 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7636 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7637 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7638 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7639 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7640 * powerpc/powerpc32/memset.S: Likewise.
7641 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7642 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7643 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7644 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7645 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7646 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7647 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7648 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7649 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7650 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7651 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7652 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7653 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7655 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7657 * math/libm-test.inc: Added more nearbyint tests.
7658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7663 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7665 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7668 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7670 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7671 Add wcscpy-ssse3 wcscpy-c.
7672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7673 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7674 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7675 * sysdeps/x86_64/wcschr.S: New file.
7676 * sysdeps/x86_64/wcsrchr.S: New file.
7677 * string/test-strcmp.c: Remove checking of wcscmp function for
7679 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7680 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7681 wcsrchr-sse2 wcsrchr-c.
7682 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7683 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7684 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7685 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7686 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7687 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7688 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7689 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7691 * wcsmbc/wcschr.c (WCSCHR): New macro.
7693 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7695 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7696 * wcsmbs/test-wcsrchr.c: New file.
7697 * string/test-strrchr.c: Add wcsrchr support.
7699 * wcsmbs/test-wcscpy.c: New file.
7700 * string/test-strcpy.c: Add wcscpy support.
7703 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7705 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7708 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7711 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7713 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7716 Minor optimizations.
7718 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7719 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7720 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7722 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7724 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7725 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7726 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7727 for gcc to avoid warnings.
7728 * inet/Makefile (tests): Add tst-checks.
7729 * inet/tst-checks.c: New file.
7731 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7734 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7737 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7738 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7740 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7742 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7744 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7747 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7749 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7751 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7752 conditional on GCC version.
7753 (__arch_compare_and_exchange_val_8_acq)
7754 (__arch_compare_and_exchange_val_16_acq)
7755 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7756 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7757 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7759 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7761 * sysdeps/sh/backtrace.c: New file.
7763 2011-12-02 Andreas Schwab <schwab@redhat.com>
7765 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7768 2011-12-01 Andreas Schwab <schwab@redhat.com>
7770 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7771 falling back to utime.
7773 2011-11-30 Andreas Schwab <schwab@redhat.com>
7775 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7776 expectations for float.
7778 2011-11-29 Andreas Schwab <schwab@redhat.com>
7780 * locale/weight.h (findidx): Add parameter len.
7781 * locale/weightwc.h (findidx): Likewise.
7782 * posix/fnmatch_loop.c (FCT): Adjust caller.
7783 * posix/regcomp.c (build_equiv_class): Likewise.
7784 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7785 * posix/regexec.c (check_node_accept_bytes): Likewise.
7786 * string/strcoll_l.c (STRCOLL): Likewise.
7787 * string/strxfrm_l.c (STRXFRM): Likewise.
7789 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7791 * Makefile.in: Remove CVSOPT handling.
7792 * configure.in: Remove use of AC_REVISION.
7793 * iconvdata/Makefile (distribute): No need to filter out CVS.
7794 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7797 2011-11-16 Andreas Schwab <schwab@redhat.com>
7799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7800 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7801 [USE_AS_STRNCASECMP_L]: Likewise.
7802 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7803 NO_TLS_DIRECT_SEG_REFS.
7804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7805 Fix argument offsets for non-PIC.
7806 [USE_AS_STRNCASECMP_L]: Likewise.
7807 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7808 NO_TLS_DIRECT_SEG_REFS.
7810 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7812 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7814 * locale/loadlocale.c (_nl_load_locale): Likewise.
7816 2011-11-15 Andreas Schwab <schwab@redhat.com>
7818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7819 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7820 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7821 (SYSCALL_GETTIME): Set errno on error.
7823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7824 count references to noai6ai_cached.
7826 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7828 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7830 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7831 FD_CLOEXEC for /proc/self/maps.
7833 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7834 FD_CLOEXEC for /proc/meminfo.
7836 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7839 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7840 FD_CLOEXEC for given file.
7842 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7844 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7845 FD_CLOEXEC for /etc/hosts.
7846 (_gethtent): Likewise.
7848 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7850 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7851 cancellation and set FD_CLOEXEC for /etc/netgroup.
7853 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7854 reading /etc/publickey.
7856 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7857 allow cancellation when reading /etc/group.
7859 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7861 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7863 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7864 when using data file.
7866 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7868 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7869 (write_nis_obj): Use "c" and "e" in fopen.
7871 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7873 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7875 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7877 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7879 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7882 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7884 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7886 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7888 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7889 file parsing and set FD_CLOEXEC.
7891 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7893 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7895 2011-11-14 Andreas Schwab <schwab@redhat.com>
7897 * malloc/arena.c (arena_get2): Don't call reused_arena when
7898 _int_new_arena failed.
7900 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7902 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7903 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7904 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7905 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7908 to compile strcasecmp and strncasecmp.
7909 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7910 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7914 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7916 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7917 locale-defines.sym to gen-as-const-headers.
7918 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7919 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7921 to compile strcasecmp and strncasecmp.
7922 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7923 strcasecmp_l and strncasecmp_l.
7924 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7925 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7926 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7927 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7928 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7929 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7930 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7931 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7932 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7933 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7934 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7936 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7938 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7939 result of SYSDEP_GETTIME_CPU to retval.
7940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7941 parameter list to macro. Remove trailing semicolon. Adjust users.
7943 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7946 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7948 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7950 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7951 from unused variable.
7953 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7955 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7958 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7961 * sunrpc/rpc_prot.c (rejected): Fix case value.
7963 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7964 unsigned long long int to avoid warnings in shift.
7966 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7968 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7971 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7972 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7973 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7975 * nis/nis_table.c (nis_list): Use variable of correct type for
7976 result of __follow_path call.
7978 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7980 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7981 of math functions ceil, trunc, floor, round, and sqrt, when
7982 avaliable on the platform.
7983 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7985 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7986 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7987 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7989 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7991 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7992 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7994 2011-11-11 Roland McGrath <roland@hack.frob.com>
7996 * include/unistd.h: Fix __readlink return type.
7997 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7999 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8001 * stdlib/ucontext.h: Undo last change for makecontext.
8003 2011-11-11 Andreas Schwab <schwab@redhat.com>
8005 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8007 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8008 * setjmp/setjmp.h: Mark functions as non-leaf.
8009 * setjmp/bits/setjmp2.h: Likewise.
8010 * stdlib/ucontext.h: Likewise.
8012 2011-11-10 Andreas Schwab <schwab@redhat.com>
8014 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8015 (reused_arena): Don't check arena limit.
8016 (arena_get2): Atomically check arena limit.
8018 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8020 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8021 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8026 2011-11-07 Andreas Schwab <schwab@redhat.com>
8028 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8029 handler when locking.
8031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8032 Fix size of allocated buffer.
8034 2011-11-04 Andreas Schwab <schwab@redhat.com>
8037 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8038 declarations for long double functions.
8039 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8041 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8043 2011-11-03 Andreas Schwab <schwab@redhat.com>
8045 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8048 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8051 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8053 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8055 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8057 * include/alloca.h (stackinfo_alloca_round): Define.
8058 (extend_alloca): Use it.
8059 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8060 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8063 * scripts/check-local-headers.sh: Ignore libaudit.h.
8065 * nscd/Makefile (extra-objs): Make recursively expanded.
8067 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8069 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8072 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8073 * posix/tst-rfc3484-2.c: Likewise.
8074 * posix/tst-rfc3484-3.c: Likewise.
8076 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8078 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8080 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8081 process_vm_writev from libc using GLIBC_2.15 version.
8083 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8085 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8087 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8090 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8093 * nss/getent.c (initgroups_keys): Show error message in case no group
8096 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8097 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8098 __bump_nl_timestamp.
8099 * nscd/connections (nscd_init): When host database is served open
8100 netlink socket and request notification about configuration changes.
8101 (main_loop_poll): Track netlink file descriptor and bump timestamp
8102 in case data becomes available.
8103 (main_loop_epoll): Likewise.
8104 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8105 (database_pers_head): Add extra_data fileds.
8106 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8107 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8108 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8111 in6ai data, call __free_in6ai.
8112 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8114 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8115 interface information. Reuse previous data if netlink timestamp
8117 (__bump_nl_timestamp): New function.
8118 (__free_in6ai): New function.
8120 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8122 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8123 close_not_cancel_no_status here.
8124 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8126 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8129 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8132 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8133 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8134 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8136 2011-07-03 Andreas Jaeger <aj@suse.de>
8139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8140 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8141 * math/libm-test.inc (sin_test): Add test case.
8143 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8146 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8147 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8149 * elf/chroot_canon.c (chroot_canon): Cleanups.
8151 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8154 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8155 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8157 * string/test-strchr.c: Make usable for strchrnul testing.
8158 * string/test-strchrnul.c: New file.
8159 * string/Makefile (strop-tests): Add strchrnul.
8161 * po/it.po: Update from translation team.
8162 * po/es.po: Likewise.
8164 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8166 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8167 the three constants needed as parameters. Drop the others.
8168 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8169 __m128i_strloadu_tolower.
8170 Create and initialize variable zero and use it in all the places
8171 where _mm_setzero_si128 was used.
8173 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8174 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8175 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8176 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8178 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8179 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8180 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8181 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8182 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8183 __mpranred, __mptan.
8184 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8185 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8186 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8187 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8188 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8189 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8191 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8192 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8194 2011-10-28 Andreas Schwab <schwab@redhat.com>
8196 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8198 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8201 wide char related routines to wcsmbs subdir.
8203 2011-10-27 Andreas Schwab <schwab@redhat.com>
8206 * misc/sys/cdefs.h (__THROWNL): Define.
8207 * posix/unistd.h: Use __THREADNL instead of __THREAD
8208 for memory synchronization functions.
8210 2011-10-26 Roland McGrath <roland@hack.frob.com>
8213 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8215 * manual/stdio.texi (Obstack Streams): Node removed.
8217 2011-10-26 Andreas Schwab <schwab@redhat.com>
8219 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8220 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8221 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8223 * math/math_private.h (math_force_eval): Allow non-addressable
8225 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8227 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8229 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8233 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8239 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8241 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8242 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8243 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8244 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8246 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8247 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8251 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8252 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8254 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8255 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8256 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8257 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8258 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8259 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8261 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8262 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8265 place. Use VEX encoding when compiling for AVX.
8267 2011-10-25 Andreas Schwab <schwab@redhat.com>
8269 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8270 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8272 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8274 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8276 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8277 useless if() expression.
8278 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8288 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8293 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8298 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8300 2011-10-25 Andreas Schwab <schwab@redhat.com>
8302 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8306 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8308 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8309 .text section. Avoid duplicate constants.
8310 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8320 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8322 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8327 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8341 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8343 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8344 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8346 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8348 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8349 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8351 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8356 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8358 * sysdeps/x86_64/dla.h: Move to ...
8359 * sysdeps/x86_64/fpu/dla.h: ...here.
8360 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8361 situations. Use __builtin_fma only for gcc 4.6 and up.
8363 * config.make.in: Add have-mfma4 entry.
8364 * configure.in: Substitute libc_cv_cc_fma4.
8365 * math/Makefile (dbl-only-routines): Add sincostab.
8366 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8367 Use __sincostab not sincos.
8368 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8375 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8376 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8377 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8378 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8380 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8381 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8383 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8384 define aliases when function name is a macro.
8385 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8386 sysdeps/ieee754/dbl-64/sincos.tbl.
8387 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8388 fma4-enabled routines.
8389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8394 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8400 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8401 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8415 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8416 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8417 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8418 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8420 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8431 2011-10-24 Andreas Schwab <schwab@redhat.com>
8433 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8435 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8437 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8439 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8443 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8444 Remove unused variable magic_bits.
8445 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8447 * string/strnlen.c: Define and use STRNLEN macro.
8448 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8449 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8451 * wcsmbs/wcslen.c: Define and use WCSLEN.
8452 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8453 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8454 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8455 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8456 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8457 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8458 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8460 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8463 strnlen-sse2-no-bsf.
8464 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8465 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8466 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8467 Add strnlen support.
8468 (USE_AS_STRNLEN): New macro.
8469 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8471 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8472 * sysdeps/x86_64/wcslen.S: New file.
8474 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8477 XMM-moves are used for copying on small sizes.
8479 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8481 * wcsmbs/Makefile (strop-tests): Add wcschr.
8482 * wcsmbs/test-wcschr.c: New file.
8483 * string/test-strchr.c: Update.
8487 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8489 * wcsmbs/Makefile (strop-tests): Add wcslen.
8490 * wcsmbs/test-wcslen.c: New file.
8491 * string/test-strlen.c: Update.
8495 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8497 * po/it.po: Update from translation team.
8499 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8501 * sysdeps/x86_64/wcscmp.S: Update.
8502 Fix wrong comparison semantics.
8503 wcscmp shall use signed comparison not unsigned.
8504 Don't use substraction to avoid overflow bug.
8505 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8506 * wcsmbc/wcscmp.c: Likewise.
8507 * string/test-strcmp.c: Likewise.
8508 Add new tests to check cases with negative values.
8510 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8512 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8513 * sysdeps/x86_64/dla.h: ...here. New file.
8514 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8524 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8527 __ynl_finite aliases.
8529 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8533 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8535 [DLA_FMA] (EMULV): Use DLA_FMA.
8536 [DLA_FMA] (MUL12): Use EMULV.
8537 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8538 that are not needed.
8539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8547 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8549 * math/s_nan.c: Undef __nan.
8550 * math/s_nanf.c: Undef __nanf.
8551 * math/s_nanl.c: Undef __nanl.
8552 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8555 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8557 * math/s_catan.c: Add branch predictions.
8558 * math/s_catanf.c: Likewise.
8559 * math/s_catanh.c: Likewise.
8560 * math/s_catanhf.c: Likewise.
8561 * math/s_catanhl.c: Likewise.
8562 * math/s_catanl.c: Likewise.
8563 * math/s_cexp.c: Likewise.
8564 * math/s_cexpf.c: Likewise.
8565 * math/s_cexpl.c: Likewise.
8566 * math/s_clog.c: Likewise.
8567 * math/s_clog10.c: Likewise.
8568 * math/s_clog10f.c: Likewise.
8569 * math/s_clog10l.c: Likewise.
8570 * math/s_clogf.c: Likewise.
8571 * math/s_clogl.c: Likewise.
8572 * math/s_csqrt.c: Likewise.
8573 * math/s_csqrtf.c: Likewise.
8574 * math/s_csqrtl.c: Likewise.
8575 * math/s_ctanf.c: Likewise.
8576 * math/s_ctanh.c: Likewise.
8577 * math/s_ctanhf.c: Likewise.
8578 * math/s_ctanhl.c: Likewise.
8579 * math/s_ctanl.c: Likewise.
8581 * math/math_private.h: Define __nan, __nanf, __nanl.
8582 * math/s_cacosh.c: Include <math_private.h>.
8583 * math/s_cacoshl.c: Likewise.
8584 * math/s_casinh.c: Likewise.
8585 * math/s_casinhf.c: Likewise.
8586 * math/s_casinhl.c: Likewise.
8587 * math/s_ccos.c: Rely entire on ccosh.
8588 * math/s_ccosf.c: Rely entire on ccoshf.
8589 * math/s_ccosl.c: Rely entirely on ccoshl.
8590 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8591 Remove tests for FE_INVALID.
8592 * math/s_ccoshf.c: Likewise.
8593 * math/s_ccoshl.c: Likewise.
8594 * math/s_csin.c: Likewise.
8595 * math/s_csinf.c: Likewise.
8596 * math/s_csinh.c Likewise.
8597 * math/s_csinhf.c: Likewise.
8598 * math/s_csinhl.c: Likewise.
8599 * math/s_csinl.c: Likewise.
8600 * math/s_ctan.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8602 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8605 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8608 compilation problems.
8610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8613 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8615 * sysdeps/i386/configure.in: Test for -mfma4 option.
8616 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8617 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8618 COMMON_CPUID_INDEX_80000001.
8619 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8620 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8621 use it if FMA3 is not supported.
8622 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8624 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8625 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8627 2011-10-20 Andreas Schwab <schwab@redhat.com>
8630 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8631 it would create a cycle with a link time dependency.
8633 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8635 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8637 * string/Makefile (strop-tests): Add rawmemchr.
8638 * string/test-rawmemchr.c: New file.
8640 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8642 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8643 when compiling str{,n}casecmp and when AVX is available. Hook up
8644 new optimized code in initializers.
8646 2011-10-19 Andreas Schwab <schwab@redhat.com>
8648 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8649 __feraiseexcept instead of feraiseexcept.
8651 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8653 * math/math_private.h: Define defaults for libc_fetestexcept and
8655 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8656 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8658 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8660 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8661 libc_fetestexcept and libc_feupdateenv.
8663 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8664 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8665 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8666 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8667 libc_feholdexcept_setround.
8669 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8670 Add s_nearbyint-c and s_nearbyintf-c.
8671 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8674 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8676 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8678 * math/math_private.h: Define defaults for libc_fegetround,
8679 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8680 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8681 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8683 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8685 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8686 Remove comments and hacks for old compiler versions.
8687 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8688 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8691 2011-10-18 Andreas Schwab <schwab@redhat.com>
8693 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8694 (__feraiseexcept_renamed): Add __NTH.
8695 (feraiseexcept): Add __NTH. Rename local variables to fix
8696 namespace violations.
8698 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8700 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8702 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8704 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8705 recently added interfaces.
8706 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8708 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8709 about macro parameter expansion.
8711 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8712 __NO_MATH_INLINES is defined. Cleanups.
8714 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8715 and __floorf is target has SSE4.1.
8716 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8717 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8719 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8721 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8725 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8727 2011-10-17 Andreas Schwab <schwab@redhat.com>
8729 * misc/sys/cdefs.h: Fix last change.
8731 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8734 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8736 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8738 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8746 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8747 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8748 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8749 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8750 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8751 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8753 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8754 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8755 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8756 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8757 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8758 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8759 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8761 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8762 ceil, ceilf, floor, floorf.
8764 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8765 Perform IRELATIVE relocations last.
8767 * elf/do-rel.h: Add another parameter nrelative, replacing the
8768 local variable with the same name. Change name of the function
8769 to end in Rel or Rela (uppercase).
8770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8771 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8772 elf_dynamic_do_##reloc function.
8774 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8776 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8777 is sufficient, at least on modern CPUs.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8781 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8782 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8784 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8786 * math/bits/math-finite.h: Add entries for exp.
8787 * math/e_expl.c: Add __*_finite alias.
8788 * sysdeps/i386/fpu/e_exp.S: Likewise.
8789 * sysdeps/i386/fpu/e_expf.S: Likewise.
8790 * sysdeps/i386/fpu/e_expl.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8792 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8796 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8799 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8800 is sufficient, at least on modern CPUs.
8802 * ctype/ctype-info.c (__ctype_init): Define.
8803 * include/ctype.h (__ctype_init): Declare.
8804 (__ctype_b_loc): The variable is always initialized.
8805 (__ctype_toupper_loc): Likewise.
8806 (__ctype_tolower_loc): Likewise.
8807 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8808 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8810 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8812 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8814 * configure.in: Also look in $cxxmachine/include for C++ system
8817 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8819 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8820 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8821 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8822 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8824 (USE_AS_WMEMCMP): New macro.
8826 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8827 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8828 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8829 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8831 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8832 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8834 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8835 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8836 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8837 (USE_AS_WMEMCMP): New macro.
8838 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8839 * sysdeps/string/test-memcmp.c: Update.
8842 * wcsmbs/wmemcmp.c: Update.
8843 (WMEMCMP): New macro.
8846 2011-10-12 Andreas Jaeger <aj@suse.de>
8849 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8851 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8853 * libio/iofwide.c (do_length): Avoid warning.
8855 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8857 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8859 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8861 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8862 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8863 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8864 * sysdeps/i386/i686/fpu/e_log.S: New file.
8865 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8866 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8868 * ctype/ctype.h: Add support for inlined isXXX functions when
8871 2011-10-14 Andreas Schwab <schwab@redhat.com>
8873 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8875 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8877 2011-10-13 Roland McGrath <roland@hack.frob.com>
8880 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8882 2011-10-13 Andreas Schwab <schwab@redhat.com>
8884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8885 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8888 * sysdeps/x86_64/memrchr.S: Check for zero size.
8890 * string/stratcliff.c: Add memrchr tests.
8892 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8895 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8896 rawmemchr-sse2 rawmemchr-sse2-bsf.
8897 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8898 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8899 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8900 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8901 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8902 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8903 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8904 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8906 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8907 * string/memrchr.c (MEMRCHR): New macro.
8909 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8911 Add integration with gcc's -ffinite-math-only and optimize wrapper
8913 * Versions.def: Define GLIBC_2.15 version for libm.
8914 * math/Makefile (headers): Add bits/math-finite.h.
8915 * math/bits/math-finite.h: New file.
8916 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8917 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8918 * math/e_acoshl.c: Add __*_finite alias.
8919 * math/e_acosl.c: Likewise.
8920 * math/e_asinl.c: Likewise.
8921 * math/e_atan2l.c: Likewise.
8922 * math/e_atanhl.c: Likewise.
8923 * math/e_coshl.c: Likewise.
8924 * math/e_exp10.c: Likewise.
8925 * math/e_exp10f.c: Likewise.
8926 * math/e_exp10l.c: Likewise.
8927 * math/e_exp2l.c: Likewise.
8928 * math/e_fmodl.c: Likewise.
8929 * math/e_gammal_r.c: Likewise.
8930 * math/e_hypotl.c: Likewise.
8931 * math/e_j0l.c: Likewise.
8932 * math/e_j1l.c: Likewise.
8933 * math/e_jnl.c: Likewise.
8934 * math/e_lgammal_r.c: Likewise.
8935 * math/e_log10l.c: Likewise.
8936 * math/e_log2l.c: Likewise.
8937 * math/e_logl.c: Likewise.
8938 * math/e_powl.c: Likewise.
8939 * math/e_sinhl.c: Likewise.
8940 * math/e_sqrtl.c: Likewise.
8941 * math/e_scalb.c: Completely rewritten and optimized.
8942 * math/e_scalbf.c: Likewise.
8943 * math/e_scalbl.c: Likewise.
8944 * math/w_acos.c: Likewise.
8945 * math/w_acosf.c: Likewise.
8946 * math/w_acosl.c: Likewise.
8947 * math/w_acosh.c: Likewise.
8948 * math/w_acoshf.c: Likewise.
8949 * math/w_acoshl.c: Likewise.
8950 * math/w_asin.c: Likewise.
8951 * math/w_asinf.c: Likewise.
8952 * math/w_asinl.c: Likewise.
8953 * math/w_atan2.c: Likewise.
8954 * math/w_atan2f.c: Likewise.
8955 * math/w_atan2l.c: Likewise.
8956 * math/w_atanh.c: Likewise.
8957 * math/w_atanhf.c: Likewise.
8958 * math/w_atanhl.c: Likewise.
8959 * math/w_exp10.c: Likewise.
8960 * math/w_exp10f.c: Likewise.
8961 * math/w_exp10l.c: Likewise.
8962 * math/w_fmod.c: Likewise.
8963 * math/w_fmodf.c: Likewise.
8964 * math/w_fmodl.c: Likewise.
8965 * math/w_j0.c: Likewise.
8966 * math/w_j0f.c: Likewise.
8967 * math/w_j0l.c: Likewise.
8968 * math/w_j1.c: Likewise.
8969 * math/w_j1f.c: Likewise.
8970 * math/w_j1l.c: Likewise.
8971 * math/w_jn.c: Likewise.
8972 * math/w_jnf.c: Likewise.
8973 * math/w_log.c: Likewise.
8974 * math/w_logf.c: Likewise.
8975 * math/w_logl.c: Likewise.
8976 * math/w_log10.c: Likewise.
8977 * math/w_log10f.c: Likewise.
8978 * math/w_log10l.c: Likewise.
8979 * math/w_log2.c: Likewise.
8980 * math/w_log2f.c: Likewise.
8981 * math/w_log2l.c: Likewise.
8982 * math/w_pow.c: Likewise.
8983 * math/w_powf.c: Likewise.
8984 * math/w_powl.c: Likewise.
8985 * math/w_remainder.c: Likewise.
8986 * math/w_remainderf.c: Likewise.
8987 * math/w_remainderl.c: Likewise.
8988 * math/w_scalb.c: Likewise.
8989 * math/w_scalbf.c: Likewise.
8990 * math/w_scalbl.c: Likewise.
8991 * math/w_sqrt.c: Likewise.
8992 * math/w_sqrtf.c: Likewise.
8993 * math/w_sqrtl.c: Likewise.
8994 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8995 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8997 * math/math_private.h: Declare __kernel_standard_f.
8998 * math/w_cosh.c: Remove cruft and optimize a bit.
8999 * math/w_coshf.c: Likewise.
9000 * math/w_coshl.c: Likewise.
9001 * math/w_exp2.c: Likewise.
9002 * math/w_exp2f.c: Likewise.
9003 * math/w_exp2l.c: Likewise.
9004 * math/w_hypot.c: Likewise.
9005 * math/w_hypotf.c: Likewise.
9006 * math/w_hypotl.c: Likewise.
9007 * math/w_lgamma.c: Likewise.
9008 * math/w_lgamma_r.c: Likewise.
9009 * math/w_lgammaf.c: Likewise.
9010 * math/w_lgammaf_r.c: Likewise.
9011 * math/w_lgammal.c: Likewise.
9012 * math/w_lgammal_r.c: Likewise.
9013 * math/w_sinh.c: Likewise.
9014 * math/w_sinhf.c: Likewise.
9015 * math/w_sinhl.c: Likewise.
9016 * math/w_tgamma.c: Likewise.
9017 * math/w_tgammaf.c: Likewise.
9018 * math/w_tgammal.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9020 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9021 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9022 Minor optimizations. Pretty printing. Remove cruft.
9023 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9024 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9025 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9026 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9027 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9028 * sysdeps/i386/fpu/e_asin.S: Likewise.
9029 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9030 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9031 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9032 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9033 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9034 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9036 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9037 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9038 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9039 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9040 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9041 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9042 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9043 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9044 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9045 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9046 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9047 * sysdeps/i386/fpu/e_log.S: Likewise.
9048 * sysdeps/i386/fpu/e_log10.S: Likewise.
9049 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9050 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9051 * sysdeps/i386/fpu/e_log2.S: Likewise.
9052 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9054 * sysdeps/i386/fpu/e_logf.S: Likewise.
9055 * sysdeps/i386/fpu/e_logl.S: Likewise.
9056 * sysdeps/i386/fpu/e_pow.S: Likewise.
9057 * sysdeps/i386/fpu/e_powf.S: Likewise.
9058 * sysdeps/i386/fpu/e_powl.S: Likewise.
9059 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9060 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9061 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9063 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9064 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9065 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9066 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9067 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9097 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9099 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9100 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9101 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9102 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9103 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9104 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9105 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9106 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9107 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9108 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9109 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9163 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9164 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9165 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9166 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9167 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9168 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9169 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9170 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9171 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9172 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9173 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9176 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9178 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9179 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9180 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9181 (__isnanf): Likewise.
9182 (__isinf_ns): Likewise.
9183 (__isinf_nsf): Likewise.
9184 (__finite): Likewise.
9185 (__finitef): Likewise.
9186 (__ieee754_sqrt): Define as macro.
9187 (__ieee754_sqrtf): Define as macro.
9188 (__ieee754_sqrtl): Define as macro.
9189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9191 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9192 __FINITE_MATH_ONLY__ consistent.
9193 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9195 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9197 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9200 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9202 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9204 * po/ja.po: Update from translation team.
9206 2011-10-08 Roland McGrath <roland@hack.frob.com>
9208 * locale/programs/locarchive.c (prepare_address_space): New function.
9209 (create_archive, enlarge_archive, open_archive): Use it.
9211 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9212 inside [SHARED], where it is used.
9214 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9216 * nss/getent.c (netgroup_keys): Remove unused variable.
9217 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9219 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9221 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9224 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9225 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9227 * math/Makefile (libm-calls): Add s_isinf_ns.
9228 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9229 * math/multc3.c: Likewise.
9230 * math/s_casin.c: Likewise.
9231 * math/s_casinf.c: Likewise.
9232 * math/s_casinl.c: Likewise.
9233 * math/s_ccos.c: Likewise.
9234 * math/s_ccosf.c: Likewise.
9235 * math/s_ccosl.c: Likewise.
9236 * math/s_ctan.c: Likewise.
9237 * math/s_ctanf.c: Likewise.
9238 * math/s_ctanh.c: Likewise.
9239 * math/s_ctanhf.c: Likewise.
9240 * math/s_ctanhl.c: Likewise.
9241 * math/s_ctanl.c: Likewise.
9242 * math/w_fmod.c: Likewise.
9243 * math/w_fmodf.c: Likewise.
9244 * math/w_fmodl.c: Likewise.
9245 * math/w_remainder.c: Likewise.
9246 * math/w_remainderf.c: Likewise.
9247 * math/w_remainderl.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9249 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9250 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9252 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9253 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9254 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9255 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9257 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9259 * stdio-common/printf_fphex.c: Likewise.
9260 * stdio-common/printf_size.c: Likewise.
9262 * math/e_exp10.c: Include math_private.h using <...> not "...".
9263 * math/e_exp10f.c: Likewise.
9264 * math/e_exp10l.c: Likewise.
9265 * math/e_exp2l.c: Likewise.
9266 * math/e_j0l.c: Likewise.
9267 * math/e_j1l.c: Likewise.
9268 * math/e_jnl.c: Likewise.
9269 * math/e_lgammal_r.c: Likewise.
9270 * math/e_rem_pio2l.c: Likewise.
9271 * math/e_scalb.c: Likewise.
9272 * math/e_scalbf.c: Likewise.
9273 * math/e_scalbl.c: Likewise.
9274 * math/k_cosl.c: Likewise.
9275 * math/k_sinl.c: Likewise.
9276 * math/k_tanl.c: Likewise.
9277 * math/s_cacoshf.c: Likewise.
9278 * math/s_catan.c: Likewise.
9279 * math/s_catanf.c: Likewise.
9280 * math/s_catanh.c: Likewise.
9281 * math/s_catanhf.c: Likewise.
9282 * math/s_catanhl.c: Likewise.
9283 * math/s_catanl.c: Likewise.
9284 * math/s_ccosh.c: Likewise.
9285 * math/s_ccoshf.c: Likewise.
9286 * math/s_ccoshl.c: Likewise.
9287 * math/s_cexp.c: Likewise.
9288 * math/s_cexpf.c: Likewise.
9289 * math/s_cexpl.c: Likewise.
9290 * math/s_clog.c: Likewise.
9291 * math/s_clog10.c: Likewise.
9292 * math/s_clog10f.c: Likewise.
9293 * math/s_clog10l.c: Likewise.
9294 * math/s_clogf.c: Likewise.
9295 * math/s_clogl.c: Likewise.
9296 * math/s_csin.c: Likewise.
9297 * math/s_csinf.c: Likewise.
9298 * math/s_csinh.c: Likewise.
9299 * math/s_csinhf.c: Likewise.
9300 * math/s_csinhl.c: Likewise.
9301 * math/s_csinl.c: Likewise.
9302 * math/s_csqrt.c: Likewise.
9303 * math/s_csqrtf.c: Likewise.
9304 * math/s_csqrtl.c: Likewise.
9305 * math/s_ctan.c: Likewise.
9306 * math/s_ctanf.c: Likewise.
9307 * math/s_ctanh.c: Likewise.
9308 * math/s_ctanhf.c: Likewise.
9309 * math/s_ctanhl.c: Likewise.
9310 * math/s_ctanl.c: Likewise.
9311 * math/s_ldexp.c: Likewise.
9312 * math/s_ldexpf.c: Likewise.
9313 * math/s_ldexpl.c: Likewise.
9314 * math/s_significand.c: Likewise.
9315 * math/s_significandf.c: Likewise.
9316 * math/s_significandl.c: Likewise.
9317 * math/w_acos.c: Likewise.
9318 * math/w_acosf.c: Likewise.
9319 * math/w_acosh.c: Likewise.
9320 * math/w_acoshf.c: Likewise.
9321 * math/w_acoshl.c: Likewise.
9322 * math/w_acosl.c: Likewise.
9323 * math/w_asin.c: Likewise.
9324 * math/w_asinf.c: Likewise.
9325 * math/w_asinl.c: Likewise.
9326 * math/w_atan2.c: Likewise.
9327 * math/w_atan2f.c: Likewise.
9328 * math/w_atan2l.c: Likewise.
9329 * math/w_atanh.c: Likewise.
9330 * math/w_atanhf.c: Likewise.
9331 * math/w_atanhl.c: Likewise.
9332 * math/w_cosh.c: Likewise.
9333 * math/w_coshf.c: Likewise.
9334 * math/w_coshl.c: Likewise.
9335 * math/w_dremf.c: Likewise.
9336 * math/w_exp10.c: Likewise.
9337 * math/w_exp10f.c: Likewise.
9338 * math/w_exp10l.c: Likewise.
9339 * math/w_exp2.c: Likewise.
9340 * math/w_exp2f.c: Likewise.
9341 * math/w_fmod.c: Likewise.
9342 * math/w_fmodf.c: Likewise.
9343 * math/w_fmodl.c: Likewise.
9344 * math/w_hypot.c: Likewise.
9345 * math/w_hypotf.c: Likewise.
9346 * math/w_hypotl.c: Likewise.
9347 * math/w_j0.c: Likewise.
9348 * math/w_j0f.c: Likewise.
9349 * math/w_j0l.c: Likewise.
9350 * math/w_j1.c: Likewise.
9351 * math/w_j1f.c: Likewise.
9352 * math/w_j1l.c: Likewise.
9353 * math/w_jn.c: Likewise.
9354 * math/w_jnf.c: Likewise.
9355 * math/w_jnl.c: Likewise.
9356 * math/w_lgamma.c: Likewise.
9357 * math/w_lgamma_r.c: Likewise.
9358 * math/w_lgammaf.c: Likewise.
9359 * math/w_lgammaf_r.c: Likewise.
9360 * math/w_lgammal.c: Likewise.
9361 * math/w_lgammal_r.c: Likewise.
9362 * math/w_log.c: Likewise.
9363 * math/w_log10.c: Likewise.
9364 * math/w_log10f.c: Likewise.
9365 * math/w_log10l.c: Likewise.
9366 * math/w_log2.c: Likewise.
9367 * math/w_log2f.c: Likewise.
9368 * math/w_log2l.c: Likewise.
9369 * math/w_logf.c: Likewise.
9370 * math/w_logl.c: Likewise.
9371 * math/w_pow.c: Likewise.
9372 * math/w_powf.c: Likewise.
9373 * math/w_powl.c: Likewise.
9374 * math/w_remainder.c: Likewise.
9375 * math/w_remainderf.c: Likewise.
9376 * math/w_remainderl.c: Likewise.
9377 * math/w_scalb.c: Likewise.
9378 * math/w_scalbf.c: Likewise.
9379 * math/w_scalbl.c: Likewise.
9380 * math/w_sinh.c: Likewise.
9381 * math/w_sinhf.c: Likewise.
9382 * math/w_sinhl.c: Likewise.
9383 * math/w_sqrt.c: Likewise.
9384 * math/w_sqrtf.c: Likewise.
9385 * math/w_sqrtl.c: Likewise.
9386 * math/w_tgamma.c: Likewise.
9387 * math/w_tgammaf.c: Likewise.
9388 * math/w_tgammal.c: Likewise.
9390 * po/ja.po: Update from translation team.
9392 2011-09-29 Andreas Jaeger <aj@suse.de>
9395 * sunrpc/netname.c (netname2host): Fix logic.
9399 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9401 * math/w_remainder.c (__remainder): Likewise.
9402 * math/w_remainderf.c (__remainderf): Likewise.
9403 * math/libm-test.inc (remainder_test): Add test cases.
9405 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9407 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9410 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9412 * string/test-memcmp.c: Avoid unncessary #defines.
9413 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9415 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9417 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9418 Use new sse2 version for core i3 - i7 as it's faster
9420 (bit_Prefer_PMINUB_for_stringop): New.
9421 * sysdeps/x86_64/rawmemchr.S: Update.
9422 Replace with faster SSE2 version.
9423 * sysdeps/x86_64/memrchr.S: New file.
9424 * sysdeps/x86_64/memchr.S: Update.
9425 Replace with faster SSE2 version.
9427 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9429 * elf/dl-load.c (lose): Add cast to avoid warning.
9431 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9433 * po/ca.po: Update from translation team.
9435 * inet/getnetgrent_r.c: Hook up nscd.
9436 * nscd/Makefile (routines): Add nscd_netgroup.
9437 (nscd-modules): Add netgroupcache.
9438 (CFLAGS-netgroupcache.c): Define.
9439 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9440 (cache_search): Add const to second parameter.
9441 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9443 (dbs): Add netgrdb entry.
9444 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9445 (verify_persistent_db): Handle netgrdb.
9446 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9447 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9449 (netgroup_response_header): Define.
9450 (innetgroup_response_header): Define.
9451 (datahead): Add netgroup_response_header and innetgroup_response_header
9453 * nscd/nscd.conf: Add entries for netgroup cache.
9454 * nscd/nscd.h (dbtype): Add netgrdb.
9455 (_PATH_NSCD_NETGROUP_DB): Define.
9456 (netgroup_iov_disabled): Declare.
9457 (xmalloc, xcalloc, xrealloc): Move declarations here.
9458 (cache_search): Adjust prototype.
9459 Add netgroup-related prototypes.
9460 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9461 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9462 (__nscd_innetgr): Declare.
9463 * nscd/selinux.c (perms): Use access_vector_t as element type and
9464 add netgroup-related initializers.
9465 * nscd/netgroupcache.c: New file.
9466 * nscd/nscd_netgroup.c: New file.
9467 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9468 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9469 For four parameters use innetgr.
9470 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9471 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9472 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9473 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9475 * nscd/connections.c (register_traced_file): Don't register file
9476 for disabled databases.
9478 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9480 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9482 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9483 from tree and freeing node.
9485 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9487 * nss/nsswitch.c (__nss_database_lookup): Handle
9488 nss_parse_service_list out of memory case.
9490 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9492 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9495 2011-10-04 Andreas Schwab <schwab@redhat.com>
9497 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9498 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9500 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9501 elf_machine_rela, elf_machine_lazy_rel.
9502 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9503 (ELF_DYNAMIC_DO_REL): Likewise.
9504 (ELF_DYNAMIC_DO_RELA): Likewise.
9505 (ELF_DYNAMIC_RELOCATE): Likewise.
9506 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9507 to ELF_DYNAMIC_DO_REL.
9508 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9509 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9510 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9513 skip_ifunc, don't call ifunc function if non-zero.
9514 (elf_machine_rela): Likewise.
9515 (elf_machine_lazy_rel): Likewise.
9516 (elf_machine_lazy_rela): Likewise.
9517 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9518 (elf_machine_lazy_rel): Likewise.
9519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9521 (elf_machine_lazy_rel): Likewise.
9522 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9524 (elf_machine_lazy_rel): Likewise.
9525 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9526 (elf_machine_lazy_rel): Likewise.
9527 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9528 (elf_machine_lazy_rel): Likewise.
9529 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9530 (elf_machine_lazy_rel): Likewise.
9531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9532 (elf_machine_lazy_rel): Likewise.
9533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9534 (elf_machine_lazy_rel): Likewise.
9535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9536 (elf_machine_lazy_rel): Likewise.
9538 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9540 * nss/nss_files/files-init.c (_nss_files_init): Use static
9541 initialization for all the *_traced_file variables.
9543 2011-09-28 Andreas Schwab <schwab@redhat.com>
9545 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9547 2011-09-27 Roland McGrath <roland@hack.frob.com>
9550 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9552 2011-09-27 Andreas Schwab <schwab@redhat.com>
9554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9555 Reread the line before reparsing it.
9557 2011-09-26 Andreas Schwab <schwab@redhat.com>
9559 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9561 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9562 Maxim Kuvyrkov <maxim@codesourcery.com>
9563 Joseph Myers <joseph@codesourcery.com>
9565 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9566 if needed for __stack_chk_guard.
9568 2011-09-19 Roland McGrath <roland@hack.frob.com>
9570 * sysdeps/posix/spawni.c (script_execute): Always define it.
9571 It will be optimized away if unused.
9572 (maybe_script_execute): New function.
9573 (__spawni): Call it.
9575 * Makerules: Don't include tls.make.
9576 (config-tls): Always set to thread.
9577 * tls.make.c: File removed.
9579 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9581 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9582 * config.make.in (CPPFLAGS-config): New substituted variable.
9584 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9586 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9589 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9590 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9592 2011-09-15 Roland McGrath <roland@hack.frob.com>
9594 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9595 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9597 (CALL_FAIL): Likewise.
9598 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9599 (CALL_FAIL): Macro removed.
9600 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9602 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9604 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9605 for __FINITE_MATH_ONLY__ == 1.
9607 2011-09-15 Andreas Schwab <schwab@redhat.com>
9609 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9610 __ieee754_sqrt instead of sqrt.
9611 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9612 __ieee754_sqrtf instead of sqrtf.
9613 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9614 __floorf instead of floorf.
9615 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9616 __floorf, __truncf instead of floorf, truncf.
9618 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9620 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9622 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9623 __extern_always_inline.
9624 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9627 2011-09-14 Andreas Schwab <schwab@redhat.com>
9629 * elf/rtld.c (dl_main): Also relocate in dependency order when
9630 doing symbol dependency testing.
9632 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9635 Always define `refsym'.
9637 2011-09-13 Andreas Schwab <schwab@redhat.com>
9639 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9640 (__FD_ELT): Renamed from __FDELT.
9641 * misc/bits/select2.h (__FD_ELT): Likewise.
9642 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9643 __FD_MASK instead of __FDELT, __FDMASK.
9644 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9646 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9649 * elf/Makefile (gen-ldd): Fix pattern.
9651 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9652 (init_tls): Likewise.
9654 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9658 2011-09-12 Andreas Schwab <schwab@redhat.com>
9660 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9661 `struct cmsghdr *' instead of `void *'.
9662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9665 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9667 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9669 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9672 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9674 * configure.in: Remove --with-tls option.
9675 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9676 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9677 out in case it is missing.
9678 * sysdeps/ia64/elf/configure.in: Likewise.
9679 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9680 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9681 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9682 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9683 * sysdeps/sh/elf/configure.in: Likewise.
9684 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9685 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9686 * sysdeps/x86_64/elf/configure.in: Likewise.
9687 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9688 * sysdeps/mach/hurd/tls.h: Likewise.
9691 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9694 * configure.in: Fix use of AC_INIT.
9696 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9698 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9700 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9702 * malloc/hooks.c: Likewise.
9705 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9706 variables statically.
9707 (narenas): Initialize.
9708 (list_lock): Initialize.
9709 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9710 initializtion of main_arena and list_lock. Small cleanups.
9711 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9712 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9713 Add initializers to main_arena and mp_.
9714 (malloc_state): Remove pagesize member. Change all users to use
9717 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9718 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9719 is always initialized.
9721 * malloc/malloc.c: Removed unused configurations and dead code.
9722 * malloc/arena.c: Likewise.
9723 * malloc/hooks.c: Likewise.
9724 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9726 * include/tls.h: Removed. USE___THREAD must always be defined.
9727 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9728 * elf/dl-libc.c: Likewise.
9729 * elf/dl-tsd.c: Likewise.
9730 * include/errno.h: Likewise.
9731 * include/netdb.h: Likewise.
9732 * include/resolv.h: Likewise.
9733 * inet/herrno-loc.c: Likewise.
9734 * inet/herrno.c: Likewise.
9735 * malloc/arena.c: Likewise.
9736 * malloc/hooks.c: Likewise.
9737 * malloc/malloc.c: Likewise.
9738 * resolv/res-state.c: Likewise.
9739 * resolv/res_libc.c: Likewise.
9740 * sysdeps/i386/dl-machine.h: Likewise.
9741 * sysdeps/ia64/dl-machine.h: Likewise.
9742 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9743 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9744 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9745 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9746 * sysdeps/sh/dl-machine.h: Likewise.
9747 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9748 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9749 * sysdeps/unix/i386/sysdep.S: Likewise.
9750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9751 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9756 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9760 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9761 * sysdeps/x86_64/dl-machine.h: Likewise.
9762 * tls.make.c: Likewise.
9764 * configure.in: Remove --with-__thread option. Make tests for
9765 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9766 tls_model attribute fail if no support is available. Remove
9768 * Makeconfig: Adjust for dropped configure option. All features are
9770 * Makerules: Likewise.
9771 * Versions.def: Likewise.
9772 * argp/argp-fmtstream.c: Likewise.
9773 * argp/argp-fmtstream.h: Likewise.
9774 * argp/argp-help.c: Likewise.
9775 * assert/assert.c: Likewise.
9776 * config.h.in: Likewise.
9777 * config.make.in: Likewise.
9778 * configure: Likewise.
9779 * configure.in: Likewise.
9780 * csu/Versions: Likewise.
9781 * csu/init.c: Likewise.
9782 * elf/tst-audit2.c: Likewise.
9783 * elf/tst-tls10.c: Likewise.
9784 * elf/tst-tls10.h: Likewise.
9785 * elf/tst-tls11.c: Likewise.
9786 * elf/tst-tls12.c: Likewise.
9787 * elf/tst-tls14.c: Likewise.
9788 * elf/tst-tlsmod11.c: Likewise.
9789 * elf/tst-tlsmod12.c: Likewise.
9790 * elf/tst-tlsmod13.c: Likewise.
9791 * elf/tst-tlsmod13a.c: Likewise.
9792 * elf/tst-tlsmod14a.c: Likewise.
9793 * elf/tst-tlsmod15b.c: Likewise.
9794 * elf/tst-tlsmod16a.c: Likewise.
9795 * elf/tst-tlsmod16b.c: Likewise.
9796 * elf/tst-tlsmod7.c: Likewise.
9797 * elf/tst-tlsmod8.c: Likewise.
9798 * elf/tst-tlsmod9.c: Likewise.
9799 * gmon/gmon.c: Likewise.
9800 * grp/fgetgrent_r.c: Likewise.
9801 * grp/putgrent.c: Likewise.
9802 * hurd/fopenport.c: Likewise.
9803 * include/libc-symbols.h: Likewise.
9804 * include/tls.h: Likewise.
9805 * intl/gettextP.h: Likewise.
9806 * intl/loadinfo.h: Likewise.
9807 * locale/global-locale.c: Likewise.
9808 * locale/localeinfo.h: Likewise.
9809 * mach/devstream.c: Likewise.
9810 * malloc/arena.c: Likewise.
9811 * malloc/set-freeres.c: Likewise.
9812 * misc/err.c: Likewise.
9813 * misc/getttyent.c: Likewise.
9814 * misc/mntent_r.c: Likewise.
9815 * posix/getopt.c: Likewise.
9816 * posix/wordexp.c: Likewise.
9817 * pwd/fgetpwent_r.c: Likewise.
9818 * resolv/Versions: Likewise.
9819 * resolv/res_hconf.c: Likewise.
9820 * shadow/fgetspent_r.c: Likewise.
9821 * shadow/putspent.c: Likewise.
9822 * stdio-common/printf_fphex.c: Likewise.
9823 * stdio-common/tmpfile.c: Likewise.
9824 * stdlib/abort.c: Likewise.
9825 * stdlib/fmtmsg.c: Likewise.
9826 * sunrpc/auth_unix.c: Likewise.
9827 * sunrpc/clnt_perr.c: Likewise.
9828 * sunrpc/clnt_tcp.c: Likewise.
9829 * sunrpc/clnt_udp.c: Likewise.
9830 * sunrpc/clnt_unix.c: Likewise.
9831 * sunrpc/openchild.c: Likewise.
9832 * sunrpc/svc_simple.c: Likewise.
9833 * sunrpc/svc_tcp.c: Likewise.
9834 * sunrpc/svc_udp.c: Likewise.
9835 * sunrpc/svc_unix.c: Likewise.
9836 * sunrpc/xdr.c: Likewise.
9837 * sunrpc/xdr_array.c: Likewise.
9838 * sunrpc/xdr_rec.c: Likewise.
9839 * sunrpc/xdr_ref.c: Likewise.
9840 * sunrpc/xdr_stdio.c: Likewise.
9842 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9844 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9846 2011-07-03 Andreas Jaeger <aj@suse.de>
9848 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9849 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9850 regenerate with gen-libm-tests.pl.
9852 2010-05-12 Petr Baudis <pasky@suse.cz>
9855 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9856 around j0() zero points by switching to j1().
9857 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9862 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9864 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9866 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9869 Patch in part by Pavel Roskin <proski@gnu.org>.
9872 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9874 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9875 Free memory block if necessary.
9878 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9879 be NULL. Don't lock in this case.
9881 2011-09-09 Roland McGrath <roland@hack.frob.com>
9883 * elf/elf.h (ELFOSABI_GNU): New macro.
9884 (ELFOSABI_LINUX): Define to that.
9886 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9888 * string/strncat.c (strncat): Undef the symbol in case it has been
9889 defined in bits/string.h.
9891 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9893 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9895 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9898 2011-08-17 Andreas Jaeger <aj@suse.de>
9900 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9902 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9903 Ian Lance Taylor <iant@google.com>
9905 * math/libm-test.inc (lround_test): New testcase.
9906 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9908 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9910 * Makefile: Remove support for automatic cvs check-ins.
9911 * Makerules: Likewise.
9912 * config.make.in: Likewise.
9913 * configure.in: Likewise.
9914 * intl/Makefile: Likewise.
9915 * locale/Makefile: Likewise.
9916 * po/Makefile: Likewise.
9917 * posix/Makefile: Likewise.
9918 * sysdeps/gnu/Makefile: Likewise.
9919 * sysdeps/mach/hurd/Makefile: Likewise.
9920 * sysdeps/sparc/sparc32/Makefile: Likewise.
9923 * posix/Makefile (bug-regex32-ENV): Define.
9924 Patch by John Stanley <jpsinthemix@verizon.net>.
9926 * misc/Makefile (headers): Add bits/select2.h.
9927 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9928 * misc/bits/select2.h: New file.
9929 * include/bits/select2.h: New file.
9930 * debug/Makefile (routines): Add fdelt_chk.
9931 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9932 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9934 * debug/fdelt_chk.c: New file.
9936 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9937 * wcsmbs/test-wmemcmp.c: Likewise.
9938 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9939 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9941 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9943 * string/Makefile (strop-tests): Add memcmp.
9944 * string/test-wmemcmp.c: New file.
9945 * string/test-memcmp.c: Add wmemcmp support.
9947 2011-09-08 Roland McGrath <roland@hack.frob.com>
9950 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9953 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9954 garbage value in a __mach_port_mod_refs call in the cases of the
9955 task-self and thread-self ports.
9957 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9959 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9961 2011-09-08 Andreas Schwab <schwab@redhat.com>
9963 * elf/dl-load.c (lose): Check for non-null L.
9965 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9967 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9969 * elf/dl-libc.c (dlerror_run): Pass back error code from
9973 * elf/dl-load.c (lose): Free l_origin if it is valid.
9975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9977 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9980 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9981 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9982 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9984 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9987 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9988 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9989 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9990 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9991 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9992 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9993 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9994 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9995 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9997 2011-08-15 Alan Modra <amodra@gmail.com>
10000 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10001 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10002 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10003 ppc_mcount to static-only-routines.
10004 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10006 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10007 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10009 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10011 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10012 for finite and infinity parameters.
10014 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10016 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10017 and add nop instructions for throughput optimization.
10018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10020 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10022 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10023 aligned copy for power7 with vector-scalar instructions.
10024 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10026 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10028 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10031 2011-09-07 Andreas Schwab <schwab@redhat.com>
10034 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10037 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10040 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10041 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10045 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10048 Forgot to demangle the pointer.
10050 * sysdeps/i386/sysdep.h: Define atom_text_section.
10051 * sysdeps/x86_64/sysdep.h: Likewise.
10052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10053 section with atom_text_section.
10054 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10055 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10056 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10061 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10062 already be defined. Change to take two parameters and don't assign
10063 result to variable. Adjust all users.
10064 Define INTERNAL_GETTIME if not already defined.
10065 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10068 HAVE_CLOCK_GETTIME_VSYSCALL.
10069 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10072 gettimeofday vsyscall, just use time.
10074 2011-09-06 Andreas Schwab <schwab@redhat.com>
10076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10079 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10081 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10085 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10087 syscall if possible.
10089 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10091 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10092 e_ident. Don't pass to find_mapsXX.
10093 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10095 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10098 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10099 * sysdeps/x86_64/multiarch/strchr.S: Update.
10100 Check bit_slow_BSF bit.
10101 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10103 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10105 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10108 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10110 (tryshell): Define.
10111 (__spawni): Change last parameter to be flag. Test
10112 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10113 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10114 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10115 * posix/spawni.c: Likewise.
10116 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10117 * posix/spawnp.c: Likewise. Change normal version to use
10118 SPAWN_XFLAGS_USE_PATH.
10119 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10120 SPAWN_XFLAGS_TRY_SHELL.
10123 * posix/glob.h: Remove gcc 1.x support.
10126 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10128 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10131 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10133 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10134 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10135 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10136 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10137 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10140 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10142 * sysdeps/x86_64/wcscmp.S: New file.
10144 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10145 wcscmp-c wcscmp-sse2
10146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10147 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10148 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10149 * wcsmbs/wcscmp.c: Allow renaming.
10151 2011-09-05 David S. Miller <davem@davemloft.net>
10153 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10154 stack slot, rather than the struct return pointer slot.
10155 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10156 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10158 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10160 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10162 * po/ja.po: Update from translation team.
10165 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10166 kernel in 64-bit binaries.
10168 2011-09-01 David S. Miller <davem@davemloft.net>
10170 * elf/elf.h (HWCAP_SPARC_*): Move to..
10171 * sysdeps/sparc/sysdep.h: this new file and add new values.
10172 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10173 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10174 _DL_HWCAP_COUNT to 24.
10175 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10177 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10178 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10179 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10181 instead of magic constants.
10182 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10184 2011-08-31 David S. Miller <davem@davemloft.net>
10186 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10188 Reimplement to do errno handling inline.
10189 (SYSCALL_ERROR_HANDLER): New macro.
10190 (__SYSCALL_STRING): Do not do errno handling in asm.
10191 (__CLONE_SYSCALL_STRING): Delete.
10192 (__INTERNAL_SYSCALL_STRING): Delete.
10193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10194 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10195 (PSEUDO): Reimplement to do errno handling inline.
10196 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10197 (SYSCALL_ERROR_HANDLER): New macro.
10198 (__SYSCALL_STRING): Do not do errno handling in asm.
10199 (__CLONE_SYSCALL_STRING): Delete.
10200 (__INTERNAL_SYSCALL_STRING): Delete.
10201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10202 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10204 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10205 (inline_syscall*): Add 'err' argument.
10206 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10207 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10208 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10209 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10211 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10212 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10214 2011-08-30 Andreas Schwab <schwab@redhat.com>
10216 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10218 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10220 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10223 2011-08-24 David S. Miller <davem@davemloft.net>
10225 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10227 2011-08-24 Andreas Schwab <schwab@redhat.com>
10229 * elf/Makefile: Add rules to build and run unload8 test.
10230 * elf/unload8.c: New file.
10231 * elf/unload8mod1.c: New file.
10232 * elf/unload8mod1x.c: New file.
10233 * elf/unload8mod2.c: New file.
10234 * elf/unload8mod3.c: New file.
10236 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10239 2011-08-23 David S. Miller <davem@davemloft.net>
10241 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10242 subtract stack bias.
10243 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10244 %sp not %fp in calculations.
10245 (_JMPBUF_UNWINDS_ADJ): Likewise.
10247 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10248 (aio_suspend): Call it to force an exception region around the
10249 AIO_MISC_WAIT() invocation.
10251 2011-08-23 Andreas Schwab <schwab@redhat.com>
10253 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10256 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10258 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10260 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10261 and <dl-machine.h>.
10262 (Elf64_FuncDesc): Remove.
10264 2011-08-22 David S. Miller <davem@davemloft.net>
10266 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10267 sigaltstack check, add missing cfi directives.
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10269 missing cfi directives, and sigaltstack handling.
10271 2011-08-16 Andreas Schwab <schwab@redhat.com>
10274 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10275 object is seen twice.
10276 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10278 * elf/Makefile (distribute): Add tst-initorder2.c.
10279 (tests): Add tst-initorder2.
10280 (modules-names): Add tst-initorder2a tst-initorder2b
10281 tst-initorder2c tst-initorder2d. Add rules to build them.
10282 ($(objpfx)tst-initorder2.out): New rule.
10283 * elf/tst-initorder2.c: New file.
10284 * elf/tst-initorder2.exp: New file.
10286 2011-08-22 Andreas Schwab <schwab@redhat.com>
10288 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10290 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10291 dependencies back to end of function.
10293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10294 $(elfobjdir)/ld.so.
10296 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10299 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10301 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10302 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10303 of __vdso_gettimeofday.
10304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10305 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10307 (_libc_vdso_platform_setup): Remove initialization of
10308 __vdso_gettimeofday and __vdso_time.
10310 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10312 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10313 and fgetc_unlocked.
10314 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10317 * elf/dl-open.c (add_to_global): Report additions to the global scope
10318 for LD_DEBUG=scopes.
10319 (dl_open_worker): Also print scope of newly loaded dependencies.
10320 (_dl_show_scope): Indicate if there is no scope.
10323 * stdio-common/Makefile (tests): Add bug24.
10324 * stdio-common/bug24.c: New file.
10326 2011-08-19 Andreas Jaeger <aj@suse.de>
10329 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10330 non-existant file when using close-on-exec mode.
10332 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10335 the very first instruction.
10337 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10338 the CFI state in the end.
10339 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10340 inclusion of dl-trampoline.h.
10341 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10343 2011-08-19 Andreas Schwab <schwab@redhat.com>
10345 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10346 expectations for long double.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10349 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10351 2011-08-14 David S. Miller <davem@davemloft.net>
10353 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10354 artificual limit depends upon the system page size.
10356 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10358 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10359 * resolv/Makefile: Define CFLAGS-libresolv.
10361 2011-08-17 Andreas Schwab <schwab@redhat.com>
10363 * nss/makedb.c (compute_tables): Make variables used in nested
10366 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10368 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10369 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10370 if buffer was too small.
10372 * elf/pldd.c (main): Attach to all threads in the process.
10373 Rewrite /proc handling to use *at functions.
10375 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10377 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10378 specifies first scope to show.
10379 (dl_open_worker): Update callers. Move printing scope of new
10380 object to before the relocation.
10381 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10382 * sysdeps/generic/ldsodefs.h: Update declaration.
10384 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10385 string for the scope number.
10387 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10389 * nscd/servicescache.c (cache_addserv): Make sure written is always
10392 2011-08-14 Roland McGrath <roland@hack.frob.com>
10394 * sysdeps/i386/i486/bits/atomic.h
10395 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10396 statement expression, so as to suppress "set but not used" warning.
10397 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10399 * string/strncat.c (STRNCAT): Use prototype definition.
10401 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10402 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10404 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10405 (localedef-modules): Add localedef.
10406 (locale-modules): Add locale.
10408 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10409 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10410 to avoid a warning.
10412 2011-08-14 David S. Miller <davem@davemloft.net>
10414 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10415 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10417 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10419 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10420 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10421 * elf/rtld.c (dl_main): Set l_name of vDSO.
10422 Call _dl_show_scope when DL_DEBUG_SCOPES.
10423 (process_dl_debug): Recognize scopes flag and also set it for all.
10424 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10425 Declare _dl_show_scope.
10427 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10428 (do_dlopen): Pass caller_dlopen to dl_open.
10429 (__libc_dlopen_mode): Initialize caller_dlopen.
10431 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10432 of libc. Make tolower call locale-independent. Optimize a bit by
10433 using isdigit instead of isalnum.
10434 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10436 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10438 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10439 was a dependency or dynamically loaded.
10441 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10443 * intl/l10nflist.c: Allow architecture-specific pop function.
10444 * sysdeps/x86_64/l10nflist.c: New file.
10446 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10449 2011-08-10 Andreas Schwab <schwab@redhat.com>
10451 * include/dirent.h: Add libc_hidden_proto for scandirat and
10452 scandirat64. Don't declare __scandirat64.
10453 * dirent/scandirat.c: Add libc_hidden_def.
10454 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10455 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10457 2011-08-10 David S. Miller <davem@davemloft.net>
10459 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10465 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10467 * Versions.def [libc]: Add GLIBC_2.15.
10468 * dirent/Makefile (routines): Add scandirat and scandirat64.
10469 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10471 * dirent/dirent.h: Declare scandirat and scandirat64.
10472 * dirent/scandirat.c: New file.
10473 * dirent/scandirat64.c: New file.
10474 * sysdeps/wordsize-64/scandirat.c: New file.
10475 * sysdeps/wordsize-64/scandirat64.c: New file.
10476 * dirent/opendir.c: Define opendirat.
10477 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10479 * dirent/scandir64.c: Adjust for scandir.c change.
10480 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10481 __scandirat64, and __scandir_cancel_handler.
10482 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10483 additional parameter and use openat instead of open (outside of ld.so).
10484 Add new __opendir as wrapper around __opendirat.
10485 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10486 here without requiring old scandirat implementation.
10488 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10490 * dirent/scandir.c (cancel_handler): Renamed to
10491 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10492 defined. Adjust users.
10493 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10494 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10496 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10498 * string/test-string.h (IMPL): Use __STRING to expand name and then
10501 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10504 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10506 * string/Makefile: Update.
10507 (strop-tests): Append strncat.
10508 * string/test-wcscmp.c: New file.
10509 New comprehensive test for wcscmp.
10510 * string/test-strcmp.c: Update.
10511 (WIDE): New define.
10513 2011-07-22 Andreas Schwab <schwab@redhat.com>
10515 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10518 2011-07-26 Andreas Schwab <schwab@redhat.com>
10520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10521 encoding to ACE if AI_IDN.
10523 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10526 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10528 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10531 Fix overflow bug in strncat.
10532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10534 * string/test-strncat.c: Update.
10535 Add new tests for checking overflow bugs.
10537 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10540 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10541 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10542 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10544 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10545 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10546 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10547 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10550 (USE_AS_STRCAT): Define.
10551 Add strcat and strncat support.
10552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10554 2011-07-25 Andreas Schwab <schwab@redhat.com>
10556 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10557 __n bigger than INT_MAX+1.
10558 (__strncmp_g): Likewise.
10560 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10562 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10563 * libio/stido.h: Likewise.
10565 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10570 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10573 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10577 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10582 (_dl_x86_64_save_sse): Likewise.
10584 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10588 (_dl_x86_64_save_sse): Likewise.
10590 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10592 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10594 2011-07-21 Andreas Schwab <schwab@redhat.com>
10596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10598 (_dl_x86_64_save_sse): Use correct AVX check.
10600 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10603 bug in strncpy/strncat.
10604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10606 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10608 * string/tester.c (test_strcat): Add tests for different alignments
10609 of source and destination.
10610 (test_strncat): Likewise.
10612 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10615 * posix/glob.c (glob): Check passed in values before using them in
10616 expressions to avoid some overflows.
10617 (glob_in_dir): Likewise.
10620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10621 check for AVX enablement so that we don't crash with old kernels and
10623 * elf/tst-audit4.c: Add same checks here.
10624 * elf/tst-audit6.c: Likewise.
10626 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10628 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10630 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10632 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10634 * po/cs.po: Update from translation team.
10635 * po/bg.po: Likewise.
10637 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10639 * misc/sys/cdefs.h: Add support for const attribute.
10640 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10641 to gnu_dev_{major,minor,makedev} functions.
10643 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10645 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10647 2011-07-20 Andreas Schwab <schwab@redhat.com>
10649 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10652 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10655 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10656 register in order to avoid conflicts with the soft frame pointer
10657 being held in r11 when necessary.
10658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10659 (INTERNAL_VSYSCALL_NCS): Likewise.
10661 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10663 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10664 * elf/dl-fini.c (_dl_fini): Adjust caller.
10665 * elf/dl-close.c (_dl_close_worker): Likewise.
10666 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10668 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10670 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10671 "aux_cache->nlibs < 0".
10673 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10674 in the reload-count case.
10676 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10679 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10680 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10681 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10682 * sysdeps/x86_64/multiarch/strcat.S: New file.
10683 * sysdeps/x86_64/multiarch/strncat.S: New file.
10684 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10685 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10686 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10687 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10689 (USE_AS_STRCAT): Define.
10690 Add strcat and strncat support.
10691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10692 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10693 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10694 * string/strncat.c: Update.
10695 (USE_AS_STRNCAT): Define.
10696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10697 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10699 * sysdeps/x86_64/multiarch/init-arch.h
10700 (bit_Prefer_PMINUB_for_stringop): New.
10701 (index_Prefer_PMINUB_for_stringop): Likewise.
10702 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10703 bit_Prefer_PMINUB_for_stringop.
10705 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10707 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10709 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10710 of casting of buffer.
10711 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10712 buffer32 and buffer64.
10713 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10714 writes instead of casting of buffer.
10715 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10717 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10720 2011-07-19 Andreas Schwab <schwab@redhat.com>
10722 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10724 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10726 * nscd/nscd.c (termination_handler): Don't do anything for a database
10727 if it has not yet been initialized.
10729 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10731 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10733 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10735 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10737 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10739 * po/nl.po: Update from translation team.
10740 * po/sv.po: Likewise.
10742 2011-07-16 Roland McGrath <roland@hack.frob.com>
10744 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10745 now disallowed by GCC.
10747 * configure.in (use-default-link): Default to yes if a test -shared
10748 link meets our qualifications.
10749 * configure: Regenerated.
10751 * config.make.in (output-format): New variable.
10752 * configure.in: Check for ld --print-output-format support.
10753 * configure: Regenerated.
10754 * Makerules ($(common-objpfx)format.lds)
10755 [$(output-format) != unknown]: Just use $(output-format),
10756 instead of the linker-script munging.
10758 2011-07-14 Roland McGrath <roland@hack.frob.com>
10760 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10761 of $(common-objpfx)shlib.lds.
10762 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10764 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10765 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10767 * configure.in (-z relro check): Adjust test code to add a large
10768 writable data section after it.
10769 * configure: Regenerated.
10771 2011-07-11 Roland McGrath <roland@hack.frob.com>
10773 * configure.in (-z relro check): Fix test code to make the variable
10775 * configure: Regenerated.
10777 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10779 * nscd/nscd.h (struct traced_file): Define.
10780 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10781 elements. Add traced_files.
10782 (inotify_fd): Declare.
10783 (register_traced_file): Declare.
10784 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10785 (inotify_fd): Export.
10786 (resolv_conf_descr): Remove.
10787 (nscd_init): Move inotify descriptor creation to main.
10788 Don't register files for notification here.
10789 (register_traced_file): New function.
10790 (invalidate_cache): Don't use reset_res to determine whether to call
10791 res_init, go through the list of registered files.
10792 (main_loop_poll): The inotify descriptors are now stored in the
10793 structures for the traced files.
10794 (main_loop_epoll): Likewise
10795 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10796 to __nss_disable_nscd.
10797 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10798 for a database anymore. Check the records for all the registered
10800 * nss/Makefile (libnss_files-routines): Add files-init.
10801 (libnss_db-routines): Add db-init.
10802 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10803 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10804 * nss/nss_db/db-init.c: New file.
10805 * nss/nss_files/files-init.c: New file.
10806 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10807 __nss_lookup_function.
10808 (__nss_lookup_function): Call nss_load_library.
10809 (nss_load_all_libraries): New function.
10810 (__nss_disable_nscd): Take parameter with callback function for files
10811 to register. Set is_nscd. Load all the DSOs for the NSS modules
10812 used for the cached services.
10813 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10814 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10815 options for features to all the files in nscd.
10817 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10819 2011-07-10 Roland McGrath <roland@hack.frob.com>
10821 * csu/elf-init.c (__libc_csu_init): Comment typo.
10823 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10825 * po/pl.po: Update from translation team.
10826 * po/ja.po: Likewise.
10827 * po/ru.po: Likewise.
10828 * po/ko.po: Likewise.
10829 * po/fr.po: Likewise.
10831 2011-07-09 Roland McGrath <roland@hack.frob.com>
10833 * configure.in (.ctors/.dtors header and trailer check):
10834 Use an empirical test on a built program.
10835 * configure: Regenerated.
10837 * configure.in (-z relro check): Use an empirical test on a built DSO.
10838 Detect, but do not require, on ia64.
10839 * configure: Regenerated.
10841 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10842 Update tests that use readelf to use $READELF instead.
10843 * configure: Regenerated.
10845 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10847 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10848 if the result is not used.
10850 2011-07-05 Andreas Jaeger <aj@suse.de>
10853 * stdlib/tst-strtod.c: Add testcase.
10855 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10857 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10858 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10859 The latter has a higher limit. Take additional parameter to pass to
10861 (__pathconf): Pass file to __statfs_link_max.
10862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10864 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10868 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10869 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10871 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10872 (__statfs_filesize_max): Likewise.
10873 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10875 2011-07-05 Andreas Jaeger <aj@suse.de>
10877 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10879 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10881 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10883 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10886 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10888 * Makefile (strop-tests): Add strncat.
10889 * string/test-strncat.c: New file.
10891 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10893 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10895 2011-06-21 Andreas Jaeger <aj@suse.de>
10897 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10898 Copy rule from iconvdata/Makefile.
10900 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10903 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10904 but no long options are defined, just return 'W'.
10906 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10909 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10911 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10913 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10915 (innetgr): Likewise.
10917 2011-07-05 Roland McGrath <roland@hack.frob.com>
10919 * config.make.in (install_root): Default to $(DESTDIR).
10921 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10923 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10925 2011-07-02 Roland McGrath <roland@hack.frob.com>
10927 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10929 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10930 containing directory rather than embedding absolute directory names.
10932 * scripts/check-local-headers.sh: Rewritten using awk.
10933 Match by word, not by line. Print error messages for matches.
10934 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10936 * Makerules [shlib-lds-flags empty]:
10937 ($(common-objpfx)libc_pic.opts): New target.
10938 ($(common-objpfx)libc_pic.os.clean): New target.
10939 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10941 * config.make.in (OBJCOPY): New variable.
10942 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10943 * configure: Regenerated.
10945 * config.make.in (use-default-link): New variable.
10946 * configure.in (use_default_link): Grok --with-default-link to set it.
10947 * configure: Regenerated.
10948 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10949 (shlib-lds, shlib-lds-flags): Define to empty.
10951 * Makerules (shlib-lds): New variable.
10952 (shlib-lds-flags): New variable.
10953 (build-shlib, build-moduile, build-module-asneeded): Use it.
10954 ($(common-objpfx)libc.so): Use $(shlib-lds).
10955 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10956 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10958 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10959 DT_FLAGS/DT_FLAGS_1 with zero flags.
10961 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10962 linker script munging.
10964 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10966 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10968 * crypt/sha512.c (sha512_process_block): Perform total addition using
10969 128-bit if possible.
10970 (__sha512_finish_ctx): Likewise.
10971 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10973 * crypt/sha256.c (SWAP64): Define.
10974 (sha256_process_block): Perform total addition using 64-bit if
10976 (__sha256_finish_ctx): Likewise.
10978 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10980 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10982 * nscd/hstcache.c (cache_addhst): Likewise.
10983 * nscd/grpcache.c (cache_addgr): Likewise.
10984 * nscd/aicache.c (addhstaiX): Likewise
10985 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10987 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10989 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10991 * nscd/hstcache.c (cache_addhst): Likewise.
10992 * nscd/grpcache.c (cache_addgr): Likewise.
10993 * nscd/aicache.c (addhstaiX): Likewise
10995 2011-07-01 Andreas Schwab <schwab@redhat.com>
10997 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10998 domain only when needed.
11000 2011-06-30 Andreas Schwab <schwab@redhat.com>
11002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11003 is always restored.
11005 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11007 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11008 are re-adding the entry.
11009 * nscd/servicescache.c (cache_addserv): Likewise.
11011 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11013 * sysdeps/generic/dl-irel.h: fix protection against multiple
11015 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11017 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11020 * malloc/memusage.sh: Fix quoting in message.
11021 * debug/xtrace.sh: Likewise.
11023 * configure.in: Remove support for --experimental-malloc option, make
11025 * config.make.in: Likewise.
11026 * malloc/Makefile: Likewise.
11028 2011-06-27 Andreas Schwab <schwab@redhat.com>
11030 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11031 two-byte characters.
11033 2011-06-27 Roland McGrath <roland@hack.frob.com>
11035 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11036 AC_CACHE_CHECK invocation.
11037 * configure: Regenerated.
11039 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11041 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11044 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11045 bit from old_res_options.
11047 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11049 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11050 value type for setfct.
11052 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11055 __gettimeofday instead of gettimeofday.
11057 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11059 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11061 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11068 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11071 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11072 strcpy-sse2-unaligned strncpy-sse2-unaligned
11073 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11074 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11075 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11076 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11077 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11080 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11081 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11082 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11083 (STRCPY): Support SSE2 and SSSE3 versions.
11085 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11089 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11090 kernels which artificially limit size of requests.
11092 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11095 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11096 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11097 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11098 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11099 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11100 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11101 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11104 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11105 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11106 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11107 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11108 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11110 Enable unaligned load optimization for Intel Core i3, i5 and i7
11112 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11114 (index_Fast_Unaligned_Load): Define.
11115 (HAS_FAST_UNALIGNED_LOAD): Define.
11117 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11119 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11121 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11125 until it is clear that the information is realy needed.
11126 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11128 2011-06-22 Andreas Schwab <schwab@redhat.com>
11130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11132 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11135 /sys/devices/system/cpu/online if it is usable.
11137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11138 reading the information from the /proc filesystem to once a second.
11140 2011-06-21 Andreas Jaeger <aj@suse.de>
11142 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11143 NULL after inclusion of kernel headers.
11145 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11147 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11148 calls to internal_setent.
11151 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11152 addresses using gethostbyname4_r ignore IPv4 addresses.
11154 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11155 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11157 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11159 2011-06-20 David S. Miller <davem@davemloft.net>
11161 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11163 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11165 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11166 (elf_irel): Use it.
11167 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11168 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11169 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11170 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11171 * sysdeps/x86_64/dl-irel.h: Likewise.
11173 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11174 * elf/dl-sym.c: Likewise.
11176 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11178 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11179 need to dereference resplen2.
11181 2011-06-14 Andreas Schwab <schwab@redhat.com>
11183 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11185 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11187 * Makeconfig: Define vardbdir and inst_vardbdir.
11188 * nss/Makefile: Add rules to install db-Makefile.
11190 * nss/nss_db/db-XXX.c: Cleanup.
11192 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11193 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11195 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11196 * nss/makedb.c: Implement -g option to specify that value strings
11197 are generated and should not be added to table iterated over for
11199 * nss/nss_db/db-initgroups.c: New file.
11201 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11204 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11205 (internal_getgrouplist): Adjust to name change.
11206 Update use_initgroups_entry if this is not the first call.
11207 * nss/databases.def: Add initgroups entry.
11209 * nss/makedb.c (compute_tables): Check result of multiple hash table
11210 sizes to minimize maximum chain length.
11212 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11214 * Versions.def: Add entry for libnss_db.
11215 * shlib-versions: Likewise.
11216 * nss/Makefile: Add rules to build libnss_db.
11217 * nss/Versions: Add libnss_db information. Organize libnss_files
11219 * nss/db-Makefile: Add gshadow support. Change rules for the new
11220 makedb progra. Some minor improvements to generate smaller files.
11221 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11223 * nss/makedb.c: ...here.
11224 Improve database format to be smaller and require less memory at
11226 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11228 * nss/nss_db/db-netgrp.c: Likewise.
11229 * nss/nss_db/db-open.c: Likewise.
11230 * nss/nss_files/flies-XXX.x: Adjust comments.
11231 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11232 * nss/nss_files/files-grp.c: Likewise.
11233 * nss/nss_files/files-hosts.c: Likewise.
11234 * nss/nss_files/files-network.c: Likewise.
11235 * nss/nss_files/files-proto.c: Likewise.
11236 * nss/nss_files/files-pwd.c: Likewise.
11237 * nss/nss_files/files-rpc.c: Likewise.
11238 * nss/nss_files/files-service.c: Likewise.
11239 * nss/nss_files/files-sgrp.c: Likewise.
11240 * nss/nss_files/files-spwd.c: Likewise.
11241 * nss/nss_db/db-alias.c: Removed.
11242 * nss/nss_db/dummy-db.h: Removed.
11244 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11246 * nss/makedb.c: Rewritten to not use database library.
11247 * nss/Makefile: Update to build new makedb program.
11249 2011-06-14 Andreas Jaeger <aj@suse.de>
11251 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11252 memset declaration.
11254 2011-06-10 Andreas Schwab <schwab@redhat.com>
11256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11259 2011-06-10 Roland McGrath <roland@hack.frob.com>
11261 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11262 * elf/Makefile ($(objpfx)ld.so): Likewise.
11264 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11265 Don't list ld.so twice in dependencies.
11267 * posix/bug-regex31.c: Include <stdlib.h>.
11269 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11271 * nis/nss_compat/compat-spwd.c
11272 (getspent_next_nss_netgr): Remove unused variable.
11273 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11275 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11276 nonmembers" output to use the right array.
11278 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11280 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11282 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11283 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11284 * catgets/gencat.c (read_input_file): Likewise.
11285 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11287 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11288 variable definition inside #if's controlling its use.
11290 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11292 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11294 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11296 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11299 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11301 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11302 * configure: Regenerated.
11304 * Makerules: Revert last change.
11305 * elf/Makefile: Likewise.
11307 2011-06-09 Roland McGrath <roland@hack.frob.com>
11309 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11310 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11311 (reloc-link): Likewise.
11313 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11315 * elf/Makefile: Add rules to build pldd.
11316 * elf/pldd.c: New file.
11317 * elf/pldd-xx.c: New file.
11319 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11321 * version.h: Update for 2.15 development version.
11323 2011-06-07 David S. Miller <davem@davemloft.net>
11325 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11328 elf_machine_lazy_rel): Likewise.
11329 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11331 elf_machine_lazy_rel): Likewise.
11332 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11333 dl_hwcap via passed in argument.
11334 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11337 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11339 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11341 2011-06-06 Roland McGrath <roland@hack.frob.com>
11344 * manual/fdl-1.1.texi: New file, verbatim from:
11345 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11346 * manual/lgpl-2.1.texi: New file, verbatim from:
11347 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11348 * manual/Makefile (licenses): New variable, list those new file names.
11350 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11352 * manual/fdl.texi: File removed.
11353 * manual/lesser.texi: File removed.
11354 * manual/libc.texinfo (Copying, Documentation License):
11355 Use new @include file names, put @appendix directive before @include.
11357 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11360 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11361 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11362 (mq_open): Add __NTH.
11364 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11367 Assume Intel Core i3/i5/i7 processor if AVX is available.
11369 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11374 2011-05-31 Andreas Schwab <schwab@redhat.com>
11376 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11377 memory. Use alloca_account. Fix memory leak when retrying.
11379 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11381 * version.h (RELEASE): Bump for 2.14 release.
11382 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11384 * config.make.in (RANLIB): Remove entry.
11386 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11388 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11389 (libc.pot): Work around missing support for .ksh extension in xgettext.
11392 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11393 if both request failed.
11394 (send_dg): In case of server errors clear resplen or *resplen2.
11397 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11398 when there are multiple maps.
11399 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11400 (_dl_fini): Remove test here.
11402 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11404 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11407 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11408 bit from old_res_options.
11409 (gaih_inet): Likewise.
11412 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11415 * resolv/res_init.c (res_setoptions): Make the code more compact.
11418 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11422 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11424 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11427 * malloc/malloc.h: Declare malloc hook variables as volatile.
11429 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11433 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11434 raise in the comment.
11435 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11437 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11439 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11442 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11443 grow the buffers more if it already has to be sufficient.
11444 (build_wcs_upper_buffer): Likewise.
11445 * posix/regexec.c (check_matching): Likewise.
11446 (clean_state_log_if_needed): Likewise.
11447 (extend_buffers): Don't enlarge buffers beyond size of the input
11449 Patches mostly by Emil Wojak <emil@wojak.eu>.
11450 * posix/bug-regex32.c: New file.
11451 * posix/Makefile (tests): Add bug-regex32.
11453 * locale/findlocale.c (_nl_find_locale): Return right away if
11454 _nl_explode_name failed.
11455 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11457 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11459 * debug/xtrace.sh: Unify messages.
11460 * malloc/memusage.sh: Likewise.
11463 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11464 time symbol from vDSO. Substitute with vsyscall if not available.
11465 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11469 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11470 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11471 Add sendmmsg and internal_sendmmsg.
11472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11473 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11474 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11476 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11477 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11480 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11483 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11484 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11490 * iconvdata/Makefile (tests): Add bug-iconv9.
11491 * iconvdata/bug-iconv9.c: New file.
11493 2011-05-27 Andreas Schwab <schwab@redhat.com>
11496 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11498 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11501 (struct user_regs_struct): Change intcs field back to cs.
11503 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11505 * po/ja.po: Update from translation team.
11507 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11510 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11511 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11513 2011-05-20 Andreas Schwab <schwab@redhat.com>
11515 * stdlib/longlong.h: Update from GCC.
11517 2011-05-23 Andreas Schwab <schwab@redhat.com>
11519 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11521 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11522 Add parameter name.
11523 (__sysconf): Pass it down.
11525 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11528 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11531 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11532 add in in __libc_use_alloca calls. Adjust callers.
11533 (glob): Use malloc in some situations.
11535 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11536 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11539 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11541 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11542 and CLOCK_BOOTTIME_ALARM.
11545 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11548 * string/_strerror.c (__strerror_r): Print negative errors as signed
11552 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11553 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11554 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11556 * configure.in: Fix typo in redirection and correct removal of test
11557 files in two cases.
11560 * locale/setlocale.c (new_composite_name): Fix test to check for
11561 identical name of all categories.
11564 * libio/filedoalloc.c (local_isatty): New function.
11565 (_IO_file_doallocate): Use local_isatty.
11566 * stdio-common/perror.c (perror): In case a new stream is used
11567 forward the stream error.
11568 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11571 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11576 * include/alloca.h (extend_alloca_account): Define.
11579 * posix/regex.h: Fix comments with documentation of user-accessible
11580 fields after compilation and describe correct free'ing of pattern
11581 after re_compile_pattern.
11582 Patch by Reuben Thomas <rrt@sc3d.org>.
11584 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11586 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11587 and -mno-altivec to prevent the compiler from using Altivec and/or
11588 VSX instructions when the corresponding registers are not available.
11590 2011-05-19 Andreas Schwab <schwab@redhat.com>
11592 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11594 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11596 * libio/freopen.c (freopen): Use __dup2, not dup2.
11597 * libio/freopen64.c (freopen64): Likewise.
11599 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11602 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11603 * math/Makefile (tests): Add test-powl.
11604 (CFLAGS-test-powl.c): Define.
11605 * math/test-powl.c: New file.
11607 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11609 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11611 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11614 * iconvdata/gb18030.c: Update to GB18020-2005.
11616 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11618 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11619 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11620 Patch by Aharon Robbins <arnold@skeeve.com>.
11623 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11627 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11628 through underflows.
11631 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11632 point to strings before performing equality test for error_one_per_line
11636 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11640 (struct user_fpregs_struct): Avoid __uint*_t types.
11643 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11644 symbol info. Use it instead of calling _dl_addr locally.
11645 (lock_and_info): New function.
11646 (tr_freehook): Call lock_and_info and pass symbol info as additional
11647 parameter to tr_where.
11648 (tr_mallochook): Likewise.
11649 (tr_reallochook): Likewise.
11650 (tr_memalignhook): Likewise.
11652 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11653 used and couldn't be at all thread-safe.
11655 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11657 * libio/freopen.c (freopen): Don't close old file descriptor
11658 before the new one is opened. Instead dup the new file descriptor
11659 to the old one after the new stream is created.
11660 * libio/freopen64.c (freopen64): Likewise.
11661 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11662 * libio/fileops.c (_IO_new_file_close_it): Handle new
11663 _IO_FLAGS2_NOCLOSE flag.
11664 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11665 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11666 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11667 _IO_FLAGS2_NOCLOSE flag.
11668 * include/unistd.h: Add hidden_proto for dup3.
11669 Define __have_dup3.
11670 * io/dup3.c: Define hidden symbol.
11671 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11674 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11675 when an incomplete long option is used.
11676 * posix/tst-getopt_long1.c: New file.
11677 * posix/Makefile (tests): Add tst-getopt_long1.
11680 * scripts/config.guess: Update from autoconf-2.68.
11681 * scripts/config.sub: Likewise.
11684 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11686 (has_cpuclock): ...this. New function.
11687 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11688 macro here based on has_cpuclock code.
11691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11692 First byte (not low byte) is now always NUL.
11693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11696 Use non-cancelable interfaces.
11699 * locale/iso-639.def: Add entry for Sorani.
11702 * include/stdlib.h: Move include protection to the right place.
11703 Define abort_msg_s. Declare __abort_msg with it.
11704 * stdlib/abort.c (__abort_msg): Adjust type.
11705 * assert/assert.c (__assert_fail_base): New function. Majority
11706 of code from __assert_fail. Allocate memory for __abort_msg with
11708 (__assert_fail): Now call __assert_fail_base.
11709 * assert/assert-perr.c: Remove bulk of implementation. Use
11710 __assert_fail_base.
11711 * include/assert.hL Declare __assert_fail_base.
11712 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11714 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11716 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11720 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11721 until all modules are registered in the DTV.
11722 * elf/Makefile: Add rules to build and run tst-tls19.
11723 * elf/tst-tls19.c: New file.
11724 * elf/tst-tls19mod1.c: New file.
11725 * elf/tst-tls19mod2.c: New file.
11726 * elf/tst-tls19mod3.c: New file.
11727 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11730 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11734 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11735 two-byte sequence errors.
11736 * iconvdata/Makefile (tests): Add bug-iconv8.
11737 * iconvdata/bug-iconv8.c: New file.
11740 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11743 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11746 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11747 (dummy_getcfa): New function.
11748 (init): Get _Unwind_GetCFA address, use dummy if not found.
11749 (backtrace_helper): In recursion check, also check whether CFA changes.
11750 (__backtrace): Completely initialize arg.
11752 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11753 storing incomplete byte sequence in state object. Avoid testing for
11754 guaranteed too small input if we know there is enough data available.
11756 2011-05-11 Andreas Schwab <schwab@redhat.com>
11758 * Makeconfig (+link-pie): Indent.
11759 * Rules (binaries-pie): Define if $(have-fpie) and
11761 (binaries-shared): Also filter out $(binaries-pie).
11762 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11763 * nscd/Makefile (others-pie): Add nscd.
11764 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11765 ($(objpfx)nscd): Remove command override.
11766 * login/Makefile (others-pie): Add pt_chown.
11767 ($(objpfx)pt_chown): Remove command override.
11768 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11769 remove command overrides.
11771 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11773 * libio/tst_putwc.c: Fix error messages.
11776 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11777 currently writing and seek to current position when not.
11778 * libio/Makefile (tests): Add bug-fclose1.
11779 * libio/bug-fclose1.c: New file.
11781 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11784 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11785 don't set DF_1_NODELETE here.
11786 (do_lookup_x): When entering new entry test for copy relocation
11787 and if necessary set DF_1_NODELETE flag.
11788 * elf/tst-unique4.cc: New file.
11789 * elf/tst-unique4.h: New file.
11790 * elf/tst-unique4lib.cc: New file.
11791 * elf/Makefile: Add rules to build and run tst-unique4.
11792 Patch by Piotr Bury <pbury@goahead.com>.
11794 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11797 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11800 * misc/mntent_r.c (addmntent): Flush the stream after the output
11803 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11804 (is_trusted_path_normalize): Skip initial colon. Append slash
11805 to empty buffer. Duplicate is_trusted_path code but allow
11806 constructed patch to be prefix.
11807 (is_dst): Allow $ORIGIN followed by /.
11808 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11809 Correct testing of result of is_trusted_path_normalize
11810 (decompose_rpath): Fix warning.
11812 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11815 * grp/initgroups.c (internal_getgrouplist): When we found the service
11816 list through the initgroups entry in nsswitch.conf do not always
11817 continue on a successful lookup. Don't always use the
11818 __nss_group_database value if it is set.
11819 * nss/nsswitch.conf (initgroups): Change action for successful db
11820 lookup to continue for compatibility.
11822 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11825 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11827 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11829 * iconvdata/tst-tables.sh: Likewise.
11830 * iconvdata/cp770.c: New file.
11831 * iconvdata/cp771.c: New file.
11832 * iconvdata/cp772.c: New file.
11833 * iconvdata/cp773.c: New file.
11834 * iconvdata/cp774.c: New file.
11835 * iconvdata/testdata/CP770: New file.
11836 * iconvdata/testdata/CP770..UTF8: New file.
11837 * iconvdata/testdata/CP771: New file.
11838 * iconvdata/testdata/CP771..UTF8: New file.
11839 * iconvdata/testdata/CP772: New file.
11840 * iconvdata/testdata/CP772..UTF8: New file.
11841 * iconvdata/testdata/CP773: New file.
11842 * iconvdata/testdata/CP773..UTF8: New file.
11843 * iconvdata/testdata/CP774: New file.
11844 * iconvdata/testdata/CP774..UTF8: New file.
11846 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11848 * iconvdata/gen-8bit-gap.sh: Likewise.
11849 * iconvdata/gen-8bit.sh: Likewise.
11851 * locale/iso-639.def: Add ary entry.
11854 * locale/C-translit.h.in: Add U20A1 transliteration.
11857 * locale/iso-639.def: Add wae entry.
11858 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11861 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11865 * locale/C-translit.h.in: Add entry for U20B9.
11866 Patch by pravin.d.s@gmail.com.
11868 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11871 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11872 ENAMETOOLONG use generic getcwd.
11873 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11874 in rtld. Use *stat64.
11875 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11876 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11877 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11878 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11879 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11880 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11881 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11882 __fstatat64 macros.
11883 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11884 * dirent/rewinddir.c: Add libc_hidden_def.
11885 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11886 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11888 * include/dirent.h (__alloc_dir): Add flags parameter.
11889 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11890 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11892 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11893 from fdopendir if O_CLOEXEC is already set.
11895 2011-03-15 Alan Modra <amodra@gmail.com>
11897 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11898 l_tls_firstbyte_offset non-zero. Save padding offset in
11899 l_tls_firstbyte_offset for later use.
11900 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11901 freeing static tls block.
11903 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11905 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11906 where #ifdef was intended. The intent is to prevent ARG_MAX from
11907 being defined by the kernel headers.
11909 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11912 * resolv/resolv.h: Define RES_NOTLDQUERY.
11913 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11914 no-tld-query and set RES_NOTLDQUERY.
11915 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11916 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11917 modern BIND to search name as TLD unless forbidden.
11919 2011-05-07 Petr Baudis <pasky@suse.cz>
11920 Ulrich Drepper <drepper@gmail.com>
11923 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11924 (is_trusted_path): ...to here.
11925 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11926 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11927 using is_trusted_path_normalize() in setuid scripts.
11929 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11931 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11932 __BEGIN/__END_DECLS.
11934 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11937 NSS_STATUS_NOTFOUND if no record was found.
11939 2011-05-05 Andreas Schwab <schwab@redhat.com>
11941 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11942 (headers-not-in-tirpc): Remove rpc/netdb.h
11943 * resolv/netdb.h: Revert last change.
11945 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11947 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11948 circular dependency between libgcc.a and libc.a.
11950 2011-05-05 Andreas Schwab <schwab@redhat.com>
11952 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11953 * nis/Makefile: Don't install rpcsvc/*.
11954 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11955 instead of <rpc/types.h>.
11956 (MAXHOSTNAMELEN): Define.
11958 2011-05-03 Andreas Schwab <schwab@redhat.com>
11960 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11962 2011-04-28 Maciej Babinski <mbabinski@google.com>
11965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11966 gethostbyname4_r when IPv6 results are possible.
11968 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11971 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11972 _PC_PIPE_BUF handling.
11974 2011-04-30 Bruno Haible <bruno@clisp.org>
11977 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11978 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11980 * inet/getnameinfo.c (getnameinfo): Likewise.
11982 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11984 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11985 to groups setting in database lookup.
11986 * nss/nsswitch.conf: Add initgroups entry.
11988 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11991 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11993 Patch by Eric Blake <eblake@redhat.com>.
11995 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11997 * sunrpc/Makefile (need-export-routines): Add svc_run.
11998 (routines): Remove svc_run.
11999 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12000 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12001 * sunrpc/svc_run.c (svc_run): Likewise.
12002 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12004 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12007 problem in reallocation in last patch.
12009 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12011 * sunrpc/Makefile: Move inclusion of Rules.
12013 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12015 * nss/nss_files/files-initgroups.c: New file.
12016 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12017 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12018 _nss_files_initgroups_dyn.
12020 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12022 * elf/elf.h (R_ARM_IRELATIVE): Define.
12024 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12026 * po/ru.po: Update from translation team.
12028 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12030 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12033 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12036 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12037 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12042 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12046 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12050 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12053 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12055 * stdlib/bug-getcontext.c: New file.
12056 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12058 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12060 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12061 instructions into .machine "z9-109".
12062 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12063 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12065 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12067 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12068 between environment variables and auxiliary vector.
12070 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12072 * Makefile: Add rules to build linkobj/libc.so.
12073 * include/libc-symbols.h: Define libc_hidden_nolink.
12074 * include/rpc/auth.h: Mark functions which are to be hidden.
12075 * include/rpc/auth_des.h: Likewise.
12076 * include/rpc/auth_unix.h: Likewise.
12077 * include/rpc/clnt.h: Likewise.
12078 * include/rpc/des_crypt.h: Likewise.
12079 * include/rpc/key_prot.h: Likewise.
12080 * include/rpc/pmap_clnt.h: Likewise.
12081 * include/rpc/pmap_prot.h: Likewise.
12082 * include/rpc/pmap_rmt.h: Likewise.
12083 * include/rpc/rpc_msg.h: Likewise.
12084 * include/rpc/svc.h: Likewise.
12085 * include/rpc/svc_auth.h: Likewise.
12086 * include/rpc/xdr.h: Likewise.
12087 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12088 * nss/Makefile: Likewise.
12089 * sunrpc/Makefile: Don't install headers. Build library with normal
12090 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12091 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12092 for the compat linking library. Remove use of INTDEF/INTUSE.
12093 * sunrpc/auth_none.c: Likewise.
12094 * sunrpc/auth_unix.c: Likewise.
12095 * sunrpc/authdes_prot.c: Likewise.
12096 * sunrpc/authuxprot.c: Likewise.
12097 * sunrpc/clnt_gen.c: Likewise.
12098 * sunrpc/clnt_perr.c: Likewise.
12099 * sunrpc/clnt_raw.c: Likewise.
12100 * sunrpc/clnt_simp.c: Likewise.
12101 * sunrpc/clnt_tcp.c: Likewise.
12102 * sunrpc/clnt_udp.c: Likewise.
12103 * sunrpc/clnt_unix.c: Likewise.
12104 * sunrpc/des_crypt.c: Likewise.
12105 * sunrpc/des_soft.c: Likewise.
12106 * sunrpc/get_myaddr.c: Likewise.
12107 * sunrpc/key_call.c: Likewise.
12108 * sunrpc/key_prot.c: Likewise.
12109 * sunrpc/netname.c: Likewise.
12110 * sunrpc/pm_getmaps.c: Likewise.
12111 * sunrpc/pm_getport.c: Likewise.
12112 * sunrpc/pmap_clnt.c: Likewise.
12113 * sunrpc/pmap_prot.c: Likewise.
12114 * sunrpc/pmap_prot2.c: Likewise.
12115 * sunrpc/pmap_rmt.c: Likewise.
12116 * sunrpc/publickey.c: Likewise.
12117 * sunrpc/rpc_cmsg.c: Likewise.
12118 * sunrpc/rpc_common.c: Likewise.
12119 * sunrpc/rpc_dtable.c: Likewise.
12120 * sunrpc/rpc_prot.c: Likewise.
12121 * sunrpc/rpc_thread.c: Likewise.
12122 * sunrpc/rtime.c: Likewise.
12123 * sunrpc/svc.c: Likewise.
12124 * sunrpc/svc_auth.c: Likewise.
12125 * sunrpc/svc_authux.c: Likewise.
12126 * sunrpc/svc_raw.c: Likewise.
12127 * sunrpc/svc_run.c: Likewise.
12128 * sunrpc/svc_simple.c: Likewise.
12129 * sunrpc/svc_tcp.c: Likewise.
12130 * sunrpc/svc_udp.c: Likewise.
12131 * sunrpc/svc_unix.c: Likewise.
12132 * sunrpc/svcauth_des.c: Likewise.
12133 * sunrpc/xcrypt.c: Likewise.
12134 * sunrpc/xdr.c: Likewise.
12135 * sunrpc/xdr_array.c: Likewise.
12136 * sunrpc/xdr_float.c: Likewise.
12137 * sunrpc/xdr_intXX_t.c: Likewise.
12138 * sunrpc/xdr_mem.c: Likewise.
12139 * sunrpc/xdr_rec.c: Likewise.
12140 * sunrpc/xdr_ref.c: Likewise.
12141 * sunrpc/xdr_sizeof.c: Likewise.
12142 * sunrpc/xdr_stdio.c: Likewise.
12144 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12147 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12148 * sysdeps/ia64/dl-tls.h: Likewise.
12149 * sysdeps/powerpc/dl-tls.h: Likewise.
12150 * sysdeps/s390/dl-tls.h: Likewise.
12151 * sysdeps/sh/dl-tls.h: Likewise.
12152 * sysdeps/sparc/dl-tls.h: Likewise.
12153 * sysdeps/x86_64/dl-tls.h: Likewise.
12154 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12156 2011-03-14 Andreas Schwab <schwab@redhat.com>
12158 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12159 rpath element also skip the following colon.
12160 (expand_dynamic_string_token): Add is_path parameter and pass
12161 down to DL_DST_REQUIRED and _dl_dst_substitute.
12162 (decompose_rpath): Call expand_dynamic_string_token with
12163 non-zero is_path. Ignore empty rpaths.
12164 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12167 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12172 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12175 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12176 Patch by Filipe David Manana <fdmanana@apache.org>.
12178 2011-04-07 Andreas Schwab <schwab@redhat.com>
12180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12181 Maintain aligned stack.
12182 (CHECK_RSP): Remove unused macro.
12184 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12186 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12187 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12189 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12191 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12193 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12195 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12198 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12199 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12200 * sysdeps/x86_64/memmove.c: New file.
12201 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12202 (memcpy): Renamed to ...
12203 (__new_memcpy): This.
12204 (memcpy): Provide GLIBC_2_14 memcpy.
12205 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12206 (memcpy): Provide GLIBC_2_2_5 memcpy.
12208 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12211 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12213 2011-03-30 Andreas Schwab <schwab@redhat.com>
12215 * misc/syncfs.c: New file.
12216 * misc/Makefile (routines): Add syncfs.
12217 * posix/unistd.h: Declare syncfs.
12218 * sysdeps/unix/syscalls.list: Add syncfs.
12220 2011-04-01 Andreas Schwab <schwab@redhat.com>
12222 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12225 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12229 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12232 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12242 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12243 sync_file_range.c with -fexceptions.
12244 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12245 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12246 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12247 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12248 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12249 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12251 sync_file_range as cancellation point
12252 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12253 now a wrapper around __call_sync_file_range with cancellation handling.
12254 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12255 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12256 function name to __call_sync_file_range.
12257 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12258 Add call_sync_file_range.
12260 2011-04-01 Andreas Schwab <schwab@redhat.com>
12262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12265 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12267 * iconv/iconv.h: Fix typo in comment.
12268 * io/fcntl.h: Likewise.
12269 * libio/stdio.h: Likewise.
12270 * posix/spawn.h: Likewise.
12271 * posix/unistd.h: Likewise.
12272 * stdlib/stdlib.h: Likewise.
12273 * time/time.h: Likewise.
12274 * wcsmbs/wchar.h: Likewise.
12276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12277 open_by_handle): Add.
12278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12279 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12280 Augment a few comments.
12281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12286 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12289 * io/fcntl.h (AT_EMPTY_PATH): Define.
12291 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12293 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12294 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12295 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12297 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12298 * Versions.def: Add GLIBC_2.14.
12299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12302 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12306 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12308 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12311 * string/test-strncmp.c (do_page_test): New function.
12312 (check2): Likewise.
12313 (test_main): Call check2.
12314 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12316 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12319 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12320 Handle cache information in CPU leaf 4.
12321 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12323 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12326 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12327 character representation.
12328 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12330 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12332 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12333 END(__isnan) to END(__isnanf) to match function entry point/label
12334 EALIGN(__isnanf,...).
12336 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12338 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12340 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12343 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12344 copy from the symbol referenced in the relocation to initialize the
12346 Patch by Piotr Bury <pbury@goahead.com>.
12347 * elf/Makefile: Add rules to build and tst-unique3.
12348 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12349 * elf/tst-unique3.cc: New file.
12350 * elf/tst-unique3.h: New file.
12351 * elf/tst-unique3lib.cc: New file.
12352 * elf/tst-unique3lib2.cc: New file.
12354 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12356 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12358 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12359 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12362 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12364 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12365 to-be-loaded object along a path to loader is ld.so.
12367 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12368 Ulrich Drepper <drepper@gmail.com>
12370 * sysdeps/x86_64/memset.S: After aligning destination, code
12371 branches to different locations depending on the value of
12372 misalignment, when multiarch is enabled. Fix this.
12374 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12376 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12377 Set _x86_64_preferred_memory_instruction for AMD processsors.
12378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12379 Set bit_Prefer_SSE_for_memop for AMD processors.
12381 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12383 * libio/fmemopen.c (fmemopen): Optimize a bit.
12385 2011-03-03 Andreas Schwab <schwab@redhat.com>
12387 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12389 2011-03-03 Roland McGrath <roland@redhat.com>
12391 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12393 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12395 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12396 __bzero_ultra1 instead of __memset_ultra1.
12398 2011-02-23 Andreas Schwab <schwab@redhat.com>
12399 Ulrich Drepper <drepper@gmail.com>
12402 * include/link.h (struct link_map): Add l_orig_initfini.
12403 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12404 returning unsuccessfully.
12405 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12406 close of a file loaded at startup, restore the original l_initfini
12408 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12409 list, store the pointer.
12410 * elf/Makefile ($(objpfx)noload-mem): New rule.
12411 (noload-ENV): Define.
12412 (tests): Add $(objpfx)noload-mem.
12413 * elf/noload.c: Include <memcheck.h>.
12414 (main): Call mtrace. Close all opened handles.
12416 2011-02-17 Andreas Schwab <schwab@redhat.com>
12419 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12420 dependencies are missing.
12422 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12424 Fix __if_freereq crash: Unlike the generic version which uses free,
12426 * sysdeps/mach/hurd/ifreq.h: New file.
12428 2011-01-27 Petr Baudis <pasky@suse.cz>
12429 Ulrich Drepper <drepper@gmail.com>
12432 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12433 to extend_alloca().
12434 * stdio-common/bug23.c: New file.
12435 * stdio-common/Makefile (tests): Add bug23.
12437 2010-09-28 Andreas Schwab <schwab@redhat.com>
12438 Ulrich Drepper <drepper@gmail.com>
12441 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12442 before performing relro protection. At old place add assertion
12443 to make sure nothing changed.
12445 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12446 Glauber de Oliveira Costa <glommer@gmail.com>
12448 * elf/elf.h: Add new ARM TLS relocs.
12450 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12453 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12455 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12457 * sysdeps/wordsize-64/tst-writev.c: New file.
12459 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12461 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12462 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12463 insns in _dl_start to prevent a TOC reference before relocs are
12466 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12469 * Makeconfig: Remove RANLIB definition.
12470 * Makerules: Don't use RANLIB.
12471 * aclocal.m4: Remove ranlib test.
12472 * configure.in: No need to check for ranlib.
12473 * elf/rtld-Rules: Don't use RANLIB.
12475 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12477 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12479 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12480 inclusion protection macro.
12482 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12483 SIGRTMIN and SIGRTMAX and print information in that case only when
12484 SIGRTMIN is defined.
12486 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12488 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12489 arginfo fn returning -1.
12491 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12492 and thousands string is zero terminated.
12494 2011-02-03 Andreas Schwab <schwab@redhat.com>
12496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12497 sysdeps/unix/sysv/linux/bits/socket.h.
12499 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12501 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12502 (__CPU_COUNT): Remove old macros.
12503 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12504 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12505 (__CPU_ALLOC, __CPU_FREE): Add macros.
12506 (__sched_cpualloc, __sched_cpufree): Add declarations.
12508 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12510 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12511 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12512 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12513 (readdhstai): Return value of addhstaiX call.
12514 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12515 (addgrbyX): Return value returned by cache_addgr.
12516 (readdgrbyname): Return value returned by addgrbyX.
12517 (readdgrbygid): Likewise.
12518 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12519 (addpwbyX): Return value returned by cache_addpw.
12520 (readdpwbyname): Return value returned by addhstbyX.
12521 (readdpwbyuid): Likewise.
12522 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12523 (addservbyX): Return value returned by cache_addserv.
12524 (readdservbyname): Return value returned by addservbyX:
12525 (readdservbyport): Likewise.
12526 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12527 (addhstbyX): Return value returned by cache_addhst.
12528 (readdhstbyname): Return value returned by addhstbyX.
12529 (readdhstbyaddr): Likewise.
12530 (readdhstbynamev6): Likewise.
12531 (readdhstbyaddrv6): Likewise.
12532 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12533 (readdinitgroups): Return value returned by addinitgroupsX.
12534 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12535 (prune_cache): Keep track of timeout value of re-added entries.
12536 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12537 * nscd/nscd.h: Adjust prototypes of readd* functions.
12539 2011-02-04 Roland McGrath <roland@redhat.com>
12541 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12542 (nis_stats): Likewise.
12543 * nis/nis_modify.c (nis_modify): Likewise.
12544 * nis/nis_remove.c (nis_remove): Likewise.
12545 * nis/nis_add.c (nis_add): Likewise.
12547 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12549 * posix/fnmatch_loop.c: Add some consts.
12551 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12553 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12556 * config.make.in (config-cflags-novzeroupper): Define.
12557 * configure.in: Substitute libc_cv_cc_novzeroupper.
12558 * elf/Makefile (AVX-CFLAGS): Define.
12559 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12560 (CFLAGS-tst-auditmod4a.c): Likewise.
12561 (CFLAGS-tst-auditmod4b.c): Likewise.
12562 (CFLAGS-tst-auditmod6b.c): Likewise.
12563 (CFLAGS-tst-auditmod6c.c): Likewise.
12564 (CFLAGS-tst-auditmod7b.c): Likewise.
12565 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12567 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12569 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12570 function to the callback.
12571 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12573 2011-02-02 Andreas Schwab <schwab@redhat.com>
12575 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12578 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12581 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12583 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12585 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12588 * elf/Makefile: Add rules to build and run new test.
12589 * elf/tst-initorder.c: New file.
12590 * elf/tst-initorder.exp: New file.
12591 * elf/tst-initordera1.c: New file.
12592 * elf/tst-initordera2.c: New file.
12593 * elf/tst-initordera3.c: New file.
12594 * elf/tst-initordera4.c: New file.
12595 * elf/tst-initorderb1.c: New file.
12596 * elf/tst-initorderb2.c: New file.
12597 * elf/tst-order-a1.c: New file.
12598 * elf/tst-order-a2.c: New file.
12599 * elf/tst-order-a3.c: New file.
12600 * elf/tst-order-a4.c: New file.
12601 * elf/tst-order-b1.c: New file.
12602 * elf/tst-order-b2.c: New file.
12603 * elf/tst-order-main.c: New file.
12604 New test case by George Gensure <werkt0@gmail.com>.
12606 2010-10-01 Andreas Schwab <schwab@redhat.com>
12608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12609 decoding ACE if AI_CANONIDN.
12611 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12613 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12615 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12617 * version.h (RELEASE): Bump for 2.13 release.
12618 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12620 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12622 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12624 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12631 * posix/getconf.c: Update copyright year.
12632 * catgets/gencat.c: Likewise.
12633 * csu/version.c: Likewise.
12634 * debug/catchsegv.sh: Likewise.
12635 * debug/xtrace.sh: Likewise.
12636 * elf/ldconfig.c: Likewise.
12637 * elf/ldd.bash.in: Likewise.
12638 * elf/sprof.c (print_version): Likewise.
12639 * iconv/iconv_prog.c: Likewise.
12640 * iconv/iconvconfig.c: Likewise.
12641 * locale/programs/locale.c: Likewise.
12642 * locale/programs/localedef.c: Likewise.
12643 * malloc/memusage.sh: Likewise.
12644 * malloc/mtrace.pl: Likewise.
12645 * nscd/nscd.c (print_version): Likewise.
12646 * nss/getent.c: Likewise.
12648 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12649 PF_CAIF, and PF_ALG.
12650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12652 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12654 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12655 (modules-names): Use them.
12656 (ifunc-test-modules, ifunc-pie-tests): Define.
12657 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12658 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12659 (test-extras): Likewise.
12660 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12661 $(compile-command.c).
12662 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12663 (all-built-dso): Define.
12664 (check-textrel.out, check-execstack.out): Depend on it.
12666 * configure.in: Don't override --enable-multi-arch.
12668 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12671 * nscd/hstcache.c (tryagain): Define.
12672 (cache_addhst): Return tryagain not notfound for temporary errors.
12673 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12676 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12679 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12680 to make the syscall.
12681 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12684 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12685 and fall back to matching as normal character if the string ends before
12686 the matching ']' is found. This is what POSIX requires.
12687 * posix/testfnm.c: Adjust test result.
12688 * posix/globtest.sh: Adjust test result. Add new test.
12689 * posix/tst-fnmatch.input: Likewise.
12690 * posix/tst-fnmatch2.c: Add new test.
12692 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12694 * elf/Makefile (check-execstack): Revert last change. Depend on
12696 (check-execstack.h): New target.
12697 (generated): Add check-execstack.h.
12698 * elf/check-execstack.c: Include "check-execstack.h".
12699 (main): Revert last change.
12700 (handle_file): Return zero if GNU_STACK is absent and
12701 DEFAULT_STACK_PERMS doesn't include PF_X.
12703 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12705 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12706 in child fails because the descriptor is already closed.
12707 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12708 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12712 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12716 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12717 temporary buffer used to handle multi lookups locally.
12718 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12720 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12722 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12725 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12727 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12728 alignment for SSE2.
12730 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12733 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12734 characters. When rounding increased number of integer digits recompute
12736 * stdio-common/tst-grouping.c: New file.
12737 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12739 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12741 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12742 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12744 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12746 * bits/select.h: Likewise.
12748 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12750 * po/ja.po: Update from translation team.
12752 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12755 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12756 implementation just like for lxstat, fxstatat, et al.
12758 2010-12-27 Jim Meyering <meyering@redhat.com>
12761 * posix/regexec.c (build_trtable): Return failure indication upon
12762 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12764 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12767 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12768 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12769 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12773 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12776 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12777 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12779 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12781 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12782 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12783 script has SORT_BY_INIT_PRIORITY.
12784 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12785 NO_CTORS_DTORS_SECTIONS is defined.
12786 * elf/soinit.c: Likewise.
12787 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12788 NO_CTORS_DTORS_SECTIONS is defined.
12789 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12790 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12791 * sysdeps/sh/init-first.c: Likewise.
12792 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12794 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12796 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12797 always use the slow path.
12799 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12801 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12802 similar rule which adds the sysdep directories to the header search in
12803 order to pick up the correct platform stackinfo.h.
12804 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12805 perform test if it is, otherwise return successfully without testing.
12806 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12807 DEFAULT_STACK_PERMS define in stackinfo.h.
12808 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12809 defined in stackinfo.h.
12810 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12811 DEFAULT_STACK_PERMS defined in stackinfo.h.
12812 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12813 * sysdeps/ia64/stackinfo.h: Likewise.
12814 * sysdeps/s390/stackinfo.h: Likewise.
12815 * sysdeps/sh/stackinfo.h: Likewise.
12816 * sysdeps/sparc/stackinfo.h: Likewise.
12817 * sysdeps/x86_64/stackinfo.h: Likewise.
12818 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12819 PF_X for powerpc64. Retain PF_X for powerpc32.
12821 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12823 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12825 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12826 GETDENTS_64BIT_ALIGNED.
12828 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12830 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12832 2010-12-10 Andreas Schwab <schwab@redhat.com>
12834 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12837 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12838 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12840 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12841 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12843 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12846 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12849 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12851 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12853 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12855 * po/it.po: Update from translation team.
12857 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12862 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12864 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12866 2010-11-24 Andreas Schwab <schwab@redhat.com>
12868 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12870 (gaih_getanswer_slice): Likewise.
12872 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12876 2010-05-31 Petr Baudis <pasky@suse.cz>
12879 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12880 silently even in the chroot mode.
12882 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12884 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12885 last patch a bit. Pretty printing
12887 2010-05-31 Petr Baudis <pasky@suse.cz>
12890 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12891 initialization of skip_initgroups_dyn.
12893 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12895 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12898 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12900 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12902 2010-11-11 Andreas Schwab <schwab@redhat.com>
12904 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12905 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12906 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12907 ($(objpfx)tst-fnmatch-mem): New rule.
12908 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12909 * posix/tst-fnmatch.c (main): Call mtrace.
12911 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12914 Support Intel processor model 6 and model 0x2c.
12916 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12918 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12921 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12924 * string/test-strncasecmp.c (check_result): New function.
12925 (do_one_test): Use it.
12926 (check1): New function.
12927 (test_main): Use it.
12928 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12929 Support strcasecmp and strncasecmp.
12931 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12934 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12937 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12939 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12943 * sysdeps/x86_64/multiarch/bzero.S: New file.
12944 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12945 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12946 * sysdeps/x86_64/multiarch/memset.S: New file.
12947 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12949 Set bit_Prefer_SSE_for_memop for Intel processors.
12950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12952 (index_Prefer_SSE_for_memop): Define.
12953 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12955 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12957 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12958 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12960 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12963 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12964 (__x86_64_raw_data_cache_size_half): Likewise.
12965 (__x86_64_raw_shared_cache_size): Likewise.
12966 (__x86_64_raw_shared_cache_size_half): Likewise.
12968 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12969 (__x86_64_raw_data_cache_size_half): Likewise.
12970 (__x86_64_raw_shared_cache_size): Likewise.
12971 (__x86_64_raw_shared_cache_size_half): Likewise.
12972 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12973 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12974 and __x86_64_raw_shared_cache_size_half. Round
12975 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12976 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12977 to multiple of 256 bytes.
12979 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12982 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12983 of inacessible symlinks. Verify result of symlink before returning it.
12984 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12985 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12987 2010-10-28 Erich Ritz <erichritz@gmail.com>
12989 * math/math.h (isinf): Fix typo in comment.
12991 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12993 * po/da.po: Update from translation team.
12995 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12997 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12998 is added to the list.
13000 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13001 Ulrich Drepper <drepper@gmail.com>
13003 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13004 the global list here. Move code to...
13005 (_dl_add_to_namespace_list): ...here. New function.
13006 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13007 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13008 * elf/dl-load.c (lose): Don't remove the element from the list.
13009 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13010 (_dl_map_object): Likewise.
13012 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13015 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13016 into all bytes of SSE register.
13017 Patch by Richard Li <richardpku@gmail.com>.
13019 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13022 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13025 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13027 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13028 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13029 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13030 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13035 2010-10-22 Andreas Schwab <schwab@redhat.com>
13037 * include/dlfcn.h (__RTLD_SECURE): Define.
13038 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13039 mode & __RTLD_SECURE instead.
13040 (open_path): Rename preloaded parameter to secure.
13041 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13042 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13043 * elf/dl-deps.c (openaux): Likewise.
13044 * elf/rtld.c (struct map_args): Remove is_preloaded.
13045 (map_doit): Don't use it.
13046 (dl_main): Likewise.
13047 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13048 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13050 2010-09-09 Andreas Schwab <schwab@redhat.com>
13052 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13053 (sysd-rules-targets): Remove duplicates.
13054 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13055 rtld-%.$o dependency.
13057 2010-10-18 Andreas Schwab <schwab@redhat.com>
13059 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13060 _dl_map_object do it.
13062 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13064 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13065 fast fma builtins, define the macros in the C99 standard.
13066 (FP_FAST_FMAF): Likewise.
13067 (FP_FAST_FMAL): Likewise.
13068 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13070 * bits/mathdef.h: Update copyright year.
13071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13073 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13075 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13076 builtins, define the macros in the C99 standard.
13077 (FP_FAST_FMAF): Likewise.
13078 (FP_FAST_FMAL): Likewise.
13079 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13081 (FP_FAST_FMAF): Likewise.
13083 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13086 * math/libm-test.inc (fma_test): Some new testcases.
13087 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13089 y and infinite z. Do multiplication by C already in long double.
13090 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13092 y and infinite z. Do bitwise or of inexact bit into u.d.
13093 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13094 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13095 * sysdeps/i386/fpu/s_fma.S: Removed.
13096 * sysdeps/i386/fpu/s_fmal.S: Removed.
13098 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13101 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13103 computation is not scheduled after fetestexcept. Fix value
13104 of minimum denormal long double.
13106 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13109 * math/libm-test.inc (fma_test): Add some more tests.
13110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13113 2010-10-15 Andreas Schwab <schwab@redhat.com>
13115 * scripts/data/localplt-s390-linux-gnu.data: New file.
13116 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13118 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13121 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13122 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13124 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13126 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13128 if one of x and y is very large and the other is subnormal.
13129 * sysdeps/s390/fpu/s_fmaf.c: New file.
13130 * sysdeps/s390/fpu/s_fma.c: New file.
13131 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13132 * sysdeps/powerpc/fpu/s_fma.S: New file.
13133 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13134 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13135 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13137 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13140 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13142 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13143 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13144 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13145 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13146 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13147 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13150 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13153 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13154 * posix/bug-regex31.input: Add test case.
13156 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13158 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13159 * posix/bug-regex31.input: New file.
13162 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13163 (parse_sub_exp): Fix last change, use postorder.
13165 * posix/bug-regex31.c: New file.
13166 * posix/Makefile: Add rules to build and run bug-regex31.
13168 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13171 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13174 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13175 to have entries in sys_siglist.
13178 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13181 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13184 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13185 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13186 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13187 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13188 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13189 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13190 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13191 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13192 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13193 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13194 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13195 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13196 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13197 * math/ftestexcept.c (fetestexcept): Likewise.
13198 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13199 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13200 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13201 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13202 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13203 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13204 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13206 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13209 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13212 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13214 * string/bug-strstr1.c: New file.
13215 * string/Makefile: Add rules to build and run bug-strstr1.
13217 2010-10-05 Eric Blake <eblake@redhat.com>
13220 * string/str-two-way.h (two_way_long_needle): Always clear memory
13221 when skipping input due to the shift table.
13223 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13226 * malloc/mcheck.c: Handle large requests.
13229 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13230 for strncmp and strncasecmp.
13231 * string/stratcliff.c: Add tests for strcmp and strncmp.
13232 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13234 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13236 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13239 2010-09-30 Andreas Jaeger <aj@suse.de>
13241 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13242 (CGROUP_SUPER_MAGIC): Define.
13243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13244 Handle btrfs and cgroup file systems.
13245 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13248 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13250 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13251 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13253 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13256 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13257 trying to locate the ELF header.
13259 2010-09-27 Andreas Schwab <schwab@redhat.com>
13262 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13263 Mask out sign-bit copies when constructing f_fsid.
13265 2010-09-24 Petr Baudis <pasky@suse.cz>
13267 * debug/stack_chk_fail_local.c: Add missing licence exception.
13268 * debug/warning-nop.c: Likewise.
13270 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13272 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13273 implementing getdents64 using getdents syscall, set d_type if
13274 __ASSUME_GETDENTS32_D_TYPE.
13276 2010-09-16 Andreas Schwab <schwab@redhat.com>
13278 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13279 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13281 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13284 * posix/unistd.h: Undo change of feature selection for ftruncate from
13287 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13289 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13292 2010-09-20 Andreas Schwab <schwab@redhat.com>
13294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13298 2010-09-14 Andreas Schwab <schwab@redhat.com>
13300 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13301 variables after CHECK_SP call.
13302 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13304 2010-09-13 Andreas Schwab <schwab@redhat.com>
13305 Ulrich Drepper <drepper@redhat.com>
13307 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13308 re-relocationg ld.so.
13309 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13310 _dl_init_paths call.
13311 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13314 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13316 * resolv/res_init.c (__res_vinit): Count the default server we added.
13318 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13319 Ulrich Drepper <drepper@redhat.com>
13322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13323 (____longjmp_chk): Use %ebx for saving value across system call.
13326 2010-09-06 Andreas Schwab <schwab@redhat.com>
13328 * manual/Makefile: Don't mix pattern rules with normal rules.
13330 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13332 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13334 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13335 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13336 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13337 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13341 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13344 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13345 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13347 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13349 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13350 * sysdeps/x86_64/addmul_1.S: Likewise.
13351 * sysdeps/x86_64/lshift.S: Likewise.
13352 * sysdeps/x86_64/mul_1.S: Likewise.
13353 * sysdeps/x86_64/rshift.S: Likewise.
13354 * sysdeps/x86_64/sub_n.S: Likewise.
13355 * sysdeps/x86_64/submul_1.S: Likewise.
13357 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13359 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13360 Define __sched_param instead of SCHED_* and sched_param when
13361 <bits/sched.h> is included with __need_schedparam defined.
13362 * bits/sched.h [__need_schedparam]
13363 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13364 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13365 (__defined_schedparam): Define to 1.
13366 (__sched_param): New structure, identical to sched_param.
13367 (__need_schedparam): Undefine.
13369 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13371 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13372 (epoll_create1): Declare.
13374 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13376 2010-08-31 Andreas Schwab <schwab@redhat.com>
13379 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13380 shifting retval into place.
13382 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13384 * nis/rpcsvc/nis.h: Update copyright notice.
13385 * nis/rpcsvc/nis.x: Likewise.
13386 * nis/rpcsvc/nis_callback.h: Likewise.
13387 * nis/rpcsvc/nis_callback.x: Likewise.
13388 * nis/rpcsvc/nis_object.x: Likewise.
13389 * nis/rpcsvc/nis_tags.h: Likewise.
13390 * nis/rpcsvc/yp.h: Likewise.
13391 * nis/rpcsvc/yp.x: Likewise.
13392 * nis/rpcsvc/ypupd.h: Likewise.
13393 * nis/yp_xdr.c: Likewise.
13394 * nis/ypupdate_xdr.c: Likewise.
13396 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13397 mainly the body of pmap_getport. Add parameters to specify timeouts.
13398 (pmap_getport): Use __libc_rpc_getport.
13399 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13400 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13401 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13403 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13408 2010-08-27 Roland McGrath <roland@redhat.com>
13410 * sysdeps/i386/i686/multiarch/Makefile
13411 (CFLAGS-varshift.c): New variable.
13413 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13415 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13416 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13420 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13422 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13424 * sysdeps/x86_64/strlen.S: Unroll the loop.
13425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13426 strlen-sse2 strlen-sse2-bsf.
13427 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13428 __strlen_no_bsf if bit_Slow_BSF is set.
13429 (__strlen_sse42): Removed.
13430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13431 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13433 2010-08-25 Roland McGrath <roland@redhat.com>
13435 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13436 * sysdeps/x86_64/multiarch/varshift.c: New file.
13437 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13438 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13439 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13440 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13442 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13445 strlen-sse2 strlen-sse2-bsf.
13446 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13447 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13448 (__strlen_sse2): Removed.
13449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13452 bit_Slow_BSF for Atom.
13453 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13454 (index_Slow_BSF): Define.
13455 (HAS_SLOW_BSF): Define.
13457 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13460 * resolv/res_init.c (__res_vinit): When no server address at all
13461 is given default to loopback.
13463 2010-08-24 Roland McGrath <roland@redhat.com>
13465 * configure.in: Remove config-name.h generation.
13466 * configure: Regenerated.
13467 * config-name.in: File removed.
13468 * scripts/config-uname.sh: New file.
13469 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13470 ($(objdir)config-name.h): New target.
13472 * sunrpc/rpc_parse.h: Avoid nested comment.
13474 2010-08-24 Richard Henderson <rth@redhat.com>
13475 Ulrich Drepper <drepper@redhat.com>
13476 H.J. Lu <hongjiu.lu@intel.com>
13478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13480 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13481 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13482 _mm_alignr_epi8 with _mm_loadu_si128.
13483 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13484 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13485 (__m128i_shift_right): Removed.
13486 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13487 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13488 * sysdeps/x86_64/multiarch/varshift.h: New file.
13489 * sysdeps/x86_64/multiarch/varshift.S: New file.
13491 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13493 * configure.in: Move assembler checks to before sysdep dir checking.
13495 2010-08-20 Petr Baudis <pasky@suse.cz>
13497 * LICENSES: Sync the sunrpc license.
13499 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13501 * sunrpc/auth_des.c: Update copyright notice once again.
13502 * sunrpc/auth_none.c: Likewise.
13503 * sunrpc/auth_unix.c: Likewise.
13504 * sunrpc/authdes_prot.c: Likewise.
13505 * sunrpc/authuxprot.c: Likewise.
13506 * sunrpc/bindrsvprt.c: Likewise.
13507 * sunrpc/clnt_gen.c: Likewise.
13508 * sunrpc/clnt_perr.c: Likewise.
13509 * sunrpc/clnt_raw.c: Likewise.
13510 * sunrpc/clnt_simp.c: Likewise.
13511 * sunrpc/clnt_tcp.c: Likewise.
13512 * sunrpc/clnt_udp.c: Likewise.
13513 * sunrpc/clnt_unix.c: Likewise.
13514 * sunrpc/des_crypt.c: Likewise.
13515 * sunrpc/des_soft.c: Likewise.
13516 * sunrpc/get_myaddr.c: Likewise.
13517 * sunrpc/getrpcport.c: Likewise.
13518 * sunrpc/key_call.c: Likewise.
13519 * sunrpc/key_prot.c: Likewise.
13520 * sunrpc/openchild.c: Likewise.
13521 * sunrpc/pm_getmaps.c: Likewise.
13522 * sunrpc/pm_getport.c: Likewise.
13523 * sunrpc/pmap_clnt.c: Likewise.
13524 * sunrpc/pmap_prot.c: Likewise.
13525 * sunrpc/pmap_prot2.c: Likewise.
13526 * sunrpc/pmap_rmt.c: Likewise.
13527 * sunrpc/rpc/auth.h: Likewise.
13528 * sunrpc/rpc/auth_unix.h: Likewise.
13529 * sunrpc/rpc/clnt.h: Likewise.
13530 * sunrpc/rpc/des_crypt.h: Likewise.
13531 * sunrpc/rpc/key_prot.h: Likewise.
13532 * sunrpc/rpc/netdb.h: Likewise.
13533 * sunrpc/rpc/pmap_clnt.h: Likewise.
13534 * sunrpc/rpc/pmap_prot.h: Likewise.
13535 * sunrpc/rpc/pmap_rmt.h: Likewise.
13536 * sunrpc/rpc/rpc.h: Likewise.
13537 * sunrpc/rpc/rpc_des.h: Likewise.
13538 * sunrpc/rpc/rpc_msg.h: Likewise.
13539 * sunrpc/rpc/svc.h: Likewise.
13540 * sunrpc/rpc/svc_auth.h: Likewise.
13541 * sunrpc/rpc/types.h: Likewise.
13542 * sunrpc/rpc/xdr.h: Likewise.
13543 * sunrpc/rpc_clntout.c: Likewise.
13544 * sunrpc/rpc_cmsg.c: Likewise.
13545 * sunrpc/rpc_common.c: Likewise.
13546 * sunrpc/rpc_cout.c: Likewise.
13547 * sunrpc/rpc_dtable.c: Likewise.
13548 * sunrpc/rpc_hout.c: Likewise.
13549 * sunrpc/rpc_main.c: Likewise.
13550 * sunrpc/rpc_parse.c: Likewise.
13551 * sunrpc/rpc_parse.h: Likewise.
13552 * sunrpc/rpc_prot.c: Likewise.
13553 * sunrpc/rpc_sample.c: Likewise.
13554 * sunrpc/rpc_scan.c: Likewise.
13555 * sunrpc/rpc_scan.h: Likewise.
13556 * sunrpc/rpc_svcout.c: Likewise.
13557 * sunrpc/rpc_tblout.c: Likewise.
13558 * sunrpc/rpc_util.c: Likewise.
13559 * sunrpc/rpc_util.h: Likewise.
13560 * sunrpc/rpcinfo.c: Likewise.
13561 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13562 * sunrpc/rpcsvc/key_prot.x: Likewise.
13563 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13564 * sunrpc/rpcsvc/mount.x: Likewise.
13565 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13566 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13567 * sunrpc/rpcsvc/rex.x: Likewise.
13568 * sunrpc/rpcsvc/rstat.x: Likewise.
13569 * sunrpc/rpcsvc/rusers.x: Likewise.
13570 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13571 * sunrpc/rpcsvc/spray.x: Likewise.
13572 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13573 * sunrpc/rtime.c: Likewise.
13574 * sunrpc/svc.c: Likewise.
13575 * sunrpc/svc_auth.c: Likewise.
13576 * sunrpc/svc_authux.c: Likewise.
13577 * sunrpc/svc_raw.c: Likewise.
13578 * sunrpc/svc_run.c: Likewise.
13579 * sunrpc/svc_simple.c: Likewise.
13580 * sunrpc/svc_tcp.c: Likewise.
13581 * sunrpc/svc_udp.c: Likewise.
13582 * sunrpc/svc_unix.c: Likewise.
13583 * sunrpc/svcauth_des.c: Likewise.
13584 * sunrpc/xcrypt.c: Likewise.
13585 * sunrpc/xdr.c: Likewise.
13586 * sunrpc/xdr_array.c: Likewise.
13587 * sunrpc/xdr_float.c: Likewise.
13588 * sunrpc/xdr_mem.c: Likewise.
13589 * sunrpc/xdr_rec.c: Likewise.
13590 * sunrpc/xdr_ref.c: Likewise.
13591 * sunrpc/xdr_sizeof.c: Likewise.
13592 * sunrpc/xdr_stdio.c: Likewise.
13594 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13597 2010-08-19 Andreas Schwab <schwab@redhat.com>
13599 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13601 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13603 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13604 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13605 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13606 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13607 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13608 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13609 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13610 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13611 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13612 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13613 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13615 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13616 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13618 2010-07-26 Anton Blanchard <anton@samba.org>
13620 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13621 * malloc/arena.c (heap_trim): Likewise.
13623 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13625 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13628 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13630 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/i386/elf/Makefile: New file.
13634 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13636 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13637 from fanotify_init.
13638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13641 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13643 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13645 * sysdeps/multiarch/strcmp.S: Likewise.
13647 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13649 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13650 strncase_l-nonascii.
13651 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13652 Add strncase_l-ssse3.
13653 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13654 * sysdeps/x86_64/strcmp.S: Likewise.
13655 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13656 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13657 * sysdeps/x86_64/strncase.S: New file.
13658 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13659 * sysdeps/x86_64/strncase_l.S: New file.
13660 * string/Makefile (strop-tests): Add strncasecmp.
13661 * string/test-strncasecmp.c: New file.
13663 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13666 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13667 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13669 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13671 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13673 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13675 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13679 2010-05-01 Alan Modra <amodra@gmail.com>
13681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13682 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13683 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13684 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13685 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13686 tidying. Don't tail-call __sigjmp_save for static lib.
13687 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13689 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13690 (CALL_MCOUNT): Add eh info, and nop after bl.
13691 (TAIL_CALL_SYSCALL_ERROR): New macro.
13692 (PSEUDO_RET): Use it.
13693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13694 Correct save location of integer regs and cr.
13695 (_dl_profile_resolve): Correct cr save location. Delete nops
13696 after bl when SHARED. Reduce cfi size a little by better
13697 placement of cfi directives.
13698 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13699 make a stack frame. Instead use parm save area as a temp.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13701 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13703 Don't make a stack frame for parent, use parm save area.
13704 Increase child stack frame to 112 bytes. Don't save unused reg,
13705 and adjust reg usage. Set up cfi on error recovery and
13706 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13708 (__makecontext): Add dummy nop after jump to exit.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13710 Use correct parm save area and cr save, reduce stack frame.
13711 Correct cfi for possible PSEUDO_RET frame setup.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13713 Branch to local label emitted by PSEUDO_RET rather than
13716 2010-08-12 Andreas Schwab <schwab@redhat.com>
13719 * locale/programs/locale.c (print_assignment): New function.
13720 (show_locale_vars): Use it.
13722 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13724 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13726 (struct statfs64): Likewise.
13727 (_STATFS_F_FLAGS): Define.
13728 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13730 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13731 (ST_VALID): Define locally.
13732 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13733 __statvfs_getflags, use the provided value.
13734 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13735 __ASSUME_STATFS_F_FLAGS.
13737 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13739 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13740 Add sys/fanotify.h.
13741 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13742 fanotify_mask for GLIBC_2.13.
13743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13744 fanotify_init and fanotify_mark.
13745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13746 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13748 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13750 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13751 prlimit64 for GLIBC_2.13.
13752 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13758 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13760 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13762 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13765 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13766 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13768 * nss/Makefile: Add rules to build and run tst-nss-test1.
13769 * shlib-versions: Add entry for libnss_test1.
13770 * nss/nss_test1.c: New file.
13771 * nss/tst-nss-test1.c: New file.
13773 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13774 (__nss_configure_lookup): Set appropriate entry in
13775 __nss_configure_lookup to true.
13776 * nss/nsswitch.h: Define enum with indeces of databases in
13777 databases and __nss_database_custom arrays. Declare
13778 __nss_database_custom.
13779 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13780 to avoid using nscd when custom rules are installed.
13781 * nss/getXXbyYY_r.c: Likewise.
13782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13784 * nss/nss_files/files-parse.c: Whitespace fixes.
13786 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13789 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13790 * posix/fnmatch_loop.c: Likewise.
13792 2010-07-17 Andi Kleen <ak@linux.intel.com>
13794 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13795 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13796 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13797 * Versions.def [GLIBC_2.13]: Add.
13799 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13801 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13802 Also fail if tpwd after pwuid call is NULL.
13804 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13806 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13807 when converting to ms.
13809 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13811 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13812 EOPNOTSUPP errors with ENOTTY.
13813 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13814 EOPNOTSUPP errors with ENOTTY.
13816 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13818 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13819 Add strcasecmp_l-ssse3.
13820 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13822 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13823 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13824 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13826 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13828 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13830 * string/Makefile (strop-tests): Add strcasecmp.
13831 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13832 strcasecmp_l-nonascii.
13833 (gen-as-const-headers): Add locale-defines.sym.
13834 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13835 * sysdeps/x86_64/strcasecmp.S: New file.
13836 * sysdeps/x86_64/strcasecmp_l.S: New file.
13837 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13838 * sysdeps/x86_64/locale-defines.sym: New file.
13839 * string/test-strcasecmp.c: New file.
13841 * string/test-strcasestr.c: Test both ends of the range of characters.
13842 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13844 2010-07-29 Roland McGrath <roland@redhat.com>
13847 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13849 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13851 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13854 2010-07-27 Andreas Schwab <schwab@redhat.com>
13856 * manual/memory.texi (Malloc Tunable Parameters): Document
13859 2010-07-26 Roland McGrath <roland@redhat.com>
13862 * configure.in (-fgnu89-inline check): Set and substitute
13863 gnu89_inline, not libc_cv_gnu89_inline.
13864 * configure: Regenerated.
13865 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13867 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13869 * string/test-strnlen.c: New file.
13870 * string/Makefile (strop-tests): Add strnlen.
13871 * string/tester.c (test_strnlen): Add a few more test cases.
13872 * string/tst-strlen.c: Better error reporting.
13874 * sysdeps/x86_64/strnlen.S: New file.
13876 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13879 lower-latency instructions.
13881 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13883 * string/test-strcasestr.c: New file.
13884 * string/test-strstr.c: New file.
13885 * string/Makefile (strop-tests): Add strstr and strcasestr.
13886 * string/str-two-way.h: Don't undefine MAX.
13887 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13889 2010-07-21 Andreas Schwab <schwab@redhat.com>
13891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13892 strcasestr-nonascii.
13893 (CFLAGS-strcasestr-nonascii.c): Define.
13894 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13896 Remove unused attribute.
13898 2010-07-20 Roland McGrath <roland@redhat.com>
13900 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13901 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13902 ld.so.cache was broken. With it, there is no way to disable dsocaps
13903 like LD_HWCAP_MASK can disable hwcaps.
13905 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13907 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13909 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13911 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13912 call in strcasestr.
13913 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13914 __strcasestr_sse42_nonascii.
13915 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13916 strcasestr-nonascii.c.
13917 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13919 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13922 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13926 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13931 2010-07-06 Andreas Schwab <schwab@redhat.com>
13934 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13937 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13940 _PC_PIPE_BUF using F_GETPIPE_SZ.
13942 2010-07-05 Roland McGrath <roland@redhat.com>
13944 * manual/arith.texi (Rounding Functions): Fix rint description
13945 implicit in round description.
13947 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13949 * elf/Makefile: Fix linking for a few tests to make recent linker
13952 2010-06-30 Andreas Schwab <schwab@redhat.com>
13954 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13955 $(common-objpfx)libc_nonshared.a.
13957 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13959 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13960 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13961 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13962 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13963 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13965 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13966 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13981 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13982 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13983 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13984 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13985 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13986 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13987 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13988 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13989 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13990 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13991 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13992 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14008 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14010 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14011 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14012 * string/memmove.c (memmove): Renamed to ...
14013 (MEMMOVE): ...this. Default to memmove.
14014 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14015 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14018 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14019 mempcpy-ssse3-back memmove-ssse3-back.
14020 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14023 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14024 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14025 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14026 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14027 * sysdeps/x86_64/multiarch/memmove.c: New file.
14028 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14029 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14030 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14031 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14032 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14035 (index_Fast_Copy_Backward): Define.
14036 (HAS_ARCH_FEATURE): Define.
14037 (HAS_FAST_REP_STRING): Define.
14038 (HAS_FAST_COPY_BACKWARD): Define.
14040 2010-06-21 Andreas Schwab <schwab@redhat.com>
14042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14043 Restore proper fallback handling.
14045 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14048 * posix/group_member.c (__group_member): Correct checking loop.
14050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14051 OOM in getpwuid_r correctly. Return error number when the caller
14052 should return, otherwise -1.
14053 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14054 call returning > 0 value.
14055 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14057 2010-06-07 Andreas Schwab <schwab@redhat.com>
14059 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14060 libc_nonshared.a from targets in modules-names.
14062 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14064 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14067 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14070 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14074 2010-06-02 Andreas Schwab <schwab@redhat.com>
14076 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14078 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14082 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14089 2010-06-14 Roland McGrath <roland@redhat.com>
14091 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14093 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14095 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14096 __REDIRECT followed by __THROW.
14097 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14098 * posix/getopt.h (getopt): Likewise.
14100 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14102 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14103 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14104 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14106 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14107 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14109 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14113 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14117 Properly check family and model.
14119 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14121 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14123 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14125 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14127 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14129 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14132 2010-05-19 Andreas Schwab <schwab@redhat.com>
14134 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14137 2010-05-21 Andreas Schwab <schwab@redhat.com>
14139 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14140 and internal_recvmmsg.
14141 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14142 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14144 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14146 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14147 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14148 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14150 2010-05-20 Andreas Schwab <schwab@redhat.com>
14152 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14154 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14156 POWER7 optimizations.
14157 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14158 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14160 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14162 * version.h: Update for 2.13 development version.
14164 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14166 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14167 exceptions. Return 0.
14169 2010-05-07 Roland McGrath <roland@redhat.com>
14171 * elf/ldconfig.c (main): Add a const.
14173 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14175 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14176 (args_options): Add no-idn option.
14177 (ahosts_keys_int): Add idn_flags to ai_flags.
14178 (parse_option): Handle 'i' option to clear idn_flags.
14180 * malloc/malloc.c (_int_free): Possible race in the most recently
14181 added check. Only act on the data if no current modification
14184 See ChangeLog.17 for earlier changes.